Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeployment incomplete with cloud-registry-service #4

Open
rju opened this issue May 6, 2016 · 2 comments
Open

Undeployment incomplete with cloud-registry-service #4

rju opened this issue May 6, 2016 · 2 comments
Assignees

Comments

@rju
Copy link
Member

rju commented May 6, 2016

When I deploy the cloud-registry-servicevia install the first time, the operation is performed successful. However, after undeployment (either via mvn or via glassfish UI) a new deployment does not work at all. I have to stop the glassfish service, go to its /opt/glassfish4.0/glassfish/domains/cocome/application directory (cocome is the domain) and actively delete cloud-registry-service directories inapplicationandapplication/__internal'. Then I must open cocome/config/domain.xml and remove all references to cloud-registry-service. After all that I can deploy again for one single time.

@tpoeppke
Copy link
Member

I had the same problem with enterprise-logic-ear and store-logic-ear but could not reproduce it for the cloud-registry-service. The problem seems to be that the log4j library jar is kept as a stale file after undeployment if it is directly included in the webservice projects. I was able to undeploy and deploy everything three times in a row after the change in b5fc8d2.

@rju
Copy link
Member Author

rju commented May 11, 2016

I have the impression that there are several different things which can go wrong in the deployment phase which the cargo and the glassfish-maven plug-in cannot handle. Therefore, I added a small script which helps deploying the stuff by hand. We should add all these different errors and solutions to a trouble shooting document (I added one to cocome-maven-projec/doc). Maybe we should move this documentation to a wiki page. For now we can add ideas to the documents there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants