tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20752] New: - Soft links to jars in a webapp causes IllegalArgumentException
Date Fri, 13 Jun 2003 16:58:29 GMT
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=20752>.
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=20752

Soft links to jars in a webapp causes IllegalArgumentException

           Summary: Soft links to jars in a webapp causes
                    IllegalArgumentException
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dwayne@schultz.net


For developement I have expanded my war file and replaced the jars in WEB-INF/lib with soft
links 
because the jars are changing as I develop them.  This causes Catalina to throw an 
IllegalArgumentException while starting up my webapp.  The log output follows.  I can provide
a 
.war file on request.

HostConfig[localhost]: Deploying web application directory colle-web
StandardHost[localhost]: Installing web application at context path /colle-web from URL file:/
Users/dschultz/system/jakarta-tomcat-4.1.24/webapps/colle-web
WebappLoader[/colle-web]: Deploying class repositories to work directory /Users/dschultz/
system/jakarta-tomcat-4.1.24/work/Standalone/localhost/colle-web
WebappLoader[/colle-web]: Deploy JAR /WEB-INF/lib/colle-util.jar to /Users/dschultz/system/
jakarta-tomcat-4.1.24/webapps/colle-web/WEB-INF/lib/colle-util.jar
WebappLoader[/colle-web]: Deploy JAR /WEB-INF/lib/colle-web.jar to /Users/dschultz/system/
jakarta-tomcat-4.1.24/webapps/colle-web/WEB-INF/lib/colle-web.jar
WebappLoader[/colle-web]: Deploy JAR /WEB-INF/lib/jdom.jar to /Users/dschultz/system/jakarta-
tomcat-4.1.24/webapps/colle-web/WEB-INF/lib/jdom.jar
WebappLoader[/colle-web]: Deploy JAR /WEB-INF/lib/saxon.jar to /Users/dschultz/system/
jakarta-tomcat-4.1.24/webapps/colle-web/WEB-INF/lib/saxon.jar
WebappLoader[/colle-web]: Deploy JAR /WEB-INF/lib/xerces.jar to /Users/dschultz/system/
jakarta-tomcat-4.1.24/webapps/colle-web/WEB-INF/lib/xerces.jar
ContextConfig[/colle-web] Exception processing JAR at resource path /WEB-INF/lib/colle-web.jar
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/colle-
web.jar
        at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
        at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        at org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
----- Root Cause -----
java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/lib/colle-web.jar
        at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:898)
        at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        at org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

ContextConfig[/colle-web]: Marking this application unavailable due to previous error(s)
StandardManager[/colle-web]: Seeding random number generator class 
java.security.SecureRandom
StandardManager[/colle-web]: Seeding of random number generator has been completed
StandardContext[/colle-web]: Context startup failed due to previous errors

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


Mime
View raw message