Quantcast
Viewing all articles
Browse latest Browse all 21093

Re: Manually adding an custom application

You have some shell script that starts the JBoss Server. The default is "run.sh".

 

Linux:

  1. Edit $JBOSS_HOME/bin/run.sh by adding the following lines (where $JBOSS_HOME$ is the path to your JBoss installation):
    JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
    JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
    JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=192.168.0.236"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=8686"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=true"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.password.file=" /jmxremote/jmxremote.password""
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.access.file=/jmxremote/jmxremote.access""
    where 192.168.0.236 is the IP address of JBoss server.

The above lines should go before the following section:# Display our environmentecho "========================================================================="echo ""echo " JBoss Bootstrap Environment"echo ""echo " JBOSS_HOME: $JBOSS_HOME"echo ""echo " JAVA: $JAVA"echo ""echo " JAVA_OPTS: $JAVA_OPTS"echo ""echo " CLASSPATH: $JBOSS_CLASSPATH"echo ""echo "========================================================================="echo ""

  1. Run JBoss by running$JBOSS_HOME/bin/run.sh.

Viewing all articles
Browse latest Browse all 21093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>