Hello,

I would like to pick up this thread again. The reason is that we use JOnAS in a 
production environment and we have heavy problems with this sort of effect.

When the client application starts it creates an instance of a session bean. The 
client uses this instance exclusively each  time it makes a request to the server. It 
is highly important, that this session bean does NOT time out as long as the client 
exists. However, randomly our clients get the following error message:


java.rmi.NoSuchObjectException: no such object in table         
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
    
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)    
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:354)        
at org.objectweb.jonas.rmifilters.RemoteStub.invoke(RemoteStub.java:88)         
at 
dpag.ass.application.dispatcher.JOnASdispatcherRemote_Stub.dispatch(classes\dpag\ass\application\dispatcher\JOnASdispatcherRemote_Stub.java:44)
      
at dpag.ass.connector.CSConnectorThread.run(CSConnectorThread.java:113)         
at java.lang.Thread.run(Thread.java:484) 


It looks as if the bean has somehow timed out. Very unfortunately, this error orrurs 
randomly. There is no rule to make out.

Please, help!

Thanks,

Torsten


-----Ursprüngliche Nachricht-----
Von: Joe Gittings [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 18. Januar 2001 12:48
An: Philippe Coq
Cc: [EMAIL PROTECTED]
Betreff: Re: configurable session bean timeout implemented yet?


>>today I hesitate to tell you :
>>"time out on session beans will be implemented soon in a next version "

Mañana!  :)

OK, can I just check, does that mean that session beans never timeout in
Jonas 2.2.4? Because at the moment it looks like one of mine is after a
couple of minutes... I instantiate it, make loads of calls on it, and after a
couple of minutes I get a "Connection reset by peer" SocketException.

I only ever get this exception after a couple of minutes. It's a stateless
session bean so I can easily work around this by instantiating a new bean
before each call (I am using the same instance for speed), but I was just
wondering...

Thanks,
Joe

Philippe Coq wrote:

> Joe Gittings wrote:
> >
> > Hi Philippe,
> >
> > Re. this posting of yours:
> > http://www.objectweb.org/messages/JonasDev/0184.html
> >
> > I just wanted to check, does Jonas 2.2.4 contain this? (I can't find it
> > if it does...)
> >
> > And if not, what is the currently-used value for the session bean
> > timeout? I've looked thru the source but can't find any obvious clues.
> >
> > With thanks,
> > Joe
>
> Hi Joe,
> I must confess that I was too optimistic in my response to
> Simon Kay, when I was saying "it will be implemented soon"
> it is not implemented in the current version of JOnAS and
> it is always present in our TODO list!
> today I hesitate to tell you :
> "time out on session beans will be implemented soon in a next version "
>
> Best regards,
> --
>         Philippe
>
> Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
> Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
> Download our EJBServer at http://www.objectweb.org
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to