Bugs item #421989, was updated on 2001-05-07 03:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=421989&group_id=22866

Category: JBossServer
Group: v2.2 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: WEB-INF/lib libraries not found

Initial Comment:
Hi,

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 
place.

Steps to reproduce:
- Deploy a complete .ear file (.war, .jar, 
application.xml etc)
- In a servlet, make sure a library from WEB-INF/lib 
is used
- 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.

Goodluck!
























----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=421989&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to