cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet <and...@jibeya.com>
Subject Re: Cocoon 2.1.5.1 and JBoss 4.0
Date Wed, 27 Oct 2004 16:25:05 GMT
Christofer,
are you by any chance running flowscript in your site? I ask because I  
am having problems with cocoon.createSession not working in cocoon. I  
am running JBoss 3.2.6.

regards

Uzo
On 18 Oct 2004, at 16:19, Christofer Dutz wrote:

> 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.j 
>> ava:1029)
>>    at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java: 
>> 862)
>
>
>> [snip stacktrace]
>>
>> Any ideas?
>>    Chris
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>

Mime
View raw message