3 Replies Latest reply on Jan 11, 2002 11:46 AM by Marcus Brito

    Servlet Exception: DistributedSessionManager

    Marcus Brito Novice

      Hello, folks.

      I'm trying to develop a small application user JBoss (3.0.0alpha checked out from CVS on 01.08) + Struts. I was doing some EJB's, writing a JSP or two.

      It seemed to be OK until now. The problem is: I don't even know what I've done to trigger the error. I've tried to disable struts servlet configuration, to no avail. It seems that there's nothing to do with Struts at all.

      The error occurs everytime I try to access a servlet or jsp page. The stack trace:

      2002-01-09 11:23:54,754 WARN [org.jboss.jetty.Jetty] WARNING: Servlet Exception for /auth-manager/test?suite=com.tld.auth.tests.AuthManagerTest
      java.lang.NullPointerException
       at org.jboss.jetty.DistributedSessionManager$DistributedSession.activate(DistributedSessionManager.java:308)
       at org.jboss.jetty.DistributedSessionManager$DistributedSession.activate(DistributedSessionManager.java:299)
       at org.jboss.jetty.DistributedSessionManager$DistributedSession.<init>(DistributedSessionManager.java:293)
       at org.jboss.jetty.DistributedSessionManager.getHttpSession(DistributedSessionManager.java:195)
       at org.mortbay.jetty.servlet.ServletHandler.getHttpSession(ServletHandler.java:466)
       at org.mortbay.jetty.servlet.ServletHttpRequest.getSession(ServletHttpRequest.java:492)
       at org.mortbay.jetty.servlet.ServletHandler.newFacades(ServletHandler.java:444)
       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:515)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1265)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1219)
       at org.mortbay.http.HttpServer.service(HttpServer.java:725)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:745)
      ...
      


      The stack trace goes a bit further, but I think that can be enough. If needed, I can provide all my deployment descriptors, source code and any other information needed to solve this problem.