2 Replies Latest reply on Feb 16, 2004 9:58 AM by José Tomás

    Classloader give-me wrong class from another diferent ear. b

    José Tomás Newbie

      Hi!

      I have two diferent named ear (EAR1, EAR2).
      In each ear I have two diferent named jars (EAR1JAR1, EAR2JAR1) in each one a diferent class with equal name.

      I deploy EAR1 and then EAR2.

      In EAR2WAR1, when an request is dispatched, the class X at EAR2JAR1 is requested, but the one that cames online is the one X at EAR1JAR1.

      I have defined "<loader-repository>pt.isp.iol:loader=propername</loader-repository>" in jboss-app.xml for each EAR (1|2), so the class loader become diferent, but the problem stills.

      The class X is a http filter, and there are some more classes that is happening the same.

      How can I have independent EAR with classes that have equal names?
      Thanks!