]
James Perkins reassigned AS7-4968:
----------------------------------
Assignee: James Perkins
Do not use java.util.logging.Logger
-----------------------------------
Key: AS7-4968
URL:
https://issues.jboss.org/browse/AS7-4968
Project: Application Server 7
Issue Type: Feature Request
Reporter: ron zo
Assignee: James Perkins
There are many issues which will cause an exception with the message:
""The LogManager was not properly installed""
This is due to the fact that jboss assumes that it is the first to initialize/load
java.util.logging.LogManager.
In case the java LogManager is loaded within a different classloader than the one which
is expected by jboss, the server will not start and will log the above error message.
Whereas most classes will load the log manager within the system classloader, jboss is
loading it within another classloader.
Therefore setting -Djava.util.logging.manager=org.jboss.logmanager.LogManager does not
help.
This is the case when starting the server with -Dcom.sun.management.jmxremote.
This is also the case when using a wrapper (
sourceforge.net/projects/yajsw)
or any other java class, wrapper or agent.
The best solution will be to avoid using java.util.logging as its implementation is
causing more harm than good and switch to some internal logging api.
-- Ron
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: