unable to redeploy web application on glassfish3

前端 未结 4 1999
野性不改
野性不改 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 20:43

    The other answers are really extreme. There is no need to create a new domain or re-install if you cannot redeploy your web application during development.

    If you app is very complex, then consider scripting any clean up needed in a Production environment. The below steps will keep you up and working in the short term.

    To re-deploy a web app to a single domain on Glassfish 3.1, do the following:

    • Stop Glassfish from the command line.

    • Delete all the files in the following directories:

    glassfish\domains\domain1\generated
    glassfish\domains\domain1\applications

    • Start Glassfish from the command line.

    • Deploy your app via the Admin Tool or command line.

提交回复
热议问题