Resin 3.1 Upgrade
From Resin 3.0
- 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>