I also would like to know the following:
1) Where are the default configurations for the session stored in jboss 3.2.2?
2) Under Win2k, where are the session objects stored? c:\documents and settings\... perhaps. I am not sure.
Ok, this is really weird.
My app works when use Mozilla Firebird.
It seems to have intermittnet session related problems in
1) IE 6 &
Not sure why this is happening. Any ideas will be highly appreciated.
Track your session ID through your process (maybe display it somewhere) - I'm assuming you don't traverse any static pages? No blocking of cookies?
Well, cookies are enabled (both IE & Mozilla/Netscape). This is weird. I wish I knew where it stores the cookies. I cannot see its location even with cookies manager option (managed stored cookies) and I am puzzled.
The puzzling thing is that it used to work on these browsers and all of a sudden it stopped working. I have tried shutting down jboss and restarting it, but, no help there. Initially, my thought was that maybe the cookie was corrupted and if I can delete it, then, it may work. But, I don't know the location of the cookies. I have turned on "alert me when storing a cookie" option and it shows me the jsession id and path as "/". But, don't know where "/" is located ...
It works very well under mozilla firebird.
Try tracking it on the application side by printing out the ID for each page in your process. At least you'll get an idea of where the ID gets dropped or at least where a new session ID appears. That could help narrow it down.
I had a problem loosing session objects with jboss 3.2.3 under Linux, too. Switched from Blackdown Linux 1.4 jre+jikes compiler to original Sun Java SDK 1.4.2+jikes compiler and now it works.
May be too simple, but the 2nd JSP is in the same web context as the login.jsp? If not, the session won't be visible.
I am also getting the same problem with Jboss 3.2.3 & Tomcat 4.1
Did you get answer to the issue? Can you pl let me know the solution if you have solved the issue? I have been behind this issue for the past 2 weeks and struggling to find out whats wrong with my code / config. :(
Any info or pointers related to this issue would be really helpful to me.
Thanx in advance.
FYI: I have posted the issue under 'HTTPD, Servlets & JSP' with subject 'Session attributes are lost after jsp forward'.
What is the scope of the bean on the 2nd jsp? page or session? or try using response.sendRedirect(url) instead of using <jsp:forward page="page" />.
I too am having the same problem with Tomcat 5.0.19. The application worked well for the past few days and it stopped working suddenly.
Now what happens is when the user logs in for the first time, the session is destroyed and the user is sent back to the Login page. If the user logs in with the same browser, then everything works fine.
I then shifted the entire application on to Tomcat 4.0.6 and it works great without any problems.
I have now tried to shift to JBoss thinking that this can solve my problem. But when you say that you have problems with this software too.. Then what software should I use?