qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-4602) Java broker fails to start if the default log4j configuration is used
Date Mon, 11 Mar 2013 11:49:13 GMT

     [ https://issues.apache.org/jira/browse/QPID-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbie Gemmell resolved QPID-4602.
----------------------------------

    Resolution: Fixed

No comments. resolves defect from changes in QPID-4390.
                
> Java broker fails to start if the default log4j configuration is used
> ---------------------------------------------------------------------
>
>                 Key: QPID-4602
>                 URL: https://issues.apache.org/jira/browse/QPID-4602
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.21
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.21
>
>
> The commit in revision https://svn.apache.org/repos/asf/qpid/trunk@1448306 broke java
system tests. The log4j configuration location is not correctly passed into the spawn broker
command line if it contains spaces. As result, a default log4j configuration is used but LoggingManagementFacade
is not created for it and NullPointerException is thrown from JMXManagement on trying to create
LoggingManagementMBean:
> {noformat}
> Exception during startup: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.qpid.server.jmx.mbeans.LoggingManagementMBean.buildAllAvailableLoggerLevelsWithInheritedPsuedoLogLevel(LoggingManagementMBean.java:323)
> 	at org.apache.qpid.server.jmx.mbeans.LoggingManagementMBean.<init>(LoggingManagementMBean.java:87)
> 	at org.apache.qpid.server.jmx.JMXManagement.start(JMXManagement.java:190)
> 	at org.apache.qpid.server.jmx.JMXManagement.setState(JMXManagement.java:110)
> 	at org.apache.qpid.server.model.adapter.AbstractAdapter.setDesiredState(AbstractAdapter.java:94)
> 	at org.apache.qpid.server.model.adapter.BrokerAdapter.changeState(BrokerAdapter.java:707)
> 	at org.apache.qpid.server.model.adapter.BrokerAdapter.setState(BrokerAdapter.java:675)
> 	at org.apache.qpid.server.model.adapter.AbstractAdapter.setDesiredState(AbstractAdapter.java:94)
> 	at org.apache.qpid.server.configuration.updater.ChangeStateTask.call(ChangeStateTask.java:59)
> 	at org.apache.qpid.server.configuration.updater.ChangeStateTask.call(ChangeStateTask.java:28)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutor.executeTask(TaskExecutor.java:213)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutor.access$200(TaskExecutor.java:46)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper$1.run(TaskExecutor.java:252)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper.call(TaskExecutor.java:247)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message