https://bz.apache.org/bugzilla/show_bug.cgi?id=58626

            Bug ID: 58626
           Summary: Tomcat does not start at boot time due to SIGHUP
           Product: Tomcat 6
           Version: 6.0.44
          Hardware: HP
                OS: HP-UX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Integration
          Assignee: dev@tomcat.apache.org
          Reporter: 1983-01...@gmx.net

When hooking Tomcat into the init.d of HP-UX, Tomcat does not come up at system
start time. After an in-depth analysis of the startup scripts and HP-provided
packages, we have noticed that the HP-UX init sends a SIGHUP to the startup
script and child processes. Java does exit immediately.

One simple solution to this is to use nohup(1). Therefore, I'd like to propose
to change the catalina.sh for "start" only which turns:
"$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS
into
$JAVA_WRAPPER "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS
$CATALINA_OPTS

Not quoting JAVA_WRAPPER is intentional because those who do not need a
wrapper, the script won't fail on the empty argument.

Patches can be provided for Tomcat 6 and up.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to