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

webapps/<MYWEBAPP>/WEB-INF/lib not loading jars

           Summary: webapps/<MYWEBAPP>/WEB-INF/lib not loading jars
           Product: Tomcat 4
           Version: 4.1.10
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I put my application jars in the webapps/<MYWEBAPP>/WEB-INF/lib folder the 
application context is not started. But if I put those same jars in %
CATALINA_HOME%\common\lib or %CATALINA_HOME%\shared\lib the applications start 
fine.

I get the following error

2002-09-11 15:35:02 WebappLoader[/jobsurf20]: Reloading checks are enabled for 
this Context
2002-09-11 15:35:02 ContextConfig[/jobsurf20] Exception processing JAR at 
resource path /WEB-INF/lib/jconn2.jar
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-
INF/lib/jconn2.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)

and more lines followed by

----- Root Cause -----
java.io.IOException: The system cannot find the path specified
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1313)
        at java.io.File.createTempFile(File.java:1401)
        at java.io.File.createTempFile(File.java:1438)
        at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
        at sun.net.www.protocol.jar.JarURLConnection.connect
(JarURLConnection.java:85)
        at sun.net.www.protocol.jar.JarURLConnection.getJarFile
(JarURLConnection.java:69)
        at org.apache.catalina.startup.ContextConfig.tldScanJar
(ContextConfig.java:906)

.......


Thanks,
-Atul.

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

Reply via email to