GoogleCloudPlatform / appengine-java-vm-runtime

Apache License 2.0
67 stars 34 forks source link

Issue #302, exec jetty_cmd.sh so that signals are passed to JVM #311

Closed gregw closed 8 years ago

gregw commented 8 years ago

Issue #302, exec jetty_cmd.sh so that signals are passed to JVM

ludoch commented 8 years ago

Tested via ssh to the vm?

gregw commented 8 years ago

@ludoch I ran the container with the bash command and then manually ran the jetty-run.sh command and verified that the java command was exec and took over the pid of the original script. The following worked:

cd $JETTY_BASE
./jetty_run.sh &
kill -3 %!

The signal is delivered to JVM and a thread dump is correctly generated.