cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Java chokes on logkit-1.2.2
Date Tue, 02 Mar 2004 15:16:02 GMT
Did you try a clean build?

I have the same jdk and for me it works perfectly :)
The second exception you get is due to a change in excalibur-logger.
The logkit.xconf needs an entry for the root category (category
without a name). I have fixed this some days ago in the CVS.

Carsten 

> -----Original Message-----
> From: Vadim Gritsenko [mailto:vadim@reverycodes.com] 
> Sent: Tuesday, March 02, 2004 4:01 PM
> To: Cocoon Developers
> Subject: Java chokes on logkit-1.2.2
> 
> 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(WebappClas
> sLoader.java:706)
>     at
> org.apache.catalina.loader.WebappLoader.setRepositories(Webapp
> Loader.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.ConfigurationExcepti
> on: No log targets configured for the root logger.
>     at
> org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupLo
> ggers(LogKitLoggerManager.java:531)
>     at
> org.apache.avalon.excalibur.logger.LogKitLoggerManager.configu
> re(LogKitLoggerManager.java:407)
>     at
> org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServl
> et.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