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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [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.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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]