Hi,
I have 2 applications. There are some classes that are common between the 2 applications. I have created 2 seperate ear for each application on seperate web contexts
But on accessing, it gives a duplicate class defnition error. I need to run these 2 applications on the same Jboss server.
Thanks in advance
Have a look at: -
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
Do you have a jboss-app.xml in your ear? In this descriptor you can specify different loader repositories for both of the ears so their classes will be issolated from each other.