camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-637) Camel JMX does not work in WebSphere 6.1
Date Sat, 28 Jun 2008 03:05:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43764#action_43764
] 

William Tam commented on CAMEL-637:
-----------------------------------

It turns out that you have to either set the "usePlatformMBeanServer" flag to true or set
the mbeanServerDefaultDomain to "WebSphere".

That is, do this:

        <camel:jmxAgent id="agent" createConnector="true"  usePlatformMBeanServer="true"/>
or
        <camel:jmxAgent id="agent" createConnector="true"  mbeanServerDefaultDomain="WebSphere"/>

The usePlatformMBeanServer would be a better option.

The problem is the implementation of MBeanServerFactory.createMBeanServer("domain.name") 
does not return a mbeanserrver with the expected default domain name.  The instance of mbeanserver
that associated with the connector does not seem to be the instance that registered the camel
mbeans.


> Camel JMX does not work in WebSphere 6.1
> ----------------------------------------
>
>                 Key: CAMEL-637
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-637
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: mbean_registration_patch.txt, patch.txt, regh-camel-example.log,
regh-camel-helloworld.rar, screenshot-1.jpg
>
>
> All the great new Camel JMX stuff should be tested if it works on WebSphere 6.1.

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


Mime
View raw message