users@glassfish.java.net

Grizzly/Comet GlassFish 3.0.1. Cannot access an EJB

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jun 2010 10:36:26 PDT

Hi all,

I upgraded to the latest version of GlassFish 3.0.1, and now I have a problem. Basically, in the CometHandler.onInterrupt(), I perform a call to an EJB, and Glassfish is throwing an exception:

javax.ejb.EJBException
        at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5119)
        at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5017)
        at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4805)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2004)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:198)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)

With GlassFish 3.0 version, no problem.

So is there a bug in GlassFish 3.0.1 ? Or is it possible to perform a call to an EJB from CometHandler.onInterrupt() and how to do it ?

Regards,
Laurent
[Message sent by forum member 'ljoyeux']

http://forums.java.net/jive/thread.jspa?messageID=475194