that's what I'm trying, but idea is really slow today... will report on the results if I ever get them.

thanks
david jencks

On Feb 1, 2005, at 9:29 AM, Dain Sundstrom wrote:

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




Reply via email to