The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restarting Tomcat from WHM & Command Line

Discussion in 'General Discussion' started by jsteel, Oct 2, 2002.

  1. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Restarting Tomcat from WHM & Command Line

    When I restart Tomcat from WHM, I see these lines:

    ---------------------------------------------------------------------------------------
    root 7876 2.5 0.8 10152 8628 ? S 00:19 0:00
    /usr/local/cpanel/whostmgr/bin/whostmgr ./restomcat
    root 7878 1.2 0.1 3428 2028 ? S 00:19 0:00
    /usr/bin/perl /scripts/restartsrv tomcat
    root 7880 0.0 0.1 3420 2028 ? S 00:19 0:00
    /usr/bin/perl /scripts/restartsrv tomcat
    root 7881 0.2 0.0 2168 976 ? S 00:19 0:00 sh -c
    /usr/sbin/stoptomcat;/usr/sbin/starttomcat &/dev/null 2&&1 &
    root 7882 0.0 0.0 2172 1008 ? S 00:19 0:00 /bin/sh
    /usr/sbin/stoptomcat
    ---------------------------------------------------------------------------------------

    Is there any significance to this order? I'm trying to schedule a cron job to restart Tomcat nightly, but I want to make sure I perform the proper tasks in the proper order.

    Thanks,
    Jaz
     
Loading...

Share This Page