ADMA0176E PrivilegedActionException:{0} 的应用程序安装失败,并出现 PrivilegedActionException

发布于 2024-10-17 11:33:01 字数 232 浏览 3 评论 0原文

当尝试将项目添加到我的 WebSphere 时,我收到以下错误:

ADMA0176E: {0} 的应用程序安装失败,并出现 PrivilegedActionException。 Ear 文件路径为 {1}。

知道我能做什么吗?根据谷歌搜索,这可能是一些权限问题,但我根本不知道从哪里开始......

任何信息都非常感谢!

多谢!

when trying to add a project to my WebSphere, I get the following error:

ADMA0176E: Application installation of {0} faild with PrivilegedActionException. Ear file path is {1}.

Any idea what I could do? According to a Google search, it could be some permission problem, but I don't know where to start at all...

Any info is really appreciated!

Thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

窝囊感情。 2024-10-24 11:33:01

问题是 Websphere 中的配置错误/丢失:未在管理控制台中检查应用程序安全性...

The problem was a wrong/missing configuration in Websphere: application security wasn't checked in the administration console...

懒猫 2024-10-24 11:33:01

我的项目缺少以下文件。从另一个项目复制这些文件解决了问题。

  1. security.xml 位于路径:[ibmconfig/cells/defaultCell]

  2. deployment.xml、resources.xml 和 Variables.xml 位于路径: [ibmconfig/cells/defaultCell/applications/defaultApp/deployments/defaultApp]

这有效在 IBM WAS 7 上。

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.

伴随着你 2024-10-24 11:33:01

对我来说,在我以管理员身份运行 Eclipse 后就可以工作了。就这样。

For me worked after I run the Eclipse as administrator. Just that.

山人契 2024-10-24 11:33:01

我身上发生的事情是,不知何故 EAR 的 /META-INF/application.xml 从: 更改

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <display-name>macc-ear</display-name>
    <module id="Module_1381754217072">
        <web>
            <web-uri>macc-frontend.war</web-uri>
            <context-root>/macc</context-root>
        </web>
    </module>
</application>

为:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <display-name>macc-ear</display-name>
</application>

我不知道是什么导致了这种情况,但似乎 IBM Rational Application Developer (RAD) 有时会这样做事情本身。

What happened to me was that somehow the EAR's /META-INF/application.xml changed from:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <display-name>macc-ear</display-name>
    <module id="Module_1381754217072">
        <web>
            <web-uri>macc-frontend.war</web-uri>
            <context-root>/macc</context-root>
        </web>
    </module>
</application>

to:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <display-name>macc-ear</display-name>
</application>

I have no idea what caused this, but it seems like IBM Rational Application Developer (RAD) sometimes does things on its own.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文