Guest
Welcome login


TIBCOmmunity > Products > BusinessEvents > Conversations
Home   Members Communities
Conversations () Resources () Blogs ()

BusinessEvents

Up to Conversations in BusinessEvents

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)

java.lang.RuntimeException Oracle Coherence

Created on: Oct 27, 2009 7:56 PM

Hi frindes,

 

I need Bring up an instance of a cache server, and two or more instances of the inference agent, but an error happen. I am trying start the CacheServer.

 

[22:09:09.802] java.lang.RuntimeException: 2009-10-27 22:09:03.396/52.797 Oracle Coherence 3.4.2/411p1 <Info> (thread=main, member=n/a): Loaded operational configuration from resource "jar:file:/C:/tibco/be/3.0/hotfix/lib/ext/coherence.jar!/tangosol-coherence.xml "
2009-10-27 22:09:03.412/52.813 Oracle Coherence 3.4.2/411p1 <Info> (thread=main, member=n/a): Loaded operational overrides from resource "jar:file:/C:/tibco/be/3.0/hotfix/lib/ext/coherence.jar!/tangosol-coherence-ove rride-dev.xml"
2009-10-27 22:09:03.412/52.813 Oracle Coherence 3.4.2/411p1 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified

2009-10-27 22:09:03.443/52.844 Oracle Coherence 3.4.2/411p1 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified Oracle Coherence Version 3.4.2/411p1 Enterprise Edition: Development mode
Copyright (c) 2000-2009 Oracle. All rights reserved.

2009-10-27 22:09:03.677/53.078 Oracle Coherence EE 3.4.2/411p1 <Info> (thread=main, member=n/a): Loaded cache configuration from resource "jar:file:/C:/tibco/be/3.0/hotfix/lib/ext/coherence.jar!/reports/report-group.x ml"
2009-10-27 22:09:06.412/55.813 Oracle Coherence EE 3.4.2/411p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a

 

Look my be_engineCS.xml to machine Cache Server

<property>
<name>be.engine.cacheServer</name>
<default>true</default>
</property>

<property>
<name>java.property.tangosol.coherence.cluster</name>
<default>cluster-dev</default>
</property>

<property>
<name>java.property.tangosol.coherence.mode</name>
<default>dev</default>
</property>

<property>
<name>java.property.tangosol.coherence.distributed.localstorage</name>
<default>true</default>
</property>

<property>
<name>java.property.tangosol.coherence.distributed.threads</name>
<default>8</default>
<description></description>
</property>

<property>
<name>java.property.tangosol.coherence.localport</name>
<default>19088</default>
</property>

<property>
<name>java.property.tangosol.coherence.wka1</name>
<default>192.168.178</default>
</property>

<property>
<name>java.property.tangosol.coherence.wka1.port</name>
<default>19088</default>
</property>

<property>
<name>java.property.tangosol.coherence.wka2</name>
<default>192.168.178</default>
</property>

<property>
<name>java.property.tangosol.coherence.wka2.port</name>
<default>19089</default>
</property>

 

I am using BE 3.0.1 with hotfix 6.

 

regards,

Click to view varinder's profile Enthusiast 41 posts since
Dec 19, 2009

Hi carlos,

can you please help how this isue is resolved .I am facing similar issue.

 

2009-12-19 12:31:27.232/30.042 Oracle Coherence EE 3.4.2/411p1 <Info> (thread=main, member=n/a): Loaded cache configuration from resource "jar:file:/tibco/ste/3.2/be/3.0/hotfix/lib/ext/coherence.jar!/reports/report-gr oup.xml"

2009-12-19 12:31:27.620/30.430 Oracle Coherence EE 3.4.2/411p1 <Error> (thread=main, member=n/a): Error while starting cluster: (Wrapped: TcpSocketAccepter{State=STATE_INITIAL, address:port=163.36.198.80:13724}) java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

at java.net.ServerSocket.bind(ServerSocket.java:319)

at java.net.ServerSocket.<init>(ServerSocket.java:185)

