You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org> on 2008/10/27 07:26:44 UTC

[jira] Created: (QPID-1401) QMan on JBoss

QMan on JBoss 
--------------

                 Key: QPID-1401
                 URL: https://issues.apache.org/jira/browse/QPID-1401
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
    Affects Versions: M4
         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
            Reporter: Andrea Gazzarini
             Fix For: M4
         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG

Hi all, 
what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :

- 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
- 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
- 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
- 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
- 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.

So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 

1) Create a simple war with a preloaded servlet on startup (QMan initializer);
2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 

And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!

In addition 

- the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
- each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;

As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.

Best Regards,
Andrea

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


[jira] Resolved: (QPID-1401) QMan on JBoss

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon resolved QPID-1401.
--------------------------------

    Resolution: Fixed

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG, MethodInvocationTest.java, QManServlet.java, web.xml
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Updated: (QPID-1401) QMan on JBoss

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1401:
-----------------------------------

    Attachment: 3_jboss-jmx-console-showing-qman-session-mbean.JPG
                2_jmx-console-showing-qman-mbeans.JPG
                1_jboss-web-console-showing-qman-mbeans.JPG

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Assigned: (QPID-1401) QMan on JBoss

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon reassigned QPID-1401:
----------------------------------

    Assignee: Arnaud Simon

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG, MethodInvocationTest.java, QManServlet.java, web.xml
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Updated: (QPID-1401) QMan on JBoss

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1401:
-----------------------------------

    Attachment: 5_queue.purge_method_invocation_result.JPG
                4_method_invocation_exception.JPG

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Updated: (QPID-1401) QMan on JBoss

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1401:
-----------------------------------

    Attachment: web.xml
                QManServlet.java

Hi, those are the files needed in order to deploy QMan inside JBoss.

- org.apache.qpid.management.servlet.QManServlet : A simple servlet that is managing the QMan instance lifecycle (start & stop)
- web.xml : the web deployment descriptor containing the servlet definition.

Regards,
Andrea 

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG, QManServlet.java, web.xml
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Updated: (QPID-1401) QMan on JBoss

Posted by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Gazzarini updated QPID-1401:
-----------------------------------

    Attachment: MethodInvocationTest.java

Hi Arnaud, this is the working version of "MethodInvocation" online test.
Note that QpidTestCase should be extended by its superclass (org.apache.qpid.management.online.BaseOnlineTestCase).
Could you do those changes for me?

- replace MethodInvocationTest;
- modify the superclass of BaseOnlineTestCase (at the moment it extends TestCase)

Regards,
Andrea

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG, MethodInvocationTest.java, QManServlet.java, web.xml
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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


[jira] Updated: (QPID-1401) QMan on JBoss

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon updated QPID-1401:
-------------------------------

    Status: Ready To Review  (was: In Progress)

> QMan on JBoss 
> --------------
>
>                 Key: QPID-1401
>                 URL: https://issues.apache.org/jira/browse/QPID-1401
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>         Environment: J2SE 1.5 or higher, JBoss 4.2.x or higher
>            Reporter: Andrea Gazzarini
>            Assignee: Arnaud Simon
>             Fix For: M4
>
>         Attachments: 1_jboss-web-console-showing-qman-mbeans.JPG, 2_jmx-console-showing-qman-mbeans.JPG, 3_jboss-jmx-console-showing-qman-session-mbean.JPG, 4_method_invocation_exception.JPG, 5_queue.purge_method_invocation_result.JPG, MethodInvocationTest.java, QManServlet.java, web.xml
>
>
> Hi all, 
> what do you think about the attached screenshot? It's QMan deployed on JBoss Application Server!  :
> - 1_jboss-web-console-showing-qman-mbeans.JPG : JBoss web console showing QMan MBeans (QMan connected to a remote broker)
> - 2_jmx-console-showing-qman-mbeans.JPG : the same as above but this time is the JBoss jmx console;
> - 3_jboss-jmx-console-showing-qman-session-mbean.JPG : jmx console showing the detail of a "session" object instance: there you can see properties, statistics & methods of the session object.
> - 4_method_invocation_exception.JPG : invocation of a method through jmx console that is throwing an exception (this method is part of the session interface but it's not yet implemented) 
> - 5_queue.purge_method_invocation_result.JPG : Invocation of the purge() method on a queue instance through jmx console. The method was invoked successfully.
> So as I told you thery are showing QMan deployed inside JBoss. In order to achieve that there are only 2 little things to be done : 
> 1) Create a simple war with a preloaded servlet on startup (QMan initializer);
> 2) Starts your JBoss AS with the following option -Djboss.platform.mbeanserver (this is a standard jboss option included since 4.2.x version) 
> And that's all...at free of charge you can interact with QMan using Html, RMI and all deployed / deployable connectors of the Application Server!
> In addition 
> - the integration strategy adopted is standard (no jboss proprietary descriptors) so I think should be easy to do the same for other Application Servers (tomorrow I will try with BEA Weblogic)
> - each adaptor (included the html one) is local / resident to jboss you no longer have the issues described on Ted post (ClassNotFoundException) in QPID-1378;
> As you understood, code and deployment descriptors for deploying QMan on JBoss are already completed...so please let me know what are you thinking about and after that if you think it's useful we can decide where to put that subproject on the build tree.
> Best Regards,
> Andrea

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