Sean O'Reilly wrote:
On Fri, 23 Jun 2006 10:00:36 -0500
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:

Sean O'Reilly wrote:
On Fri, 23 Jun 2006 09:05:18 -0500
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:

Hi Guys,

I appear to be finally getting somewhere with the in-memory state
replication but am now getting the following error when starting
up my tomcat instances/

WARNING: Manager [/jsp-examples], requesting session state from
org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.4.121:4001,catalina,192.168.4.121,4001,
alive=74436]. This operation will timeout if no session state has
been received within 60 seconds. 23-Jun-2006 13:27:38
org.apache.catalina.cluster.session.DeltaManager
waitForSendAllSessions SEVERE: Manager [/jsp-examples]: No session
state send at 23/06/06 13:26 received, timing out after 60,140 ms.
23-Jun-2006 13:27:38 org.apache.catalina.core.ApplicationContext
log INFO: ContextListener: contextInitialized() 23-Jun-2006
13:27:38 org.apache.catalina.core.ApplicationContext log INFO:
SessionListener: contextInitialized() 23-Jun-2006 13:27:38
org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening
on /0.0.0.0:8009 23-Jun-2006 13:27:38 org.apache.jk.server.JkMain
start INFO: Jk running ID=0 time=0/224  config=null 23-Jun-2006
13:27:38 org.apache.catalina.storeconfig.StoreLoader load INFO:
Find registry server-registry.xml at classpath resource
23-Jun-2006 13:27:39 org.apache.catalina.startup.Catalina start
INFO: Server startup in 67102 ms

Can anyone point me in the right direction as to why the session
state is not being replicated ?
Two things to check:
1. What does the other server log say, maybe there is an error
there, does the other server know of this server?
2. your server.xml, you would need to provide us with a little bit
more info

Filip

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I might be being a bit thick here !!!

I have 3 servers !

One is running apache2, mod_jk2 and tomcat-5.5.17, the other two
just have tomcat-5.5.17. Do i need to have apache and mod_jk2
running on all servers ?

I am sure it would be easier to use mod_proxy_balancer and
mod_proxy_ajp but can't find any documentation anywhere.

Thanks for the help so far guys.
your problem is not related to Apache or mod_jk, its strictly Tomcat. Session state transfer fails.
and that's the path you need to persue.
1. Check all your tomcat logs
2. Make sure that node discovery is working, you should have in each
of your tomcat nodes, a info log statement saying it detected the
other two nodes.

Filip



Here is what is written to my logs

23-Jun-2006 16:26:38 org.apache.catalina.cluster.session.DeltaManager
waitForSendAllSessions SEVERE: Manager [/jsp-examples]: No session
state send at 23/06/06 16:25 received, timing out after 60,121 ms.
23-Jun-2006 16:26:38 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized() 23-Jun-2006 16:26:38
org.apache.catalina.core.ApplicationContext log INFO: SessionListener:
contextInitialized() 23-Jun-2006 16:26:39
org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening
on /0.0.0.0:8009 23-Jun-2006 16:26:39 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/230  config=null
23-Jun-2006 16:26:39 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
23-Jun-2006 16:26:39 org.apache.catalina.startup.Catalina start
INFO: Server startup in 67074 ms

I'm sure the is plenty more in the log earlier that you are kindfully omitting and that is vital

Filip



--


Filip Hanik

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to