You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/06 16:44:33 UTC

DO NOT REPLY [Bug 11501] New: - tldScanJar() throws Exception during scan if jar file is symlink

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=11501>.
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=11501

tldScanJar() throws Exception during scan if jar file is symlink

           Summary: tldScanJar() throws Exception during scan if jar file is
                    symlink
           Product: Tomcat 4
           Version: 4.1.8
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Erich.Meier@methodpark.de


tldScanJar() throws the following exception when a jar file in /WEB-INF/lib is 
a symbolic link

2002-08-06 16:03:41 ContextConfig[/pkit]:  Scanning JAR at resource path '/WEB-
INF/lib/xercesImpl.jar'
2002-08-06 16:03:41 ContextConfig[/pkit] Exception processing JAR at resource 
path /WEB-INF/lib/xercesImpl.jar
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-
INF/lib/xercesImpl.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)
...
----- Root Cause -----
java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-
INF/lib/xercesImpl.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)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>