当部署在隔离的 .EAR 文件中时,jboss 4.2.2 中的 Web 模块隔离
当部署在独立的 .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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 4.0.x 中,它以这种方式执行:
将属性“Isolated”从“false”更改为“true” 例如:true
将属性“CallByValue”从“false”更改为'true' 例如:true
将属性 'Java2ClassLoadingCompliance' 从 'false' 更改为 'true' 示例:true
将属性 'UseJBossWebLoader' 从 'false' 更改为 ' true' 例如:true
谢谢,
莫希特
In 4.0.x it does in this way:
Change attribute 'Isolated' from 'false' to 'true' Ex: true
Change attribute 'CallByValue' from 'false' to 'true' Ex: true
Change attribute 'Java2ClassLoadingCompliance' from 'false' to 'true' Ex: true
Change attribute 'UseJBossWebLoader' from 'false' to 'true' Ex: true
Thanks,
Mohit
谢谢 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.