[jboss-jira] [JBoss JIRA] (AS7-4968) Do not use java.util.logging.Logger
James Perkins (JIRA)
jira-events at lists.jboss.org
Fri Jun 8 14:44:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list