1JSVC(1)                         Jakarta project                        JSVC(1)
2
3
4

NAME

6       jsvc - application to launch java daemon
7

SYNOPSIS

9       jsvc [-jvm JVM name] [-classpath path] [-cp path] [-home directory]
10            [-version] [-help] [-?] [-nodetach] [-debug] [-check] [-user user]
11            [-wait waittime] [-stop] [-verbose:class|gc|jni]
12            [-outfile /full/path/to/file] [-errfile /full/path/to/file]
13            [-pidfile /full/path/to/file] [-Dproperty=value] [-Xoption]
14

DESCRIPTION

16       jsvc executes classfile that implements a Daemon interface.
17

OPTIONS

19       -jvm JVM name
20           use a specific Java Virtual Machine.
21
22       -cp/ -classpath directory and zip/jar files
23           set search path for service classes and resouces
24
25       -home directory
26           set the path of your JDK or JRE installation (or set the JAVA_HOME
27           environment variable)
28
29       -version
30           show the current Java environment version (to check correctness of
31           -home and -jvm. Implies -nodetach)
32
33       -help
34           show this help page (implies -nodetach)
35
36       -nodetach
37           don´t detach from parent process and become a daemon
38
39       -debug
40           verbosely print debugging information
41
42       -check
43           only check service (implies -nodetach)
44
45       -stop
46           stop the service using the file given in the -pidfile option
47
48       -wait waittime
49           wait up to waittime seconds for the service to start waittime
50           should multiple of 10 (min=10)
51
52       -user user
53           user used to run the daemon (defaults to current user)
54
55       -verbose[:class|gc|jni]
56           enable verbose output
57
58       -outfile /full/path/to/file
59           Location for output from stdout (defaults to /dev/null). Use the
60           value ´&2´ to simulate ´1>&2´
61
62       -errfile /full/path/to/file
63           Location for output from stderr (defaults to /dev/null). Use the
64           value ´&1´ to simulate ´2>&1´
65
66       -pidfile /full/path/to/file
67           Location for output from the file containing the pid of jsvc
68           (defaults to /var/run/jsvc.pid)
69
70       -D<name>=<value>
71           set a Java system property
72
73       -X<option>
74           set Virtual Machine specific option
75

AUTHOR

77       JSVC is part of the Apache Commons Daemon project. Authors are
78       Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker. JSVC is
79       under the Apache License Version 2.0.
80
81
82
83Jsvc version 1.0.1                02/01/2011                           JSVC(1)
Impressum