try without mod_jk with another load balancer first,
pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net)


----- Original Message ----- 
From: "Vikas Gupta" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, May 23, 2004 12:07 PM
Subject: Urgent: Issue with Tomcat Clustering



Hi All,
I am trying to do tomcat clustering using tomcat 5.0.19 using mod_jk
connector for Apache 2.
I am stuck up in a problem for quite some time.
I am able to run the sample application in my setup and the clustering and
session replication works fine.

But when I run my application in the cluster it bombs. The test scenarios is
like this,
We hvve tried using "poolable" and "synchronous" mode.

The session object in is not getting replicated and is
request.getSession(false) gives null value. The same scenario is working
fine on the sample application. 
I think Cluster setup is fine because sample application

Can you please tell us the reason of exception 

Is there any adverse impact of the following on session replication in
clustering scenario: 

1. usage of encodeURL (URL rewriting)
2. usage of large objects in session
3. usage of cookies

I have attached the server.xml, web.xml and workers.properties.

Please advise
Regards
Vikas

May 23, 2004 8:51:11 PM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
        at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:580)
        at
org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:518)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:638)
        at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:829)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:688)
        at java.lang.Thread.run(Thread.java:536)
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:51:11 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 23, 2004 8:55:53 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberD







--------------------------------------------------------------------------------


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

Reply via email to