[jboss-jira] [JBoss JIRA] Created: (JBAS-6611) EJB Classloader does not distinguish two classes with the same name but from two EJB JARS

Wen Zhu (JIRA) jira-events at lists.jboss.org
Wed Mar 11 14:58:24 EDT 2009


EJB Classloader does not distinguish two classes with the same name but from two EJB JARS
-----------------------------------------------------------------------------------------

                 Key: JBAS-6611
                 URL: https://jira.jboss.org/jira/browse/JBAS-6611
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: ClassLoading
    Affects Versions: JBossAS-5.0.1.GA
         Environment: Windows XP, JBossAS 5.0.1 GA with JBoss Web Service (Native Implementation) 3.1.0
            Reporter: Wen Zhu
            Assignee: Scott M Stark


We have two EJB Web Services deployed in two separate JARs. In both JAR, there is a class 

public class MessageObjectProperty {
  public static final String[] someConstant = new String[] {"some JAR specific value"};
  ... ...
}
 
When MessageObjectProperty.someConstant is read from the second EJB JAR, it returns defined in the first EJB JAR. 


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

        



More information about the jboss-jira mailing list