Hide Forgot
Created attachment 796422 [details] screenshot Description of problem: Soa Installer should terminate eap process if installation has failed. Steps to Reproduce: 1. Choose server startup mode: "Standalone Mode" 2. go through the installation and on the shortcuts page hit on quit. Actual results: * some java processes are still running * server is not reachable on localhost:8080 * cannot repeat the installation, because the process is holding port 9999.
The Installer is now equipped with a server cleanup job that runs upon install completion, and also when the user quits/aborts the installation. The job checks the AS status and shuts it down if the install was aborted. This will occur before the installer housekeeper removes files, so that it doesn't leave a dangling server process. The fix includes necessary changes to izpack's Housekeeping class: Izpack change: http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=502b8ece3963b3e2efd7b42dcb7ff5b8566ef3ab The installer branch with the fix: http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=shortlog;h=refs/heads/servercleanupfix Commits from merge with SOA6: http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=commit;h=e84360b04f401cb688741c5aa551cb6e26de438c http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=commit;h=5e46bdf164c9adc3308ec6d8c44de546044318ed
Verified in ER6 build.