andre,
it gets xpanded just perfect, but seems the "file"- protocol is not recognized.

so u gotta work a bit more for the chocolate ;)

cheers

gregor

Am 30.04.2009 um 18:13 schrieb André Warnier <a...@ice-sa.com>:

Gregor Schneider wrote:
...

André will not complain, but he has a suggestion :

Considering the error message :

java.net.MalformedURLException: no protocol: ${log4j.dtd}

then either the "${log4j.dtd}" does not get expanded as you expect, or else it does but the result is not a valid URL.
So, try :

======== [ from catalina.sh ] =================
CATALINA_OPTS="  -Xmx256m -server \
        -Djava.awt.headless=true \
-Dlog4j.dtd="file:///${CATALINA_HOME}/common/classes/ log4j.dtd" \
        -Dlog4j.configuration=log4j.xml"
========================================
======== [ from some log4j.xml ] ===============
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "${log4j.dtd}">
========================================


Now if that works, I get the chocolate.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to