users@glassfish.java.net

Re: Glassfish v2 ur2 Xwiki 1.3.2 log4j commons-logging configuration proble

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 May 2008 17:50:16 PDT

Which versions of log4j and commons-logging does Xwiki 1.3.2 use? (I tried downloading it, but the download kept timing out.)

Can you try setting the webapp classloader's "delegate" flag to "false", and see if that makes any difference?

You do that by adding a sun-web.xml resource to the WEB-INF directory of your Xwiki 1.3.2, with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_4-0.dtd">

<sun-web-app>
    <class-loader delegate="false"/>
</sun-web-app>
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=273610