You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Beat Glattfelder (JIRA)" <ji...@apache.org> on 2010/10/13 16:35:40 UTC

[jira] Created: (CAMEL-3231) JMX MBeans not registered for initiators

JMX MBeans not registered for initiators
----------------------------------------

                 Key: CAMEL-3231
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 2.5.0
         Environment: all
            Reporter: Beat Glattfelder


registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Resolved: (CAMEL-3231) JMX MBeans not registered for initiators

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

Claus Ibsen resolved CAMEL-3231.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.0
         Assignee: Claus Ibsen

trunk: 1022678.

Thanks Beat for the patch.

Tested it with both JDK 1.5 and 1.6.

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>         Attachments: camel-3231.txt, QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Commented: (CAMEL-3231) JMX MBeans not registered for initiators

Posted by "Beat Glattfelder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62570#action_62570 ] 

Beat Glattfelder commented on CAMEL-3231:
-----------------------------------------

Where do you get the errors, in the unit tests?

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: camel-3231.txt, QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Commented: (CAMEL-3231) JMX MBeans not registered for initiators

Posted by "Beat Glattfelder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62575#action_62575 ] 

Beat Glattfelder commented on CAMEL-3231:
-----------------------------------------

I have patched both "enableJmx.." test methods and they both passed

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: camel-3231.txt, QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Updated: (CAMEL-3231) JMX MBeans not registered for initiators

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

Beat Glattfelder updated CAMEL-3231:
------------------------------------

    Attachment: QuickfixjEngineTest.java

... and the updated unit test

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Commented: (CAMEL-3231) JMX MBeans not registered for initiators

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62573#action_62573 ] 

Hadrian Zbarcea commented on CAMEL-3231:
----------------------------------------

Yes, 2 of the tests in QuickfixjEngineTest.

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: camel-3231.txt, QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Updated: (CAMEL-3231) JMX MBeans not registered for initiators

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

Beat Glattfelder updated CAMEL-3231:
------------------------------------

    Attachment: QuickfixjEngine.java

Moved the JMX registration to the start() method

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: QuickfixjEngine.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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


[jira] Updated: (CAMEL-3231) JMX MBeans not registered for initiators

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

Hadrian Zbarcea updated CAMEL-3231:
-----------------------------------

    Attachment: camel-3231.txt

Hi Beat,

It is easier to review if you attach just the patch, not the whole file. I edited the files manually and created the patch that reflects your changes (`svn diff > patch.txt` if you use svn).

However I get 2 QFJ mbean not registered errors this patch seems to introduce and I'll have to look into before applying it (unless you beat me to it).

Many thanks for the patch!

> JMX MBeans not registered for initiators
> ----------------------------------------
>
>                 Key: CAMEL-3231
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3231
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: all
>            Reporter: Beat Glattfelder
>         Attachments: camel-3231.txt, QuickfixjEngine.java, QuickfixjEngineTest.java
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> registering the Initiator before it has been started will not register the sessions mbeans with JMX. So the acceptors are ther, but no initiators.

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