This discussion is archived
3 Replies Latest reply: Sep 11, 2012 1:08 PM by 942056 RSS

Cannot get multi master replication to work - TcpAcceptor error

942056 Newbie
Currently Being Moderated
I am running Coherence 3.7.1 and WebLogic 10.3.5 on Solaris. I am packaging my coherence override, cache-config, and pof config files inside a jar file and adding that to my WebLogic domain's /lib directory as well as the coherence.jar so this is added to the path on startup.
     
When adding something to the cache the put is successful and I can retrieve the value from the cache but I get the error:
2012-09-04 15:52:41.992/2186.560 Oracle Coherence GE 3.7.1.0 <Error> (thread=EventChannelController:Thread-17, member=1): Error while starting service "remote-scm1": com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [xxx.16.22.151:20001]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor

Additionally I am not seeing the message "TcpAcceptor now listening for connections on . . ." on WebLogic or Coherence startup but I think it is supposed to be there. There is a tcp-acceptor defined in my cache-config.xml.

So I think I am supposed to have a TcpAcceptor running and it is not starting, possibly due to the cofiguration for that element may be getting overridden.
I can't seem to track this one down any insight would be appreciated.
Thanks
JG

<h5>Cache put/get that is working with the exception of the push replication</h5>
NamedCache cache = CacheFactory.getCache("scm-combiner-cache");
...
cache.put(key, value);
...
final Object value = cache.get(key);

<h5>My multi-master-pof-config.xml for both scm1 and scm2</h5>
<pof-config>
<user-type-list>
<include>coherence-pof-config.xml</include>
<include>coherence-common-pof-config.xml</include>
<include>coherence-messagingpattern-pof-config.xml</include>
<include>coherence-eventdistributionpattern-pof-config.xml
</include>
</user-type-list>
</pof-config>

<h5>tangosol-coherence-override.xml for scm1:</h5>
<?xml version="1.0" encoding="UTF-8"?>
<coherence>
<cluster-config>
<member-identity>
<site-name system-property="tangosol.coherence.site">scm1</site-name>
<cluster-name system-property="tangosol.coherence.cluster">multimaster</cluster-name>
</member-identity>
<multicast-listener>
<address>224.3.6.0</address>
<port>9001</port>
<time-to-live>0</time-to-live>
</multicast-listener>
</cluster-config>

<configurable-cache-factory-config>
<class-name>com.oracle.coherence.environment.extensible.ExtensibleEnvironment</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value system-property="tangosol.coherence.cacheconfig">multimaster-cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config>
</coherence>

<h5>tangosol-coherence-override.xml for scm2:</h5>
<?xml version="1.0" encoding="UTF-8"?>
<coherence>
<cluster-config>
<member-identity>
<site-name system-property="tangosol.coherence.site">scm2</site-name>
<cluster-name system-property="tangosol.coherence.cluster">multimaster</cluster-name>
</member-identity>
<multicast-listener>
<address>224.3.6.0</address>
<port>9002</port>
<time-to-live>0</time-to-live>
</multicast-listener>
</cluster-config>

<configurable-cache-factory-config>
<class-name>com.oracle.coherence.environment.extensible.ExtensibleEnvironment</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value system-property="tangosol.coherence.cacheconfig">multimaster-cache-config.xml</param-value>
</init-param>
</init-params>
</configurable-cache-factory-config>
</coherence>

<h5>multimaster-cache-config.xml for scm1:</h5>
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">

<cache-config xmlns:event="class://com.oracle.coherence.patterns.eventdistribution.configuration.EventDistributionNamespaceContentHandler"
xmlns:cr="class:com.oracle.coherence.environment.extensible.namespaces.InstanceNamespaceContentHandler">

<defaults>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-value>multi-master-pof-config.xml</param-value>
<param-type>String</param-type>
</init-param>
</init-params>
</serializer>

</defaults>

<caching-schemes>
<caching-scheme-mapping>

<cache-mapping>
<cache-name>scm-combiner-cache</cache-name>
<scheme-name>distributed-scheme-with-publishing-cachestore</scheme-name>

<event:distributor>
<event:distributor-name>{cache-name}</event:distributor-name>
<event:distributor-external-name>{site-name}-{cluster-name}-{cache-name}</event:distributor-external-name>

<event:distributor-scheme>
<event:coherence-based-distributor-scheme/>
</event:distributor-scheme>

<event:distribution-channels>

<event:distribution-channel>
<event:channel-name>scm2-channel</event:channel-name>
<event:starting-mode system-property="channel.starting.mode">enabled</event:starting-mode>

<event:channel-scheme>
<event:remote-cluster-channel-scheme>
<event:remote-invocation-service-name>remote-scm2</event:remote-invocation-service-name>
<event:remote-channel-scheme>
<event:local-cache-channel-scheme>
<event:target-cache-name>scm-combiner-cache</event:target-cache-name>
</event:local-cache-channel-scheme>
</event:remote-channel-scheme>
</event:remote-cluster-channel-scheme>
</event:channel-scheme>
</event:distribution-channel>

</event:distribution-channels>
</event:distributor>
</cache-mapping>

</caching-scheme-mapping>

<!--
The following scheme is required for each remote-site when
using a RemoteInvocationPublisher
-->
<remote-invocation-scheme>
<service-name>remote-scm2</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>xxx.16.22.152</address>
<port>20002</port>
</socket-address>
</remote-addresses>
<connect-timeout>2s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-invocation-scheme>


<distributed-scheme>
<scheme-name>distributed-scheme-with-publishing-cachestore</scheme-name>
<service-name>DistributedCacheWithPublishingCacheStore</service-name>

<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>com.oracle.coherence.patterns.pushreplication.PublishingCacheStore</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>

<autostart>true</autostart>
</distributed-scheme>

<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>xxx.16.22.151</address>
<port>20001</port>
</local-address>
</tcp-acceptor>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>

<near-scheme>
<scheme-name>near-scheme-with-publishing-cachestore</scheme-name>
<front-scheme>
<local-scheme />
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-ref>distributed-scheme-with-publishing-cachestore</scheme-ref>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>present</invalidation-strategy>
</near-scheme>

</caching-schemes>
</cache-config>

<h5>multimaster-cache-config.xml for scm2:</h5>
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">

<cache-config xmlns:event="class://com.oracle.coherence.patterns.eventdistribution.configuration.EventDistributionNamespaceContentHandler"
xmlns:cr="class:com.oracle.coherence.environment.extensible.namespaces.InstanceNamespaceContentHandler">

<defaults>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-value>multi-master-pof-config.xml</param-value>
<param-type>String</param-type>
</init-param>
</init-params>
</serializer>

</defaults>

<caching-schemes>
<caching-scheme-mapping>

<cache-mapping>
<cache-name>scm-combiner-cache</cache-name>
<scheme-name>distributed-scheme-with-publishing-cachestore</scheme-name>

<event:distributor>
<event:distributor-name>{cache-name}</event:distributor-name>
<event:distributor-external-name>{site-name}-{cluster-name}-{cache-name}</event:distributor-external-name>

<event:distributor-scheme>
<event:coherence-based-distributor-scheme/>
</event:distributor-scheme>

<event:distribution-channels>

<event:distribution-channel>
<event:channel-name>scm1-channel</event:channel-name>
<event:starting-mode system-property="channel.starting.mode">enabled</event:starting-mode>

<event:channel-scheme>
<event:remote-cluster-channel-scheme>
<event:remote-invocation-service-name>remote-scm1</event:remote-invocation-service-name>
<event:remote-channel-scheme>
<event:local-cache-channel-scheme>
<event:target-cache-name>scm-combiner-cache</event:target-cache-name>
</event:local-cache-channel-scheme>
</event:remote-channel-scheme>
</event:remote-cluster-channel-scheme>
</event:channel-scheme>
</event:distribution-channel>

</event:distribution-channels>
</event:distributor>
</cache-mapping>

</caching-scheme-mapping>

<!--
The following scheme is required for each remote-site when
using a RemoteInvocationPublisher
-->
<remote-invocation-scheme>
<service-name>remote-scm1</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>xxx.16.22.151</address>
<port>20001</port>
</socket-address>
</remote-addresses>
<connect-timeout>2s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-invocation-scheme>


