Re: Tomcat 5.0 - setting System properties for an application



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.

.



Relevant Pages

  • Re: Tomcat 5.0 - setting System properties for an application
    ... > IF you are running the startup and shutdown commands from the command ... A popular one I employ is ...
    (comp.lang.java.programmer)
  • [SLE] X hangs...
    ... >runs on windows (google for putty+windows). ... Aha again.. ... Xserver died during startup... ...
    (SuSE)
  • Re: scheduled reboot
    ... I found the problem, I am using windows 2003, and the shutdown commands ... needs a force option to be able to complete when screen is locked e.g. ...
    (microsoft.public.windows.server.setup)
  • 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)