Java Mailing List Archive

http://www.junlu.com/

Home » Tomcat Users »

Re: How to find tomcat's- window service parameters

Serge Fonville

2008-10-31

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,
All options that are passed to tomcat can be configured through catalina.bat
Also, if you enable jmx you can monitor the details you specified.
By executing tomcat[major]w.exe you get an application that interfaces with
tomcat to show information (including a few things you asked)
if all you want to do is increase the heap size, this can be done in
catalina.bat by adding -Xms and -Xmx to the java_opts

Any additional information about your environment would be helpful to answer
your questions

Regards,

Serge Fonville

On Fri, Oct 31, 2008 at 11:12 AM, Thangavel Sankaranarayanan <
tsankara@(protected):

>
> Hi All,
>
>
> I have a tomcat on a windows2000 server .
> It is run as a window service.
>
> I want to find the service parameters like.My main idea is that i want to
> increase the heap size of JVM.
>
>
>
>
>
>
>
>
>  service_name:  The name of the service.
>  jvm_library:   The location of the JVM DLL under which to run the
>  service.
>  jvm_option:   An option to use when starting the JVM, such as:
>             "-Djava.class.path=c:\classes" or "-Xmx128m".
>  start_class:   The class to load when starting the service.
>  start_method:  The method to call in the start_class. default: main
>  start_parameter:A parameter to pass in to the start_method.
>  stop_class:   The class to load when stopping the service.
>  stop_method:   The method to call in the stop_class. default: main
>  stop_parameter: A parameter to pass in to the stop_method.
>  out_log_file:  A file to redirect System.out into.
>  err_log_file:  A file to redirect System.err into.
>  current_dir:   The current working directory for the service.
>             Relative paths will be relative to this directory.
>  extra_path:   Path additions, for native DLLs etc.
>
>
>
>
>
>
>
>
> Regards,
> Thangavel Sankaranarayanan.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.