[jboss-user] [Installation, Configuration & DEPLOYMENT] - Scoped Deployment settings cuase LinkageError
Martinator
do-not-reply at jboss.com
Thu Sep 4 19:22:05 EDT 2008
Hi everyone, I'm trying to run multiple scoped single application ear deployments (using servlets) on a single JBoss 3.2.4 server so I can run different release levels at the same time.
Each app already has the class-loading loader-repository settings (excluding the java2ParentDelegation setting) in the jboss-app.xml file in the web-inf folder of the war file, but that does not make it work.
I then set the Isolated and CallByValue attribues to true in conf/jboss-service.xml and the Java2ClassLoadingCompliance and UseJBossWebLoader attributes to false in tomcat50.sar/meta-inf/jboss-service.xml. That seems to work fine after the first jboss restart.
The problem I'm getting is that after a new deployment is added or JBoss is restarted, the apps start up fine, but I get the followng error when I try to access the application URL:
"java.lang.LinkageError: loader constraints violated when linking javax/servlet/ServletOutputStream class) executing org.apache.jk.common.SocketConnection at 3ba002, terminating thread"
Any ideas would be appreciated.
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174438#4174438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174438
More information about the jboss-user
mailing list