vijay annamalai [
https://community.jboss.org/people/raghav132] created the discussion
"Class Loader issue in Jboss 5.1.0, Same application works fine in Jboss 4.2.3"
To view the discussion, visit:
https://community.jboss.org/message/722033#722033
--------------------------------------------------------------
Hi
I have an EAR which is working fine in Jboss 4.2.3.
Please find the Classloading settings and EAR structure for Jboss 4.2.3 below
1) This Ear contains 2 WAR(assume warone, wartwo). All the jar files are located
under EAR folder. There is no Jars under WAR/lib folder for both the wars.
2) Both the WAR's MANIFEST.MF file contains reference to jars.
3) warone's jboss-web.xml file contains below entry
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
warone:archive=warone.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
4) wartwo's jboss-web.xml file contains below entry
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
wartwo:archive=wartwo.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
5) there is no EAR class loading setting for Jboss 4.2.3
Please find the Jboss 5.1.0 class loading setting below
1) This Ear contains 2 WAR(assume warone, wartwo). All the jar files are located
under EAR folder. There is no Jars under WAR/lib folder for both the wars.
2) Both the WAR's MANIFEST.MF file contains reference to jars.
3) warone's jboss-classloading.xml file contains below entry
<classloading xmlns="urn:jboss:classloading:1.0"
domain="warone"
parent-domain="ear"
export-all="ALL"
import-all="true"
parent-first="false">
</classloading>
4) wartwo's jboss-classloading.xml file contains below entry
<classloading xmlns="urn:jboss:classloading:1.0"
domain="wartwo"
parent-domain="ear"
export-all="ALL"
import-all="true"
parent-first="false">
</classloading>
5) EAR class loading setting for Jboss 5.1.0 on ear/meta-inf/jboss-classloading.xml
<classloading xmlns="urn:jboss:classloading:1.0"
domain="ear"
parent-domain="ear"
export-all="ALL"
import-all="true"
parent-first="false">
</classloading>
But this setting is not working for my application, My application is not coming up,
Deployment is failed. what other setting I need to do?
|
|
Thanks
Vijay
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/722033#722033]
Start a new discussion in JBoss Microcontainer at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]