unable to redeploy web application on glassfish3

前端 未结 4 1984
野性不改
野性不改 2021-01-27 20:41

I m trying to deploy a web application using netbeans to glassfish 3.01 but i m not able to do so

Glassfish says

Inconsistent Module State

the web app h

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-27 21:06

    Just try this:

    • undeploy
    • stop Glassfish
    • start Glassfish
    • deploy

    If you can't undeploy, try the other steps anyway. If you don't have any luck, you could try it this way:

    • stop Glassfish
    • edit domain.xml (probably in domains/domain1/config)- back it up first; remove all references to your app (probably under application / application-ref); just make sure it's still valid xml
    • start Glassfish
    • deploy

    It should have solved it. If still no luck anyway, remove every file or directory related to your app, probably under domains/domain1/generated and domains/domain1/applications/....

    You could always recreate a new domain, but above steps will solve your problem.

    You could be in such a situation after stopping Glassfish middle in a deploiyment, for example.

提交回复
热议问题