I have the following problem using the JBoss Final
2.2.0, combined JBoss+Tomcat setup.
When deploying a .ear file, with a ejb.jar and
web.war, none of the libraries in WEB-INF/lib are
found in the servlet that uses one of those libraries.
A ClassDefNotFound exception occurs on one of those
libraries. As a fix for now I've just extracted the
libraries in WEB-INF/classes in the ejb.jar; these
classes are found.
Note that in version jboss-2.0-FINAL this problem does
NOT occur; all my libraries in WEB-INF/lib are found.
Note also that the classpath according to the Servlet
Engine does contain the required library, WEB-
INF/lib/MSBChart.jar. But, when I print the related
System properties, none of the mentioned libraries are
in the java.class.path property...
Note also that I didn't get 2.2.1(!) yet. Though
looking at the changelog/release notes, nothing is
mentioned about WEB-INF/log.
To be honest, I don't know whether I maybe should have
reported this problem to the Tomcat group. Also wasn't
sure about the category... Hope this is the right
Steps to reproduce:
- Deploy a complete .ear file (.war, .jar,
- In a servlet, make sure a library from WEB-INF/lib
- Access the above servlet via a browser
- A ClassDefNotFound exception occurs when anything of
a WEB-INF/lib libary is used.
Server trace: see attached file.
OS info: see attached file.