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 03:51:45 UTC

[jira] [Comment Edited] (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=14746658#comment-14746658 ] 

Howard Nguyen edited comment on ARTEMIS-224 at 9/16/15 1:51 AM:
----------------------------------------------------------------

I have been playing around with artemis-cli artemis.profile and artemis.profile.cmd. 
Not sure what is a good way to automate version of  jboss-logmanager jar (i.e. currently 1.5.3.Final)

Tried asterisk and didn't work
{code}
-Xbootclasspath/a:$ARTEMIS_HOME/lib/jboss-logmanager-*.jar
{code}

Furthermore, no good to way to write a test to check this particular bug in artemis-cli.


was (Author: khaing211):
I have been playing around with artemis-cli artemis.profile and artemis.profile.cmd. 
Not sure what is a good way to automate version of  jboss-logmanager jar (i.e. currently 1.5.3.Final)
Furthermore, no good to way to write a test to check this particular bug in artemis-cli.

> 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)