Fixed 3 problems here: 1) checked the lock file too eary 2) never got the process id of a java test 3) some shell commands were not supported in some Solaris machines. Reviewed-by: dsamersoff, alanb
Make test self-terminating and independent to cygwin/mks kill behaviour Reviewed-by: sspitsyn, alanb
Added a capability to start and stop JMX Agent by jcmd Reviewed-by: acorn, mchung