开发者

ADMA0176E PrivilegedActionException when publishing to IBM Websphere

开发者 https://www.devze.com 2023-04-02 19:22 出处:网络
I have a maven build of a multi module enterprise project. I am running WAS from RAD. In command prompt I ran

I have a maven build of a multi module enterprise project. I am running WAS from RAD. In command prompt I ran

mvn clean
mvn install
mvn -Dwtpversion=2.0 eclipse:eclipse

The build is success. I then import it into my workspace in RAD and add project to WAS. When the server starts publishing. I get an error as pop up saying

ADMA0176E : Application installation of MYPROJECT failed with PrivilegedActionException

I am able to deploy the same project on tomcat. Also, I created a sample project and published it to WAS. So I dont understand why the application is asking for privileges. I tried enabling application security, cleared the server cache, restarted server, restarted PC. Nothing helps. I can deplo开发者_如何学编程y the ear through admin console, however. Only through rad I am getting issues. How do I solve this ? I tried what is mentioned here but it does not help.


I had this problem after making some pom.xml changes. I solved it by running Maven Update Dependencies then Maven Update Project Configuration.


I had this problem today and could solve it by deleting the according folder in \profiles\AppSrv1\installedApps\. I don't think this is a general solution for this problem, but I could not find this hint on any of the other discussions for ADMA0176E.


Following files were missing for my project. Copying these files from another project solved the problem.

  1. security.xml at path: [ibmconfig/cells/defaultCell]

  2. deployment.xml, resources.xml and variables.xml at path: [ibmconfig/cells/defaultCell/applications/defaultApp/deployments/defaultApp]

This worked on IBM WAS 7.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号