tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Tomcat 4.1.12 and Struts problem
Date Thu, 05 Dec 2002 17:56:37 GMT

See Root Cause block:

----- Root Cause -----
java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1151)
        at java.io.File.createTempFile(File.java:1236)
        at java.io.File.createTempFile(File.java:1273)
        at

Something is trying to write a file, and it doesn't have the permission to
do so.  Looks to me like a temp file.

John


> -----Original Message-----
> From: Aleksandr Shneyderman [mailto:alex@law.columbia.edu]
> Sent: Thursday, December 05, 2002 12:43 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.1.12 and Struts problem
> 
> 
> I just installed tomcat 4.1.12
> I had my app using struts 1.0.2
> I was trying to deploy it and
> can't
> 
> does anyone have any ideas about the
> error below?
> 
> note: I have not enabled any security policy
> on purpose just ran the startup.sh
> 
> the error I am getting is:
> 2002-12-05 10:00:29 ContextConfig[/admissions] Exception 
> processing JAR at
> resource path /WEB-I
> NF/lib/struts.jar
> javax.servlet.ServletException: Exception processing JAR at 
> resource path
> /WEB-INF/lib/struts.j
> ar
>         at
> org.apache.catalina.startup.ContextConfig.tldScanJar(ContextCo
> nfig.java:930)
>         at
> org.apache.catalina.startup.ContextConfig.tldScan(ContextConfi
> g.java:868)
>         at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.
> java:647)
>         at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
> xtConfig.java:
> 243)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSuppor
> t.java:1
> 66)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext
> .java:3493)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(Contai
> nerBase.java:8
> 21)
>         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(Standard
> HostDeployer.j
> ava:257)
>         at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>         at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostC
> onfig.java:569
> )
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
>         at 
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConf
> ig.java:368)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSuppor
> t.java:1
> 66)
>         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.j
> ava:2189)
>         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 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> ----- Root Cause -----
> java.io.IOException: Permission denied
>         at java.io.UnixFileSystem.createFileExclusively(Native Method)
>         at java.io.File.checkAndCreate(File.java:1151)
>         at java.io.File.createTempFile(File.java:1236)
>         at java.io.File.createTempFile(File.java:1273)
>         at
> sun.net.www.protocol.jar.JarFileFactory$1.run(JarFileFactory.java:190)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> sun.net.www.protocol.jar.JarFileFactory.retrieve(JarFileFactor
> y.java:183)
>         at
> sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:100)
>         at
> sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnec
> tion.java:88)
>         at
> sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLCon
> nection.java:7
> 2)
>         at
> org.apache.catalina.startup.ContextConfig.tldScanJar(ContextCo
> nfig.java:906)
>         at
> org.apache.catalina.startup.ContextConfig.tldScan(ContextConfi
> g.java:868)
>         at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.
> java:647)
>         at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
> xtConfig.java:
> 243)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSuppor
> t.java:1
> 66)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext
> .java:3493)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(Contai
> nerBase.java:8
> 21)
>         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(Standard
> HostDeployer.j
> ava:257)
>         at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>         at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostC
> onfig.java:569
> )
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
>         at 
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConf
> ig.java:368)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSuppor
> t.java:1
> 66)
>         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.j
> ava:2189)
>         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 java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message