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

当部署在隔离的.EAR文件中时,jboss 4.2.2中的Web模块隔离,jboss,deployment,classloader,isolation,Jboss,Deployment,Classloader,Isolation,在jboss 4.2.2中,当部署在一个隔离的.EAR文件中时,如何实现web模块隔离(即,每个包含的web应用程序在同一个.EAR中与其他应用程序隔离) Jboss 4.2.2一直警告在部署EAR文件时忽略web模块(Jboss web)级部署描述符类加载配置。在4.0.x中,它是这样做的: deploy/ear-deployer.xml 将属性“Isolated”从“false”更改为“true”,例如:true Change attribute 'CallByValue' fro

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


Jboss 4.2.2一直警告在部署EAR文件时忽略web模块(Jboss web)级部署描述符类加载配置。

在4.0.x中,它是这样做的:

  • deploy/ear-deployer.xml
将属性“Isolated”从“false”更改为“true”,例如:true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
将属性“CallByValue”从“false”更改为“true”,例如:true
  • conf/jboss-service.xml
将属性“CallByValue”从“false”更改为“true”,例如:true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
  • 部署/jbossweb-tomcat55.sar/META-INF/jboss-service.xml
将属性“Java2ClassLoadingCompliance”从“false”更改为“true”,例如:true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
将属性“UseJBossWebLoader”从“false”更改为“true”,例如:true

   Change attribute 'CallByValue' from    'false' to 'true' Ex: <attribute    name="CallByValue">true</attribute>
谢谢,
Mohit

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