You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by YE...@decaresystems.ie on 2004/02/02 17:58:31 UTC
Tomcat 4.x + session replication (javagroups) = StackOverflowError
Hi,
We're using javagroups for the session replication between our 2 clustered
Tomcat 4.x servers. And we're having the following problem:
When we start one of the servers, its CPU usage hit 100% (as if there were a
never ending loop). It looks like it's trying to read a big number of old
persisted session. Then, while invalidating them, it's having a problem. We
turned the javagroups debugging on and that's what we get in the logs:
2004-02-02 07:47:14 StandardManager[/dirServices] [InMemoryReplicationManager]
processsExpire: Exception during session expiration
java.lang.StackOverflowError
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:148)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:608)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:608)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:149)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:179)
Has any one had that problem or a similar one before?
Any comment will be greatly appreciated,
Thanks,
- Yagiz Erkan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Tomcat 4.x + session replication (javagroups) = StackOverflowError
Posted by "Filip Hanik (lists)" <de...@hanik.com>.
yes, you are using a session replication for tomact 4.0.x on a tomcat 4.1.x
server,hence the expire called gets stuck in an eternal loop.
I don't support that code anymore, since it was for an article I wrote a
long time ago.
For tomcat 4.1.x I have http://cvs.apache.org/~fhanik/
but the truly optimized code is sitting in Tomcat 5, which is where I
maintain the main implementation
Filip
-----Original Message-----
From: YErkan@decaresystems.ie [mailto:YErkan@decaresystems.ie]
Sent: Monday, February 02, 2004 8:59 AM
To: Tomcat Users List
Subject: Tomcat 4.x + session replication (javagroups) =
StackOverflowError
Hi,
We're using javagroups for the session replication between our 2 clustered
Tomcat 4.x servers. And we're having the following problem:
When we start one of the servers, its CPU usage hit 100% (as if there were a
never ending loop). It looks like it's trying to read a big number of old
persisted session. Then, while invalidating them, it's having a problem. We
turned the javagroups debugging on and that's what we get in the logs:
2004-02-02 07:47:14 StandardManager[/dirServices]
[InMemoryReplicationManager]
processsExpire: Exception during session expiration
java.lang.StackOverflowError
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
148)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
179)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:608)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
149)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
179)
at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:608)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
149)
at
org.apache.catalina.session.ReplicatedSession.expire(ReplicatedSession.java:
179)
Has any one had that problem or a similar one before?
Any comment will be greatly appreciated,
Thanks,
- Yagiz Erkan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org