![]() |
| |||||||||||||||||||||||||||||||||||||||||||||||
| Resin 3.1 Documentation Examples Changes Overview Installation Configuration Quercus SOA/IoC JSP Servlets and Filters Admin (JMX) EJB Amber Security Performance Hessian XML and XSLT Third-party Troubleshooting/FAQ Command-Line Options Tags Common Tasks Relax Schema howto Config FAQ Scrapbook DB Scrapbook |
While most configuration options have been made available in resin.conf, this section describes some common command-line options. ./configure options
The 64-bit JNI compilation must match the JDK you're using, i.e.
you'll need to use something like Startup OptionsAs of Resin 3.1, startup options should be declared in the configuration file. However, some startup options are available via the command line. Command-line arguments
JDK argumentsResin 3.1 has moved all JDK arguments into the resin.conf file, in the <jvm-arg> tag. Because the Resin 3.1 watchdog starts each Resin server instance, it can pass the arguments defined in the configuration file to the JVM. By moving the Java arguments to the configuration file, server configuration is easier and more maintainable.
<resin xmlns="http://caucho.com/ns/resin">
<cluster id="app-tier">
<server-default>
<jvm-arg>-Xms32m</jvm-arg>
<jvm-arg>-Xmx512m</jvm-arg>
<jvm-arg>-Xss1m</jvm-arg>
<jvm-arg>-verbosegc</jvm-arg>
<jvm-arg>-Dfoo=bar</jvm-arg>
<jvm-arg>-agentlib:resin</jvm-arg>
<jvm-arg>-Xdebug</jvm-arg>
<http port="8080"/>
</server-default>
<server id="a" address="192.168.2.1" port="6800"/>
...
</cluster>
</resin>
| |||||||||||||||||||||||||||||||||||||||||||||||