[
https://jira.jboss.org/browse/JBAS-8320?page=com.atlassian.jira.plugin.sy...
]
Emanuel Muckenhuber commented on JBAS-8320:
-------------------------------------------
using OpenJDK i get a similar error:
16:18:17,174 ERROR [stderr] Exception in thread "main"
java.lang.IllegalStateException: The LogManager was not properly installed (you must set
the "java.util.logging.manager" system property to
"org.jboss.logmanager.LogManager")
16:18:17,174 ERROR [stderr] at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
16:18:17,175 ERROR [stderr] at org.jboss.as.server.Main.main(Main.java:63)
16:18:17,175 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
16:18:17,176 ERROR [stderr] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
16:18:17,176 ERROR [stderr] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:18:17,177 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:616)
16:18:17,178 ERROR [stderr] at org.jboss.modules.Module.run(Module.java:105)
16:18:17,178 ERROR [stderr] at org.jboss.modules.Main.main(Main.java:160)
16:18:17,206 ERROR [Server:server-two] Output stream handler for process Server:server-two
caught an exception; shutting down: java.io.EOFException
at org.jboss.as.process.StreamUtils.readChar(StreamUtils.java:59)
at org.jboss.as.process.StreamUtils.readWord(StreamUtils.java:44)
at org.jboss.as.process.ManagedProcess$OutputStreamHandler.run(ManagedProcess.java:157)
at java.lang.Thread.run(Thread.java:636) [:1.6.0_18]
16:18:17,217 ERROR [stderr] Exception in thread "main"
java.lang.IllegalStateException: The LogManager was not properly installed (you must set
the "java.util.logging.manager" system property to
"org.jboss.logmanager.LogManager")
16:18:17,217 ERROR [stderr] at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
16:18:17,218 ERROR [stderr] at org.jboss.as.server.Main.main(Main.java:63)
16:18:17,218 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
16:18:17,219 ERROR [stderr] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
16:18:17,219 ERROR [stderr] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:18:17,219 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:616)
16:18:17,220 ERROR [stderr] at org.jboss.modules.Module.run(Module.java:105)
16:18:17,221 ERROR [stderr] at org.jboss.modules.Main.main(Main.java:160)
16:18:17,257 ERROR [Server:server-one] Output stream handler for process Server:server-one
caught an exception; shutting down: java.io.EOFException
at org.jboss.as.process.StreamUtils.readChar(StreamUtils.java:59)
at org.jboss.as.process.StreamUtils.readWord(StreamUtils.java:44)
at org.jboss.as.process.ManagedProcess$OutputStreamHandler.run(ManagedProcess.java:157)
at java.lang.Thread.run(Thread.java:636) [:1.6.0_18]
Logging initialization
----------------------
Key: JBAS-8320
URL:
https://jira.jboss.org/browse/JBAS-8320
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Modules
Reporter: Alexey Loubyansky
Assignee: David Lloyd
Fix For: 7.0.0.M1
The following exception is thrown during the start-up on windows (Sun JDK).
The system property is in fact set as the error message suggests and I can successfully
invoke
java.util.logging.Logger logger =
java.util.logging.Logger.getLogger("mylogger");
System.out.println(logger.getClass().getName() + " " +
logger.getClass().getClassLoader().getClass().getName() + " " +
logger.getClass().getClassLoader());
from ManagedProcess just before
this.log = Logger.getLogger("org.jboss.process." + processName);
(which causes the error) and output will be
org.jboss.logmanager.Logger org.jboss.modules.ModuleClassLoader ClassLoader for Module
"module:org.jboss.logmanager:jboss-logmanager"
Exception in thread "main" 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.logging.JBossLogManagerProvider.doGetLogger(JBossLogManagerProvider.java:55)
at
org.jboss.logging.JBossLogManagerProvider.getLogger(JBossLogManagerProvider.java:46)
at org.jboss.logging.Logger.getLogger(Logger.java:2222)
at org.jboss.as.process.ManagedProcess.<init>(ManagedProcess.java:66)
at
org.jboss.as.process.ProcessManagerMaster.addProcess(ProcessManagerMaster.java:64)
at org.jboss.as.process.ProcessManagerMaster.main(ProcessManagerMaster.java:52)
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:105)
at org.jboss.modules.Main.main(Main.java:169)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira