Thursday, April 07, 2011

Force JBoss to load your lib jars

If you're running JBoss and you want it to favor librarires that go with your WAR instead of using what JBoss bundled with. Add this jboss-web.xml to your WEB-INF dir

<class-loading java2classloadingcompliance="false">

Substitute "org.terracotta" for your package name and "all-in-one.war" for your WAR

No comments: