aspose file tools*
The moose likes Servlets and the fly likes Session Invalidated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Invalidated" Watch "Session Invalidated" New topic
Author

Session Invalidated

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Why does the session expires after compling a Java Class file.
In Weblogic Server i am using "AUTO DEPLOY" to reflect the changes of EJB. So when i am compiling a Java Class File the Session is getting expired and bcoz of that i have to built the Session again. Is there any soln for this.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

In a normal production environment, classes are not being compiled and changed on the fly. Once your code reaches a point where you are not recompiling every n minutes, then your session will become more stable.

Having said that, I'm not sure this is the real reason. I'm just speculating that when classes are changed, that Weblogic will kill any sessions due to class casting/serialization/versioning concerns.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"iitm"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Invalidated