Resin 3.1 Upgrade

From Resin 3.0

Revision as of 17:13, 19 February 2009 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Use java -jar lib/resin.jar start instead of wrapper.pl
  • resin.conf <cluster> and <server> reorganization
  • jvm-arg arg configuration

[[1]]

jvm-arg configuration in Resin 3.1

Resin 3.1 configures JVM arguments in the resin.conf using a <jvm-arg> so all configuration can be in one place, instead of split between the resin.conf and any shell scripts.

The <jvm-arg> is contained in the <server> tag because the JVM arguments apply to a single JVM, i.e. a Resin server.

A sample configuration might look like:

<resin xmlns="http://caucho.com/ns/resin">
   <cluster id="app">
      <server id="a" port="6800">
         <http port="8080"/>

         <jvm-arg>-d64</jvm-arg>
         <jvm-arg>-Xms${HEAP}m</jvm-arg>
         <jvm-arg>-XX:MaxPermSize=512m</jvm-arg>
         <jvm-arg>-Dcom.sun.management.jmxremote.port=999</jvm-arg>
     </server>

     <host id=">
         ...
     </host>
  </cluster>
</resin>
Personal tools