| Author |
Message |
|
|
I am using
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
Thank you.
|
 |
|
|
Hi Adahanne, thanks for your reply.
Just to sum up what I am trying to do is to say to quartz to create the RMI registry in another server.
This is the quartz server logs:
Code:
May 7, 2012 3:18:02 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Using default implementation for ThreadExecutor
May 7, 2012 3:18:02 PM org.quartz.core.SchedulerSignalerImpl <init>
INFO: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
May 7, 2012 3:18:02 PM org.quartz.core.QuartzScheduler <init>
INFO: Quartz Scheduler v.2.1.1 created.
May 7, 2012 3:18:02 PM org.quartz.simpl.RAMJobStore initialize
INFO: RAMJobStore initialized.
May 7, 2012 3:18:02 PM org.quartz.core.QuartzScheduler shutdown
INFO: Scheduler jobStore082_$_jobStore082id shutting down.
May 7, 2012 3:18:02 PM org.quartz.core.QuartzScheduler standby
INFO: Scheduler jobStore082_$_jobStore082id paused.
May 7, 2012 3:18:03 PM org.quartz.core.QuartzScheduler shutdown
INFO: Scheduler jobStore082_$_jobStore082id shutdown complete.
org.quartz.SchedulerException: Unable to bind scheduler to RMI Registry. [See nested exception: java.rmi.ServerException: RemoteException occurred in serve
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub]
org.quartz.SchedulerException: Unable to bind scheduler to RMI Registry. [See nested exception: java.rmi.ServerException: RemoteException occurred in serve
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub]
at org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:255)
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1304)
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1484)
at JobStore.Jobsharvester.initJobStore(Jobsharvester.java:39)
at JobStore.Jobsharvester.<init>(Jobsharvester.java:29)
at harvester.HarvesterCtrl.initJobStore(HarvesterCtrl.java:920)
at harvester.HarvesterCtrl.<init>(HarvesterCtrl.java:248)
at harvester.HarvesterCtrl.<init>(HarvesterCtrl.java:48)
at harvester.HarvesterCtrl$InstanceController.<clinit>(HarvesterCtrl.java:201)
at harvester.HarvesterCtrl.getInstance(HarvesterCtrl.java:207)
at Jobsharvester.HarvesterGUI$1.run(HarvesterGUI.java:85)
at java.lang.Thread.run(Unknown Source)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
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)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at org.quartz.core.QuartzScheduler.bind(QuartzScheduler.java:408)
at org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:253)
... 11 more
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
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)
Caused by: java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
This is the quartz server config:
Code:
org.quartz.scheduler.instanceId jobStore082id
org.quartz.scheduler.instanceName jobStore082
org.quartz.scheduler.rmi.createRegistry false
org.quartz.scheduler.rmi.export true
org.quartz.scheduler.rmi.registryHost 10.243.50.195
org.quartz.scheduler.rmi.registryPort 2025
org.quartz.scheduler.rmi.serverPort 2030
org.quartz.scheduler.skipUpdateCheck true
org.quartz.threadPool.threadCount 400
org.quartz.threadPool.threadPriority 6
this is the conf file of the client that connects to that server:
Code:
org.quartz.scheduler.instanceId jobStore082id
org.quartz.scheduler.instanceName jobStore082
org.quartz.scheduler.rmi.proxy true
org.quartz.scheduler.rmi.registryHost 10.243.50.195
org.quartz.scheduler.rmi.registryPort 2025
org.quartz.scheduler.rmi.serverPort 2030
org.quartz.scheduler.skipUpdateCheck true
I think I am overlooking something, but I still dont know why I am getting this class not found. am I using RMI right?
thanks
|
 |
|
|
Hi all,
I am using RMI quartz in a remote node to remotely sends jobs, I want to have the RMI register server in another computer 10.243.10.20, however I am getting the following error when the node starts up:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
I must be doing something wrong as I googled this issue and it is very old.
I have tried many things, I am very struggled with this, the last thing I tried was:
java -Djava.rmi.server.codebase:file:lib/quartz-2.1.1.jar or -Djava.rmi.server.codebase:file:/c:/app/lib/quartz-2.1.1.jar
The node configuration is as follows:
Code:
org.quartz.scheduler.instanceId jobStore094id
org.quartz.scheduler.instanceName jobStore094
org.quartz.scheduler.rmi.createRegistry true
org.quartz.scheduler.rmi.export false // because I dont want to have it localhost but in the 10.243.10.20
org.quartz.scheduler.rmi.registryHost 10.243.10.20
org.quartz.scheduler.rmi.registryPort 2020
org.quartz.scheduler.rmi.serverPort 5000
org.quartz.scheduler.skipUpdateCheck true
I very much appreciate any input.
Thank you
Daniel
|
 |
