[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Resolved: (AMQ-1436) Using the connectionDotFilePlugin with
From:       "Rob Davies (JIRA)" <jira () apache ! org>
Date:       2008-09-24 15:03:52
Message-ID: 339631686.1222268632799.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/activemq/browse/AMQ-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Rob Davies resolved AMQ-1436.
-----------------------------

    Resolution: Fixed

Fixed by SVN revision 698603

> Using the connectionDotFilePlugin with a Broker not named localhost causes a \
>                 NullPointerException
> -------------------------------------------------------------------------------------------------
>  
> Key: AMQ-1436
> URL: https://issues.apache.org/activemq/browse/AMQ-1436
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Steve Young
> Assignee: Rob Davies
> Priority: Minor
> Fix For: 5.3.0
> 
> 
> To recrate, define a broker in your ActiveMQ config file and specify the name, \
> e.g.: <broker brokerName="MyBroker" useJmx="true" persistent="true" \
> xmlns="http://activemq.org/config/1.0"> <plugins>
> <connectionDotFilePlugin />
> </plugins -->
> When starting the container a NPE is thrown if no broker called "localhost" is \
> present.  Changing the name of the broker above to "localhost" stops the problem \
> and the .dot files is generated normally. FYI The problem appears to be in:
> http://activemq.apache.org/maven/activemq-core/xref/org/apache/activemq/broker/view/ConnectionDotFileInterceptor.html
>                 
> ...specifically the hardcoded string in this line is in the constuctor:
> ObjectName brokerName = new ObjectName(domain + \
> ":Type=Broker,BrokerName=localhost");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic