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.
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.