|
|
I have found more information in the terracotta client.
Does someone know what it is going on between the server and client?, why can not they get connectity?
Code:
2012-04-17 11:45:04,259 [AWT-EventQueue-0] INFO org.terracotta.api.org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory - Ehcache Core version 2.5.1 was built on 20120130-1113, at revision 5203, with jdk 1.6.0_27 by cruise@kong.terracotta.lan
2012-04-17 11:45:08,924 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50010 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:08,924 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@9862796: connected: true, closed: false local=10.243.50.74:50010 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:02 BST 2012] idle=4540ms [473 read, 738 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:08,924 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@9862796: connected: false, closed: true local=10.243.50.74:50010 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:02 BST 2012] idle=4540ms [473 read, 738 write]. STATUS : ESTABLISHED
2012-04-17 11:45:08,924 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:08,924 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@1578131290: connected: true, closed: false local=10.243.50.74:50013 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:08 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:08,939 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 2 Acked: 0
2012-04-17 11:45:13,479 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50013 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:13,479 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@1578131290: connected: true, closed: false local=10.243.50.74:50013 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:08 BST 2012] idle=4352ms [468 read, 844 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:13,479 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@1578131290: connected: false, closed: true local=10.243.50.74:50013 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:08 BST 2012] idle=4352ms [468 read, 844 write]. STATUS : ESTABLISHED
2012-04-17 11:45:13,479 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:13,479 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@1023143764: connected: true, closed: false local=10.243.50.74:50018 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:13 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:13,495 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 3 Acked: 2
2012-04-17 11:45:18,050 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50018 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:18,050 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@1023143764: connected: true, closed: false local=10.243.50.74:50018 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:13 BST 2012] idle=4524ms [454 read, 975 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:18,050 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@1023143764: connected: false, closed: true local=10.243.50.74:50018 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:13 BST 2012] idle=4524ms [454 read, 975 write]. STATUS : ESTABLISHED
2012-04-17 11:45:18,050 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:18,050 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@1002276202: connected: true, closed: false local=10.243.50.74:50019 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:18 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:18,066 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 5 Acked: 3
2012-04-17 11:45:22,605 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50019 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:22,605 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@1002276202: connected: true, closed: false local=10.243.50.74:50019 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:18 BST 2012] idle=4539ms [372 read, 753 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:22,605 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@1002276202: connected: false, closed: true local=10.243.50.74:50019 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:18 BST 2012] idle=4539ms [372 read, 753 write]. STATUS : ESTABLISHED
2012-04-17 11:45:22,605 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:22,605 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@355314512: connected: true, closed: false local=10.243.50.74:50020 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:22 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:22,621 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 6 Acked: 5
2012-04-17 11:45:27,161 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50020 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:27,161 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@355314512: connected: true, closed: false local=10.243.50.74:50020 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:22 BST 2012] idle=4524ms [881 read, 933 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:27,161 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@355314512: connected: false, closed: true local=10.243.50.74:50020 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:22 BST 2012] idle=4524ms [881 read, 933 write]. STATUS : ESTABLISHED
2012-04-17 11:45:27,161 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:27,161 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@511031769: connected: true, closed: false local=10.243.50.74:50021 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:27 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:27,176 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 7 Acked: 6
2012-04-17 11:45:31,700 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50021 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:31,700 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@511031769: connected: true, closed: false local=10.243.50.74:50021 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:27 BST 2012] idle=4524ms [851 read, 1399 write]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:31,700 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] WARN com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): CLOSE EVENT : com.tc.net.core.TCConnectionImpl@511031769: connected: false, closed: true local=10.243.50.74:50021 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:27 BST 2012] idle=4524ms [851 read, 1399 write]. STATUS : ESTABLISHED
2012-04-17 11:45:31,700 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect - Handling connection request: RestoreConnectionRequest [type=RESTORE_CONNECTION, clientMessageTransport=com.tc.net.protocol.transport.ClientMessageTransport@7a631c70, callback=com.tc.net.protocol.delivery.OOOConnectionWatcher@e03bd6, timeoutMillis=5000, sa=10.243.180.124:9510]
2012-04-17 11:45:31,700 [ConnectionEstablisher] INFO com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd): Attaching new connection: com.tc.net.core.TCConnectionImpl@625689160: connected: true, closed: false local=10.243.50.74:50022 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:31 BST 2012] idle=0ms [0 read, 0 write]
2012-04-17 11:45:31,716 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.protocol.delivery.SendStateMachine - SENDER-CLIENT-ConnectionID(0.2380c8f8c1fc4a9d80f6cf2bb9cb8a57.a1f27e13-7c28-43c1-992b-c4aee295f5b5-136bfe79ffd); AckSeq: 9 Acked: 7
2012-04-17 11:45:36,240 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnection - error reading from channel java.nio.channels.SocketChannel[connected local=/10.243.50.74:50022 remote=/10.243.180.124:9510]: An established connection was aborted by the software in your host machine
2012-04-17 11:45:36,240 [L1_L2:TCComm Main Selector Thread_R (listen 0.0.0.0:50006)] INFO com.tc.net.core.TCConnectionManager - error event on connection com.tc.net.core.TCConnectionImpl@625689160: connected: true, closed: false local=10.243.50.74:50022 remote=10.243.180.124:9510 connect=[Tue Apr 17 11:45:31 BST 2012] idle=4524ms [213 read, 957 write]: An established connection was aborted by the software in your host machine
Thank you very much.
Daniel
|
 |
|
|
Hi all,
Just a quick question, we have been using terracota server for a while, and all of the sudden the clients can not connect to the terracotta server, both are displaying the following error:
Code:
@@@@ 2049894373 -> OOOLayer-SERVER-ConnectionID(0.f1e695df4de54fd29f91cb127c0a9e56.5bd4b16c-f019-4b36-842b-a38f3efc24c3-136a1920c4b) -> not firing Tx connected event to channel
@@@@ 2049894373 -> OOOLayer-SERVER-ConnectionID(1.f1e695df4de54fd29f91cb127c0a9e56.755a81c3-50fc-4ff4-b67c-f4504187763e-136a1938a92) -> not firing Tx connected event to channel
Have you even come across this message? what does it exactly mean?
Thank you very much
Regards
Daniel
|
 |
|
|
Thanks for your answer.
That was what I presumed, how can we hide these logs, we dont want to have them in production, it is messing up the log file.:)
Regards
|
 |
|
|
Hi all,
I have upgraded quart to 2.2.0 from 2.0.1 and I am getting the following info logs .
Code:
Mar 28, 2012 9:42:42 AM org.terracotta.quartz.LogWrapperFactory$Slf4jImpl info
INFO: Tracking Trigger 'DEFAULT.MyTrigger201311556': triggerClass: 'org.quartz.impl.triggers.SimpleTriggerImpl calendar: 'null' misfireInstruction: 0 nextFireTime: null has fired on ClientID[59]-1332860761094
is there something wrong with this logs, why are they being displayed in this new version.
Thank you
Regards
|
 |
|
|
Hi all,
I am getting the same error, the client tryes to connect but the connection is refused, I am using terracotta 3.60.0
TCGroupMemberDiscoveryStatic - Node:Node{host=xxxx:9510} not up. IOException occured:Connection refused: no further information
Has everyone found the cause of this?
thank you.
Daniel
|
 |
|
|
HI gyan10,
Thanks for you help.
I understand your point, however what I am trying to do is to have the another application in a waiting status until the active server is down.
1- If I point two apps to the same active server, both apps will be running and locking each others (it must run only one at a time), my question is how can I do it to have two applications pointing to the same active terracotta server, but only one running.
2- The idea was to have one pointing the active and other pointing to the passive, is there any way to programmaticly initializes or starts up terracotta instead of using the following VM params
-XX:+CMSIncrementalMode -Xbootclasspath/p:"C:\xxx\terracotta 3.6.0\lib\dso-boot\dso-boot-hotspot_win32_160_23.jar" -Dtc.install-root="C:\xx\terracotta 3.6.0\platform\bin\..\.." -Dtc.config="localhost:9510"
Thank you.
|
 |
