I am seeing different thing when following the instructions. Do i need to deploy other app also ?
stageStatusMessage in "status" is set to ""Action failed create app ref failed; FAILURE: Command _deploy failed on server instance ST: org.glassfish.api.admin.CommandException: remote failure: Failed to load the application on instance ST. The application will not run properly. Please fix your application and redeploy.
Failed to load the application on instance ST. The application will not run properly. Please fix your application and redeploy.
Exception while loading the app. Please see server.log for more details. : EJB Timer Service is not available. Please see server.log for more details. "
stageStatus is FAILURE.
But statusString is set to ""Application deployed with name test_create_war."
So, i end up seeing the attached error. But the app is deployed.
Request Hong to take a look.
The warning that Lidia is seeing is whatever is returned from status and what i am seeing doesn't seem to be correct either.
Here is the GUI code that extract the status information, found in v3/admingui/common/src/main/java/org/glassfish/admingui/common/util/DeployUtil.java
public static boolean checkDeployStatus(DFDeploymentStatus status, HandlerContext handlerCtx, boolean stopProcessing, String warningMsgKey)
//TODO-V3 get more msg to user.
//parse the deployment status and retrieve failure/warning msg
ByteArrayOutputStream bos = new ByteArrayOutputStream();
PrintWriter pw = new PrintWriter(bos);
byte statusBytes = bos.toByteArray();
String statusString = new String(statusBytes);