Re: Tomcat 5.0 - setting System properties for an application



<icedogchi@xxxxxxxxx> wrote in message
news:1119371392.510702.33740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Aha! I knew if I posted the question I'd figure it out.
>
> IF you are running the startup and shutdown commands from the command
> line in windows:
> edit catalina.bat
> set JAVA_OPTS=-D<key>="<value>"
>
> IF you are running Tomcat 5 as a service:
> Run %CATALINA_HOME%/bin/tomca5tw.exe
>
> This opens a GUI and allows you to set a system property to the JVM.
>

I typically use web.xml for this. A popular one I employ is
debug=true/false. I don't know if this is feasable in your situation though.

--
Tom Dyess
OraclePower.com


.



Relevant Pages

  • Shutdown Problem
    ... I tried TSShutdn Utility, different Shutdown commands, ShutNTdown patch, a ... poweroff.vbs file, turned off startup and shutdown WAV files, and disabled ...
    (microsoft.public.windowsxp.hardware)
  • Re: Tomcat 5.0 - setting System properties for an application
    ... Aha! ... IF you are running the startup and shutdown commands from the command ... line in windows: ...
    (comp.lang.java.programmer)