12-21-2017 07:48 AM - edited 12-21-2017 07:49 AM
12-21-2017 08:57 AM
12-21-2017 09:06 AM
12-21-2017 09:17 AM
12-21-2017 09:42 AM
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>
12-21-2017 09:51 AM
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
12-21-2017 10:13 AM - edited 12-21-2017 10:15 AM
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" />
12-21-2017 01:47 PM - edited 12-21-2017 02:26 PM
12-21-2017 01:49 PM - edited 12-21-2017 01:49 PM
I changed it as your suggestion @RandyEllsworth but unfortunately the result didn't changed and it encounters the same error.
Thanks.
12-21-2017 01:53 PM
We have too many cook's in the kitchen. I'm stepping out until needed.
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4