As per business, they want both the application to be running.
1. Since both the application and JVM are on the same server, if the server is down then we don't have any issue
2. If server is up but
2.1 One of the the JVMs is down
2.2. The application is not responding for some reason
then we don't want the other application to be up (we have to display a "Sorry, please try after sometime " page)
So we figured only when the JVMs are together then we can fix one of the issues (2.1). Now we have to make some more changes if the application is not responding (at a later time with additional effort)
Thanks,
Kashyap