|
|
Hi all,
I have a question regarding to two servers in a terracotta cluster one active and the another inactive, both servers have the same application, in the active server the application is running and in the passive server it should be waiting.
Two servers, one active (a) and the other passive (b).
a) there is an application connected the localhost terracota server
2012-03-13 13:17:48,334 INFO - Terracotta Server instance has started up as ACTIVE node on 0.0.0.0:9510 successfully, and is now ready for work.
b)The terracotta server is Moved to State[ PASSIVE-STANDBY ] passive, the same application is running in this server and it is getting
WARN - We couldn't load configuration data from the server at 'localhost:9510'; retrying. (Error: Connection refused: connect.)
If the server a goes down, the application in b will start as expected.
My question is how can I avoid getting all this warning message?, so how can I have the application in b just waiting in a loop. Am I overlookin something?
the application are booted up -Xbootclasspath/p:xxx -Dtc.config:localhost:9520 programmatically code
I hope I have expressed my idea, otherwise please ask me.
Thank you
Daniel
|
 |
|
|
HI Daka,
Recently my terracotta server started experiencing the exact same issue, would you mind posting you tc-config.xml and let me know if you problem is gone.
Thanks a lot.
Regards
Daniel
|
 |
|
|
Hi All,
I am using terracotta and quartz TIM in a cluster, quartz store is using terracottaJobStore.Now there is a requirement to add a jobStore in Ram so RAMJobStore.
I have noticed that the tim-quartz does not contain the class RAMJobStore, and If I add tim-quartz and quartz-2.10, the project takes only the first one.
My question is how could I use RamJobStore with TIM installation in the same project?
Code:
org.quartz.simpl.RAMJobStore' could not be instantiated. [See nested exception: java.lang.ClassNotFoundException: org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore
Thank you very much.
Regards
Daniel
|
 |
|
|
Hi Njain,
Thank you very much for your help on this.
I have finally made it work, I have made some changes on the object graph structure and all computers have got access to the share resources. So problem solved.
Regards.
|
 |
|
|
It is strange :), it might be a wrong configuration on my side.
Having had a look at dev-console:
Object browser: 5 root. One of them is _techDistMap.
Instance counts actually shows the right amount. 200 instances.
To conclude, instance counts shows 200 instances so the objects are loaded into terracotta, but then the ConcurrentDistributedSet that contains them are NULL so there is no way to access those objects.
The concern now is about the NULL why terracotta does not populate those ConcurrentDistributedSet.
|
 |
|
|
I have already taken @transient annotations off.
Sorry for the confusing information, I have cleaned the code, see it below:
Code:
@InstrumentedClass
public class TechnologiesDistributedMap {
@Root
private ConcurrentDistributedMap<String, TechnologiesLight> _techDistMap;
private static final Logger log = Logger.getLogger(TechnologiesDistributedMap.class);
private TechnologiesDistributedMap() {
if (_techDistMap == null) {
_techDistMap = new ConcurrentDistributedMap<String, TechnologiesLight>();
}
}
Code:
@InstrumentedClass
public class TechnologiesLight implements Serializable {
private String technology;
private String family;
private ConcurrentDistributedSet<Token> _tokenSetDist;
private ConcurrentDistributedSet<Header> _headerSetDist;
private ConcurrentDistributedSet<Techcategory> _techcategorySetDist;
private ConcurrentDistributedSet<Techlink> _techlinkSetDist;
private ConcurrentDistributedSet<Regularexpression> _regularexpressionSetDist;
public TechnologiesLight() {
_tokenSetDist = new ConcurrentDistributedSet<Token>();
_headerSetDist = new ConcurrentDistributedSet<Header>();
_techcategorySetDist = new ConcurrentDistributedSet<Techcategory>();
_techlinkSetDist = new ConcurrentDistributedSet<Techlink>();
_regularexpressionSetDist = new ConcurrentDistributedSet<Regularexpression>();
}
I can see the map (_techDistMap) and the technologies objects populated but I just see String technology , String family; the rest (_tokenSetDist ,_headerSetDist.. ) are NULL in the remote machine where in the local machine are not NULL.
I do hope this helps to give me a hand.
Thanks again
|
 |
|
|
|
|