You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2006/07/05 07:15:57 UTC

Re: Tomcat / Cocoon Logging Configuration

Hi,

The problem seems to be an older commons-logging-jar in your classpath:

Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger


Best Regards,

Antonio Gallardo.

E. Martens escribió:
> Hi all,
>
> after installing Cocoon to my Tomcat Server, some conflicts occur in the logging. I cannot access Tomcat's main page and the manager application anymore.
>
> Cocoon 2.1.9
> Tomcat 5.5.17
> Win XP, all SP applied
>
> below, I present the log and the Cocoon configuration entries.
> Thank you very much for any Help!
>
> %TOMCAT_HOME%/catalina.2006-06-28.log:
>
> 28.06.2006 08:14:40 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Apache\Tomcat\5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\PHP;C:\Programme\PHP\ext;"C:\Programme\Zone Labs\ZoneAlarm\MailFrontier";C:\Programme\Apache\src\forrest-0.8\bin
> 28.06.2006 08:14:42 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 28.06.2006 08:14:42 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 3391 ms
> 28.06.2006 08:14:42 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 28.06.2006 08:14:42 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 28.06.2006 08:14:42 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDescriptor
> SCHWERWIEGEND: Error deploying configuration descriptor host-manager.xml
> org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger))
>     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:4090)
>     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
>     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
>     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>     ... 26 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
>     ... 27 more
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDescriptor
> SCHWERWIEGEND: Error deploying configuration descriptor manager.xml
> org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger))
>     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:4090)
>     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
>     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
>     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>     ... 26 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
>     ... 27 more
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDirectory
> SCHWERWIEGEND: Error deploying web application directory balancer
> org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger))
>     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:4090)
>     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
>     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
>     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>     ... 26 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
>     ... 27 more
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDirectory
> SCHWERWIEGEND: Error deploying web application directory jsp-examples
> org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger))
>     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:4090)
>     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
>     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
>     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>     ... 26 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
>     ... 27 more
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDirectory
> SCHWERWIEGEND: Error deploying web application directory ROOT
> org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger))
>     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:4090)
>     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
>     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
>     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>     at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
>     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>     ... 26 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogKitLogger
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Unknown Source)
>     at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435)
>     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376)
>     ... 27 more
> 28.06.2006 08:15:28 org.apache.catalina.startup.HostConfig deployDirectory
>
> ....
> and many more
>
> ....
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> build/webapp/WEB-INF/logkit.xconf:
>
> <?xml version="1.0" encoding="UTF-8"?><!--
>   Copyright 1999-2004 The Apache Software Foundation
>
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
>
>       http://www.apache.org/licenses/LICENSE-2.0
>
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> --><!--+
>     | This is the cocoon logkit configuration file.
>     |
>     | By default, Cocoon uses Excalibur logkit for logging, but it also
>     | supports Log4J. In case you want to use Log4J, you have to modify
>     | a configuration property in the 'WEB-INF/web.xml' file (search
>     | for log4j and you find it)
>     |
>     | The comments below should get you started in adapting the logs
>     | for your needs, but if you want to know more please visit
>     |
>     |   http://wiki.apache.org/cocoon/ConfiguringTheLogs
>     |
>     | $Id: logkit.xconf 240323 2005-08-26 19:49:29Z vgritsenko $
>     +--><logkit>
>
>   <!--+
>       | Factories are responsible to create the consumers of the log events,
>       | the targets. Here we have configured just a few, the main cocoon
>       | target factory (that prints to a file) and the servlet target factory
>       | (that prints back to the servlet container log stream) but  for more
>       | info on the available logkit factories, please consult
>       | http://excalibur.apache.org/apidocs/org/apache/avalon/excalibur/logger/factory/package-summary.html
>       +-->
>   <factories>
>     <factory class="org.apache.cocoon.util.log.CocoonTargetFactory" type="cocoon"/>
>     <factory class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory" type="servlet"/>
>     <factory class="org.apache.avalon.excalibur.logger.factory.StreamTargetFactory" type="stream"/>
>   </factories>
>
>   <!--+
>       | Targets are the instances of the consumers of the log events and various
>       | instances can be configured and referenced via their 'id'.
>       | Note how the element name of the target indicates what type of factory
>       | that is created with.
>       +-->
>   <targets>
>
>     <cocoon id="main">
>       <!--+
>           | <filename> is the absolute location of the log file, note how you can
>           | use the ${context-root} variable to indicate the root of the
>           | cocoon web application (the directory that contains WEB-INF, that is)
>           +-->
>       <filename>${context-root}/WEB-INF/logs/cocoon.log</filename>
>
>       <!--+
>           | <format> indicates how the log event should be serialized.
>           | Note that newlines are *not* automatic: you have to specify the
>           | newline as '\n' or everything will appear on a single line!
>           |
>           | The first format below is verbose: it includes error stacktraces.
>           | If you want something even more verbose use %{throwable} which will
>           | show a full chain of exceptions. Using the second format won't
>           | output stacktraces at all.
>           |
>           | Please mind that the default format logs request uri along with
>           | query string. This may log confidential data (passwords etc.).
>           +-->
>       <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{rootThrowable}</format>
>       <!--format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%</format-->
>
>       <!--+
>           | <append> if set to 'true' will make cocoon append the events
>           | to the existing file, if set to 'false' cocoon will override
>           | the existing ones at every new start.
>           +-->
>       <append>false</append>
>
>       <!--+
>           | <rotation> allows you to rotate log files one they meet certain
>           | criteria. If you uncomment the example below, the log files will
>           | be rotated once they are a day old or bigger than 100 Mb.
>       <rotation type="unique" pattern="yyyyMMdd" suffix=".log">
>         <or>
>           <size>100m</size>
>           <time>24:00:00</time>
>         </or>
>       </rotation>
>           +-->
>     </cocoon>
>
>     <cocoon id="deprecation">
>       <filename>${context-root}/WEB-INF/logs/deprecation.log</filename>
>       <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
>       <append>false</append>
>     </cocoon>
>
>     <servlet id="servlet">
>       <format type="extended">%5.5{priority} %5.5{time} [%8.8{category}] (%{context}): %{message}\n</format>
>     </servlet>
>
>     <stream id="console">
>       <stream>System.out</stream>
>       <format type="extended">%5.5{priority} %5.5{time} [%8.8{category}] (%{context}): %{message}\n</format>
>     </stream>
>
>
>     <cocoon id="portal">
>       <filename>${context-root}/WEB-INF/logs/portal.log</filename>
>
>       <format type="cocoon">
>         %7.7{priority} %{time}   [%{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
>       </format>
>       <append>false</append>
>     </cocoon>
>
> </targets>
>
>   <!--+
>       | Categories 'route' log events to particular targets, filtering
>       | on importance level (one of DEBUG, INFO, WARN, ERROR, FATAL_ERROR,
>       | ordered from most verbose to least verbose) and on the 'category'
>       | used by the producer of the log event to further classify it.
>       | Some of these log categories are hardwired in the code and some
>       | others are user-selectable, for example for sitemap components
>       | where you can specify the category in their sitemap declaration.
>       |
>       | Category names can be dot-separated (example, 'sitemap.generator.file')
>       | and the variuos pieces are treated as 'sub-categories'. By nesting
>       | the <category> element you achieve sub-category filtering and you can
>       | even have different log level filtering per category and subcategory.
>       | (See the comments below for an example of this)
>       |
>       | NOTE: not all subcategories are defined in this file. Not defined
>       | subcategories will be created automatically and they will inherit
>       | the settings of the parent subcategory. When defining a subcategory
>       | manually, it is required that you specify the log target, because
>       | they are not inherited in this case.
>       +-->
>   <categories>
>
>     <!--+
>         | This is the main category. The empty name attribute indicates that
>         | this rule will match all log events from all categories.
>         +-->
>     <!--+
>     <category log-level="INFO" name="">
>         +-->
>     <category log-level="DEBUG" name="">
>       <log-target id-ref="main"/>
>     </category>
>
>     <!--+
>         | This is the deprecation category. If this category is set to WARN
>         | the log will contain messages about deprecated stuff used by
>         | your application.
>         +-->
>     <category log-level="WARN" name="deprecation">
>       <log-target id-ref="deprecation"/>
>     </category>
>
>     <!--+
>         | This is a little more elaborate example, where some of the logs are
>         | sent to the log file and some others (the ones related to the sitemap),
>         | are sent to the servlet container (where they could be further relayed
>         | to the console, for example)
>         |
>     <category log-level="ERROR" name="">
>       <category log-level="DEBUG" name="sitemap">
>         <log-target id-ref="servlet"/>
>       </category>
>       <category log-level="INFO" name="access">
>         <log-target id-ref="console"/>
>       </category>
>       <log-target id-ref="core"/>
>     </category>
>         +-->
>
>
>
>     <category log-level="INFO" name="portal">
>       <log-target id-ref="portal"/>
>     </category>
> </categories>
>
> </logkit>
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> build/webapp/WEB-INF/web.xml:
> ....
>     <init-param>
>       <param-name>force-property</param-name>
>       <param-value>
>         org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
>       </param-value>
>     </init-param>
>
>     <!--
>       This parameter points to the main configuration file for Cocoon.
>       Note that the path is specified in absolute notation but it will be
>       resolved relative to the servlets webapp context path
>     -->
>     <init-param>
>       <param-name>configurations</param-name>
>       <param-value>/WEB-INF/cocoon.xconf</param-value>
>     </init-param>
>
>     <!--
>       This parameter indicates the configuration file of the LogKit management
>     -->
>     <init-param>
>       <param-name>logkit-config</param-name>
>       <param-value>/WEB-INF/logkit.xconf</param-value>
>     </init-param>
>
> ....
>
>
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org