Bugs item #567349, was opened at 2002-06-11 03:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=567349&group_id=22866

>Category: JBossServer
Group: v2.4 (stable)
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Bruno Lamouret (qjafcunuas)
>Assigned to: Scott M Stark (starksm)
Summary: NoSuchObjectException statefull activate

Initial Comment:
Hi,
I'm using JBoss 2.4.6 on Linux Debian 2.4.18, with JDK1.4

I've a servlet, calling a Statefull Session Bean.
My client connect to the servlet, witch create the
session bean.
I make some action from my client to call in the
servlet some method of my session bean.
Then, i make no action for 15 minutes.
During this time, i see that my session bean is passivate
After this passivation, i make an action on my client.
The servlet calls a mehotd of the session bean, and
i've an exception :

[11:07:16,705,STDERR] ## ERROR ## [11/06/02-11:07:16]
Manager Error
[11:07:16,705,STDERR] java.rmi.NoSuchObjectException: null
Embedded Exception
null
[11:07:16,707,STDERR]   at
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:182)
[11:07:16,707,STDERR]   at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:206)
[11:07:16,708,STDERR]   at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
[11:07:16,708,STDERR]   at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
[11:07:16,708,STDERR]   at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
[11:07:16,709,STDERR]   at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
[11:07:16,709,STDERR]   at
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:347)
[11:07:16,710,STDERR]   at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:506)
[11:07:16,710,STDERR]   at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
[11:07:16,710,STDERR]   at
org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:136)
[11:07:16,711,STDERR]   at $Proxy2544.listMedia(Unknown
Source)

Could you help me,
thanks
Bruno.


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2002-06-24 22:06

Message:
Logged In: YES 
user_id=175228

Stateful sessions are thrown away after a time based on the 
max-bean-age and remover-period. Up your max-bean-age.

container-configuration>
...
<container-cache-conf>
..
            <cache-policy-conf>
               <remover-period>1800</remover-period>
               <max-bean-age>600</max-bean-age>
            </cache-policy-conf>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=567349&group_id=22866


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to