Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 35524 invoked from network); 17 Jan 2003 15:04:25 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jan 2003 15:04:25 -0000 Received: (qmail 13595 invoked by uid 97); 17 Jan 2003 13:54:55 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7198 invoked by uid 97); 17 Jan 2003 13:51:52 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22301 invoked by uid 98); 17 Jan 2003 13:44:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <004801c2be0a$16817b10$111d000a@rnd.j.ad.intershop.net> From: "Holger Brozio" To: "Tomcat Users List" Cc: "Tomcat Development" References: <001a01c2bd4f$72a50a80$111d000a@rnd.j.ad.intershop.net> Subject: Re: Problem with JSTL on W2k Date: Fri, 17 Jan 2003 10:23:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=1.4 required=100.0 tests=DOUBLE_CAPSWORD,WEIRD_PORT version=2.31 X-Spam-Level: * X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, i have found the reason for my problems. The main exception, which is thrown has the following stacktrace: java.io.IOException: Access is denied at java.io.Win32FileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1162) at java.io.File.createTempFile(File.java:1247) at java.io.File.createTempFile(File.java:1284) at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:143) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:138) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:61) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:7 2) at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906) 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(LifecycleSuppor t.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3567) 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.startup.Embedded.start(Embedded.java:994) I have started an embedded tomcat 4.1.18 instance with my own NT Service. In the ContextConfig class tomcat tries to take a look inside of the jar files in /WEB-INF/lib. For this issue tomcat needs a temporary folder. This seems to be c:\winnt in the case of a service. The temp dir is defined by the java property "java.io.tmpdir". Because i have started the service as a generic user, i got the exception access denied. I have now set the property "java.io.tmpdir" to a directory within the tomcat installation and now everything works fine. Maybe this should be done by default?! Cheers Holger ----- Original Message ----- From: "Holger Brozio" To: "Tomcat Users List" Cc: "Tomcat Development" Sent: Thursday, January 16, 2003 12:07 PM Subject: Problem with JSTL on W2k > Hello, > > i have a problem with the JSTL on W2k. If i start tomcat i get the follwoing > exception: > > javax.servlet.ServletException: Exception processing JAR at resource path > /WEB-INF/lib/jaxen-full.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(LifecycleSuppor > t.java:166) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:3493) > 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.startup.Embedded.start(Embedded.java:994) > at > com.intershop.beehive.core.internal.startup.EmbeddedTomcatMgr.startTomcat(Em > beddedTomcatMgr.java:393) > at > com.intershop.beehive.core.internal.startup.EmbeddedTomcatMgr.onReadyHook(Em > beddedTomcatMgr.java:333) > at > com.intershop.beehive.core.internal.startup.AdminServer.start(AdminServer.ja > va:70) > at > com.intershop.beehive.core.internal.startup.AdminServer.main(AdminServer.jav > a:264) > > I have debugged the ContextConfig class and found out, that an exception is > thrown at the line 930, which has "Access is denied" as description. It > seems that tomcat tries to open an URLConnection with the url > "jndi:/ /WEB-INF/lib/jaxen-full.jar!/". > My user on W2k is a normal user. If i add the user to the administrators or > power user group, there are no problems. I have also tried > to change the file permissions of the jar file without an effect. > So it seems to be a permission problem. Does anybody know, which permission > on W2k is missing for my user or group, which doesn't allow a normal user to > get the jar informations? > > Thanx in advance. > > Holger > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: