RR Kumaran
SCJP 1.4
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
Originally posted by R Kumar:
So what is the advantage of setting "ear WAR classloader policy to MODULE" even when "war Classloader mode is set to PARENT_FIRST or PARENT_LAST" ?
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
Originally posted by R Kumar:
a.ear Classloader mode: PARENT_FIRST
a.ear WAR classloader policy: MODULE
b.war Classloader mode : PARENT_FIRST
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
MODULE does not mean the WCL is independant from other classloaders. It means the web app has its class loader (WCL)with an inheritance relationship with the application class loader (ACL) : WCL ----> ACL
Originally posted by Jayadev Pulaparty:
Jean. This is a very interesting thread. I'm enjoying it.
Quick question from my side. What is the relevance of MODULE WCL when the delegation mode is PARENT_FIRST?? The only thing that i can see is that it is used to load the module-specific classes "only if it can't find them in the parent classloader hierarchy". I guess its all about the scope and visibility of the respective classes.
Please clarify.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jayadev Pulaparty:
Jean-Louis:
On a similar note, which classloader is responsible for loading the shared libraries??
Thanks.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jayadev Pulaparty:
I was talking about the shared libraries that you can provide thru websphere admin console (under environment). We provide them at three possible scopes, cell, node and server.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
The exception :
java.lang.ExceptionInInitializerError: org.apache.commons.discovery.DiscoveryException: Class com.ibm.ws.commons.logging.TrLogFactory does not implement org.apache.commons.logging.LogFactory
at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:134)
Actually TrLogFactory extends org.apache.commons.logging.LogFactory
So it should work.
Why discovery is complaining about that ??
[ February 10, 2005: Message edited by: Jean-Louis Marechaux ]
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jayadev Pulaparty:
Is it possible that there is a version incompatibility (w.r.t the functionality delivered) in the jars. May be LogFactory class has changed in a new version and TrLogFactory (relatively older version) is still not an updated version w.r.t the parent class changes.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
RR Kumaran
SCJP 1.4
SCJP,SCJD,SCEA,SCMAD,SCDJWS,SCJP5.0
RR Kumaran
SCJP 1.4
SCJP,SCJD,SCEA,SCMAD,SCDJWS,SCJP5.0
Where is Springfield? <a href="http://www.pickeringisspringfield.com" target="_blank" rel="nofollow">http://www.pickeringisspringfield.com</a><br /> <br />Portlet Tutorials & Java Certification mock exams: <a href="http://www.scja.com" target="_blank" rel="nofollow">http://www.scja.com</a><br /> <br />WebSphere Stuff: <a href="http://www.pulpjava.com" target="_blank" rel="nofollow">http://www.pulpjava.com</a>
According to me you should only change these settings if you are facing some problems with the application server, because this is the default J2EE classloading mode.
SCJP 1.2, SCJD, SCEA, IBM 484, Weblogic 7
RR Kumaran
SCJP 1.4
RR Kumaran
SCJP 1.4
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|