geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <dsundst...@gluecode.com>
Subject Re: [jira] Created: (GERONIMO-562) ejbTimeout has wrong thread classloader, so no ENC available
Date Tue, 01 Feb 2005 17:29:39 GMT
Oh IC.  So the problem is the class loader needs to be at least the 
j2ee-server classloader because the j2eee-system and system class 
loaders do not contain the class 
org.apache.geronimo.naming.java.javaURLContextFactory so  Sun's jndi 
code can not lookup java:

I think we should change the GBean that creates the 
TransactionalExecutorTask should give the GBean's classloader to the 
task and then the task can set it on every thread before invoking down 
the chain.

-dain

--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26


On Jan 31, 2005, at 11:41 PM, David Jencks (JIRA) wrote:

> ejbTimeout has wrong thread classloader, so no ENC available
> ------------------------------------------------------------
>
>          Key: GERONIMO-562
>          URL: http://issues.apache.org/jira/browse/GERONIMO-562
>      Project: Apache Geronimo
>         Type: Bug
>   Components: OpenEJB
>     Versions: 1.0-M3
>     Reporter: David Jencks
>
>
> The ENC context is unavailable in the ejbTimeout method.  
> Investigating the ComponentContextInterceptor reveals that the TCCL is 
> the App cl in this case, so javaURLContextFactory cannot be loaded by 
> the InitialContextFactory.
>
> We need both an integration test and a fix for this.
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira


Mime
View raw message