Hi there,
does anybody know why a servlet works fine with tomcat only (port 8080)
but when using apache/tomcat via jk_mod (or old jserv) the servlet throws
an error like that:
java.lang.NullPointerException:
at org.apache.tomcat.facade.
HttpSessionFacade.getId(HttpSessionFacade.java:114)
...
the calling code looks that way:
session is hash of sessions
for (Iterator i = sessions.iterator(); i.hasNext(); )
{
HttpSession theHttpSession = (HttpSession) i.next();
String sid = theHttpSession.getId(); <---- problem,
calling HttpSessionFacade ....
if (loginObj.hasContentSessionRelatedBlaSession(sid) != true)
{
tmpVec.add(theHttpSession);
}
}
Could that be a configuration error? Doesnt seems like?! Any ideas?
When looking at the HttpSession the stored session in memory seem to mix up!
Happy to here from anybody
Cheers Hartwig