|
As shown in Table 2.1, the Resin server includes several command-line options that let you customize the server when it is first executed. You can supply these options no matter how you start the server.
| OPTION | DESCRIPTION | ARGUMENT | DEFAULT |
|---|---|---|---|
| -classpath | Adds new listings to the current classpath. | Paths to be added to the classpath | $CLASSPATH |
| -conf | Allows an alternative configuration file to be used when the server starts up. | Path to configuration file—i.e., conf/new.conf | conf/resin.conf |
| -install | NT only; installs the Resin server as a service in NT, 2000, or XP. Does not automatically start the service. | None | None |
| -install-as | NT only; installs the Resin server as a service in NT, 2000, or XP as a named service. Does not auto matically start the service. | name | None |
| -D | Sets the named Java system property to the supplied value. | name=value | None |
| -J | Passes the specific value to the JDK as an argument. | Command-line argument | None |
| -java_home | Sets the path to the Java environment the system should use when executing the server. | Path to Java installation directory -i.e., c:\j2sdk1.3.0 | Checks for the JAVA_HOME environment variable; if not found, it performs a search. |
| -nojit | Turns off the just-in-time compiler. | None | Enabled |
| -pid | Unix only; allows you to enter a path and filename where the system should store the application PID. | Path and filename for pid storage | Resin.pid |
| -remove | NT only; removes the Resin server from services. | None | None |
| -remove-as | NT only; removes the named Resin server from services. | name | None |
| -resin_home | Sets the path to the Resin installation directory. | Path to Resin installation | Parent of wrapper. pl or resin.dll file |
| -verbose | Using this argument causes the server to display information about the currently installed Java SDK as well as defined environment variables such as -classpath or JAVA_HOME. | None | Off |
| -X | Passes the specified option to the JDK | Java option | None |
|