Cancel
Showing results for 
Search instead for 
Did you mean: 

No Business Server Instance is Available

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Hello,
I installed two tier and it is working good,login successfully. Then I installed four-tier many many times; the services looking good, tc.war deployed but when I try to login it encounters an error "...no business server instance available.....etc".I have opened a call  I have written about this on this platform, but I couldn't solve my issue. I put all relational docs,screenshot,log files at the attachment. Could you help me on this issue?
(My Server Machine Name: nuhkerem) Thanks you very much for your understanding. Kind Regards.
 
13 REPLIES

Re: No Business Server Instance is Available

Valued Contributor
Valued Contributor
Hello, try to stop all Teamcenter services (ServerManager, JBoss and other), delete folder V10000.1.0.XXXXXXXXXXXX in %temp% directory (If you use Teamcenter 11, the folder name may have a different name).

Clear Teamcenter 4 Tier Client cache: delete in user home folder, folders: Teamcenter, FCCCache.

Run all Teamcenter services and try again login in Teamcenter client.

Re: No Business Server Instance is Available

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Thank you for your reply but unfortunately I tried that but it has not solved this issue.

Re: No Business Server Instance is Available

Valued Contributor
Valued Contributor
Hi,

Is the poolmanager and JBoss running on same machine?
can you upload your config files
Found pool configuration file: C:\Siemens1\Teamcenter11\pool_manager\confs\config1\serverPool.properties
Found tctp configuration file: C:\Siemens1\Teamcenter11\pool_manager\confs\config1\TctpConfig.xml
Found TreeCache configuration file: C:\Siemens1\Teamcenter11\pool_manager\confs\config1\TreeCacheTCP.xml


Re: No Business Server Instance is Available

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

I found them and put them seperately below one by one. Also I want to explain I use my friend's JBoss maybe it could help for solution. My computer name is nuhkerem. (localhost and also host must be => nuhkerem)

 

Files seperatly ; 

1) C:\Siemens1\Teamcenter11\pool_manager\confs\config1\serverPool.properties

# ================================================================================================
# Copyright (c) 2005 UGS CORP
# Unpublished - All rights reserved
#
# ================================================================================================

CACHE_CONFIG_PATH=TreeCacheTCP.xml

POOL_ID=PoolA

MUX_PROTOCOL=http
MUX_PORT=8087
MGR_PROTOCOL=http
PROCESS_MAX=30

PROCESS_WARM=1

PROCESS_TARGET=0700 3, 1700 2

LOGINS_PER_MINUTE=0

SERVER_EXECUTABLE=C:\\Siemens1\\Teamcenter11\\bin\\tcserver.exe


# By default, this parameter is set to zero to disable the old html adaptor.
# To enable this, change the parameter value to an open port (e.g. 8082)
JMX_HTTP_ADAPTOR_PORT=0

# Additional command-line parameters to supply when starting Teamcenter servers.
SERVER_PARAMETERS=

# By default, The HTTP configuration for the Mux will determine the IP addresses used
# to connect to the servers. Set this parameter to a logical
# host name to override an inappropriate choice. Leave it unset
# to get the default behavior.
SERVER_HOST=cbsy

 

 

2)C:\Siemens1\Teamcenter11\pool_manager\confs\config1\TctpConfig.xml

 

<!--
@<COPYRIGHT>@@
================================================================================
Copyright 2014.
Siemens Product Lifecycle Management Software Inc.
All Rights Reserved.
================================================================================
@<COPYRIGHT>@@
-->

<!--
Configuration file for Tctp interprocess communications in the
Teamcenter enterprise tier.
-->
<TctpConfiguration
xmlns="http://www.teamcenter.com/Tctp"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.teamcenter.com/Tctp TctpConfig.xsd">

<!-- Gateway for business requests to a tcserver -->
<TctpClient
function="gateway"
component="manager"
connect_timeout="5000"
read_timeout="-1"
stale_timeout="300000"
/>
<TctpClient
function="gateway"
component="mux"
connect_timeout="5000"
read_timeout="-1"
stale_timeout="300000"
/>
<TctpServer
function="gateway"
component="tcserver"
max_request_processors="0"
accept_timeout="-1"
idle_timeout="36000000"
receive_timeout="60000"
buffer_size="40960"
/>

<!-- Health Notification from a tcserver to the manager -->
<TctpClient
function="healthnotifier"
component="tcserver"
connect_timeout="8000"
stale_timeout="5000"
buffer_size="40960"
/>
<TctpServer
function="healthnotifier"
component="manager"
accept_timeout="-1"
idle_timeout="10000"
receive_timeout="10000"
max_request_processors="500"
buffer_size="40960"
/>

<!-- Monitoring and Logging requests from the manager to a tcserver -->
<TctpClient
function="gateway"
component="soaclient"
connect_timeout="5000"
stale_timeout="90000"
/>
</TctpConfiguration>

 

3)C:\Siemens1\Teamcenter11\pool_manager\confs\config1\TreeCacheTCP.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<!--================================================================================================
Copyright (c) 2005 UGS CORP
Unpublished - All rights reserved

