Prastein, Rebeccah H wrote:
How do I start tomcat as an application (not a service) and set the
log4j debug commandline parameter?

I tried editing startup.bat to prepend -Dlog4j.debug to %CMD_LINE_ARGS%,
but I get the following error on startup, and I don't see any log4j
debug output:

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ]
[ -nonaming ] { start | stop }

Sounds like your added switch gets added at the end, after the -jar.
I don't have a Windows Tomcat handy, but you might try to add it in JAVA_OPTS instead, like
JAVA_OPTS="$JAVA_OPTS -Dlog4j.debug"
(Unix version)
Maybe in sentenv.bat, if it exists ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to