Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

statefull SB dead after RemoteException

0 views
Skip to first unread message

Artem

unread,
Jun 13, 2002, 10:09:00 AM6/13/02
to
Hello All!

My business method in a statefull SB throw RemoteException. When I try to
invoke any method of this statefull SB again I have recieved Exception:
java.rmi.NoSuchObjectException: Bean has been deleted.
at weblogic.ejb20.swap.DiskSwap.read(DiskSwap.java:155)
at
weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSession
Manager.java:242)
at
weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessi
onManager.java:313)
at
weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:11
7)
at
weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject
.java:170)
at
com.itmr.vmpnsw.ejb.userstate.UserStateEJB_wggiai_EOImpl.setCompanies
ListData(UserStateEJB_wggiai_EOImpl.java:276)
at
com.itmr.vmpnsw.ejb.common.VMPEJB.getCompaniesList(VMPEJB.java:618)

HELP!!!

kind regards
Artem Kirichkov


Dimitri I. Rakitine

unread,
Jun 13, 2002, 4:12:18 PM6/13/02
to
That's what is supposed to happen - container should discard bean instance
if it's business method throws a system (non-Application) exception.

> HELP!!!

> kind regards
> Artem Kirichkov

--
Dimitri

Artem

unread,
Jun 14, 2002, 5:17:09 AM6/14/02
to
And what does it mean - "system (non-Application) exception" ?
I just call
throw new RemoteException("Logic ERROR!!!");
in a businesse method of stateful SB.

--
kind regards
Artem Kirichkov

"Dimitri I. Rakitine" <d...@dima.dhs.org> wrote in message
news:3d08...@newsgroups2.bea.com...

Bob Lee

unread,
Jun 14, 2002, 10:06:56 AM6/14/02
to
System exceptions: EJBException, RemoteException, RuntimeException, Error.
Application exceptions: Anything else.

System exceptions signify unexpected, unrecoverable events. You can create a
LogicException and throw it.

Bob

"Artem" <art...@mail.ru> wrote in message
news:3d09...@newsgroups2.bea.com...

0 new messages