I beleive that's according to spec, ejb1.1 and 2.0.  RuntimeException is treated as a non-application exception.
 
Mike
----- Original Message -----
Sent: Thursday, January 03, 2002 3:13 AM
Subject: [JBoss-user] Runtime Exceptions in Session Bean

Hello everyone

      I have a peculiar case here.I have a stateful session bean which basically talks to an Oracle database .The methods in the bean take care of insert,update and deletion of rows and they throw a lot of runtime exceptions.The problem is when there is a run time exception thrown the exception is not propogated to the client but instead is caught by the container.The server then tries to passivate the bean.An further calls to this bean results in "FileNotFoundException : Could not activate the bean". Any help is appreciated.

I am using JBoss-2..4.0_Tomcat-3.2.2 bundle.( I have also tried the NoPassivation in jboss.xml but is of no use.It is still passivated when any runtime exception is thrown.)



Do You Yahoo!?
Send your FREE holiday greetings online at Yahoo! Greetings.

Reply via email to