Joe Gittings wrote:
>
> >>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
Session beans never timeout today. Tomorrow (or in a next month :-)) I
will
implement this in Jonas.
Jonas manages a pool of session stateless beans for you, so you should
not
bother to take care of this. In fact, at each request, a session
stateless
is picked from a pool, since they have no state and so are reusable.
Keeping
the same should not improve your performances.
> ----
> 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".
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
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".