Affects Version/s: 4.0
Fix Version/s: None
Linux, JDK 1.7.0_45
Sometimes when redeploying an application, the deploy fails with the following error:
Repeated attempts always fail. After the error appears once it seems like nothing can be deployed.
Sometimes the error is:
Here is the command:
Sometimes by trial and error I can get the deploy to work. Here is what I've tried:
1. Stop the domain then remove the "generated" and "osgi-cache" and re-start the domain
2. Stop the cluster and the domain then remove the "generated" and "osgi-cache" from the domain and the nodes and re-start the domain and cluster
3. Undeploy the problem app, then redeploy it. However, sometimes the app is listed as having been un-deployed already and this fails
4. Undeploy everything that can be undeployed. Manually delete the applications that could not be undeployed via asadmin from the applications folder and manually edit the domain.xml to remove references to those apps.