When there is an issue with deployment of an application, the warning message is repeated. Steps to reproduce:
1. Create a standalone instance and start it.
2. Start database, e.g. asadmin start-database.
3. Add instance as target to 2 default JDBC resources.
4. Deploy attached test_create_war application (with create_timer context root).
The following warning is displayed:
Deployment succeeded with a warning, please look at the log file for details
Application deployed with name create_timer. WARNING: Command _deploy did not complete successfully on server instance in1: org.glassfish.api.admin.CommandException: remote failure: Failed to load the application on instance in1. The application will not run properly. Please fix your application and redeploy. Failed to load the application on instance in1. The application will not run properly. Please fix your application and redeploy. Exception while loading the app. Please see server.log for...
Note that "Failed to load (...) and redeploy." is repeated above.