[EMAIL PROTECTED] writes:
>------_=_NextPart_001_01C32F53.F9C69D00
>Content-Type: text/plain;
> charset="iso-8859-1"
Hi,
this is Java, so you might end up forward slashes even under
Windows. I haven't tried that yet but I will have to deploy on Windows
pretty soon so I will get some more information on that.
This works:
web.xml:
<servlet>
<servlet-name>demoapp</servlet-name>
<servlet-class>org.apache.turbine.Turbine</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
</init-param>
</servlet>
TurbineResources.properties:
log4j.file = /WEB-INF/conf/Log4j.properties
Log4j.properties:
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.turbine.append = false
I use this all the time and it never gave me any trouble. Running with
JDK 1.3.1 and 1.4.1 under RedHat Linux 7.3
I will add "Testing under Windows 2k" for my list of things to do
before we push 2.3 out of the door.
But this above _should_ work without changes (even without changing the
"/" to "\" on Windows 2k). This is how the Java platform is defined.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]