$REVLINE_NO_HISTORY$
=================================================================================================-->
<!-- ===================================================================== -->
<!-- -->
<!-- Sample TreeCache Service Configuration -->
<!-- -->
<!-- ===================================================================== -->
<server>
<classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar" />
<!-- ==================================================================== -->
<!-- Defines TreeCache configuration -->
<!-- ==================================================================== -->
<mbean code="org.jboss.cache.TreeCache" name="jboss.cache:service=TreeCache">
<depends>jboss:service=Naming</depends>
<depends>jboss:service=TransactionManager</depends>
<!-- Configure Marshalling -->
<attribute name="UseRegionBasedMarshalling">true</attribute>
<attribute name="InactiveOnStartup">true</attribute>
<!--
Configure the TransactionManager
-->
<attribute name="TransactionManagerLookupClass">org.jboss.cache.DummyTransactionManagerLookup</attribute>
<!--
Isolation level : SERIALIZABLE
REPEATABLE_READ (default)
READ_COMMITTED
READ_UNCOMMITTED
NONE
-->
<attribute name="IsolationLevel">REPEATABLE_READ</attribute>
<!--
Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC
-->
<attribute name="CacheMode">REPL_SYNC</attribute>
<!--
Just used for async repl: use a replication queue
-->
<attribute name="UseReplQueue">false</attribute>
<!--
Replication interval for replication queue (in ms)
-->
<attribute name="ReplQueueInterval">0</attribute>
<!--
Max number of elements which trigger replication
-->
<attribute name="ReplQueueMaxElements">0</attribute>
<!-- Name of cluster. Needs to be the same for all clusters, in order
to find each other
-->
<attribute name="ClusterName">Cluster</attribute>
<!-- JGroups protocol stack properties. Can also be a URL,
e.g. file:/home/bela/default.xml
<attribute name="ClusterProperties"></attribute>
-->
<attribute name="ClusterConfig">
<config>
<TCP start_port="17800" end_port="17800" sock_conn_timeout="2000" use_send_queues="false" enable_diagnostics="false" />
<TCPPING initial_hosts="nuhkerem[17810]" port_range="1" timeout="15000" num_initial_members="1" up_thread="true" down_thread="true" />
<MERGE2 min_interval="5000" max_interval="10000" />
<FD_SOCK />
<FD timeout="10000" max_tries="5" shun="true" down_thread="false" up_thread="false" />
<VERIFY_SUSPECT timeout="3000" down_thread="false" up_thread="false" />
<pbcast.NAKACK down_thread="true" up_thread="true" gc_lag="100" retransmit_timeout="3000" />
<pbcast.STABLE desired_avg_gossip="20000" down_thread="false" up_thread="false" />
<pbcast.GMS join_timeout="1250" join_retry_timeout="2000" shun="false" print_local_addr="true" down_thread="true" up_thread="true" />
<pbcast.STATE_TRANSFER up_thread="true" down_thread="true" />
</config>
</attribute>
<!--
Max number of entries in the cache. If this is exceeded, the

eviction policy will kick some entries out in order to make
more room
-->
<attribute name="MaxCapacity">100000</attribute>
<!--
Whether or not to fetch state on joining a cluster
-->
<attribute name="FetchInMemoryState">true</attribute>
<!--
The max amount of time (in milliseconds) we wait until the
initial state (ie. the contents of the cache) are retrieved from
existing members in a clustered environment
-->
<attribute name="InitialStateRetrievalTimeout">50000</attribute>
<!--
Number of milliseconds to wait until all responses for a
synchronous call have been received.
-->
<attribute name="SyncReplTimeout">10000</attribute>
<!-- Max number of milliseconds to wait for a lock acquisition -->
<attribute name="LockAcquisitionTimeout">10000</attribute>
</mbean>
<!-- Uncomment to get a graphical view of the TreeCache MBean above -->
<!-- <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
<!-- <depends>jboss.cache:service=TreeCache</depends>-->
<!-- <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
<!-- </mbean>-->
</server>

 

 

Re: No Business Server Instance is Available

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
In serverPool.properties you have SERVER_HOST equals "cbsy" and not "nuhkerem"?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: No Business Server Instance is Available

Valued Contributor
Valued Contributor

Hi,

 

so you are running poolmanager and JBoss on the same machine?

setting SERVER_HOST in serverPool.properties is not needed

and do you have the right seetings for treecache in the tc.war file?

 

it should be something like this (have a look at the ports)
<TCP start_port="17810" end_port="17810" sock_conn_timeout="2000" use_send_queues="false" enable_diagnostics="false" />
<TCPPING initial_hosts="nuhkerem[17800]" port_range="1" timeout="15000" num_initial_members="1" up_thread="true" down_thread="true" />

Re: No Business Server Instance is Available

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi @Roman65Which values should change?

tcwar01.JPGtcwar02.JPG

 

Re: No Business Server Instance is Available

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

I changed it as your suggestion @RandyEllsworth but unfortunately the result didn't changed and it encounters the same error.

Thanks.

Re: No Business Server Instance is Available

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

We have too many cook's in the kitchen. I'm stepping out until needed.


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2