title: Jboss log manager error
body: <p>I am trying to start up JBoss with parameters in Windows but getting some errors.  If I remove parameters than JBoss startup iwht no errors. Could some one please take a look. </p>
  
  <p><strong><em>environment variables:</em></strong></p>
  
  <pre><code>JAVA_HOME=C:\Java\jdk1.6.0_45
  JBOSS_HOME=C:\bin\jboss-eap-6.1
  Path=C:\Java\jdk1.6.0_45\bin;C:\WINDOWS\system32;
  </code></pre>
  
  <p><strong><em>start up jboss with following parameters:</em></strong></p>
  
  <pre><code>set "JAVA_OPTS=%JAVA_OPTS% 
      -Djava.rmi.server.hostname=myhost
      -Dcom.sun.management.jmxremote.port=myport
      -Dcom.sun.management.jmxremote.ssl=false
      -Dcom.sun.management.jmxremote.authenticate=true
     -Dcom.sun.management.jmxremote.password.file=C:\Java\jdk\jre\lib\management\jmx.password
     -Dcom.sun.management.jmxremote.access.file=C:\Java\jdk\jre\lib\management\jmx.access
  "
  </code></pre>
  
  <p><strong><em>Error:</em></strong></p>
  
  <pre><code>WARNING: failed to load the specified log manager class org.jboss.logmanager.LogManager
  Error: Operation &lt;"parallel-extension-add"&gt; failed - address:&lt;[]&gt;
                     java.lang.RuntimeException: failed initializing module org.jboss.as.logging
  </code></pre>
  
  <p>==========================================================================</p>
  
  <p>so to fix the error above. I have added logmanager parameter below.</p>
  
  <p><strong><em>start up jboss using parameters:</em></strong></p>
  
  <pre><code>set "JAVA_OPTS=%JAVA_OPTS%
  -Djava.util.logging.manager=org.jboss.logmanager.LogManager
  -Djava.rmi.server.hostname=myhost
  -Dcom.sun.management.jmxremote.port=myport
  -Dcom.sun.management.jmxremote.ssl=false
  -Dcom.sun.management.jmxremote.authenticate=true
  -Dcom.sun.management.jmxremote.password.file=C:\Java\jdk\jre\lib\management\jmx.password
  -Dcom.sun.management.jmxremote.access.file=C:\Java\jdk\jre\lib\management\jmx.access
  ​"
  </code></pre>
  
  <p><strong><em>ERROR:</em></strong></p>
  
  <pre><code>Could not load Logmanager "org.jboss.logmanager.LogManager"
  java.lang.ClassNotFoundException: org.jboss.logmanager.logManager
  </code></pre>
  
  <p>==========================================================================</p>
  
  <p>so to fix error above. I have added -xbootclasspath parameter.</p>
  
  <p><strong><em>start up jboss using parameters:</em></strong></p>
  
  <pre><code>set "JAVA_OPTS=%JAVA_OPTS%
  -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
  -Xbootclasspath:C:\bin\jboss-eap-6.1\modules\system\layers\base\org\jboss\logmanager\main\jboss-logmanager-1.4.0.Final-redhat-1.jar
  
  -Djava.rmi.server.hostname=myhost
  -Dcom.sun.management.jmxremote.port=myport
  -Dcom.sun.management.jmxremote.ssl=false
  -Dcom.sun.management.jmxremote.authenticate=true
  -Dcom.sun.management.jmxremote.password.file=C:\Java\jdk\jre\lib\management\jmx.password
  -Dcom.sun.management.jmxremote.access.file=C:\Java\jdk\jre\lib\management\jmx.access
  ​"
  </code></pre>
  
  <p><strong><em>ERROR:</em></strong></p>
  
  <pre><code>Error occurred during initialization of VM
  java/lang/NoClassDefFoundError: java/lang/Object
  </code></pre>
  
  <p>and now I have no idea what to do. I have tried reinstalling jdk but no luck.  </p>
  
  <p>when I enter "java -version" in CMD. Than I get result: "1.6.0_45". So I know jdk is set up. but when I start Jboss than jdk is not initialization.</p>