Hi,
if this id SLSB you have to tweak your container settings, as Mike said, but
with SFSB, you should be able to reactive your session?!?
SL=stateless, SF=statefull, BUT I'm not 100% sure, since I would call this a
design issue having sessions of several hours, there SHOULD be other ways...
Burkhard
----- Original Message -----
From: "Michael Jara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 10:52 PM
Subject: Re: [JBoss-user] SB timeout -> passivation -> activation failure


> I haven't done much experimenting with performance settings, but you might
> be able fix this with some adjustments the container cache policy.  See
> http://www.jboss.org/documentation/HTML/ch06s08.html, the section on
> "Advanced cache configuration".  You might try adjusting the
<max-bean-age>
> setting.  (I assume this can apply to stateful session bean timeouts.)
>
> Mike
>
> ----- Original Message -----
> From: "Mike Finn" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 11:40 AM
> Subject: [JBoss-user] SB timeout -> passivation -> activation failure
>
>
> > If I let a 'connected' client sit around for more than apporx 20
> > minutes it blows on its next attempt to use a remote method
> > of the SessionBean (only the one session appears to be blown, since
> > I can start a new client session without restarting the server).
> >
> > What I want is to be able to have the client's session stay alive for
> > a very long time (12-15 hours total) and be able to survive 2-3 hours
> > of inactivity.  It seems (from the messages below) that my sessions
> > cannot be restored once passivated.
> >
> > Is this a timeout/activation problem that can be fixed by changing my
> > configuration?
> > Is there any more info I can provide to help diagnose the problem?
> > or more simply.... Help! How can I fix this?
> >
> > Thanks in advance for any help.
> > Mike
> >
> > Server = JBoss-2.2.1_Tomcat-3.2.1
> >
> > ***** Messages that seem relevant which appear in server log
***********
> >
> > [Bean Cache] Scheduling for passivation overaged bean gb/Session with id
=
> > 995041851805 - Cache size = 2
> > [Bean Cache] Aging out from cache bean gb/Sessionwith id = 995041851805;
> > cache size = 2
> > [Container factory] Scheduled passivation of bean gb/Session with id =
> > 995041851805
> > [Container factory] Passivated bean gb/Session with id = 995041851805
> > ...
> > ....  (other non-relevant stuff)
> > ....
> > [gb/Session] TRANSACTION ROLLBACK EXCEPTION:$Proxy6; nested exception
is:
> >         java.rmi.NoSuchObjectException: $Proxy6
> > [gb/Session] java.rmi.NoSuchObjectException: $Proxy6
> > [gb/Session]    at
> >
>
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:1
> 7
> > 3) [gb/Session]    at
> >
>
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSess
> i
> > onInstanceInterceptor.java:157) [gb/Session]    at
> >
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
> > [gb/Session]    at
> >
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
> j
> > ava:263) [gb/Session]    at
> > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> > [gb/Session]    at
> > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> > [gb/Session]    at
> >
>
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:
> 3
> > 26) [gb/Session]    at
> >
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
> n
> > voker.java:392) [gb/Session]    at
java.lang.reflect.Method.invoke(Native
> >  Method)
> > [gb/Session]    at
> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> > [gb/Session]    at sun.rmi.transport.Transport$1.run(Transport.java:142)
> > [gb/Session]    at java.security.AccessController.doPrivileged(Native
> Method)
> > [gb/Session]    at
> >  sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[gb/Session]
> >  at
> > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> > [gb/Session]    at
> >
>
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
> 4
> > 3) [gb/Session]    at java.lang.Thread.run(Thread.java:484)
> >
> > ===================
> > Mike Finn
> > Tactical Executive Systems
> > [EMAIL PROTECTED]
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to