I'm using a CMP entity bean to store user profiles. Access to the
bean is from a long-running servlet under tomcat. Jboss version
is 2.4.3. OS is Solaris 8 with JDK 1.3.1_01.

All works fine until the servlet sits idle for a long time (that is,
overnight). Next time I try to invoke a finder method, I get the
HeuristicRollbackException exception outlined below. Hit the
reload button on the web browser, and things go back to
normal. I see reports of the on the user forums, but no resolutions.

Ideas anyone?

java.lang.reflect.UndeclaredThrowableException:
javax.transaction.HeuristicRollbackException
 at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
wn Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:25
8)
        at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
        at $Proxy0.findByProfileHandle(Unknown Source)
        at com.base2inc.util.Servlet.authenticate(Servlet.java:371)
        at
com.base2inc.app.JspFramework.JspFramework.doService(JspFramework.java:37)
[snip]


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

Reply via email to