Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session bean time out exception

Status
Not open for further replies.

Radar31

Programmer
May 2, 2002
3
IE
My client is accessing a stateful session bean on a websphere server, a create is performed. After a period of time when i try to access the bean again, i get the following time out exception.

Stateful bean StatefulBeanO(BeanId(ProfilingSystem#
ProfilingSystem.jar#ApplicationSession, eddec91a8f), state = METHOD_READY) timed
out
at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atA
ctivate(StatefulSessionActivationStrategy.java:157)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java
:171)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2152)
at Backend.business.application.EJSRemoteStatefulApplicationSessionRemot
e.findAll(EJSRemoteStatefulApplicationSessionRemote.java:96)
at Backend.business.application._EJSRemoteStatefulApplicationSessionRemo
te_Tie._invoke(_EJSRemoteStatefulApplicationSessionRemote_Tie.java:193)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDele
gate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2294)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:95)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)

Is the session bean passivated? if so why can't i access the bean again. My bean is container managed.
 
Stateful Session Beans have a timeout associated with them that can be configured in the vender deployment descriptor. Any access past this time limit will result in errors like what you describe. The concept is very similar to the session timeout in a Servlet Session object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top