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]
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]