Still : Error in HttpSessionFacade - still nobodys really interested in
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! I am, as far as i know not the only person who has that kind of problem. Happy to here from anybody Cheers Hartwig
AW: Still : Error in HttpSessionFacade - still nobodys really interested in
Hi Narayanan, thanks for your interest but that doen't help at all. Things allways run on my computer ;) Cheers Hartwig -Ursprüngliche Nachricht- Von: Narayanan Balasubramanian [SMTP:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 20. Dezember 2000 10:14 An: Hanusch, Hartwig Cc: [EMAIL PROTECTED] Betreff: Re:Still : Error in HttpSessionFacade - still nobodys really interested in There is no problem for me as u have stated ..i have tested a servlet with tomcat and also with tomcat and apache . Things r going fine . May be as u have stated u might had made some mistake in coinfiguration . Narayanan. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
error in session management when using apache/tomcat 3.2.1 Release
Hi everybody, i posted a few times earlier ... but now i hope that found the source of the error (till yet without solution). I am using a servlet which calls itself from the get to the post method. A user is identified via sesion (quite usual i think) When using tomcat via 8080 port everything works fine, but when using apache, tomcat looses the proper session (or gets a session for itself for the get and for the post). Any ideas? Cheers Hartwig
Apache/Tomcat 3.2.1 session error - help!
Hi, i still have my problem using tomcat 3.2.1 (release) with apache. Sessions are mixed up when calling the same servlet but using get/post method (get calls post and the other way around). Problem only arises when using tomcat with apache - not when using tomcat standalone. Any hints? Cheers Hartwig