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

Claus Ibsen commented on CAMEL-637:
-----------------------------------

William. I can see the problem is that the JMX Agent is still started even 
though I have disabled it in the Spring XML files.

{code}
[06-27 06:41:43] DEBUG DefaultInstrumentationAgent [WebContainer : 0]: Starting 
JMX agent on server: [EMAIL PROTECTED]
{code}

{code}
    <!-- we use the Camel Java DSL for routing but you can also do it in this 
xml file instead -->
    <camel:camelContext id="camel" useJmx="false">
        <camel:package>dk.regionh.camel</camel:package>
        <camel:jmxAgent id="agent" disabled="true"/>
    </camel:camelContext>
{code}

And when the application is stopped then the mbeans can't be unregistered:
{code}
[06-27 06:42:56] INFO  DefaultInstrumentationAgent [WebContainer : 0]: 
Exception unregistering MBean
javax.management.InstanceNotFoundException: 
org.apache.camel:context=claus-acer/camel,route=[timer]//hello%3fperiod%3d5000,type=processor,name="Bean[ref:
 business]"
{code}

I will attach log output and the sample project.

> Camel JMX could have problems in WebSphere 6.1 environment
> ----------------------------------------------------------
>
>                 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: regh-camel-example.log, regh-camel-helloworld.rar
>
>
> All the great new Camel JMX stuff should be tested if it works on WebSphere 
> 6.1.
> Currently I have disabled it in my sample hello world app.
> Sorry for creating a ticket here, but otherwise I might forget to test it 
> during my business work days.

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

Reply via email to