A newly installed YAJSW service disables and corrupts a previously installed YAJSW service. Steps to reproduce.
1. Create and configure a new YAJSW service wrapper for a Java application "alpha01".
2. Install and service (Windows 7) and confirm that it runs as expected, including start, stop, and auto start with OS reboot.
3. Save the wrapper.conf for "alpha01". Verify that this service is installed and running successfully.
4. Create a brand new YAJSW service wrapper for a new Java application "beta01".
5. Validate the new wrapper.conf is correct and complete.
6. Install the service for "beta01" and verify the service appears in Windows Service Manager.
7. Try to start service "beta01". Does not start.
8. Stop service "alpha01" then start "beta01" - successfully starts.
9. Go back try restart of "alpha01". Service "alpha01" does not start. Reboot PC no change - "alpha01" never restarts. "beta01" continues to run successfully.
10. Stop and remove "beta01".
11. Try restart "alpha01" - restart FAILS, application generates no startup logs suggesting corruption.
12 Go back to step 1, "alpha01" is reinstalled and works successfully. So installing a 2nd YAJSW service appeared to corrupt the first.
Initially spent a significant amount of time thinking that the local Windows security profile and/or anti-virus was disabling "suspicious" services. But with all security components disabling I can consistently reproduce the steps above.
So I guess the first question is - Can YAJSW support more than one service at a time ? If so, is there a possible mis-configuration that could be causing this. Maybe I missed something in the wrapper.conf file ?
Thanks for any help you can provide.