0 Replies Latest reply on Sep 23, 2013 2:38 PM by PREM KUMAR N V

    Unable to start jboss 7.1.1

    PREM KUMAR N V Newbie

      I am unable to start jboss 7.1.1 server on the server,

      I have set both JAVA_HOME and JBOSS_home.

      for some reason it stops after

      'if errorlevel 1 ( "" -XX:+TieredCompilation -version 1>nul 2>&1 if not errorlevel 1 (set "JAVA_OPTS=-XX:+TieredCompilation -Dprogram.name=stand alone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval= 3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" ) ) )}'

      Below is the log generated

      {C:\jboss-as-7.1.1.Final\bin>rem #

      C:\jboss-as-7.1.1.Final\bin>rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is

      C:\jboss-as-7.1.1.Final\bin>rem # not set. Default is "java".

      C:\jboss-as-7.1.1.Final\bin>rem #

      C:\jboss-as-7.1.1.Final\bin>rem set "JAVA=C:\Program Files\Java\jdk1.6.0_18\bin\ java"

      C:\jboss-as-7.1.1.Final\bin>rem #

      C:\jboss-as-7.1.1.Final\bin>rem # Specify options to pass to the Java VM. Note, there are some additional

      C:\jboss-as-7.1.1.Final\bin>rem # options that are always passed by run.bat.

      C:\jboss-as-7.1.1.Final\bin>rem #

      C:\jboss-as-7.1.1.Final\bin>rem # JVM memory allocation pool parameters - modify as appropriate.

      C:\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M "

      C:\jboss-as-7.1.1.Final\bin>rem # Reduce the RMI GCs to once per hour for Sun JV Ms.

      C:\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true"

      C:\jboss-as-7.1.1.Final\bin>rem # Warn when resolving remote XML DTDs or schemas .

      C:\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true"

      C:\jboss-as-7.1.1.Final\bin>rem # Make Byteman classes visible in all module loa ders

      C:\jboss-as-7.1.1.Final\bin>rem # This is necessary to inject Byteman rules into AS7 deployments

      C:\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modul es.system.pkgs=org.jboss.byteman"

      C:\jboss-as-7.1.1.Final\bin>rem # Set the default configuration file to use if - c or --server-config are not used

      C:\jboss-as-7.1.1.Final\bin>set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modul es.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml"

      C:\jboss-as-7.1.1.Final\bin>rem # Sample JPDA settings for remote socket debuggi ng

      C:\jboss-as-7.1.1.Final\bin>rem set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize= 256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=360 0000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.m odules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xm l -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

      C:\jboss-as-7.1.1.Final\bin>rem # Sample JPDA settings for shared memory debuggi ng

      C:\jboss-as-7.1.1.Final\bin>rem set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize= 256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=360 0000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.m odules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xm l -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"

      C:\jboss-as-7.1.1.Final\bin>rem # Use JBoss Modules lockless mode

      C:\jboss-as-7.1.1.Final\bin>rem set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MaxPermSize= 256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=360 0000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.m odules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xm l -Djboss.modules.lockless=true"

      C:\jboss-as-7.1.1.Final\bin>pushd C:\jboss-as-7.1.1.Final\bin..

      C:\jboss-as-7.1.1.Final>set "RESOLVED_JBOSS_HOME=C:\jboss-as-7.1.1.Final"

      C:\jboss-as-7.1.1.Final>popd

      C:\jboss-as-7.1.1.Final\bin>if "xC:\jboss-as-7.1.1.Final" == "x" (set "JBOSS_HOM E=C:\jboss-as-7.1.1.Final" )

      C:\jboss-as-7.1.1.Final\bin>pushd "C:\jboss-as-7.1.1.Final"

      C:\jboss-as-7.1.1.Final>set "SANITIZED_JBOSS_HOME=C:\jboss-as-7.1.1.Final"

      C:\jboss-as-7.1.1.Final>popd

      C:\jboss-as-7.1.1.Final\bin>if "C:\jboss-as-7.1.1.Final" NEQ "C:\jboss-as-7.1.1. Final" (echo WARNING JBOSS_HOME may be pointing to a different installation - un predictable results may occur. )

      C:\jboss-as-7.1.1.Final\bin>set DIRNAME=

      C:\jboss-as-7.1.1.Final\bin>if "Windows_NT" == "Windows_NT" (set "PROGNAME=stand alone.bat" ) else (set "PROGNAME=standalone.bat" )

      C:\jboss-as-7.1.1.Final\bin>rem Setup JBoss specific properties

      C:\jboss-as-7.1.1.Final\bin>set JAVA_OPTS=-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi. dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolv er.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.def ault.config=standalone.xml

      C:\jboss-as-7.1.1.Final\bin>if "xC:\Program Files\Java\jdk1.6.0_18; E:\Program F iles\Java\jdk1.6.0_18;" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message. )

      C:\jboss-as-7.1.1.Final\bin>if not "" == "true" ( rem Add -client to the JVM options, if supported (32 bit VM), and not overriden

      echo "-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun .rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djav a.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.sys tem.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" | fin dstr /I -server 1>nul if errorlevel 1 ( "" -client -version 2>&1 | findstr /I /C:"Client VM" 1>nul

      if not errorlevel 1 (set "JAVA_OPTS=-client -Dprogram.name=standalone.bat -Xms6 4M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.r mi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.res olver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server. default.config=standalone.xml" ) )

      rem Add compressed oops, if supported (64 bit VM), and not overriden

      echo "-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun .rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djav a.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.sys tem.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" | fin dstr /I "-XX:-UseCompressedOops -client" 1>nul

      if errorlevel 1 ( "" -XX:+UseCompressedOops -version 1>nul 2>&1

      if not errorlevel 1 (set "JAVA_OPTS=-XX:+UseCompressedOops -Dprogram.name=stand alone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval= 3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" ) )

      rem Add tiered compilation, if supported (64 bit VM), and not overriden echo "-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun .rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djav a.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.sys tem.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" | fin dstr /I "-XX:-TieredCompilation -client" 1>nul

      if errorlevel 1 ( "" -XX:+TieredCompilation -version 1>nul 2>&1 if not errorlevel 1 (set "JAVA_OPTS=-XX:+TieredCompilation -Dprogram.name=stand alone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval= 3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml" ) ) )}