<distributed-scheme>
<scheme-name>distributed-scheme-with-publishing-cachestore</scheme-name>
<service-name>DistributedCacheWithPublishingCacheStore</service-name>

<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>com.oracle.coherence.patterns.pushreplication.PublishingCacheStore</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>

<autostart>true</autostart>
</distributed-scheme>

<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>xxx.16.22.152</address>
<port>20002</port>
</local-address>
</tcp-acceptor>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>

<near-scheme>
<scheme-name>near-scheme-with-publishing-cachestore</scheme-name>
<front-scheme>
<local-scheme />
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-ref>distributed-scheme-with-publishing-cachestore</scheme-ref>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>present</invalidation-strategy>
</near-scheme>

</caching-schemes>
</cache-config>
  • 1. Re: Cannot get multi master replication to work - TcpAcceptor error
    942056 Newbie
    Currently Being Moderated
    <h5>And the startup and error message pt 1</h5>
    .
    .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m
    .
    WLS Start Mode=Development
    .
    CLASSPATH=/opt/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/jdk/instances/jdk1.6.0/lib/tools.jar:/opt/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/opt/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/opt/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
    .
    PATH=/opt/Oracle/Middleware/wlserver_10.3/server/bin:/opt/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/jdk/instances/jdk1.6.0/jre/bin:/usr/jdk/instances/jdk1.6.0/bin:/usr/bin:/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/atria/bin:/usr/sfw/bin:/usr/local/bin
    .
    ***************************************************
    * 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_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
    Starting WLS with line:
    /usr/jdk/instances/jdk1.6.0/bin/java -client -d64 -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -Dplatform.home=/opt/Oracle/Middleware/wlserver_10.3 -Dwls.home=/opt/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/opt/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/opt/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
    <Sep 4, 2012 3:16:20 PM GMT+00:00> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Sep 4, 2012 3:16:21 PM GMT+00:00> <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>
    <Sep 4, 2012 3:16:21 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /home/jg/weblogic/scm2/lib/CoherenceMultiMaster.jar:/home/jg/weblogic/scm2/lib/coherence.jar>
    <Sep 4, 2012 3:16:24 PM GMT+00:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.4-b02 from Sun Microsystems Inc.>
    <Sep 4, 2012 3:16:28 PM GMT+00:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Sep 4, 2012 3:16:35 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Sep 4, 2012 3:16:35 PM GMT+00:00> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Sep 4, 2012 3:16:36 PM GMT+00:00> <Notice> <LoggingService> <BEA-320400> <The log file /home/jg/weblogic/scm2/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Sep 4, 2012 3:16:36 PM GMT+00:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/jg/weblogic/scm2/servers/AdminServer/logs/AdminServer.log00011. Log messages will continue to be logged in /home/jg/weblogic/scm2/servers/AdminServer/logs/AdminServer.log.>
    <Sep 4, 2012 3:16:36 PM GMT+00:00> <Notice> <Log Management> <BEA-170019> <The server log file /home/jg/weblogic/scm2/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <Sep 4, 2012 3:16:51 PM GMT+00:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Sep 4, 2012 3:17:05 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Sep 4, 2012 3:17:05 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Sep 4, 2012 3:17:14 PM GMT+00:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /home/jg/deps/ScmTest.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Sep 4, 2012 3:17:17 PM GMT+00:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Sep 4, 2012 3:17:31 PM GMT+00:00> <Notice> <LoggingService> <BEA-320400> <The log file /home/jg/weblogic/scm2/servers/AdminServer/logs/scm2.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Sep 4, 2012 3:17:31 PM GMT+00:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/jg/weblogic/scm2/servers/AdminServer/logs/scm2.log00011. Log messages will continue to be logged in /home/jg/weblogic/scm2/servers/AdminServer/logs/scm2.log.>
    <Sep 4, 2012 3:17:31 PM GMT+00:00> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on xxx.16.22.152:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "scm2" running in Development Mode>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Sep 4, 2012 3:17:32 PM GMT+00:00> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    Sep 4, 2012 3:43:42 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    Sep 4, 2012 3:43:42 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    <Sep 4, 2012 3:44:27 PM GMT+00:00> <Warning> <Socket> <BEA-000450> <Socket 416 internal data record unavailable (probable closure due idle timeout), event received 0>
    <Sep 4, 2012 3:44:27 PM GMT+00:00> <Warning> <Socket> <BEA-000450> <Socket 418 internal data record unavailable (probable closure due idle timeout), event received 0>
    <Sep 4, 2012 3:44:27 PM GMT+00:00> <Warning> <Socket> <BEA-000450> <Socket 414 internal data record unavailable (probable closure due idle timeout), event received 0>
    <Sep 4, 2012 3:44:27 PM GMT+00:00> <Warning> <Socket> <BEA-000450> <Socket 417 internal data record unavailable (probable closure due idle timeout), event received -32>
    <Sep 4, 2012 3:45:33 PM GMT+00:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /home/jg/deps/ScmTest.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Sep 4, 2012 3:45:36 PM GMT+00:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Sep 4, 2012 3:46:12 PM GMT+00:00> <Warning> <Socket> <BEA-000450> <Socket 415 internal data record unavailable (probable closure due idle timeout), event received 0>
    <Sep 4, 2012 3:51:49 PM GMT+00:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in /home/jg/weblogic/scm2/servers/AdminServer/tmp/.appmergegen_1346773905963_ScmTest.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Sep 4, 2012 3:51:54 PM GMT+00:00> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebServiceModuleOverviewPage&WebServiceModuleOverviewPortlethandle=com.bea.console.handles.ModuleHandle%28%22com.bea%3AName%3DScmTest%2CType%3DAppDeployment%3BScmCacheTest.jar%3BScmCacheTest%3BScmCachePutGetBeanService%3BWEBSERVICE%22%29.>
    2012-09-04 15:52:25.066/2169.635 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "jar:file:/home/jg/weblogic/scm2/lib/coherence.jar!/tangosol-coherence.xml"
    2012-09-04 15:52:25.489/2170.057 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/home/jg/weblogic/scm2/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2012-09-04 15:52:25.502/2170.070 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/home/jg/weblogic/scm2/lib/CoherenceMultiMaster.jar!/tangosol-coherence-override.xml"
    2012-09-04 15:52:25.528/2170.096 Oracle Coherence 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
  • 2. Re: Cannot get multi master replication to work - TcpAcceptor error
    942056 Newbie
    Currently Being Moderated
    <h5>Error message pt 2</h5>

    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-09-04 15:52:26.016/2170.585 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from "jar:file:/home/jg/weblogic/scm2/lib/CoherenceMultiMaster.jar!/multimaster-cache-config.xml"; this document does not refer to any schema definition and has not been validated.

    Using the Incubator Extensible Environment for Coherence Cache Configuration
    Copyright (c) 2011, Oracle Corporation. All Rights Reserved.

    2012-09-04 15:52:26.908/2171.476 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Using the Coherence-based Event Distributor. Class:com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventDistributorBuilder Method:<init>
    2012-09-04 15:52:27.348/2171.916 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from "zip:/home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/APP-INF/lib/coherence-messagingpattern-2.8.4.32329.jar!/coherence-messagingpattern-cache-config.xml"
    2012-09-04 15:52:27.854/2172.423 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded cache configuration from "zip:/home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/APP-INF/lib/coherence-common-2.2.0.32329.jar!/coherence-common-cache-config.xml"
    2012-09-04 15:52:31.734/2176.302 Oracle Coherence GE 3.7.1.0 <D4> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): TCMP bound to /xxx.16.22.152:8088 using SystemSocketProvider
    2012-09-04 15:52:35.674/2180.245 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "multimaster" with Member(Id=1, Timestamp=2012-09-04 15:52:32.088, Address=xxx.16.22.152:8088, MachineId=65086, Location=site:scm2,machine:scm-2,process:24982, Role=WeblogicServer, Edition=Grid Edition, Mode=Development, CpuCount=128, SocketCount=128) UID=0xAC1016980000013991FBA658FE3E1F98
    2012-09-04 15:52:35.704/2180.272 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Started cluster Name=multimaster

    Group{Address=224.3.6.0, Port=9002, TTL=0}

    MasterMemberSet(
    ThisMember=Member(Id=1, Timestamp=2012-09-04 15:52:32.088, Address=xxx.16.22.152:8088, MachineId=65086, Location=site:scm2,machine:scm-2,process:24982, Role=WeblogicServer)
    OldestMember=Member(Id=1, Timestamp=2012-09-04 15:52:32.088, Address=xxx.16.22.152:8088, MachineId=65086, Location=site:scm2,machine:scm-2,process:24982, Role=WeblogicServer)
    ActualMemberSet=MemberSet(Size=1
    Member(Id=1, Timestamp=2012-09-04 15:52:32.088, Address=xxx.16.22.152:8088, MachineId=65086, Location=site:scm2,machine:scm-2,process:24982, Role=WeblogicServer)
    )
    MemberId|ServiceVersion|ServiceJoined|MemberState
    1|3.7.1|2012-09-04 15:52:35.677|JOINED
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0
    )
    )

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

    2012-09-04 15:52:35.951/2180.519 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2012-09-04 15:52:37.525/2182.093 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Loaded POF configuration from "jar:file:/home/jg/weblogic/scm2/lib/CoherenceMultiMaster.jar!/multi-master-pof-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-09-04 15:52:37.717/2182.285 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Loaded included POF configuration from "jar:file:/home/jg/weblogic/scm2/lib/coherence.jar!/coherence-pof-config.xml"
    2012-09-04 15:52:37.731/2182.299 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Loaded included POF configuration from "zip:/home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/APP-INF/lib/coherence-common-2.2.0.32329.jar!/coherence-common-pof-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-09-04 15:52:37.742/2182.310 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Loaded included POF configuration from "zip:/home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/APP-INF/lib/coherence-messagingpattern-2.8.4.32329.jar!/coherence-messagingpattern-pof-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-09-04 15:52:37.755/2182.323 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Loaded included POF configuration from "zip:/home/jg/weblogic/scm2/servers/AdminServer/tmp/_WL_user/ScmTest/ojgs72/APP-INF/lib/coherence-eventdistributionpattern-1.2.0.32329.jar!/coherence-eventdistributionpattern-pof-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-09-04 15:52:38.988/2183.556 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Service DistributedCacheWithPublishingCacheStore joined the cluster with senior service member 1
    2012-09-04 15:52:40.058/2184.627 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Establising Event Distributors for the Cache [scm-combiner-cache]. Class:com.oracle.coherence.patterns.pushreplication.PublishingCacheStore$1 Method:ensureResource
    2012-09-04 15:52:40.081/2184.650 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Using Coherence-based Event Distributor [scm-combiner-cache] (scm2-multimaster-scm-combiner-cache). Class:com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventDistributor Method:<init>
    2012-09-04 15:52:40.139/2184.707 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:DistributedCacheForDestinations, member=1): Service DistributedCacheForDestinations joined the cluster with senior service member 1
    2012-09-04 15:52:40.971/2185.539 Oracle Coherence GE 3.7.1.0 <Info> (thread=DistributedCache:DistributedCacheWithPublishingCacheStore, member=1): Establishing Event Channel [scm1-channel] for Event Distributor [scm-combiner-cache (scm2-multimaster-scm-combiner-cache)] based on [AbstractEventChannelController.Dependencies{channelName=scm1-channel, externalName=scm2:multimaster:scm-combiner-cache:scm1-channel, eventChannelBuilder=com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannelBuilder@22e33b0f, transformerBuilder=null, startingMode=ENABLED, batchDistributionDelayMS=1000, batchSize=100, restartDelay=10000, totalConsecutiveFailuresBeforeSuspended=-1}]. Class:com.oracle.coherence.patterns.eventdistribution.configuration.EventDistributorTemplate Method:realize
    2012-09-04 15:52:41.033/2185.601 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:DistributedCacheForSubscriptions, member=1): Service DistributedCacheForSubscriptions joined the cluster with senior service member 1
    2012-09-04 15:52:41.345/2185.914 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCacheForSubscriptionsWorker:0, member=1): Establishing the EventChannelController for CoherenceEventChannelSubscription{Subscription{subscriptionIdentifier=SubscriptionIdentifier{destinationIdentifier=Identifier{scm2-multimaster-scm-combiner-cache}, subscriberIdentifier=Identifier{scm2:multimaster:scm-combiner-cache:scm1-channel}}, status=ENABLED}, distributorIdentifier=EventDistributor.Identifier{symbolicName=scm-combiner-cache, externalName=scm2-multimaster-scm-combiner-cache}, controllerIdentifier=EventChannelController.Identifier{symbolicName=scm1-channel, externalName=scm2:multimaster:scm-combiner-cache:scm1-channel}, controllerDependencies=AbstractEventChannelController.Dependencies{channelName=scm1-channel, externalName=scm2:multimaster:scm-combiner-cache:scm1-channel, eventChannelBuilder=com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannelBuilder@61981853, transformerBuilder=null, startingMode=ENABLED, batchDistributionDelayMS=1000, batchSize=100, restartDelay=10000, totalConsecutiveFailuresBeforeSuspended=-1}, parameterProvider=ScopedParameterProvider{parameterProvider=SimpleParameterProvider{parameters={distributor-name=Parameter{name=distributor-name, type=java.lang.String, expression=Constant{value=Value{scm-combiner-cache}}}, distributor-external-name=Parameter{name=distributor-external-name, type=java.lang.String, expression=Constant{value=Value{scm2-multimaster-scm-combiner-cache}}}}}, innerParameterProvider=ScopedParameterProvider{parameterProvider=SimpleParameterProvider{parameters={cache-name=Parameter{name=cache-name, type=java.lang.String, expression=Constant{value=Value{scm-combiner-cache}}}, site-name=Parameter{name=site-name, type=java.lang.String, expression=Constant{value=Value{scm2}}}, cluster-name=Parameter{name=cluster-name, type=java.lang.String, expression=Constant{value=Value{multimaster}}}}}, innerParameterProvider=com.oracle.coherence.configuration.parameters.SystemPropertyParameterProvider@48652333}}, serializerBuilder=com.oracle.coherence.common.builders.NamedCacheSerializerBuilder@67ea0e66}. Class:com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventChannelSubscription Method:onCacheEntryLifecycleEvent
    2012-09-04 15:52:41.485/2186.053 Oracle Coherence GE 3.7.1.0 <D5> (thread=EventChannelController:Thread-17, member=1): Attempting to connect to Remote Invocation Service remote-scm1 in EventDistributor.Identifier{symbolicName=scm-combiner-cache, externalName=scm2-multimaster-scm-combiner-cache} for EventChannelController.Identifier{symbolicName=scm1-channel, externalName=scm2:multimaster:scm-combiner-cache:scm1-channel} Class:com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannel Method:connect
    2012-09-04 15:52:41.969/2186.537 Oracle Coherence GE 3.7.1.0 <D5> (thread=remote-scm1:TcpInitiator, member=1): Started: TcpInitiator{Name=remote-scm1:TcpInitiator, State=(SERVICE_STARTED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.pof.ConfigurablePofContext, PingInterval=0, PingTimeout=5000, RequestTimeout=5000, ConnectTimeout=2000, SocketProvider=SystemSocketProvider, RemoteAddresses=[/xxx.16.22.151:20001], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}}
    2012-09-04 15:52:41.981/2186.549 Oracle Coherence GE 3.7.1.0 <D5> (thread=EventChannelController:Thread-17, member=1): Connecting Socket to xxx.16.22.151:20001
    2012-09-04 15:52:41.986/2186.554 Oracle Coherence GE 3.7.1.0 <Info> (thread=EventChannelController:Thread-17, member=1): Error connecting Socket to xxx.16.22.151:20001: java.net.ConnectException: Connection refused
    2012-09-04 15:52:41.992/2186.560 Oracle Coherence GE 3.7.1.0 <Error> (thread=EventChannelController:Thread-17, member=1): Error while starting service "remote-scm1": com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [xxx.16.22.151:20001]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator.openConnection(TcpInitiator.CDB:120)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Initiator.ensureConnection(Initiator.CDB:11)
    at com.tangosol.coherence.component.net.extend.remoteService.RemoteInvocationService.openChannel(RemoteInvocationService.CDB:5)
    at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)
    at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)
    at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
    at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
    at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
    at com.oracle.coherence.environment.extensible.ExtensibleEnvironment.ensureService(ExtensibleEnvironment.java:525)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:337)
    at com.oracle.coherence.common.resourcing.InvocationServiceSupervisedResourceProvider.ensureResource(InvocationServiceSupervisedResourceProvider.java:61)
    at com.oracle.coherence.common.resourcing.InvocationServiceSupervisedResourceProvider.ensureResource(InvocationServiceSupervisedResourceProvider.java:34)
    at com.oracle.coherence.common.resourcing.AbstractSupervisedResourceProvider.getResource(AbstractSupervisedResourceProvider.java:81)
    at com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannel.connect(RemoteClusterEventChannel.java:187)
    at com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventChannelController.internalStart(CoherenceEventChannelController.java:209)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController.onStart(AbstractEventChannelController.java:682)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController.access$000(AbstractEventChannelController.java:70)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController$1.run(AbstractEventChannelController.java:461)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

    2012-09-04 15:52:41.996/2186.564 Oracle Coherence GE 3.7.1.0 <D5> (thread=remote-scm1:TcpInitiator, member=1): Stopped: TcpInitiator{Name=remote-scm1:TcpInitiator, State=(SERVICE_STOPPED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.pof.ConfigurablePofContext, PingInterval=0, PingTimeout=5000, RequestTimeout=5000, ConnectTimeout=2000, SocketProvider=SystemSocketProvider, RemoteAddresses=[/xxx.16.22.151:20001], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}}
    2012-09-04 15:52:42.005/2186.573 Oracle Coherence GE 3.7.1.0 <Warning> (thread=EventChannelController:Thread-17, member=1): Failed to connect to Remote Invocation Service remote-scm1 in EventDistributor.Identifier{symbolicName=scm-combiner-cache, externalName=scm2-multimaster-scm-combiner-cache} for EventChannelController.Identifier{symbolicName=scm1-channel, externalName=scm2:multimaster:scm-combiner-cache:scm1-channel} Class:com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannel Method:connect
    2012-09-04 15:52:42.007/2186.575 Oracle Coherence GE 3.7.1.0 <Warning> (thread=EventChannelController:Thread-17, member=1): Causing exception was: Class:com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannel Method:connect
    com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [xxx.16.22.151:20001]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator.openConnection(TcpInitiator.CDB:120)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Initiator.ensureConnection(Initiator.CDB:11)
    at com.tangosol.coherence.component.net.extend.remoteService.RemoteInvocationService.openChannel(RemoteInvocationService.CDB:5)
    at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)
    at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)
    at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
    at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
    at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
    at com.oracle.coherence.environment.extensible.ExtensibleEnvironment.ensureService(ExtensibleEnvironment.java:525)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:337)
    at com.oracle.coherence.common.resourcing.InvocationServiceSupervisedResourceProvider.ensureResource(InvocationServiceSupervisedResourceProvider.java:61)
    at com.oracle.coherence.common.resourcing.InvocationServiceSupervisedResourceProvider.ensureResource(InvocationServiceSupervisedResourceProvider.java:34)
    at com.oracle.coherence.common.resourcing.AbstractSupervisedResourceProvider.getResource(AbstractSupervisedResourceProvider.java:81)
    at com.oracle.coherence.patterns.eventdistribution.channels.RemoteClusterEventChannel.connect(RemoteClusterEventChannel.java:187)
    at com.oracle.coherence.patterns.eventdistribution.distributors.coherence.CoherenceEventChannelController.internalStart(CoherenceEventChannelController.java:209)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController.onStart(AbstractEventChannelController.java:682)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController.access$000(AbstractEventChannelController.java:70)
    at com.oracle.coherence.patterns.eventdistribution.distributors.AbstractEventChannelController$1.run(AbstractEventChannelController.java:461)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
  • 3. Re: Cannot get multi master replication to work - TcpAcceptor error
    942056 Newbie
    Currently Being Moderated
    I got the cache server to work by starting it indepently of WebLogic.

Legend

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