[jboss-jira] [JBoss JIRA] Created: (JBAS-4327) Embedded JBoss ignores custom classloader

Christian Bauer (JIRA) jira-events at lists.jboss.org
Thu Apr 12 11:04:58 EDT 2007


Embedded JBoss ignores custom classloader
-----------------------------------------

                 Key: JBAS-4327
                 URL: http://jira.jboss.com/jira/browse/JBAS-4327
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Christian Bauer


CVS from Tuesday:

Ejb3AnnotationHandler.java, line 278:

   protected void populateBaseInfo() throws Exception
   {
      String ejbName = null;
      ejbClass = di.getClassLoader().loadClass(className);

This uses the classloader of the DeploymentUnit,which is not the classloader I've been setting with Bootstrap.getInstance().setLoader(myClassLoader). Looks like there is a bug in the classloader handling that binds Embedded JBoss to Thread.... getContextClassLoader().



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list