Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: jsvc and -config?

Bill Barker

2004-02-03

Replies:

Pretty much. The '-config' would go in the [args] section.

"Bernhard Wraase" <bw@(protected)
news:401F50C1.6040601@(protected)...
> > With the old startup script (startup.sh), there's a -config parameter to
> As far as I can see there is no parameter in the startup.sh in tomcat
> 4.1.27.
> > pass in a specific server.xml to use. Is there an equivalent parameter
> > with jsvc? If not, is there any way to achieve the same objective?
> Here is the list of options:
> ./jsvc -help
> Usage: jsvc [-options] class [args...]
>
> Where options include:
>
>    -jvm <JVM name>
>       use a specific Java Virtual Machine. Available JVMs:
>         '(null)'
>    -cp / -classpath <directories and zip/jar files>
>       set search path for service classes and resouces
>    -home <directory>
>       set the path of your JDK or JRE installation (or set
>       the JAVA_HOME environment variable)
>    -version
>       show the current Java environment version (to check
>       correctness of -home and -jvm. Implies -nodetach)
>    -help / -?
>       show this help page (implies -nodetach)
>    -nodetach
>       don't detach from parent process and become a daemon
>    -debug
>       verbosely print debugging information
>    -check
>       only check service (implies -nodetach)
>    -user
>       user used to run the daemon (defaults to current user)
>    -verbose[:class|gc|jni]
>       enable verbose output
>    -outfile </full/path/to/file>
>       Location for output from stdout (defaults to /dev/null)
>       Use the value '&2' to simulate '1>&2'
>    -errfile </full/path/to/file>
>       Location for output from stderr (defaults to /dev/null)
>       Use the value '&1' to simulate '2>&1'
>    -pidfile </full/path/to/file>
>       Location for output from the file containing the pid of jsvc
>       (defaults to /var/run/jsvc.pid)
>    -D<name>=<value>
>       set a Java system property
>    -X<option>
>       set Virtual Machine specific option
>
>
> --
> HTH Bernhard




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.