This discussion is archived
6 Replies Latest reply: Jan 13, 2013 3:08 PM by 962259 RSS

Extend client creates new node / cluster when using coherence*web support

962259 Newbie
Currently Being Moderated
WebLogic 10.3.5 server is configured with the following JVM parameters to work as an Extend client :

-Dtangosol.coherence.cacheconfig=session-cache-config.remote.xml
-Dtangosol.coherence.proxy.address=localhost
-Dtangosol.coherence.proxy.port=9001
-Dtangosol.coherence.session.proxy.address=localhost
-Dtangosol.coherence.session.proxy.port=9002
-Dtangosol.coherence.distributed.localstorage=false
-Dtangosol.coherence.session.localstorage=false

Active-cache (1.0) and coherence-web-spi.war (Coherence 3.7.1) are librairies are deployed

Application deployed is configured to use Coherence*Web, following the recipe at http://docs.oracle.com/cd/E24290_01/coh.371/e22620/features.htm#CBHEFFJD.

When deploying the application, connection is eventually made to the Extend cluster (localhost:9002).
The session cache config used is the one specified by the -Dtangosol.coherence.cacheconfig switch.

BUT, prior to this, a local node and cluster are created, using the default filename session-cache-config.xml where it can fid it (usually the one in coherence-web-spi.war).

(To make things work I had to make a session-cache-config.xml file available with the same content as the session-cache-config.remote.xml containing the TCP extend setup (tcp-initiator), otherwise I get, as expected, the No storage-enabled nodes exist for service DistributedSessions expection)

But this node/cluster is irrelevant. I can't figure out why it is created.

Here is the whole WebLogic startup sequence :


.
.
JAVA Memory arguments: -server -Xms328m -Xmx1024m -XX:PermSize=148m -XX:MaxPermSize=328m
.
WLS Start Mode=Development
.
CLASSPATH=D:\dev\WL1035\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\dev\WL1035\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\dev\WL1035\JDK160~1\lib\tools.jar;D:\dev\WL1035\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\dev\WL1035\WLSERV~1.3\server\lib\weblogic.jar;D:\dev\WL1035\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\dev\WL1035\WLSERV~1.3\server\lib\webservices.jar;D:\dev\WL1035\modules\ORGAPA~1.1/lib/ant-all.jar;D:\dev\WL1035\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\dev\WL1035\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\dev\WL1035\WLSERV~1.3\server\lib\xqrl.jar;D:\dev\WL1035\user_projects\domains\wls1035\parameters;.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar
.
PATH=D:\dev\WL1035\patch_wls1035\profiles\default\native;D:\dev\WL1035\patch_ocp360\profiles\default\native;D:\dev\WL1035\WLSERV~1.3\server\native\win\32;D:\dev\WL1035\WLSERV~1.3\server\bin;D:\dev\WL1035\modules\ORGAPA~1.1\bin;D:\dev\WL1035\JDK160~1\jre\bin;D:\dev\WL1035\JDK160~1\bin;D:\dev\Program Files\site\bin;D:\dev\Program Files\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Windows Imaging\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Winzip;C:\Program Files\TortoiseSVN\bin;D:\Program Files\SlikSvn\bin;C:\ANT\bin;C:\WL1031\jdk160_20\Bin;C:\Progra~1\TortoiseCVS;D:\Projets\programmes\ImprimerPdf;D:\dev\Program Files\bin;D:\dev_pvm\Dev\apache-maven\bin;D:\dev\WL1035\WLSERV~1.3\server\native\win\32\oci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Listening for transport dt_socket at address: 8453
Starting WLS with line:
D:\dev\WL1035\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -server -Xms328m -Xmx1024m -XX:PermSize=148m -XX:MaxPermSize=328m -Dweblogic.Name=AdminServer -Djava.security.policy=D:\dev\WL1035\WLSERV~1.3\server\lib\weblogic.policy -Dtangosol.coherence.cacheconfig=session-cache-config.remote.xml -Dtangosol.coherence.proxy.address=localhost -Dtangosol.coherence.proxy.port=9001 -Dtangosol.coherence.session.proxy.address=localhost -Dtangosol.coherence.session.proxy.port=9002 -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.session.localstorage=false -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=D:\dev\WL1035\WLSERV~1.3 -Dwls.home=D:\dev\WL1035\WLSERV~1.3\server -Dweblogic.home=D:\dev\WL1035\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\dev\WL1035\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\dev\WL1035\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
Listening for transport dt_socket at address: 8453
<2012-12-20 14 h 55 EST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2012-12-20 14 h 55 EST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<2012-12-20 14 h 55 EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 19.1-b02 from Sun Microsystems Inc.>
<2012-12-20 14 h 55 EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2012-12-20 14 h 55 EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2012-12-20 14 h 55 EST> <Notice> <LoggingService> <BEA-320400> <The log file D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2012-12-20 14 h 55 EST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\AdminServer.log00206. Log messages will continue to be logged in D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\AdminServer.log.>
<2012-12-20 14 h 55 EST> <Notice> <Log Management> <BEA-170019> <The server log file D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2012-12-20 14 h 55 EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
2012-12-20 14:55:50.135/6.906 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "zip:D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPApplicationPublicCoherence/5wlxov/APP-INF/lib/coherence-3.7.1.0.jar!/tangosol-coherence.xml"
2012-12-20 14:55:50.213/6.984 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "zip:D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPApplicationPublicCoherence/5wlxov/APP-INF/lib/coherence-3.7.1.0.jar!/tangosol-coherence-override-dev.xml"
2012-12-20 14:55:50.213/6.984 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "zip:D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPApplicationPublicCoherence/5wlxov/APP-INF/lib/coherence-common-2.2.0.32329.jar!/tangosol-coherence-override.xml"
2012-12-20 14:55:50.213/6.984 Oracle Coherence 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified

