Hi, 

I know this is probably an FAQ but searching the archives I couldn't  find any answer. 
 (BTW, I think the search routine on the mikal.org site is broken as I typed in 
"sdfkjlkersdfualsusdfl" and it returned it's standard 20 items... it's doubtful that 
"sdfkjlkersdfualsusdfl" is in any of those archived emails).

If I have multiple webapps which all need  to share a bunch of jars (mail.jar, 
activation.jar, etc), where do I put these libraries?  In older versions of Tomcat, 
the /lib directory at the root of the tomcat directory worked fine without having to 
put any classpath directives into the startup scripts, etc.  Now when I add  "any" jar 
file to that directory, TC 4.0b1 refuses to start with 

ContainerBase.addChild: start: 
LifecycleException:  start: :  java.lang.IllegalArgumentException: addRepository
Internal: java.lang.NullPointerException
        at org.apache.catalina.loader.StandardLoader.start(StandardLoader.java:5
96)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1136)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:2
906)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:81
6)
etc...

errors in the log file.

Also adding jar files to the WEB-INF/lib directory causes 404 errors saying the webapp 
doesn't exist.  If I remove the jar files from the WEB-INF/lib directory and restart 
it works again.

This is all from a stock beta1 download.  I didn't change any configuration files and 
haven't added anything except the test webapp directory.


Any help would be appreciated..

Cheers

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

Reply via email to