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:17
3) [gb/Session] at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessi
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(JRMPContainerIn
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:64
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