For compatibility reasons i put the "UseJBossWebLoader" in deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml on false as follow:
false
BUT there is a sigle WAR into an EAR that needs to use shared classes ... my dirty solution is to put all "model" classes into WEB-INF and also into EJB package ...but this is dirty.
I use into application.xml of ear:
----
<module>
<web-uri>diadoracommunity.war</web-uri>
<context-root>/webapp.diadoracommunity</context-root>
</module>
<module>
common-libs/commons-lang.jar
</module>
<module>
common-libs/commons-logging.jar
</module>
-----
But my war can use commons-logging.jar only if UseJBossWebLoader is set to true ... there is a solution to my problem (for example into jboss-web.xml)?