Jsvc-src download




















In the future APR may be used to provide more portable platform support. If jsvc was build with universal binary support the proper way of starting jsvc is by using Mac OS X arch command:. Use -jvm server because default client JVM is not present for all architectures. There two ways to use jsvc: via a Class that implements the Daemon interface or via calling a Class that has the required methods.

For example Tomcat Jsvc uses 3 processes: a launcher process, a controller process and a controlled process. The controlled process is also the main java thread, if the JVM crashes the controller will restart it in the next minute.

Jsvc is a daemon process so it should be started as root and the -user parameter allows to downgrade to an unprivilegded user. When the -wait parameter is used, the launcher process waits until the controller says "I am ready", otherwise it returns after creating the controller process.

We have something like:. Last Published: 28 March Version: 1. ApacheCon Apache Commons. For example:. Tomcat to perform some privileged operations as root e. It can run on Win32 via the Cygwin emulation layer see Cygwin for more information , however Win32 users may prefer to use procrun instead, which allows the application to run as a Windows Service.

In the future APR may be used to provide more portable platform support. If jsvc was build with universal binary support the proper way of starting jsvc is by using Mac OS X arch command:. Use -jvm server because default client JVM is not present for all architectures. There two ways to use jsvc: via a Class that implements the Daemon interface or via calling a Class that has the required methods.

For example Tomcat Jsvc uses 3 processes: a launcher process, a controller process and a controlled process.

The controlled process is also the main java thread, if the JVM crashes the controller will restart it in the next minute. Jsvc is a daemon process so it should be started as root and the -user parameter allows to downgrade to an unprivilegded user. When the -wait parameter is used, the launcher process waits until the controller says "I am ready", otherwise it returns after creating the controller process.

We have something like:. All Rights Reserved.



0コメント

  • 1000 / 1000