DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21369>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21369

Problem with WAR containing JARS

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2003-07-07 14:09 -------
Hmmm,

well it clearly doesn't work for me :)

This is easy to reproduce. 

I took the jsp-examples directory and zipped it up as jsp-ex.zip, then added a
jar to the WEB-INF/lib directory (any non JSP/Servlet related JAR will do). I
renamed the zip calling it jsp-ex.war and copied it into webapps. I then create
a context in conf/catalina/localhost (called jsp-ex.xml which obviously doesn't
matter) which looks like this

<Context path="/jsp-ex" docBase="jsp-ex.war" debug="0">
</Context>


notice the docbase is the war file. 

I change nothing else so unpackWars is true and autoDeploy is true. Start tomcat
5.0.3 and I get the TLD exception.

If I remove the context file the war is expanded and works fine.

If I point the docbase at jsp-ex then the war isn't expanded and I get other
errors (I believe this is another bug but war/context management is so unusual I
 wasn't convinced)

This all works OK in 5.0.2

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to