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 Summary: Problem with WAR containing JARS Product: Tomcat 5 Version: 5.0.3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Sorry ahead of time if this is slightly wooly. I have a web app that I deploy in expanded form to Tomcat 5.0.3 and it works fine. I'm also testing this app using Cactus, for this I create a WAR file and deploy that. I have a server.xml file that looks like this <Server port="8885" shutdown="SHUTDOWN" debug="0"> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0"/> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/> <Service name="Catalina"> <Connector className="org.apache.coyote.tomcat5.CoyoteConnector" port="@test.port@" minProcessors="5" maxProcessors="100" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" /> <Engine name="Catalina" defaultHost="localhost" debug="0"> <Realm className="org.apache.catalina.realm.MemoryRealm"/> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"> <Context path="/blog" docBase="blog.war" debug="0"> <!--Logger className="org.apache.catalina.logger.SystemOutLogger" timestamp="true"/--> <Resource name="jdbc/blog" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/blog"> <parameter> <name>username</name> <value>admin</value> </parameter> <parameter> <name>password</name> <value></value> </parameter> <parameter> <name>driverClassName</name> <value>com.mysql.jdbc.Driver</value> </parameter> <parameter> <name>url</name> <value>jdbc:mysql://localhost/TestCourseBlog</value> </parameter> </ResourceParams> </Context> </Host> </Engine> </Service> </Server> And when the app is run I get the following error [java] 07-Jul-2003 13:45:06 org.apache.catalina.core.StandardContext start [java] SEVERE: Error reading tld listeners java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/lib/as pectjrt-1.0.5.jar [java] java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/lib/aspectjrt-1.0.5.jar [java] at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:442) [java] at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:228) [java] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4037) [java] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127) [java] at org.apache.catalina.core.StandardHost.start(StandardHost.java:795) [java] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127) [java] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502) [java] at org.apache.catalina.core.StandardService.start(StandardService.java:519) [java] at org.apache.catalina.core.StandardServer.start(StandardServer.java:2312) [java] at org.apache.catalina.startup.Catalina.start(Catalina.java:577) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) [java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394) where aspectjrt-1.0.5.jar is the first jar in the jar file. If I expand the app and run it it is fine so the aspectj JAR file is not the issue. If I run this under 5.0.2 then it works fine so it looks like 5.0.3 is mistaking this JAR as a TLD listener. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]