> >
> > We use resin 1.2.2 as a client of Orion EJB server.
> >
> > it works, but after runing several hours, it will throw one exception:
> >
> > Object reference no longer valid (Disconnected)
> >
> > it occurs in the DoGET method when i call the method of EJB of orion.
> >
> > we look and create ejb object in the init mothod of servlet.
> >
> > will we move the looking and creating method into DoGet method and
> > execute it every time? or it's a BUG of resin?
> 
> It looks to me like an Orion issue, but it's possibly something your

i restart the resin, then it works again. So it maybe some bug in resin
or the orion's class file called by resin.

> application needs to deal with.  I would think that Orion client code should
> automatically reconnect when the socket to Orion closes.  You could recover
> by using EJBObject.getHandle() and then using handle.getEJBObject().  That
> should be faster than doing the full JNDI lookup.
> 

thks, i will try.

--
Peng Yong                     Email: [EMAIL PROTECTED]
Bentium Ltd.                  URL: http://www.cn99.com

Reply via email to