Hi, Are you sure you have the proper permissions set on the work directories tomcat uses? It needs to be able to write there.
Also, is the jar (MossLibrary.jar) actually there? Can you jar tvf to see its contents? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Michael Remijan [mailto:[EMAIL PROTECTED]] >Sent: Friday, August 02, 2002 11:25 AM >To: Tomcat Users List >Subject: webapp startup problem w Tomcat4.1.7 > >users, > >I've started developing with tomcat-4.1.7 with jdk1.4.1b14 on windows2000. >i'm deployed in this directory: >C:\apps\Tomcat\jakarta-tomcat-4.1.7\webapps\diary. Tomcat outputs to it's >log file the following error when trying to deploy a webapp. Anyone have >an idea about this one? > > >2002-08-02 10:06:29 ContextConfig[/diary] Exception processing JAR at >resource path /WEB-INF/lib/MossLibrary.jar >javax.servlet.ServletException: Exception processing JAR at resource path >/WEB-INF/lib/MossLibrary.jar > at >org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java :930 >) > at >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:86 8) > 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(LifecycleS uppo >rt.java:166) > at >org.apache.catalina.core.StandardContext.start(StandardContext.java:344 5) > at >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > 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:2185) > at org.apache.catalina.startup.Catalina.start(Catalina.java:510) > 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.ja va:3 >9) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp >l.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) >----- 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.j ava: >69) > at >org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java :906 >) > at >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:86 8) > 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(LifecycleS uppo >rt.java:166) > at >org.apache.catalina.core.StandardContext.start(StandardContext.java:344 5) > at >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > 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:2185) > at org.apache.catalina.startup.Catalina.start(Catalina.java:510) > 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.ja va:3 >9) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp >l.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > > >-----Original Message----- >From: Milt Epstein [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, July 31, 2002 11:01 PM >To: Tomcat Users List >Subject: Apache Authentication for Tomcat > > > >This is an addition to a thread from a day or two ago. I didn't pay >much attention to it then, because it wasn't something I needed to >worry about -- but things change quickly, and now I do need to worry >about it :-). Anyway, it was a thread started by Josh Landin, with >contributions from Jacob Kjome and John Turner (and others). Josh was >having some trouble trying to get Apache to handle authentication on >some resources that were to be handled by Tomcat. Here is one of the >later messages in the thread from Jacob Kjome: > >http://marc.theaimsgroup.com/?l=tomcat-user&m=102805925323917&w=2 > >I'm not sure Josh fully appreciated what Jacob was getting at in it. >Basically, Directory and Location directives can be used similarly, >but Directory is used for actual directories in the filesystem, while >Location is used for URLs (URL prefixes, i.e. virtual directories, I >guess). I had to do something similar, and I got it working, but it >took playing around with the URL specified in the Location directive >to do so. So anyone, my main reason for posting this is to suggest to >Josh that he try using a Location directive, but play around with the >URL in it to get the behavior he desires. It'd be helpful to consider >what URLs he wants to have the Location directive applied to. > >Milt Epstein >Research Programmer >Systems and Technology Services (STS) >Campus Information Technologies and Educational Services (CITES) >University of Illinois at Urbana-Champaign (UIUC) >[EMAIL PROTECTED] > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> > > > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
