Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

statefull SB dead after RemoteException

0 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Artem

ungelesen,
13.06.2002, 10:09:0013.06.02
an
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

ungelesen,
13.06.2002, 16:12:1813.06.02
an
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

ungelesen,
14.06.2002, 05:17:0914.06.02
an
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

ungelesen,
14.06.2002, 10:06:5614.06.02
an
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 neue Nachrichten