You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Created) (JIRA)" <ji...@apache.org> on 2011/11/24 16:24:39 UTC

[jira] [Created] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
--------------------------------------------------------------------------------------------------

                 Key: OFBIZ-4592
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Jacques Le Roux
            Priority: Trivial


See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Jacques Le Roux (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4592:
-----------------------------------

    Attachment: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch

A non related change had slipped in previous patch
                
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-add-username-and-uri.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Markus M. May (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus M. May updated OFBIZ-4592:
---------------------------------

    Attachment: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch

Provide an initial patch for the integration of the JMX Reporting of DBCP. 

I hope that the format of the patch is now alright ;-)

The patch adds a new target "download-commons-dbcp-jmx" to the build.xml to download the corresponding jars via ivy (ivy.xml is adopted to this as well).

This is just an initial draft and it is working, but I guess there should be a slightly different implementation. The current implementation does not rely on the commons-dbcp-jmx stuff, but only on a couple of dependencies of this project.

To gain more information about the connection, the JMX MBean should be able to gather also information about the connection because right now the information in the JConsole is pretty useless without knowing the connection url.
                
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Jacques Le Roux (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211458#comment-13211458 ] 

Jacques Le Roux commented on OFBIZ-4592:
----------------------------------------

Thanks Markus,

I did not get a chance to look at it this week, but will hopefully do later...
                
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Markus M. May (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus M. May updated OFBIZ-4592:
---------------------------------

    Attachment: OFBIZ-4592-add-username-and-uri.patch

Provide additional information on the MBean, like username and uri.
                
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-add-username-and-uri.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Jacques Le Roux (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-4592:
--------------------------------------

    Assignee: Jacques Le Roux
    
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Jacques Le Roux (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4592:
-----------------------------------

    Attachment:     (was: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch)
    
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-add-username-and-uri.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4592) Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole

Posted by "Jacques Le Roux (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4592:
-----------------------------------

    Attachment: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch

Hi Markus,

I had a quick look. It misses this imports

import org.weakref.jmx.MBeanExporter;
import org.weakref.jmx.Managed;

I looked into the zip of https://github.com/nicoulaj/commons-dbcp-jmx and gave up. Here is attach an upated patch

Anyway, I think I will more focus on bug fixes for a while...To be continued...

Thanks for you effort!
                
> Try to see if we can integrate Commons-dbcp-jmx tool to monitor DBCP connections with JMX+JConsole
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4592
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4592
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: DBCP, JConsole, JMX, monitor
>         Attachments: OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-Add-Commons-DBCP-JMX-Tool.svn.patch, OFBIZ-4592-add-username-and-uri.patch
>
>
> See [Mbean wrappers around Apache Commons DBCP datasources.|https://github.com/nicoulaj/commons-dbcp-jmx#readme]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira