title: Unable to start jboss 7.1.1
body: <p>I am unable to start jboss 7.1.1 server on the server,</p>
  
  <p>I have set both JAVA_HOME and JBOSS_home.</p>
  
  <p>for some reason it stops after </p>
  
  <p>'if errorlevel 1 ( "" -XX:+TieredCompilation -version 1>nul 2>&amp;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" ) ) )}'</p>
  
  <p><em><strong>Below is the log generated</em></strong> </p>
  
  <blockquote>
    <p>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. )</p>
    
    <p>C:\jboss-as-7.1.1.Final\bin>set DIRNAME=</p>
    
    <p>C:\jboss-as-7.1.1.Final\bin>if "Windows_NT" == "Windows_NT" (set
    "PROGNAME=stand alone.bat" )  else (set "PROGNAME=standalone.bat" )</p>
    
    <p>C:\jboss-as-7.1.1.Final\bin>rem Setup JBoss specific properties</p>
    
    <p>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</p>
    
    <p>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. )</p>
    
    <p>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</p>
    
    <p>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>&amp;1  | findstr /I
    /C:"Client VM"  1>nul</p>
    
    <p>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" ) )</p>
    
    <p>rem Add compressed oops, if supported (64 bit VM), and not overriden</p>
    
    <p>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</p>
    
    <p>if errorlevel 1 ( "" -XX:+UseCompressedOops -version  1>nul 2>&amp;1</p>
    
    <p>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" ) )</p>
    
    <p>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</p>
    
    <p>if errorlevel 1 ( "" -XX:+TieredCompilation -version  1>nul 2>&amp;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" ) ) )}</p>
  </blockquote>