geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu T George (JIRA)" <>
Subject [jira] Commented: (GERONIMO-3655) Invalid MdbInstanceFactory behaviour
Date Mon, 08 Dec 2008 07:12:44 GMT


Manu T George commented on GERONIMO-3655:

Still fails in 2.1 branch. Will need to bump up the openejb version to 3.1 to fix this

> Invalid MdbInstanceFactory behaviour
> ------------------------------------
>                 Key: GERONIMO-3655
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0.1, 2.0.2
>         Environment: Microsoft Windows XP, Sun Java 1.5.0_10, Apache Geronimo 2.0.1
>            Reporter: Alexei Akimov
>         Attachments:
> org.apache.openejb.core.mdb.MdbInstanceFactory class pass invalid ThreadContext instance
to ThreadContext.exit method at line 263 of its constructBean method. This brokes stack-like
usage of ThreadContext objects and leads to problems during lazy initialization of ejb components
when they called for the first time from the web tier. In particular ClassCastException is
thrown in org.apache.geronimo.tomcat.interceptor.InstanceContextBeforeAfter.before() at line
49, because ConnectorInstanceContextImpl instance is returned instead of SharedConnectorInstanceContext
instance. This error results in that org.apache.geronimo.tomcat.listener.DispatchListener.beforeDispatch
method does not put any data into the current context stack so when the afterDispatch method
is called the current context stack throws java.util.EmptyStackException.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message