activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renaud Bruyeron (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-950) createConnector="false" has no effect on Tiger
Date Tue, 03 Oct 2006 10:12:09 GMT
    [ https://issues.apache.org/activemq/browse/AMQ-950?page=comments#action_37078 ] 
            
Renaud Bruyeron commented on AMQ-950:
-------------------------------------


me again,

sorry, I meant to say that I plan to look into this issue with the latest snapshots - I don't
have time right now but it is on my todo to provide more info on the problem I am seeing ;-)


> createConnector="false" has no effect on Tiger
> ----------------------------------------------
>
>                 Key: AMQ-950
>                 URL: https://issues.apache.org/activemq/browse/AMQ-950
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.1
>         Environment: JDK 1.5.0_08
>            Reporter: Renaud Bruyeron
>            Priority: Minor
>             Fix For: 4.1
>
>
> On Tiger, activemq always creates a rmi connector on port 1099 no matter what I do with
-Djavax.management... and <managementContext/>
> In particular, setting createConnector="false" should prevent AMQ from setting up its
own connector, but it does not.
> The problem is in the findMBeanServer() method:
>             if (result == null && createMBeanServer) {
>                 result = createMBeanServer();
>             }
>             else {
>                 createConnector(result);
>             }
> result is not null on Tiger with useJmx="true", and createConnector is not protected
by if(createConnector) like it is on the non-Tiger flow.
> The fix (I think) is simply to do this:
>             if (result == null && createMBeanServer) {
>                 result = createMBeanServer();
>             }
>             else {
>                 if(createConnector){
>                       createConnector(result);
>                 }
>             }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message