Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Invalidated

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic