JBoss Community

Not starting with standard Sun JMX options

created by Roberto Beeman in JBoss AS 7 Development - View the full discussion

Hi,

 

   I am trying to start JBoss with the following JAVA_OPTS and the JBoss is not coming up:

 

./standalone.sh -c standalone-full.xml

=========================================================================

    JBoss Bootstrap Environment

    JBOSS_HOME: /home/roberto/jboss-as-7.1.0.Beta1

    JAVA: /home/roberto/jdk1.6.0_21/bin/java

 

  JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=4545 -Dcom.sun.management.jmxremote.authenticate=false

 

 

=========================================================================

  WARNING: Failed to load the specified logmodule org.jboss.logmanager:main

Exception in thread "main" java.lang.ExceptionInInitializerError

          at org.jboss.as.server.Main.main(Main.java:90)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.modules.Module.run(Module.java:243)

          at org.jboss.modules.Main.main(Main.java:313)

Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")

          at org.jboss.logmanager.Logger.getLogger(Logger.java:60)

          at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)

          ... 7 more

 

 

If i remove the JAVA_OPTS which are high lighted above then everything works fine.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community