Ok ... I am starting to feel a little silly now. I keep on searching the web before posting to this list. As soon as I do post something I find the solution ... I found some information at: http://www.orava.org/orava/weblog/category/web-systems/
The solution to the problems with Cocoon 2.1.5.1 not beeing able to run
in Jboss 4.0 is a simple library-versioning problem and can
be solved the folowing way:
1. You have to move the |logkit-1.2.2.jar file from |WEB-INF/lib to
JBoss server/{theconfigyouwant}/lib
2. After this commons-logging-1.0.4.jar and log4j-1.2.8.jar have to be
removed from Cocoons WEB-INF/lib directory
These little changes made Cocoon work with JBoss 4.0 nicely.Chris
Christofer Dutz wrote:
Hi,
I hope this wasn't dicussed recently. Ic ouldn't find any real solution in the archives. I am trying to run cocoon on the new jboss and am encountering strange loging-related errors. To get rid of an error complaining about missing loging classes I added the logkit.jar to the lib directory ... now cocoon is complaining about nonexisting methods ... which is quite strange since they do exist ... Here the stacktrace:
2004-10-18 14:38:05,591 DEBUG
[org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name:
X-Powered-By='Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.0 (build:
CVSTag=JBoss_4_0_0 date=200409200418)'
2004-10-18 14:38:06,032 ERROR [org.jboss.web.localhost.Engine]
StandardContext[/webapp]StandardWrapper.Throwable
java.lang.NoSuchMethodError:
org.apache.log.output.ServletOutputLogTarget.<init>(Ljavax/servlet/ServletContext;Lorg/apache/log/format/Formatter;)V
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:775)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
[snip stacktrace]
Any ideas? Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
