Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 52094 invoked from network); 16 Jul 2009 10:23:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 10:23:18 -0000 Received: (qmail 16879 invoked by uid 500); 16 Jul 2009 10:24:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 16807 invoked by uid 500); 16 Jul 2009 10:24:22 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 16799 invoked by uid 99); 16 Jul 2009 10:24:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 10:24:22 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [195.111.2.4] (HELO info.ilab.sztaki.hu) (195.111.2.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 10:24:14 +0000 Received: from localhost ([127.0.0.1]) by info.ilab.sztaki.hu with esmtp (Exim 4.69) (envelope-from ) id 1MRO80-0002O9-1R for users@cocoon.apache.org; Thu, 16 Jul 2009 12:23:52 +0200 X-Virus-Scanned: Debian amavisd-new at info.ilab.sztaki.hu Received: from info.ilab.sztaki.hu ([127.0.0.1]) by localhost (info.ilab.sztaki.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7k-iG+ErNIPe for ; Thu, 16 Jul 2009 12:23:50 +0200 (CEST) Received: from rubbag.ilab.sztaki.hu ([10.1.2.58]) by info.ilab.sztaki.hu with esmtp (Exim 4.69) (envelope-from ) id 1MRO7y-0002Nu-Bs for users@cocoon.apache.org; Thu, 16 Jul 2009 12:23:50 +0200 Message-ID: <4A5EFFB6.40801@nanasoft.hu> Date: Thu, 16 Jul 2009 12:23:50 +0200 From: Peter Molnar User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Debian Tomcat issue References: <4A5DF516.2010806@nanasoft.hu> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030701020702040800030408" Tagline: Die Hard... With Children X-Virus-Checked: Checked by ClamAV on apache.org --------------030701020702040800030408 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Benjamin Boksa wrote: > > I use tomcat on Debian (Lenny) in my test environment, It works fine for > me - make sure you have enabled logging (see [1]) in tomcat (disabled > on Debian by default). Also make sure that your tomcat installation uses > Sun's JVM (you might have to adjust your apt sources for that). I'm now using Sun JDK 1.6.0_05-b13, and I have added the configuration on the website, so tomcat now uses log4j. Well, logging did help. It turned out, that in the test environment I was running tomcat without it's security option turned on, whereas on Debian it's enabled by default. Is anybody using the security feature with Tomcat? I was searching the web for a security policy for Cocoon 2.2, but I wasn't able to find one. Is there a "base" security policy I could use as a start, or do I have to write it from scratch? -- Peter Molnar --------------030701020702040800030408 Content-Type: text/plain; name="exception.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="exception.txt" org.apache.commons.logging.LogConfigurationException: java.lang.ExceptionInInitializerError (Caused by java.lang.ExceptionInInitializerError) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1190) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 21 more Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.Class.getClassLoader(Class.java:594) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:907) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.commons.logging.impl.Log4JLogger.class$(Log4JLogger.java:49) at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:79) ... 26 more --------------030701020702040800030408 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------030701020702040800030408--