com.sun.enterprise.deployment.backend.IASDeploymentException: No local string defined -- Inconsistent Module State 错误

来源:互联网 发布:js判断不等于null 编辑:程序博客网 时间:2024/05/22 03:03

 1.  当我不正常情况下强行关闭sun application server的时候如果再次部署出现服务器能正常启动,但是同样的项目不可以部署的时候而且报出com.sun.enterprise.deployment.backend.IASDeploymentException: No local string defined -- Inconsistent Module State 错误的时候有一种解决放案
       This has nothing to do with the ejb deployment descriptor but instead it's beacause of some policy files that Sun app Server fails to clean up.
When you deploy the applications the app server creates policy files under domain1/generated/policy/<app-name-dir>/ *.policy files. This files are deleted when you undeploy the app or replaced whenever you re-deploy the app. But seems the Sun app server does not do this right some times. So the solution is to remove generated/policy/<app-name-dir>/ *.policy files and than RESTART (important) the app serve.
如果remove不行的话,就找一个以前的备份放进去就解决了。

2.  在下面的地方察看 jsp编译后的java文件
 C:/Program Files/netbeans-4.1/SunAppServer8.1/domains/domain1/generated/jsp/j2ee-apps/anadd/AnADD-WebModule_war/org/apache/jsp/jsp/Sales/SalesEffectiveness_jsp.java
原创粉丝点击