Hi.

We are experiencing some problems with our Tomcat. We are currently running 
Apache  2.0.54, Tomcat 4.1.30, Axis 1.2.final on RedHat 9.0 with kernel 2.4.27. 

We have some web-services deployed under Axis and these services become 
unavailable during normal operation. It seems that this occurs because Tomcat 
stops answering requests on port 8080 (the Apache-Axis diagnostic web page 
(<http://127.0.0.1:8080/axis>) becomes unavailable).

After examining the Tomcat log files the only suspicious entries we found was 
this exception that occurs regularly:

2005-12-12 12:47:04 StandardManager[/axis] Session event listener threw 
exception
java.lang.IllegalStateException: getAttribute: Session already invalidated
        at 
org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953)
        at 
org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171)
        at 
org.apache.axis.transport.http.AxisHTTPSessionListener.destroySession(AxisHTTPSessionListener.java:43)
        at 
org.apache.axis.transport.http.AxisHTTPSessionListener.sessionDestroyed(AxisHTTPSessionListener.java:72)
        at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:658)
        at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:607)
        at 
org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:793)
        at 
org.apache.catalina.session.StandardManager.run(StandardManager.java:870)
        at java.lang.Thread.run(Thread.java:534)

It looks like Catalina tries to call getAttribute on a session it has already 
destroyed. Can this bring Tomcat to stop answering requests. Since the 
exception says that the session is already invalidated I would believe that the 
session is indeed destroyed. If not, could this cause a starving of free 
sessions, and thus bring Tomcat to a halt?

I have seen some posts proposing to use:
export LD_ASSUME_KERNEL=2.x.x

Can that be a solution? As stated above we use RedHat 9.0 with kernel 2.4.27 
what kernel version should we use in the export?

We are really lost on this one and if anyone have any idea of what can cause 
Tomcat to stop answering requests we would very much like to hear them.

Regards

Sondre


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to