RE: Clustering Tomcat
It looks like your machine is unable to send a multicast message. It will be an operating system configuration. Ta Matt -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: 21 May 2005 02:11 To: Tomcat Subject: Clustering Tomcat Hi I'm trying to configure clustering of 2 Tomcat servers on a single CentOS 4 machine. When I start the first Tomcat, I get error messages like this in the catalina.out log file: org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread run WARNING: Unable to send mcast message. java.net.SocketException: Operation not permitted at jrockit.net.SocketNativeIO.send(Ljava.io.FileDescriptor;[BIILjava.net.InetAddress;II)I(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;[BI)V(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;)V(Unknown Source) at java.net.DatagramSocket.send(DatagramSocket.java:612) at org.apache.catalina.cluster.mcast.McastServiceImpl.send(McastServiceImpl.java:228) at org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread.run(McastServiceImpl.java:264) I am using JRockit 5.0_02 and Tomcat 5.5.9. Where can I find more information about this error? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat
It was my firewall. The servers are working now, however I get these error messages when I stop and start one of the two Tomcat instances: May 21, 2005 5:09:20 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster send SEVERE: Unable to send message through cluster sender. java.io.IOException: Sender not available. Make sure sender information is available to the ReplicationTransmitter. at org.apache.catalina.cluster.tcp.ReplicationTransmitter.sendMessageData(ReplicationTransmitter.java:641) at org.apache.catalina.cluster.tcp.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:331) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.send(SimpleTcpCluster.java:463) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManager.java:860) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaManager.java:724) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleTcpCluster.java:658) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:103) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:67) May 21, 2005 5:09:24 PM org.apache.catalina.cluster.tcp.DataSender init Thanks Ben On 5/22/05, Dale, Matt [EMAIL PROTECTED] wrote: It looks like your machine is unable to send a multicast message. It will be an operating system configuration. Ta Matt -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: 21 May 2005 02:11 To: Tomcat Subject: Clustering Tomcat Hi I'm trying to configure clustering of 2 Tomcat servers on a single CentOS 4 machine. When I start the first Tomcat, I get error messages like this in the catalina.out log file: org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread run WARNING: Unable to send mcast message. java.net.SocketException: Operation not permitted at jrockit.net.SocketNativeIO.send(Ljava.io.FileDescriptor;[BIILjava.net.InetAddress;II)I(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;[BI)V(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;)V(Unknown Source) at java.net.DatagramSocket.send(DatagramSocket.java:612) at org.apache.catalina.cluster.mcast.McastServiceImpl.send(McastServiceImpl.java:228) at org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread.run(McastServiceImpl.java:264) I am using JRockit 5.0_02 and Tomcat 5.5.9. Where can I find more information about this error? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Tomcat
Hi I'm trying to configure clustering of 2 Tomcat servers on a single CentOS 4 machine. When I start the first Tomcat, I get error messages like this in the catalina.out log file: org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread run WARNING: Unable to send mcast message. java.net.SocketException: Operation not permitted at jrockit.net.SocketNativeIO.send(Ljava.io.FileDescriptor;[BIILjava.net.InetAddress;II)I(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;[BI)V(Unknown Source) at java.net.PlainDatagramSocketImpl.send(Ljava.net.DatagramPacket;)V(Unknown Source) at java.net.DatagramSocket.send(DatagramSocket.java:612) at org.apache.catalina.cluster.mcast.McastServiceImpl.send(McastServiceImpl.java:228) at org.apache.catalina.cluster.mcast.McastServiceImpl$SenderThread.run(McastServiceImpl.java:264) I am using JRockit 5.0_02 and Tomcat 5.5.9. Where can I find more information about this error? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem clustering tomcat when a failed server is restarting
We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created.
Re: Problem clustering tomcat when a failed server is restarting
What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:41 AM Subject: Problem clustering tomcat when a failed server is restarting We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Problem clustering tomcat when a failed server is restarting
We are using Tomcat 5.0.27. -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 18:27 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:41 AM Subject: Problem clustering tomcat when a failed server is restarting We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem clustering tomcat when a failed server is restarting
the GenericPrincipal.getPassword() returns null that is why you get this error, you can open a bugzilla report so that we can track it Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:55 AM Subject: RE : Problem clustering tomcat when a failed server is restarting We are using Tomcat 5.0.27. -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 18:27 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:41 AM Subject: Problem clustering tomcat when a failed server is restarting We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Problem clustering tomcat when a failed server is restarting
Could you give me a link to open bugzilla report? Or more recent versions of Tomcat can they correct this problem ? -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 19:10 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting the GenericPrincipal.getPassword() returns null that is why you get this error, you can open a bugzilla report so that we can track it Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:55 AM Subject: RE : Problem clustering tomcat when a failed server is restarting We are using Tomcat 5.0.27. -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 18:27 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:41 AM Subject: Problem clustering tomcat when a failed server is restarting We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail
Re: Problem clustering tomcat when a failed server is restarting
http://issues.eu.apache.org/bugzilla/ - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 12:15 PM Subject: RE : Problem clustering tomcat when a failed server is restarting Could you give me a link to open bugzilla report? Or more recent versions of Tomcat can they correct this problem ? -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 19:10 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting the GenericPrincipal.getPassword() returns null that is why you get this error, you can open a bugzilla report so that we can track it Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:55 AM Subject: RE : Problem clustering tomcat when a failed server is restarting We are using Tomcat 5.0.27. -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 18:27 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server is restarting What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 4:41 AM Subject: Problem clustering tomcat when a failed server is restarting We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions. Could you comment this log and explain us what is wrong. Thanks. The server that handle the requests log this exception Server 02 10 nov. 2004 17:13:54 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:41001,w.x. y.z,41001, alive=35] 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager messageReceived GRAVE: Unable to receive message through TCP channel java.lang.NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputSt ream.java:1898) at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream .java:1769) at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:787) at org.apache.catalina.cluster.session.SerializablePrincipal.writePrincipal(Ser ializablePrincipal.java:180) at org.apache.catalina.cluster.session.DeltaSession.writeObject(DeltaSession.ja va:1457) at org.apache.catalina.cluster.session.DeltaSession.writeObjectData(DeltaSessio n.java:930) at org.apache.catalina.cluster.session.DeltaManager.doUnload(DeltaManager.java: 539) at org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage r.java:854) at org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa nager.java:762) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT cpCluster.java:576) at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70) at org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica tionThread.java:129) at org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea d.java:67) In the same time the server restarting logs this information. server 01 Creating ClusterManager for context /myapp using class org.apache.catalina.cluster.session.DeltaManager 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start INFO: Starting clustering manager...:/myapp 10 nov. 2004 17:13:54 org.apache.catalina.cluster.session.DeltaManager start ATTENTION: Manager[/myapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://w.x.y.z:42001,w.x.y.z,42 001, alive=111640]. This operation will timeout if no session state has been received within 60 seconds After a delay, server 01 logs this information. 10 nov. 2004 17:14:54 org.apache.catalina.cluster.session.DeltaManager start GRAVE: Manager[/myapp], No session state received, timing out. 10 nov. 2004 17:14:54 org.apache.catalina.core.StandardHostDeployer install INFO: Installation d'une application pour le chemin de contexte depuis l'URL file:/opt/tomcat-tst01/webapps/ROOT ... INFO: Server startup in 62980 ms server 01 handle the application requests, new session is created
Single Point of Failure Solutions for clustering Tomcat 5?
Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Single Point of Failure Solutions for clustering Tomcat 5?
David, not sure what you are asking. Filip - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 20, 2004 11:59 AM Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Single Point of Failure Solutions for clustering Tomcat 5?
DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Single Point of Failure Solutions for clustering Tomcat 5?
if you are really into loadbalancers, get www.loadbalancer.org (its open source, not sure what the licensing is) obviously, buying your own hardware can be cheaper. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:53 PM Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Single Point of Failure Solutions for clustering Tomcat 5?
Hi Matt, I'm pretty new to all this - would you mind expanding a little on your there are many others comment? Thanks! David |-+ | | Dale, Matt | | | [EMAIL PROTECTED]| | | nt.com | | || | | 09/20/2004 01:53 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? | | DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] (See attached file: InterScan_Disclaimer.txt) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Single Point of Failure Solutions for clustering Tomcat 5?
Hi Filip, Couldn't see much software over on loadbalancer.org!! cheers, David |-+ | | Filip Hanik - | | | Dev | | | [EMAIL PROTECTED]| | | om | | || | | 09/20/2004 02:05 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ | | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? | | if you are really into loadbalancers, get www.loadbalancer.org (its open source, not sure what the licensing is) obviously, buying your own hardware can be cheaper. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:53 PM Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Single Point of Failure Solutions for clustering Tomcat 5?
http://www.loadbalancer.org/download.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 2:37 PM To: Tomcat Users List Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? Hi Filip, Couldn't see much software over on loadbalancer.org!! cheers, David |-+ | | Filip Hanik - | | | Dev | | | [EMAIL PROTECTED]| | | om | | || | | 09/20/2004 02:05 | | | PM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ --- -| | | | To: Tomcat Users List [EMAIL PROTECTED] | | cc: | | Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? | --- -| if you are really into loadbalancers, get www.loadbalancer.org (its open source, not sure what the licensing is) obviously, buying your own hardware can be cheaper. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:53 PM Subject: RE: Single Point of Failure Solutions for clustering Tomcat 5? DNS round robin over 2 or more load balancers over the cluster would be 1 way although there are many others. There are numerous open source load balancers, I use and like Pen. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2004 18:00 To: [EMAIL PROTECTED] Subject: Single Point of Failure Solutions for clustering Tomcat 5? Hi, Can anyone advise on solutions to having s Single Point of Failure when clustering Tomcat 5? Are there any opensource solutions out there? Any real life experiences would be greatly appreciated! cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.766 / Virus Database: 513 - Release Date: 9/17/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.766 / Virus Database: 513 - Release Date: 9/17/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
clustering tomcat 5.0.19 issues
Hi All, I have done clustering of tomcat. I have two different machines running tomcat which join the cluster. I am testing my application . But in between I see some errors like 1) context manager doesn't exist. 2)Unable to send replicated message, is server down? 3) SEVERE: TCP Worker thread in cluster caught 'java.io.IOException: An established connection was aborted by the software in your host machine' closing channel It would be grateful if somebody can tell what are these errors for . And also I have another query. I have my apache as the load balancer. Currently the requests are dispatched to each tomcat by the apache. I want this dispatch to happen in a specific way like one tomcat getting 2 requests and other getting just one request. Like a ratio of 2:1 . How can I do it ? Thanks in advance shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: clustering tomcat 5.0.19 issues
1) context manager doesn't exist. yep, I am only printing this because of debug. All this means is that you are a member of the cluster but the server has not fully started up yet. hence you are receiving messages for a non existent context. 2)Unable to send replicated message, is server down? One of your nodes is not responding to messages, either you have some IP misconfiguration or something else is blocking the messages. I will add more info to that message to be able to track the problem down 3) SEVERE: TCP Worker thread in cluster caught 'java.io.IOException: While reading a message from another node, that node disappeared, got disconnected. This is also fine and should not affect your system any other questions, just let me know. someone else can answer your mod_jk load balancing questions. Filip -Original Message- From: shyam [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 2:40 PM To: 'Tomcat Users List' Subject: clustering tomcat 5.0.19 issues Hi All, I have done clustering of tomcat. I have two different machines running tomcat which join the cluster. I am testing my application . But in between I see some errors like 1) context manager doesn't exist. 2)Unable to send replicated message, is server down? 3) SEVERE: TCP Worker thread in cluster caught 'java.io.IOException: An established connection was aborted by the software in your host machine' closing channel It would be grateful if somebody can tell what are these errors for . And also I have another query. I have my apache as the load balancer. Currently the requests are dispatched to each tomcat by the apache. I want this dispatch to happen in a specific way like one tomcat getting 2 requests and other getting just one request. Like a ratio of 2:1 . How can I do it ? Thanks in advance shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Tomcat 5.0.19
Hi all, I have a problem running Tomcat 5.0.19 on HP Itanium with JRockit 1.4.2. If I comment out the Cluster ReplicationValve from server.xml as mentioned in the docs, leaving the default attribute values my catalina.out shows the following exception: GRAVE: Unable to start cluster. java.lang.NullPointerException at org.apache.commons.beanutils.MethodUtils.invokeMethod(Ljava.lang.Object;Ljav a.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MethodUtils.java:196) at org.apache.commons.beanutils.MethodUtils.invokeMethod(Ljava.lang.Object;Ljav a.lang.String;Ljava.lang.Object;)Ljava.lang.Object;(MethodUtils.java:150) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.start()V(SimpleTcpCluster.j ava:413) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1116) at org.apache.catalina.core.StandardHost.start()V(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1126) at org.apache.catalina.core.StandardEngine.start()V(StandardEngine.java:521) at org.apache.catalina.core.StandardService.start()V(StandardService.java:519) at org.apache.catalina.core.StandardServer.start()V(StandardServer.java:2345) at org.apache.catalina.startup.Catalina.start()V(Catalina.java:594) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;JLjava.lang.Ob ject;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Obj ect;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.l ang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava .lang.Object;(Unknown Source) at org.apache.catalina.startup.Bootstrap.start()V(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main([Ljava.lang.String;)V(Bootstrap.j ava:398) 1-mar-2004 17.30.07 org.apache.catalina.startup.Catalina start GRAVE: Catalina.start: LifecycleException: java.lang.NullPointerException at org.apache.catalina.cluster.tcp.SimpleTcpCluster.start()V(SimpleTcpCluster.j ava:424) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1116) at org.apache.catalina.core.StandardHost.start()V(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1126) at org.apache.catalina.core.StandardEngine.start()V(StandardEngine.java:521) at org.apache.catalina.core.StandardService.start()V(StandardService.java:519) at org.apache.catalina.core.StandardServer.start()V(StandardServer.java:2345) Can anyone help me? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clustering Tomcat 5.0.19
works just fine for me. The configuration file changed between version 0.16 and 0.19, so make sure you have the 0.19 server.xml Filip -Original Message- From: Duma Rolando [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Clustering Tomcat 5.0.19 Hi all, I have a problem running Tomcat 5.0.19 on HP Itanium with JRockit 1.4.2. If I comment out the Cluster ReplicationValve from server.xml as mentioned in the docs, leaving the default attribute values my catalina.out shows the following exception: GRAVE: Unable to start cluster. java.lang.NullPointerException at org.apache.commons.beanutils.MethodUtils.invokeMethod(Ljava.lang.Object;Ljav a.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(MethodUtils.java:196) at org.apache.commons.beanutils.MethodUtils.invokeMethod(Ljava.lang.Object;Ljav a.lang.String;Ljava.lang.Object;)Ljava.lang.Object;(MethodUtils.java:150) at org.apache.catalina.cluster.tcp.SimpleTcpCluster.start()V(SimpleTcpCluster.j ava:413) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1116) at org.apache.catalina.core.StandardHost.start()V(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1126) at org.apache.catalina.core.StandardEngine.start()V(StandardEngine.java:521) at org.apache.catalina.core.StandardService.start()V(StandardService.java:519) at org.apache.catalina.core.StandardServer.start()V(StandardServer.java:2345) at org.apache.catalina.startup.Catalina.start()V(Catalina.java:594) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;JLjava.lang.Ob ject;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Obj ect;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.l ang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava .lang.Object;(Unknown Source) at org.apache.catalina.startup.Bootstrap.start()V(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main([Ljava.lang.String;)V(Bootstrap.j ava:398) 1-mar-2004 17.30.07 org.apache.catalina.startup.Catalina start GRAVE: Catalina.start: LifecycleException: java.lang.NullPointerException at org.apache.catalina.cluster.tcp.SimpleTcpCluster.start()V(SimpleTcpCluster.j ava:424) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1116) at org.apache.catalina.core.StandardHost.start()V(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start()V(ContainerBase.java:1126) at org.apache.catalina.core.StandardEngine.start()V(StandardEngine.java:521) at org.apache.catalina.core.StandardService.start()V(StandardService.java:519) at org.apache.catalina.core.StandardServer.start()V(StandardServer.java:2345) Can anyone help me? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering tomcat 4
Hi all, I'm new to this list, and, of course, I have a question. I try to make a LinuxVirtualServer with several tomcat instances. So, I have servers with tomcat, Jvm, etc, installed (formerly JAVA_HOME and CATALINA_HOME) and I find the CATALINA_BASE directories on a file server. That is, conf, webapps, temp, work and logs are shared between servers... I think you begin to understand my problem. I found in the mailing list archive a good way to manage connectors (using entities). It works well. Now, I have a problem with the loggers. I really don't want to manage all the loggers of all the hosts by myself. So I need to put dynamic attributes in Loggers definitions, so that I can have the server name (node name) in the log file name. Ideally, I would like to dynamically adjust prefix or suffix attributes of the Logger definition. Has anyone found a way to do it ? Thank you for any help. François. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat - Loadbalancing and Failover
mcastAddr=228.1.2.3 used for membership, tcpListenAddress and tcpListenPort indicate TCP for transporting the actual session. What is in place for security? Ideally you would only replicate data behind your own firewall, if you replicate data in a public zone, you are on your own. So the answer is, there is no security, never saw a need for it. Let me know ify ou have a different perspective Does the cluster support loadbalancing? or failover? how can its config be tweeked? it is session replication, and does exactly that, replicates session. Load balancing and fail over you need to have in front of tomcat Filip - Original Message - From: Hanasaki JiJi [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, October 11, 2003 6:22 AM Subject: Re: Clustering Tomcat - Loadbalancing and Failover Very nice! does the mcastAddr=228.1.2.3 imply tcp multicasting using java.net.MulticastSocket? What is in place for security? Does the cluster support loadbalancing? or failover? how can its config be tweeked? The filter, shown at the link provided, doesnt seem to support jsp/servlets. can this be done too? how? thanks again = = Management is doing things right; leadership is doing the = = right things.- Peter Drucker= =___= = http://www.sun.com/service/sunps/jdc/javacenter.pdf = = www.sun.com | www.javasoft.com | http://www.sun.com/sunone = = Filip Hanik wrote: http://cvs.apache.org/~fhanik/ how are session states replicated? once, after the entire request is completed. If the session is not dirty, no replication will be done Doesn't use java groups, instead pure UDP/TCP. Filip - Original Message - From: jerome moliere [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:34 PM Subject: Re: Clustering Tomcat - Loadbalancing and Failover Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use the Javagroups library for replication mechanism. For tomcat 4.1, adding jars (javagroups + patch) is enough to add theses features... For tomcat 5, nothing needed because it's one of the new features... how are session states replicated? It's one of the limits of this system, because every put made, induces replication for the entire object using broadcast (by default). So heavy traffic... Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of load balancing / fail-over frameworks? javagroups :) google may point you to the current address !!! I think that this porject recently joined the JBOSS project Thanks Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat - Loadbalancing and Failover
Very nice! does the mcastAddr=228.1.2.3 imply tcp multicasting using java.net.MulticastSocket? What is in place for security? Does the cluster support loadbalancing? or failover? how can its config be tweeked? The filter, shown at the link provided, doesnt seem to support jsp/servlets. can this be done too? how? thanks again = = Management is doing things right; leadership is doing the = = right things.- Peter Drucker= =___= = http://www.sun.com/service/sunps/jdc/javacenter.pdf = = www.sun.com | www.javasoft.com | http://www.sun.com/sunone = = Filip Hanik wrote: http://cvs.apache.org/~fhanik/ how are session states replicated? once, after the entire request is completed. If the session is not dirty, no replication will be done Doesn't use java groups, instead pure UDP/TCP. Filip - Original Message - From: jerome moliere [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:34 PM Subject: Re: Clustering Tomcat - Loadbalancing and Failover Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use the Javagroups library for replication mechanism. For tomcat 4.1, adding jars (javagroups + patch) is enough to add theses features... For tomcat 5, nothing needed because it's one of the new features... how are session states replicated? It's one of the limits of this system, because every put made, induces replication for the entire object using broadcast (by default). So heavy traffic... Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of load balancing / fail-over frameworks? javagroups :) google may point you to the current address !!! I think that this porject recently joined the JBOSS project Thanks Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat - Loadbalancing and Failover
http://cvs.apache.org/~fhanik/ how are session states replicated? once, after the entire request is completed. If the session is not dirty, no replication will be done Doesn't use java groups, instead pure UDP/TCP. Filip - Original Message - From: jerome moliere [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:34 PM Subject: Re: Clustering Tomcat - Loadbalancing and Failover Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use the Javagroups library for replication mechanism. For tomcat 4.1, adding jars (javagroups + patch) is enough to add theses features... For tomcat 5, nothing needed because it's one of the new features... how are session states replicated? It's one of the limits of this system, because every put made, induces replication for the entire object using broadcast (by default). So heavy traffic... Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of load balancing / fail-over frameworks? javagroups :) google may point you to the current address !!! I think that this porject recently joined the JBOSS project Thanks Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat - Loadbalancing and Failover
Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use the Javagroups library for replication mechanism. For tomcat 4.1, adding jars (javagroups + patch) is enough to add theses features... For tomcat 5, nothing needed because it's one of the new features... how are session states replicated? It's one of the limits of this system, because every put made, induces replication for the entire object using broadcast (by default). So heavy traffic... Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of load balancing / fail-over frameworks? javagroups :) google may point you to the current address !!! I think that this porject recently joined the JBOSS project Thanks Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Tomcat - Loadbalancing and Failover
What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over how are session states replicated? Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of load balancing / fail-over frameworks? Thanks -- = = Management is doing things right; leadership is doing the = = right things.- Peter Drucker= =___= = http://www.sun.com/service/sunps/jdc/javacenter.pdf = = www.sun.com | www.javasoft.com | http://www.sun.com/sunone = = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Tomcat with OSCAR
I was our intention is to cluster our apache/tomcat application server with a high performance clustering package called OSCAR. However, we saw a message in the OSCAR mailinglist archive stating that ..tomcat was not cluster aware in any sense. It mentioned using something called mod_backhand in Apache. Is anyone using tomcat application servers in a clustered environment? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clustering Tomcat with OSCAR
Tomcat 5 ships with a cluster module, that I have back ported to 4.1.x, you have to use JDK1.4 since it uses java.nio for performance reasons http://www.filip.net/tomcat-clustering.html Filip -Original Message- From: Matthew Sachs [mailto:[EMAIL PROTECTED] Behalf Of Frank Dmuchowski Sent: Thursday, March 20, 2003 10:40 AM To: [EMAIL PROTECTED] Subject: Clustering Tomcat with OSCAR I was our intention is to cluster our apache/tomcat application server with a high performance clustering package called OSCAR. However, we saw a message in the OSCAR mailinglist archive stating that ..tomcat was not cluster aware in any sense. It mentioned using something called mod_backhand in Apache. Is anyone using tomcat application servers in a clustered environment? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Clustering Tomcat with OSCAR
Hi ! have you ever tried google??# http://www.google.com/search?q=tomcat+cluster+session+replication I'm using the java-groups solution described in http://www.theserverside.com/resources/article.jsp?l=Tomcat and it works fine for me. We are running 6 tomcats4.1 on jdk1.4.1/linux 7.3 on dual-Xeon2,8Ghz Hardware, and it works great. Christoph [EMAIL PROTECTED] P.S.: But I changed the source a bit. Von: Filip Hanik [EMAIL PROTECTED] Betreff: RE: Load balancing and Sticky sessions Datum: Donnerstag, 20. März 2003 19:25 Hi Ben, session replication is working for Tomcat 5, and I have back ported a version to tomcat 4.1.x http://www.filip.net/tomcat-clustering.html Filip Frank Dmuchowski [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I was our intention is to cluster our apache/tomcat application server with a high performance clustering package called OSCAR. However, we saw a message in the OSCAR mailinglist archive stating that ..tomcat was not cluster aware in any sense. It mentioned using something called mod_backhand in Apache. Is anyone using tomcat application servers in a clustered environment? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clustering Tomcat with OSCAR
for better performance code, uses TCP to convey the data instead http://www.filip.net/tomcat-clustering.html Filip -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of C. Gaffga Sent: Thursday, March 20, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: Re: Clustering Tomcat with OSCAR Hi ! have you ever tried google??# http://www.google.com/search?q=tomcat+cluster+session+replication I'm using the java-groups solution described in http://www.theserverside.com/resources/article.jsp?l=Tomcat and it works fine for me. We are running 6 tomcats4.1 on jdk1.4.1/linux 7.3 on dual-Xeon2,8Ghz Hardware, and it works great. Christoph [EMAIL PROTECTED] P.S.: But I changed the source a bit. Von: Filip Hanik [EMAIL PROTECTED] Betreff: RE: Load balancing and Sticky sessions Datum: Donnerstag, 20. März 2003 19:25 Hi Ben, session replication is working for Tomcat 5, and I have back ported a version to tomcat 4.1.x http://www.filip.net/tomcat-clustering.html Filip Frank Dmuchowski [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I was our intention is to cluster our apache/tomcat application server with a high performance clustering package called OSCAR. However, we saw a message in the OSCAR mailinglist archive stating that ..tomcat was not cluster aware in any sense. It mentioned using something called mod_backhand in Apache. Is anyone using tomcat application servers in a clustered environment? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clustering Tomcat
Hi, Has anyone had any experience of clustering Tomcat that they would like to share? I have read that it is possible to cluster Tomcat with Apache but I am not sure if it is possible to cluster Tomcat on its own. Any help/pointers would be appreciated. Regards Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Clustering Tomcat
Try http://www.theserverside.com/resources/article.jsp?l=Tomcat - should tell you all you need. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Montag, 27. Jänner 2003 12:27 To: 'Tomcat Users List' Subject: Clustering Tomcat Hi, Has anyone had any experience of clustering Tomcat that they would like to share? I have read that it is possible to cluster Tomcat with Apache but I am not sure if it is possible to cluster Tomcat on its own. Any help/pointers would be appreciated. Regards Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Clustering Tomcat
Thanks Eric. -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 12:28 To: Tomcat Users List Subject: RE: Clustering Tomcat Try http://www.theserverside.com/resources/article.jsp?l=Tomcat - should tell you all you need. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Montag, 27. Jänner 2003 12:27 To: 'Tomcat Users List' Subject: Clustering Tomcat Hi, Has anyone had any experience of clustering Tomcat that they would like to share? I have read that it is possible to cluster Tomcat with Apache but I am not sure if it is possible to cluster Tomcat on its own. Any help/pointers would be appreciated. Regards Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]