|  |  |  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| documentation examples changes overview quick start installation command-line configuration admin amber clustering caching database deployment ejb 3.0 embedding filters hessian hmtp ioc jsp logging messaging performance quercus/php remoting scheduled tasks security server push servlets third-party troubleshooting virtual hosting watchdog webapp xml and xslt | command-line configuration
 While most configuration options have been made available in resin.conf, this section describes some common command-line options. 
    The  
    The most commonly used options for  
 
      The 64-bit JNI compilation must match the JDK you're using, i.e.
      you'll need to add a  As 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
 Resin 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.conf with Java arguments 
      <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>
      
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||