[JBoss-dev] [ jboss-Bugs-613225 ] stateful session bean timeout

2003-10-10 Thread SourceForge.net
Bugs item #613225, was opened at 2002-09-23 16:33
Message generated for change (Comment added) made by letiemble
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=613225group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Peter Doornbosch (pieterpeter)
Assigned to: Laurent Etiemble (letiemble)
Summary: stateful session bean timeout

Initial Comment:
When a stateful session bean times out, the client gets
a TransactionRolledbackException. Shouldn't this be a
NoSuchObjectException?

From the spec (ejb 2.0, section 7.6, page 79):
If a client attempts to invoke the session object, the
Container will throw the java.rmi.NoSuchObjectException
if the client is a remote client (...).

environment: Linux, Jdk 1.3.1

From the server trace:
2002-09-20 15:57:27,741 ERROR
[org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackException, causedBy:
java.rmi.NoSuchObjectException: Could not activate;
nested exception is: 
java.io.FileNotFoundException:
/usr/local/jboss-3.0.0/server/aeos/db/sessions/ObjectIdRetailer/1032530011403.ser
(No such file or directory)
at
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:185)
at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:142)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
at
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:380)
at org.jboss.ejb.Container.invoke(Container.java:705)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:117)
at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)



--

Comment By: Laurent Etiemble (letiemble)
Date: 2003-10-10 16:24

Message:
Logged In: YES 
user_id=437455

Your stack trace shows that the Exception is raised during
the ejbActivate invocation. According to the spec (EJB 2.0
18.3.3), the container can throw a
TransactionRolledbackException during a container callback
method invocation.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=613225group_id=22866


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-613225 ] stateful session bean timeout

2002-09-23 Thread noreply

Bugs item #613225, was opened at 2002-09-23 14:33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=613225group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Doornbosch (pieterpeter)
Assigned to: Nobody/Anonymous (nobody)
Summary: stateful session bean timeout

Initial Comment:
When a stateful session bean times out, the client gets
a TransactionRolledbackException. Shouldn't this be a
NoSuchObjectException?

From the spec (ejb 2.0, section 7.6, page 79):
If a client attempts to invoke the session object, the
Container will throw the java.rmi.NoSuchObjectException
if the client is a remote client (...).

environment: Linux, Jdk 1.3.1

From the server trace:
2002-09-20 15:57:27,741 ERROR
[org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackException, causedBy:
java.rmi.NoSuchObjectException: Could not activate;
nested exception is: 
java.io.FileNotFoundException:
/usr/local/jboss-3.0.0/server/aeos/db/sessions/ObjectIdRetailer/1032530011403.ser
(No such file or directory)
at
org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:185)
at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:142)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
at
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:380)
at org.jboss.ejb.Container.invoke(Container.java:705)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at
org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:117)
at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=613225group_id=22866


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development