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.
environment variables:
start up jboss with following parameters:
Error:
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
so to fix the error above. I have added logmanager parameter below.
start up jboss using parameters:
ERROR:
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
so to fix error above. I have added -xbootclasspath parameter.
start up jboss using parameters:
ERROR:
and now I have no idea what to do. I have tried reinstalling jdk but no luck.
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.
environment variables:
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:
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:
WARNING: failed to load the specified log manager class org.jboss.logmanager.LogManager
Error: Operation <"parallel-extension-add"> failed - address:<[]>
java.lang.RuntimeException: failed initializing module org.jboss.as.logging
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
so to fix the error above. I have added logmanager parameter below.
start up jboss using parameters:
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 "
ERROR:
Code:
Could not load Logmanager "org.jboss.logmanager.LogManager" java.lang.ClassNotFoundException: org.jboss.logmanager.logManager
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
=============== =============== =============== =============== ==============
so to fix error above. I have added -xbootclasspath parameter.
start up jboss using parameters:
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 "
ERROR:
Code:
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
and now I have no idea what to do. I have tried reinstalling jdk but no luck.
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.
Comment