at com.tangosol.coherence.component.net.socket.TcpSocketAccepter.instantiateServer Socket(TcpSocketAccepter.CDB:23)

at com.tangosol.coherence.component.net.socket.TcpSocketAccepter.open(TcpSocketAcc epter.CDB:10)

at com.tangosol.coherence.component.net.Cluster$SocketManager$TcpSocketAccepter.op en(Cluster.CDB:6)

at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:129)

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.restartCluster(SafeCluster.CD B:7)

at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeClus ter.CDB:27)

at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)

at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:948)

at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigura bleCacheFactory.java:778)

at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigura bleCacheFactory.java:294)

at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.initCoherence(C acheCluster.java:949)

at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.initialize(Cach eCluster.java:1056)

at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServ iceProviderImpl.java:734)

at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServic eProviderImpl.java:233)

at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:127)

at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:45)

Click to view Abhijit's profile Dabbler 5 posts since
Aug 29, 2008
3. Dec 24, 2009 2:25 AM in response to: varinder
Re: java.lang.RuntimeException Oracle Coherence

Hi Varinder.

 

The error is the port number 13724 is already in use, change the port number.

 

Regards,

 

Abhijit

Click to view Akkili Veera Reddy's profile Dabbler 4 posts since
Jul 20, 2009


C:\tibco\be\3.0\bin>be-engine -n cacheserver --propFile C:\tibco\be\3.0\bin\be-Cacheengine.tra C:\tibco\be\3.0\rms\examples\TIBCOPOCBE\bin\TIBCOPOCBE.ear
Using property file: C:\tibco\be\3.0\bin\be-Cacheengine.tra
**********************************************************************
TIBCO BusinessEvents Enterprise Suite 3.0.1.014 (2008-11-26)
Using arguments :-n cacheserver C:\tibco\be\3.0\rms\examples\TIBCOPOCBE\bin\TIBCOPOCBE.ear
Copyright⌐ 2004-2008 TIBCO Software Inc. All rights reserved.
**********************************************************************
2009 Dec 29 12:14:07:350 GMT +5 cacheserver Info [main] - TIBCO BusinessEvents Enterprise Suite 3.0.1.014 -n cacheserver C:\tibco\be\3.0\rms\examples\TIBCOPOCBE\bin\TIBCOPOCBE.ear
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - Versions currently running:
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - be-bw.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - be-functions.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - be-oracle.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - be-palettes.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - be-statemodeler.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-common.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-container.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-drivers.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-instrumentation.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-kernel.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-migration.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:443 GMT +5 cacheserver Info [main] - cep-modules.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:459 GMT +5 cacheserver Info [main] - cep-query.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:07:459 GMT +5 cacheserver Info [main] - Loading the project from: C:\tibco\be\3.0\rms\examples\TIBCOPOCBE\bin\TIBCOPOCBE.ear
2009 Dec 29 12:14:09:928 GMT +5 cacheserver Info [main] - Loaded the project successfully
2009 Dec 29 12:14:09:928 GMT +5 cacheserver Info [main] - Registering Ontology Classes...
2009 Dec 29 12:14:10:115 GMT +5 cacheserver Info [main] - Registered Ontology Classes
2009 Dec 29 12:14:10:131 GMT +5 cacheserver Info [main] - Starting BE engine in CACHESERVER mode
2009 Dec 29 12:14:10:428 GMT +5 cacheserver Info [main] - Connecting JMS Channel [/BE/MinBalEvent/Channel/JMS] Properties [JNDI=tibjmsnaming://localhost:7222 QCF=QueueConnectionFac
tory TCF=TopicConnectionFactory user= clientID=BE-TIBCOPOCBE-cacheserver-/BE/MinBalEvent/Channel/JMS][Thread : ]main[State]Initialized
2009 Dec 29 12:14:10:443 GMT +5 cacheserver Info [main] - EAR generated with:
2009 Dec 29 12:14:10:443 GMT +5 cacheserver Info [main] - be-bw.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:443 GMT +5 cacheserver Info [main] - be-functions.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:443 GMT +5 cacheserver Info [main] - be-oracle.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:443 GMT +5 cacheserver Info [main] - be-palettes.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - be-statemodeler.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-common.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-container.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-drivers.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-instrumentation.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-kernel.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-migration.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-modules.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:459 GMT +5 cacheserver Info [main] - cep-query.jar : Version 3.0.1.014, 2008-11-26 - TIBCO BusinessEvents Enterprise Suite
2009 Dec 29 12:14:10:834 GMT +5 cacheserver Info [main] - [BusinessEvents Archive] Initialized InferenceAgent [com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAg
ent].
2009 Dec 29 12:14:10:834 GMT +5 cacheserver Info [main] - [BusinessEvents Archive] Configuring WorkerBasedQueueController for RuleSession - BusinessEvents Archive
2009 Dec 29 12:14:10:834 GMT +5 cacheserver Info [main] - [BusinessEvents Archive] Created default thread pool [$default.be.mt$] with 2 threads and queue size of 256
2009 Dec 29 12:14:10:912 GMT +5 cacheserver Info [main] - [BusinessEvents Archive] RuleSet /BE/MinBalEvent/Rules/Customer deployed
2009 Dec 29 12:14:10:928 GMT +5 cacheserver Info [main] - Created Rulesession: BusinessEvents Archive
2009 Dec 29 12:14:10:928 GMT +5 cacheserver Info [main] - [$cluster] RuleSet /BE/MinBalEvent/Rules/Customer Rule class be.gen.BE.MinBalEvent.Rules.Customer.MinBalRule added
2009 Dec 29 12:14:10:943 GMT +5 cacheserver Info [main] - [$cluster] RuleSet /BE/MinBalEvent/Rules/Customer Rule class be.gen.BE.MinBalEvent.Rules.Customer.Initialization added
2009 Dec 29 12:14:10:959 GMT +5 cacheserver Info [main] - Cluster ME starting in MULTIPLE PRIMARY MODE
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - java.lang.RuntimeException: 2009-12-29 12:14:11.287 Oracle Coherence 3.3.1/389p10 <Info> (thread=main, member=n/a): Loade
d operational configuration from resource "jar:file:/C:/tibco/be/3.0/lib/ext/coherence.jar!/tangosol-coherence.xml"
2009-12-29 12:14:11.287 Oracle Coherence 3.3.1/389p10 <Info> (thread=main, member=n/a): Loaded operational overrides from resource "jar:file:/C:/tibco/be/3.0/lib/ext/coherence.jar!
/tangosol-coherence-override-prod.xml"
2009-12-29 12:14:11.287 Oracle Coherence 3.3.1/389p10 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified

Oracle Coherence Version 3.3.1/389p10
Enterprise Edition: Production mode
Copyright (c) 2000-2007 Oracle. All rights reserved.

2009-12-29 12:14:12.209 Oracle Coherence EE 3.3.1/389p10 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2009-12-29 12:14:42.881 Oracle Coherence EE 3.3.1/389p10 <Error> (thread=Cluster, member=n/a): Node syngdcd1452/172.19.170.177:13720 is not allowed to create a new cluster; WKA lis
t: [localhost/127.0.0.1:13720]
2009-12-29 12:14:42.881 Oracle Coherence EE 3.3.1/389p10 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster

