Start Jboss Server with Tanuki-Wrapper
falke13 Sep 12, 2014 2:19 AMHi,
we're trying to start a jboss server with tanuki-wrapper it started but it doesn't response.
We started the jboss-server without tanuki with the following command line ./run.sh -c kwgadmingui_test -b 10.2.141.150 and the output of **ps -ef** is:
/usr/java/jdk1.6.0_16//bin/java -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:./logging.properties -Djava.library.path=/opt/jboss/bin/native/lib64::/opt/sec24c/lib/:/opt/oracle/base/product/11.2.0.4/client/lib/ -Djava.endorsed.dirs=/opt/jboss/lib/endorsed -classpath /opt/jboss/bin/run.jar:/usr/java/jdk1.6.0_16//lib/tools.jar org.jboss.Main -c kwgadmingui_test -b 10.2.141.150
We put this parameter into the wrapper.conf. Below is the output of wrapper.conf:
Can someone tell me what we configured wrong because it startet but when I call the URL I don't get a answer from jboss and where can I put the command line parameter:
**./run.sh -c kwgadmingui_test -b 10.2.141.150****strong text**
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=/opt/jboss/tanuki-wrapper/lib/wrapper.jar
wrapper.java.classpath.3=/opt/jboss/bin/run.jar
wrapper.java.classpath.2=/usr/java/default/lib/tools.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
#wrapper.java.library.path.1=../bin/lib
wrapper.java.library.path.1=/opt/jboss/bin/native/lib64
wrapper.java.library.path.2=/opt/sec24c/lib/
wrapper.java.library.path.2=/opt/oracle/base/product/11.2.0.4/client/lib/
# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE
# Java Additional Parameters
wrapper.java.additional.1=-server
wrapper.java.additional.2=-Xms128m
wrapper.java.additional.3=-Xmx512m
wrapper.java.additional.4=-XX:MaxPermSize=256m
wrapper.java.additional.5=-Dorg.jboss.resolver.warning=true
wrapper.java.additional.6=-Dsun.rmi.dgc.client.gcInterval=3600000
wrapper.java.additional.7=-Dsun.rmi.dgc.server.gcInterval=3600000
wrapper.java.additional.8=-Dprogram.name=/opt/jboss/bin/run.sh
wrapper.java.additional.9=-Djava.net.preferIPv4Stack=true
wrapper.java.additional.10=-Dprogram.name=/opt/jboss/bin/run.sh -c /opt/jboss/server/kwgadmingui_test -b 10.2.141.150
wrapper.java.additional.11=-Djava.endorsed.dirs=/opt/jboss/lib/endorsed
wrapper.java.additional.12=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false
# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=org.jboss.Main
wrapper.app.parameter.2=1
wrapper.app.parameter.3=start
## Application parameters. Add parameter as needed stoping from 1
wrapper.app.parameter.4=org.jboss.Main
wrapper.app.parameter.5=TRUE
wrapper.app.parameter.6=1
wrapper.app.parameter.7=stop