cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "OsgiTipsAndTricks" by BertrandDelacretaz
Date Mon, 18 Jul 2005 14:34:29 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by BertrandDelacretaz:
http://wiki.apache.org/cocoon/OsgiTipsAndTricks

New page:
Random OSGI tips and tricks - we're learning...

= Log service usage =
Example of locating the stack trace of an exception which only says "Internal server error"
on the browser.

This works after starting Cocoon using ''cocoon.sh'' from the whiteboard/osgi directory, and
making a request which causes a ''500 Internal error''.

{{{
> enter log
log> show
. . .
juil. 18 16:27:48 INFO  #5  HTTP Server
  Errors during initializing Apache Cocoon 2.2.0-dev : 
  Unable to read configurations from context://WEB-INF/xconf
. . .
}}}
This shows that bundle #5 caused the error.
{{{
log> show -s 5
. . .
juil. 18 16:27:47 WARNING #5HTTP Server    - 
  org.apache.cocoon.servlet.CocoonServlet: 
  [ERROR] Could not set up Cocoon Logger, will use screen  instead
  org.apache.avalon.framework.configuration.ConfigurationException: Unable to read configurations
from context://WEB-INF/xconf
        at org.apache.cocoon.core.CoreUtil.initLogger(CoreUtil.java:517)
        at org.apache.cocoon.core.CoreUtil.init(CoreUtil.java:170)
        at org.apache.cocoon.core.CoreUtil.<init>(CoreUtil.java:110) 
}}}

Mime
View raw message