That
could definitely be the same problem. We do have a valid session when we get
back from the Cocoon call. But if you check the id, it is not the same
session.
-----Original Message-----
From: Markus Heussen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 2:58 AM
To: [EMAIL PROTECTED]
Subject: AW: Session Lost between Tomcat and CocoonHi Jay,maybe we have the same problem. Actually till now we did not assume that Cocoon could be the problem but maybe it is. We use Tomcat 4.1.28, Cocoon 2.0.3, Sun JDK 1.3.1_07b, Windows 2K Server, Apache 1.3 with mod_jk1 in front to load balance.Our application stores all form values of the user in session attributes of type string and two axis soap responses in a dom session using read/writeDOMsessionTransformer. We have two complex matchers in our pipeline. At first we check if there is a valid session using the session-isvalid action before anything else will be processed. So there must be a valid session otherwise the user cannot access the page.The page itselfs starts with a xsp generator using the xsp-session logicsheet to get the session attribute values. Sometimes it occures that session attributes are lost. The problem occurs even at times there is no load on our page.We send a post to the tomcat users list but anybody seems to have the same problems. Can anyone give us a hint?Markus-----Ursprüngliche Nachricht-----
Von: Jay
Gesendet: Dienstag, 13. Januar 2004 23:34
An: [EMAIL PROTECTED]
Betreff: Session Lost between Tomcat and CocoonVersions being used: Tomcat 4.0.6, Cocoon 2.1.3, Sun JDK 1.4.2_02, Linux Gentoo 1.4Our basic problem is that our application, which is run on Tomcat (just a collection of .jsp files mostly) calls Cocoon (via a call to http://ipaddress:8888/reportx.pdf) to generate .pdf reports. But once that happens, the session information is lost. Specifically, you still have a session, but with a different session id than before (and all of the previously saved information is gone).So it appears the the session is now overridden by Cocoon. So is there a way to configure Cocoon to not do so?We also tried running Cocoon under a separate JVM but got the same results. You must refresh the app at this point because it no lost all information stored about itself.Thanks,Jay