当部署在隔离的 .EAR 文件中时,jboss 4.2.2 中的 Web 模块隔离

发布于 2024-07-14 19:49:29 字数 172 浏览 5 评论 0原文

当部署在独立的 .EAR 文件中时,如何在 jboss 4.2.2 中实现 Web 模块隔离(即,每个包含的 Web 应用程序与同一 .EAR 中的其他 Web 应用程序隔离)?

Jboss 4.2.2 不断警告,部署 EAR 文件时,Web 模块 (jboss-web) 级别的部署描述符类加载配置将被忽略。

How can one reach web-module isolation (i.e. each contained web-app is isolated from the others in the same .EAR) in jboss 4.2.2 when deployed inside a isolated .EAR file?

Jboss 4.2.2 keeps warning that web-module (jboss-web) level deployment descriptor class loading configuration is ignored when deployng an EAR file.

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

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

发布评论

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

评论(2

眉黛浅 2024-07-21 19:49:29

在 4.0.x 中,它以这种方式执行:

  • deploy/ear-deployer.xml

将属性“Isolated”从“false”更改为“true” 例如:true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
  • conf/jboss-service.xml

将属性“CallByValue”从“false”更改为'true' 例如:true

  • deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml

将属性 'Java2ClassLoadingCompliance' 从 'false' 更改为 'true' 示例:true

将属性 'UseJBossWebLoader' 从 'false' 更改为 ' true' 例如:true

谢谢,
莫希特

In 4.0.x it does in this way:

  • deploy/ear-deployer.xml

Change attribute 'Isolated' from 'false' to 'true' Ex: true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
  • conf/jboss-service.xml

Change attribute 'CallByValue' from 'false' to 'true' Ex: true

  • deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml

Change attribute 'Java2ClassLoadingCompliance' from 'false' to 'true' Ex: true

Change attribute 'UseJBossWebLoader' from 'false' to 'true' Ex: true

Thanks,
Mohit

遇见了你 2024-07-21 19:49:29

谢谢 Mohit,但这个解决方案不可行,因为在同一个 jboss 服务器实例中,其他第 3 方应用程序可能正在运行,我不想影响它们。

Thank you Mohit but this solution wouldn't be viable since in the same jboss server instance other 3rd parties applications could be running and I wouldn't like to affect them.

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