You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Howard Nguyen (JIRA)" <ji...@apache.org> on 2015/09/16 00:22:46 UTC

[jira] [Commented] (ARTEMIS-224) java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager

    [ https://issues.apache.org/jira/browse/ARTEMIS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14746384#comment-14746384 ] 

Howard Nguyen commented on ARTEMIS-224:
---------------------------------------

After a bit of googling, I found that the java opt in artemis.profile should have the following

{code}
-Xbootclasspath/a:$ARTEMIS_HOME/lib/jboss-logmanager-1.5.3.Final.jar
-Djava.util.logging.manager=org.jboss.logmanager.LogManager
{code}

> java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
> -----------------------------------------------------------------
>
>                 Key: ARTEMIS-224
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-224
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Howard Nguyen
>
> When configure artemis.profile under bin of the broker installation with 
> {code}
> -Dcom.sun.management.jmxremote.port=8686 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
> {code}
> Log does not work and console output show the following
> {code}
> Could not load Logmanager "org.jboss.logmanager.LogManager"
> java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	at java.util.logging.LogManager$1.run(LogManager.java:195)
> 	at java.util.logging.LogManager$1.run(LogManager.java:181)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.util.logging.LogManager.<clinit>(LogManager.java:181)
> 	at java.util.logging.Logger.demandLogger(Logger.java:448)
> 	at java.util.logging.Logger.getLogger(Logger.java:502)
> 	at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:55)
> 	at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:814)
> 	at sun.management.Agent.startAgent(Agent.java:257)
> 	at sun.management.Agent.startAgent(Agent.java:447)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)