[jboss-dev-forums] [JBoss AS 7 Development] - Not starting with standard Sun JMX options

Roberto Beeman do-not-reply at jboss.com
Mon Nov 28 13:09:23 EST 2011


Roberto Beeman [http://community.jboss.org/people/robertobeeman] created the discussion

"Not starting with standard Sun JMX options"

To view the discussion, visit: http://community.jboss.org/message/638723#638723

--------------------------------------------------------------
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
[http://community.jboss.org/message/638723#638723]

Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111128/cb001e11/attachment.html 


More information about the jboss-dev-forums mailing list