Tomcat Options on Windows Service

Discussion in 'Java' started by Billy, Jul 14, 2003.

  1. Billy

    Billy Guest

    Apologies if this has been discused before but I couldn't find any
    info on Googles's groups.

    I have Tomcat 3.3.1a running as a Service on Windows 4.1 server, how
    do i go about setting command line options for tomcat? I'm using the
    TOMCAT_OPTS environment variable set to "-Xmx320m -security" but I'm
    not sure the Tomcat process launched as a service is actually using
    these options as opposed to using the command line tomcat script.

    Thanks in advance

    Billy
    Billy, Jul 14, 2003
    #1
    1. Advertising

  2. Well, i do not think it is a supported way, but...
    regedit, and find the tomcat service (something like
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
    4.1\Parameters) and add parameters (JVM Option number #). Modify JVM
    OptionCount accordingly.
    It worked for me.

    "Billy" <> a écrit dans le message news:
    ...
    > Apologies if this has been discused before but I couldn't find any
    > info on Googles's groups.
    >
    > I have Tomcat 3.3.1a running as a Service on Windows 4.1 server, how
    > do i go about setting command line options for tomcat? I'm using the
    > TOMCAT_OPTS environment variable set to "-Xmx320m -security" but I'm
    > not sure the Tomcat process launched as a service is actually using
    > these options as opposed to using the command line tomcat script.
    >
    > Thanks in advance
    >
    > Billy
    Xavier Tarrago, Jul 15, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cliff  Martin
    Replies:
    1
    Views:
    3,023
    Larry Smith
    Jan 31, 2007
  2. jacksu
    Replies:
    0
    Views:
    500
    jacksu
    Oct 9, 2007
  3. Utkado
    Replies:
    2
    Views:
    2,065
  4. Bryan Richardson
    Replies:
    6
    Views:
    271
    Bryan Richardson
    Feb 25, 2008
  5. Sijo Kg
    Replies:
    1
    Views:
    92
    Justin Collins
    Jan 7, 2009
Loading...

Share This Page