cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Java chokes on logkit-1.2.2
Date Tue, 02 Mar 2004 15:01:17 GMT
Java:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

Starting tomcat fails with:
javaw.exe  -Xms64m -Xmx64m -Dcatalina.home=C:\Java\jakarta-tomcat-4.1.24 
-classpath C:\Java\jakarta-tomcat-4.1.24\bin\bootstrap.jar -Xdebug 
-Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,address=ANIMAL:2351,suspend=y,server=n 
org.apache.catalina.startup.Bootstrap start
02.03.2004 9:44:56 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Catalina.start: LifecycleException:  start: :  
java.lang.IllegalArgumentException: 
avalon-framework,log4j,commons-logging,servletapi,javamail,jms,junit-Extension-Name
LifecycleException:  start: :  java.lang.IllegalArgumentException: 
avalon-framework,log4j,commons-logging,servletapi,javamail,jms,junit-Extension-Name
    at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:678)
    at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3530)
...
----- Root Cause -----
java.lang.IllegalArgumentException: 
avalon-framework,log4j,commons-logging,servletapi,javamail,jms,junit-Extension-Name
    at java.util.jar.Attributes$Name.<init>(Attributes.java:434)
    at java.util.jar.Attributes.getValue(Attributes.java:97)
    at org.apache.catalina.loader.Extension.getRequired(Extension.java:415)
    at org.apache.catalina.loader.Extension.getRequired(Extension.java:338)
    at 
org.apache.catalina.loader.WebappClassLoader.addJar(WebappClassLoader.java:706)
    at 
org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1067)
    at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:665)
...


After removing manifest, following exception is thrown:
Logging Error: Could not set up Cocoon Logger, will use screen instead
org.apache.avalon.framework.configuration.ConfigurationException: No log 
targets configured for the root logger.
    at 
org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLoggers(LogKitLoggerManager.java:531)
    at 
org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLoggerManager.java:407)
    at 
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:853)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:338)
    at gov.dc.octo.hsmp.servlet.CocoonServlet.init(CocoonServlet.java:57)
...


So, what happened with logkit?

Vadim


Mime
View raw message