Commit 902e055d by Gil Sade

script for starting resin in debug mode

parent 6ab5a9fb
Showing with 39 additions and 0 deletions
#!/bin/sh
RESIN_HOME=/home/gil/sdks/resin-4.0.38
RESIN_CONF=/home/gil/git/Servers/Resin4/resin.xml
echo $RESIN_CONF
export RESIN_HOME
export RESIN_CONF
java -jar \
-Dresesin.home=$RESIN_HOME \
-Djava.util.logginmanager=com.caucho.log.LogManagerImpl \
-Djava.system.class.loader=com.caucho.loader.SystemClassLoader \
-Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl \
-Djava.awt.headless=true \
-Dserver.address=localhost \
-Dserver.port=8080 \
-Xss1m -Xmx512m -server \
-Dmongodb.port=27017 \
-Dds.ip.address=172.16.1.97 \
-Dds.ip=172.16.1.97:8080 \
-Dmclogic.sip.ip=172.16.1.97:5076 \
-Dmclogic.ip=172.16.1.97:8080 \
-Dmcweb.sip.ip=172.16.1.99:9999 \
-Dmcweb.ip=172.16.1.97:9998 \
-Dmcpresence.ip=1.1.1.1:9999 \
-Dmcpresence.sip.ip=1.1.1.1:9999 \
-Dredis.port=6379 \
-DconfigFile.location=/opt/mcx/config \
-Dmcz.files.location=/opt/mcz \
-Dfile.encoding=UTF-8 \
$RESIN_HOME/lib/resin.jar \
-Xdebug -Xrunjdwp:transport=dt_socket,address=9080,server=y,suspend=n \
-root-directory $RESIN_HOME \
-conf $RESIN_CONF \
-server app-0 \
console
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment