You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Oliver Wulff <ol...@zurich.ch> on 2003/05/23 09:07:41 UTC

WebAppClassLoader, Manifest




I've created a jar file and deployed to the lib directory of the web
application. So it will be loaded by the WebAppClassLoader. This jar file
contains a manifest which references other jars through the Class-Path
attribute. Although I'm using JDK 1.3.1, the classes in the referenced jar
won't be found (NoClassDefFoundError).

http://java.sun.com/j2se/1.3/docs/guide/extensions/
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Main%20Attributes

My manifest looks like this:
Class-Path:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Class-Path: /iona/asp60/asp/6.0/lib/asp-corba.jar

If I deploy this jar to the shared lib directory, the classes will be
found. But I have to load this jar in the context of the web application.

Are you going to provide this feature?






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org