Oracle Coherence Version 3.7.1.0 Build 27797
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

2012-12-20 14:55:50.307/7.078 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from "file:/D:/dev/WL1035/user_projects/domains/wls1035/parameters/session-cache-config.xml"
2012-12-20 14:55:50.932/7.703 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded Reporter configuration from "zip:D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPApplicationPublicCoherence/5wlxov/APP-INF/lib/coherence-3.7.1.0.jar!/reports/report-group.xml"
2012-12-20 14:55:50.947/7.718 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded Reporter configuration from "zip:D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPApplicationPublicCoherence/5wlxov/APP-INF/lib/coherence-3.7.1.0.jar!/reports/report-group.xml"
2012-12-20 14:55:51.228/7.999 Oracle Coherence GE 3.7.1.0 <D4> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): TCMP bound to /10.1.176.229:8095 using SystemSocketProvider
2012-12-20 14:55:54.588/11.359 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xFCDB" with Member(Id=1, Timestamp=2012-12-20 14:55:51.275, Address=10.1.176.229:8095, MachineId=33823, Location=site:,machine:wks10g8g,process:6952, Role=WeblogicServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) UID=0x0A01B0E50000013BB9E2DE6B841F1F9F
2012-12-20 14:55:54.588/11.359 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Started cluster Name=cluster:0xFCDB

Group{Address=224.3.7.0, Port=37000, TTL=4}

MasterMemberSet(
ThisMember=Member(Id=1, Timestamp=2012-12-20 14:55:51.275, Address=10.1.176.229:8095, MachineId=33823, Location=site:,machine:wks10g8g,process:6952, Role=WeblogicServer)
OldestMember=Member(Id=1, Timestamp=2012-12-20 14:55:51.275, Address=10.1.176.229:8095, MachineId=33823, Location=site:,machine:wks10g8g,process:6952, Role=WeblogicServer)
ActualMemberSet=MemberSet(Size=1
Member(Id=1, Timestamp=2012-12-20 14:55:51.275, Address=10.1.176.229:8095, MachineId=33823, Location=site:,machine:wks10g8g,process:6952, Role=WeblogicServer)
)
MemberId|ServiceVersion|ServiceJoined|MemberState
1|3.7.1|2012-12-20 14:55:54.588|JOINED
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
)
)

TcpRing{Connections=[]}
IpMonitor{AddressListSize=0}

