You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/17 06:44:39 UTC

[jira] Created: (CAMEL-1462) JMXAgent - If no privileges then lifecycle is null

JMXAgent - If no privileges then lifecycle is null
--------------------------------------------------

                 Key: CAMEL-1462
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1462
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 1.6.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0, 1.6.1


If you run Camel on OC4j then it will by default not grant access to its JMX MbeanServer.

So if you use jmxAgent in Camel spring configuration it is setup but Camel cannot access it and it causes a NPE when you do endpoint lookup later.

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


[jira] Resolved: (CAMEL-1462) JMXAgent - If no privileges then lifecycle is null

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1462.
--------------------------------

    Resolution: Fixed

Trunk: Committed revision 755136.
1.x: Committed revision 755138.

Camel will now fallback to Non JMX if it cannot access it on Camel context startup.
It is logged at WARN level.

> JMXAgent - If no privileges then lifecycle is null
> --------------------------------------------------
>
>                 Key: CAMEL-1462
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1462
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> If you run Camel on OC4j then it will by default not grant access to its JMX MbeanServer.
> So if you use jmxAgent in Camel spring configuration it is setup but Camel cannot access it and it causes a NPE when you do endpoint lookup later.

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