OFBiz
  1. OFBiz
  2. OFBIZ-1397

Adding Lamba Probe for monitoring Tomcat (especially when using clusters)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      This is not intended to be added to OFBiz repository since Lamba Probe is GPL licensed.

      It all comes from an earlier works by
      Jack Hung http://lists.ofbiz.org/pipermail/dev/2005-May/008571.html
      and
      Sterling Okura http://www.bizlift.com/ofbiz/lambda_probe_for_ofbiz.html

      For history you may be interested by http://www.lambdaprobe.org/forum2/message.jspa?messageID=739
      And for reference by http://www.lambdaprobe.org/d/installation.shtml

      The idea is to provide an easier mean to integrate Lamba Probe. There are 2 parts a patch and a zip file. the zip file is intended to be deployed in hot-deploy. Then after a build (just run "ant') you should be able to use Lamba Probe :
      http://localhost:8080/probe/
      login : manager
      password : manager

      Enjoy

      1. probe.zip
        7.59 MB
        Chatree Srichart
      2. probe.zip
        9.20 MB
        Jacques Le Roux
      3. probe.patch
        0.5 kB
        Jacques Le Roux
      4. probe.patch
        2 kB
        Jacques Le Roux
      5. probe.patch
        3 kB
        Jacques Le Roux
      6. probe.zip
        5.80 MB
        Jacques Le Roux
      7. probe.patch
        3 kB
        Jacques Le Roux

        Activity

        Jacques Le Roux created issue -
        Hide
        Jacques Le Roux added a comment -

        Please don't commit : GPL

        Show
        Jacques Le Roux added a comment - Please don't commit : GPL
        Jacques Le Roux made changes -
        Field Original Value New Value
        Attachment probe.zip [ 12369291 ]
        Attachment probe.patch [ 12369290 ]
        Jacques Le Roux made changes -
        Resolution Later [ 7 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Jacques Le Roux made changes -
        Description This is not intended to be added to OFBiz repository since Lamba Probe is GPL licensed.

        It all comes from an earlier works by
        Jack Hung http://lists.ofbiz.org/pipermail/dev/2005-May/008571.html
        and
        Sterling Okura http://www.bizlift.com/ofbiz/lambda_probe_for_ofbiz.html

        For history you may be interested by http://www.lambdaprobe.org/forum2/message.jspa?messageID=739
        And for reference by http://www.lambdaprobe.org/d/installation.shtml

        The idea is to provide an easier mean to integrate Lamba Probe. There are 2 parts a patch and a zip file. the zip file is intended to be deployed in hot-deploy. Then after a build (just run "ant') you should be able to use Lamba Probe :
        http://localhost:8080/probe/
        login : manager
        pasword : manager

        Enjoy
        This is not intended to be added to OFBiz repository since Lamba Probe is GPL licensed.

        It all comes from an earlier works by
        Jack Hung http://lists.ofbiz.org/pipermail/dev/2005-May/008571.html
        and
        Sterling Okura http://www.bizlift.com/ofbiz/lambda_probe_for_ofbiz.html

        For history you may be interested by http://www.lambdaprobe.org/forum2/message.jspa?messageID=739
        And for reference by http://www.lambdaprobe.org/d/installation.shtml

        The idea is to provide an easier mean to integrate Lamba Probe. There are 2 parts a patch and a zip file. the zip file is intended to be deployed in hot-deploy. Then after a build (just run "ant') you should be able to use Lamba Probe :
        http://localhost:8080/probe/
        login : manager
        password : manager

        Enjoy
        Hide
        Jacques Le Roux added a comment -

        Probe.patch update

        Show
        Jacques Le Roux added a comment - Probe.patch update
        Jacques Le Roux made changes -
        Attachment probe.patch [ 12397026 ]
        Hide
        Jacques Le Roux added a comment -

        Beware : Probe slows significantly OFBiz

        Show
        Jacques Le Roux added a comment - Beware : Probe slows significantly OFBiz
        Jan le Roux committed 816335 (3 files)
        Reviews: none

        A patch from Brett Palmer "Adding Tomcat Catalina configuration for "privileged" applications" (https://issues.apache.org/jira/browse/OFBIZ-2945) - OFBIZ-2945

        Out of the box Tomcat allows you to configure "privileged" applications by specifying the context as follows.
        <Context path="/manager" debug="0" privileged="true"
           docBase="/usr/local/kinetic/tomcat6/server/webapps/manager">
        </Context>

        Since OFBiz is an embedded version of Tomcat it does not currently include a similar configuration for privileged applications.

        The Tomcat manager application is a "privileged" application that includes utilities for monitoring JMX resources such as thread counts, connections, and any other configured JMX parameter. We use JMX with Hyperic to monitor our OFBiz servers

        BTW, I used almost the same for Lambda Probe (https://issues.apache.org/jira/browse/OFBIZ-1397)

        Gavin made changes -
        Workflow jira [ 12416896 ] OFbiz Workflow [ 12505909 ]
        Hide
        Jacques Le Roux added a comment -

        Update patch

        Show
        Jacques Le Roux added a comment - Update patch
        Jacques Le Roux made changes -
        Attachment probe.patch [ 12470857 ]
        Hide
        Jacques Le Roux added a comment -

        Right patch (most has been introduced in OFBiz since, only the tomcat-users names are now needed)

        Show
        Jacques Le Roux added a comment - Right patch (most has been introduced in OFBiz since, only the tomcat-users names are now needed)
        Jacques Le Roux made changes -
        Attachment probe.patch [ 12470858 ]
        Hide
        Jacques Le Roux added a comment - - edited

        Updates to Psi Probe, actually replaces Lambda Probe par Psi Probe which is a fork since Lambda Probe is now an abandoned project

        Beware if you commit on a server the .class files will not be added unless you temporarily remove the ignore from the Subversion config file.

        I was mostly interested by the cluster feature but since Tomcat 6 there is no longer any JMX information about it. So neither Lambda Probe (I guess abandoned for this reason) nor Psi Probe can't do anything about it :/

        Show
        Jacques Le Roux added a comment - - edited Updates to Psi Probe, actually replaces Lambda Probe par Psi Probe which is a fork since Lambda Probe is now an abandoned project Beware if you commit on a server the .class files will not be added unless you temporarily remove the ignore from the Subversion config file. I was mostly interested by the cluster feature but since Tomcat 6 there is no longer any JMX information about it. So neither Lambda Probe (I guess abandoned for this reason) nor Psi Probe can't do anything about it :/
        Jacques Le Roux made changes -
        Attachment probe.zip [ 12475877 ]
        Jacques Le Roux made changes -
        Labels Lambda Probe Psi
        Hide
        Chatree Srichart added a comment -

        Attach a zip file for a probe component (probe.zip). It works with the trunk (revision 1206071) with Tomcat 7.
        You can extract the zip file to the hot-deploy directory, follow the README file and test it.

        Regards,
        Chatree Srichart

        Show
        Chatree Srichart added a comment - Attach a zip file for a probe component (probe.zip). It works with the trunk (revision 1206071) with Tomcat 7. You can extract the zip file to the hot-deploy directory, follow the README file and test it. Regards, Chatree Srichart
        Chatree Srichart made changes -
        Attachment probe.zip [ 12505076 ]
        Hide
        Jacques Le Roux added a comment -

        Hi Chatree, have they re-added JMX information for cluster in Tomcat 7? Else I prefer to work now with JMX+JConsole...

        THanks

        Show
        Jacques Le Roux added a comment - Hi Chatree, have they re-added JMX information for cluster in Tomcat 7? Else I prefer to work now with JMX+JConsole... THanks
        Hide
        Jacques Le Roux added a comment -

        From dev ML

        No, they have not yet. Let's me check working with JMX+JConsole.

        Regards,
        Chatree Srichart

        Show
        Jacques Le Roux added a comment - From dev ML No, they have not yet. Let's me check working with JMX+JConsole. Regards, Chatree Srichart

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development