2012-12-20 14:55:54.619/11.390 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2012-12-20 14:55:54.744/11.515 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1): Loaded cache configuration from "file:/D:/dev/WL1035/user_projects/domains/wls1035/servers/AdminServer/tmp/_WL_user/tiinapLPWebPublicCoherence/vq1te8/WEB-INF/classes/session-cache-config.remote.xml"
2012-12-20 14:55:54.807/11.578 Oracle Coherence GE 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1):
Clustered Session Cache Name=session-storage
Local Session Cache Name=local-session-storage
Local Session Attribute Cache Name=local-attribute-storage
Death Certificate Cache Name=session-death-certificates
SessionDistributionController Class Name=
AttributeScopeController Class Name=com.desjardins.tiinap.infra.pres.coherence.servlet.MixedScopeController
Maximum Session Inactive Seconds=300
Session ID Character Length=52
Session Locking Enforced=false
Member Session Locking Enforced=false
Application Session Locking Enforced=false
Thread Session Locking Enforced=false
Session Get Lock Timeout=300
Suspect Attribute Detection=true
Strict "Servlet Specification" Exception Handling=true
Sticky Session Ownership=false
Sticky Session Ownership Service Name=SessionOwnership
Assume Session Locality for Reaping=false
Parallel Session Reaping=true
Allow Local Attributes=false
Use Default Session ID Decoding=true
Use Default Session ID Encoding=false
Session ID Affinity Token=null
Session Expiry Filter Factory=
Session Access Debug Logging Enabled=false
Session Access Debug Logging Filter=
<2012-12-20 14 h 55 EST> <Warning> <WorkManager> <BEA-002919> <Unable to find a WorkManager with name wm/CoherenceWorkManager. Dispatch policy wm/CoherenceWorkManager will map to the default WorkManager for the application tiinapCoherenceApplTemoin>
2012-12-20 14:55:54.916/11.687 Oracle Coherence GE 3.7.1.0 <D5> (thread=RemoteCache:TcpInitiator, member=1): Started: TcpInitiator{Name=RemoteCache:TcpInitiator, State=(SERVICE_STARTED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.DefaultSerializer, PingInterval=0, PingTimeout=30000, RequestTimeout=30000, ConnectTimeout=30000, SocketProvider=SystemSocketProvider, RemoteAddresses=[wks10g8g/10.1.176.229:9002], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}}
2012-12-20 14:55:54.932/11.703 Oracle Coherence GE 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1): Connecting Socket to 10.1.176.229:9002
2012-12-20 14:55:54.963/11.734 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1): Connected Socket to 10.1.176.229:9002
2012-12-20 14:55:55 com.desjardins.tiinap.infra.pres.coherence.servlet.MixedScopeController getGlobalAttributeNames
INFO: Fichier shared-global-scope-attribute-names.properties absent du classpath
2012-12-20 14:55:55.135/11.906 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1): Configured session model "SplitHttpSessionCollection":
Clustered Session Cache Name=session-storage
Local Session Cache Name=local-session-storage
Local Session Attribute Cache Name=local-attribute-storage
Death Certificate Cache Name=session-death-certificates
SessionDistributionController Class Name=
AttributeScopeController Class Name=com.desjardins.tiinap.infra.pres.coherence.servlet.MixedScopeController
Maximum Session Inactive Seconds=300
Session ID Character Length=52
Session Locking Enforced=false
Member Session Locking Enforced=false
Application Session Locking Enforced=false
Thread Session Locking Enforced=false
Session Get Lock Timeout=300
Suspect Attribute Detection=true
Strict "Servlet Specification" Exception Handling=true
Sticky Session Ownership=false
Sticky Session Ownership Service Name=SessionOwnership
Assume Session Locality for Reaping=false
Parallel Session Reaping=true
Allow Local Attributes=false
Use Default Session ID Decoding=true
Use Default Session ID Encoding=false
Session ID Affinity Token=null
Session Expiry Filter Factory=
Session Access Debug Logging Enabled=false
Session Access Debug Logging Filter=
2012-12-20 14:55:55 com.tangosol.coherence.servlet.AbstractHttpSessionCollection configure
INFO: Configured session model "SplitHttpSessionCollection":
Clustered Session Cache Name=session-storage
Local Session Cache Name=local-session-storage
Local Session Attribute Cache Name=local-attribute-storage
Death Certificate Cache Name=session-death-certificates
SessionDistributionController Class Name=
AttributeScopeController Class Name=com.desjardins.tiinap.infra.pres.coherence.servlet.MixedScopeController
Maximum Session Inactive Seconds=300
Session ID Character Length=52
Session Locking Enforced=false
Member Session Locking Enforced=false
Application Session Locking Enforced=false
Thread Session Locking Enforced=false
Session Get Lock Timeout=300
Suspect Attribute Detection=true
Strict "Servlet Specification" Exception Handling=true
Sticky Session Ownership=false
Sticky Session Ownership Service Name=SessionOwnership
Assume Session Locality for Reaping=false
Parallel Session Reaping=true
Allow Local Attributes=false
Use Default Session ID Decoding=true
Use Default Session ID Encoding=false
Session ID Affinity Token=null
Session Expiry Filter Factory=
Session Access Debug Logging Enabled=false
Session Access Debug Logging Filter=
2012-12-20 14:55:55.338/12.109 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=1): Registering MBean using object name "type=WebLogicHttpSessionManager,nodeId=1,appId=coherenceApplTemoin"
2012-12-20 14:55:55 com.tangosol.coherence.servlet.SessionHelper registerMBean
INFO: Registering MBean using object name "type=WebLogicHttpSessionManager,nodeId=1,appId=coherenceApplTemoin"
<2012-12-20 14 h 55 EST> <Notice> <LoggingService> <BEA-320400> <The log file D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\wls1035.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2012-12-20 14 h 55 EST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\wls1035.log00206. Log messages will continue to be logged in D:\dev\WL1035\user_projects\domains\wls1035\servers\AdminServer\logs\wls1035.log.>
<2012-12-20 14 h 55 EST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2012-12-20 14 h 55 EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:10350 for protocols iiop, t3, ldap, snmp, http.>
<2012-12-20 14 h 55 EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.1.176.229:10350 for protocols iiop, t3, ldap, snmp, http.>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "wls1035" running in Development Mode>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2012-12-20 14 h 55 EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
2012-12-20 14:55:57 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
2012-12-20 14:55:57 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'