2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.initCoherence(C acheCluster.java:885)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.initialize(Cach eCluster.java:984)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServ iceProviderImpl.java:691)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServic eProviderImpl.java:219)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:113)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Error [main] - at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:45)
2009 Dec 29 12:14:42:881 GMT +5 cacheserver Info [CTRL-C] - Shutting down service provider -cacheserver
2009 Dec 29 12:14:42:897 GMT +5 cacheserver Info [CTRL-C] - RuleServiceProvider cacheserver is shutting down.
2009 Dec 29 12:14:42:897 GMT +5 cacheserver Info [CTRL-C] - Shutting down Cluster ...
2009 Dec 29 12:14:42:897 GMT +5 cacheserver Info [CTRL-C] - CLUSTER NODEME Shutdown In Progress
2009 Dec 29 12:14:43:006 GMT +5 cacheserver Info [CTRL-C] - CLUSTER NODEME Flush the Write Behind Queues
2009 Dec 29 12:15:14:116 GMT +5 cacheserver Error [CTRL-C] - java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_ANNOUNCE)
2009 Dec 29 12:15:14:210 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Servi ce.CDB:73)
2009 Dec 29 12:15:14:319 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:317)
2009 Dec 29 12:15:14:429 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
2009 Dec 29 12:15:14:538 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB: 3)
2009 Dec 29 12:15:14:647 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CD B:5)
2009 Dec 29 12:15:14:757 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeClus ter.CDB:26)
2009 Dec 29 12:15:14:866 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.SafeCluster.getRunningCluster(SafeCluster .CDB:1)
2009 Dec 29 12:15:14:976 GMT +5 cacheserver Error [CTRL-C] - at com.tangosol.coherence.component.util.SafeCluster.getServiceNames(SafeCluster.C DB:1)
2009 Dec 29 12:15:15:085 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.flushCache(Cach eCluster.java:608)
2009 Dec 29 12:15:15:194 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.stop(CacheClust er.java:1323)
2009 Dec 29 12:15:15:304 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.service.om.coherence.cluster.CacheCluster.shutdown(CacheC luster.java:458)
2009 Dec 29 12:15:15:413 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.shutdown(RuleService ProviderImpl.java:1047)
2009 Dec 29 12:15:15:522 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.shutdown(RuleService ProviderImpl.java:964)
2009 Dec 29 12:15:15:632 GMT +5 cacheserver Error [CTRL-C] - at com.tibco.cep.runtime.session.RuleServiceProviderManager$ShutdownThread.run(Rul eServiceProviderManager.java:289)
2009 Dec 29 12:15:15:741 GMT +5 cacheserver Info [CTRL-C] - CLUSTER NODEME Shutting down the Agents
2009 Dec 29 12:15:15:851 GMT +5 cacheserver Info [CTRL-C] - CLUSTER NODEME Releasing the Caches

C:\tibco\be\3.0\bin>

Attachments:
Click to view Abhijit's profile Dabbler 5 posts since
Aug 29, 2008

Hi Akkili,

 

Can you try using the same values for wka1(host) and the java.property.tangosol.coherence.localhost.

 

Regards,

 

Abhi

Click to view varinder's profile Enthusiast 41 posts since
Dec 19, 2009

Hi Akhil,

Can you try by giving cluster address in between given range.

Possible values are addresses between (and including) 224.0.0.0 and 239.255.255.255. Default value is 224.3.3.1.

Hope it will work also set

java.property.tangosol.coherence.localport.adjust=true

 

Regards,

Varinder

Click to view Rupesh's profile Dabbler 1 posts since
Jan 4, 2010

Hi Varinder

 

If we want to avoid clustering how we can do that?

 

we have nos of vms 10+ and 6 prod servers. we are deploying thru scripts.

So every time i have to go to tra file change

java.property.tangosol.coherence.clusteraddress=233.3.3.50

to different ip

 

then only instance work.

now it is difficult to remember becuase mof miltiple process and vms and each needs saperate ip

 

thanks

 

Rupesh

Click to view varinder's profile Enthusiast 41 posts since
Dec 19, 2009

Hi Rupesh,

If you are using Multicast property for machines to discover each other ,then i don"t think you have to give different cluster address in all it should be same as.

 

java.property.tangosol.coherence.clusteraddress=233.3.3.50

 

and also provide port number for the same.

 

java.property.tangosol.coherence.clusterport=

 

in all vms and prod serevrs .but if using unicast then you can configure as guided by Abhijeet Sir. using well known address in all tra .by using different xml for each instance by app manage deployments.

 

Varinder Sandhu



More Like This

  • Retrieving data ...