views:

167

answers:

0

Hi,

I have run into a problem with JBOSS for the last couple of days and have a hard time figuring out what's going on.

Our team has developed a normal web application using hibernate, spring, spring mvc. Our development servers are Tomcat, jetty and glassfish. All of them works fine with our app. But one of our clients asks for JBOSS. I tried our application on JBOSS, it cannot be deployed.

The error in the log is first that XMLParser class conflict. I googled and it seems to be a class loader problem. I removed the dependent jar from our war file, then I got other errors. I don't want to keep removing jars because it will take a lot of time to do and our app will likely be broken for other app servers.

My question is:
why this happens to JBOSS?
how to make JBOSS behave like Tomcat and Jetty regarding class loading?