简体   繁体   中英

JBoss 7.1.x wont start in Fedora 18

Here is a problem - JBoss throws the following an error at startup :

Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.jboss.as.server.Main.main(Main.java:73)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.jboss.modules.Module.run(Module.java:260)
    at org.jboss.modules.Main.main(Main.java:291)
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)

this is an old issue and i believe was fixed here a while ago. The difference here that i do not have jmx parameters at startup.

The things I've been noticed:

  • same error pops up in both Oracle's and OpenJDK jdk
  • adding parameter -Djava.util.logging.manager=org.jboss.logmanager.LogManager to the /bin/standalone.conf as suggested here just generates the same error (not ClassNotFound as should be expected)
  • i also tried to move jboss-logmanager-xxx.jar to /bin directory but no luck

Any ideas?

当我返回到Oracle的JDK并以替代方式更改了这个新的jdk时,问题得到了解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM