forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <>
Subject [jira] Commented: (FOR-1049) Forrest war is crashing apache-tomcat-5.5.23 upon restart
Date Thu, 18 Oct 2007 11:06:50 GMT


Thorsten Scherler commented on FOR-1049:

The real problem lies in the web.xml (here forrest).

We use here:
      Set commons-logging classes, in particular JCS, to use the logkit so the log messages
      are properly handled by cocoon.

      This parameter allows you to startup Cocoon2 immediately after startup
      of your servlet engine.

This combination is forcing the usage of the LogKitLogger for ALL servlets in your servlet
container. I tested with Jetty as well and you will get the same error. 

The explanation is that since the cocoon servlet is loaded first we are setting the org.apache.commons.logging.Log
variable for the whole container. 

Meaning no other servlet can override this any more, very bad if you have different servlets/contexts.

The solution is instead of using an init-param a context-param. This way every context can
handle its on logging:
  <param-value> org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger

Will apply a fix ASAP.

> Forrest war is crashing apache-tomcat-5.5.23 upon restart
> ---------------------------------------------------------
>                 Key: FOR-1049
>                 URL:
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR
>            Reporter: Thorsten Scherler
>            Priority: Critical
> "I'm having some problems with the present svn head (two days old): the war it creates
installes fine in Tomcat when deployed through Tomcat's HTML Manager, and as long as Tomcat
is running without interruption, there's no problem. But when restarted, Tomcat crashes severely.
This happens only when the Forrest war is installed, without the Forrest war, there is no
> Config:
> - (almost) latest Forrest svn
> - Tomcat 5.5.9
> - Java 1.5_02
> - Win2k server"
> I am seeing the same issue on an ubuntu linux.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message