You see :

At 2012-12-20 14:55:50.307
- The file session-cache-config.xml is loaded, shouldn't it be the file specified by the -D ?

At 2012-12-20 14:55:54.588
- local Cluster is started, only application deployed uses only Extend cache configurations, why a node is created and attempting to join a cluster ?

at 2012-12-20 14:55:54.744
- The file session-cache-config.remote.xml is loaded (as expected)

from 2012-12-20 14:55:54.916
to 2012-12-20 14:55:54.963
- TCP connection is made to remote cluster : localhost:9002 (as expected)
  • 1. Re: Extend client creates new node / cluster when using coherence*web support
    user639604 Journeyer
    Currently Being Moderated
    Add this property should be able to fix the problem.

    -Dtangosol.coherence.tcmp.enabled=false
  • 2. Re: Extend client creates new node / cluster when using coherence*web support
    962259 Newbie
    Currently Being Moderated
    I already tried the -Dtangosol.coherence.tcmp.enabled=false switch, with no success.

    This creates the following exception when the application configured to use Coherence*Web is started:

    2012-12-10 15:46:40.326/7.187 Oracle Coherence GE 3.7.1.0 <Error> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error while starting cluster: java.lang.UnsupportedOperationException: TCMP clustering has been disabled; this configuration may only access clustered services via Extend proxies.
    <2012-12-10 15 h 46 EST> <Error> <weblogic-coherence-integration> <BEA-000002> <Failed to initialize Coherence cluster due to java.lang.UnsupportedOperationException: TCMP clustering has been disabled; this configuration may only access clustered services via Extend proxies.
    java.lang.UnsupportedOperationException: TCMP clustering has been disabled; this configuration may only access clustered services via Extend proxies.
         at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:17)
         at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:17)
         at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
         at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
         at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
         at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
         at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
         at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
         Truncated. see log file for complete stacktrace
    >
         at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
         at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
         at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
         at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
         at weblogic.coherence.service.internal.WLSCoherenceConfigurator.configureClusterService(WLSCoherenceConfigurator.java:156)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.cacheprovider.coherence.CoherenceClusterManager.configureClusterService(CoherenceClusterManager.java:106)
         at weblogic.servlet.internal.WebAppModule.setupCoherenceCaches(WebAppModule.java:1848)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:390)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Again, it seems that by default a client node is created and joins a local default cluster, even if later in the init process of the application, everything falls back in place (Coherence*Web with Extend). But again, this client node and local cluster lives on, even if it is not used. I will open a servcie request with this issue.
  • 3. Re: Extend client creates new node / cluster when using coherence*web support
    user738616 Pro
    Currently Being Moderated
    Hi,

    Try removing the session-cache-config.xml from coherence-web-spi.war.

    HTH

    Cheers,
    _NJ                                                                                                                                                                                                       
  • 4. Re: Extend client creates new node / cluster when using coherence*web support
    user639604 Journeyer
    Currently Being Moderated
    Looks like you were using 3.7.1.0.

    There are couple fixes regarding Coherence *Web on patch versions, you might want to try the latest version (I believe it's 3.7.1.7 now).

    One fix related to incorrect cache config file loaded might be this one (which fixed in 3.7.1.2).

    COH-6272: A few Coherence*Web configuration options were not being properly registered when configured via system properties.
  • 5. Re: Extend client creates new node / cluster when using coherence*web support
    user639604 Journeyer
    Currently Being Moderated
    And this fix on 3.7.1.6 might be what you observed.

    COH-7567: Fixed a regression that caused Coherence*Web extend clients to startup TCMP services.
  • 6. Re: Extend client creates new node / cluster when using coherence*web support
    962259 Newbie
    Currently Being Moderated
    Tks to all for your answers, I downloaded and tried the latest version (3.7.1.7) but I still can observe the same behaviour. Oracle is working on my SR. I'll post the final result of their investigation.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points