Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Feb 2016 16:33:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206853] [PATCH] www/tomcat6: use procstat instead of jps to check status of process
Message-ID:  <bug-206853-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206853

            Bug ID: 206853
           Summary: [PATCH] www/tomcat6: use procstat instead of jps to
                    check status of process
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: mizhka@gmail.com
          Assignee: ale@FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Created attachment 166442
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166442&action=
=3Dedit
SVN diff file

Hi,

The patch changes only start/stop script. Now script tomcat6 uses jps to ch=
eck
if process is running or not. But jps makes a lot of actions with running j=
ava
machines (at least perf attaching) and sometimes can fail if remote process=
 is
busy. So it's better to use procstat because it doesn't touch running
processes.=20

It works for me. Patch is very-very simple, so there is no impact on build
processes, that's why I'm not attaching testport & portlint outputs. Please=
 let
me know it they are required.

Please review it!

Thanks

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206853-13>