I am trying to deploy my application with multiple instances option enabled, but without any success. As soon as I start I get a red exclamation mark for health of the context and red exclamation marks for the context root for the Apache web server and application servers (tc Server) (see attached screenshot).
In the cloudfoundry server log it first tries to connect to port 8080, which fails. As soon as it tries to connect to port 80 it gets 503 - Service Temporarily Unavailable (see attached log file).
In the application log I get loads of ContextLoader and JDBC exceptions (see attached log file).
I've tried to restart with no effect. Does anyone have any suggestions on how to get multiple instances working?
I share you're thoughts, that would have been great! But as it is, the startup script in cloudfoundry first stopps the active database before deploying the app. If this step was removed then you could do what you suggested.