geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lubaki nsele" <nsel...@hotmail.com>
Subject Re: Geronimo ClassLoader Architecture
Date Tue, 13 Dec 2005 03:32:54 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Gianny, This did not work; it is still loading the parent classloader before the
child.</P>
<P>1) Tried first the ejb plan&nbsp;&nbsp; It did not work</P>
<P>2) Tried geronimo-application in the EAR where the ejb is one of the modules; It
did not work</P>
<P>openejb file</P>
<P>&nbsp;&lt;?xml version="1.0"?&gt;<BR>&lt;openejb-jar<BR>&nbsp;&nbsp;&nbsp;
xmlns="<A href="http://www.openejb.org/xml/ns/openejb-jar">http://www.openejb.org/xml/ns/openejb-jar</A>"<BR>&nbsp;&nbsp;&nbsp;
configId="com/nsele/atl/odonEJB"<BR>&nbsp;&nbsp;&nbsp; inverseClassloading="true"&gt;
<BR>&nbsp;&nbsp;&nbsp; </P>
<P>&nbsp;Here is my configuration in geronimo-application.xml in EAR;</P>
<P>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;application<BR>&nbsp;&nbsp;&nbsp;
xmlns="<A href="http://geronimo.apache.org/xml/ns/j2ee/application">http://geronimo.apache.org/xml/ns/j2ee/application</A>"<BR>&nbsp;&nbsp;&nbsp;
xmlns:sys="<A href="http://geronimo.apache.org/xml/ns/deployment-1.0">http://geronimo.apache.org/xml/ns/deployment-1.0</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
configId="com/nsele/atl/odon"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
inverseClassloading="true"&gt;<BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid;
MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>

<DIV></DIV>From:&nbsp;&nbsp;<I>Gianny Damour &lt;gianny.damour@optusnet.com.au&gt;</I><BR>Reply-To:&nbsp;&nbsp;<I>user@geronimo.apache.org</I><BR>To:&nbsp;&nbsp;<I>user@geronimo.apache.org</I><BR>Subject:&nbsp;&nbsp;<I>Re:
Geronimo ClassLoader Architecture</I><BR>Date:&nbsp;&nbsp;<I>Tue,
13 Dec 2005 09:02:06 +1100</I><BR>&gt;Hi Lubaki,<BR>&gt;<BR>&gt;You
can use the optional attribute "inverseClassloading" at the <BR>&gt;configuration
level to force a child first class loading:<BR>&gt;<BR>&gt;&lt;openejb-jar
xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"<BR>&gt;&nbsp;&nbsp;configId="your
id"<BR>&gt;&nbsp;&nbsp;inverseClassloading="true"&gt;<BR>&gt;<BR>&gt;When
set to true, classes defined by this configuraton take <BR>&gt;precedence over the
classes defined by the parent configurations.<BR>&gt;<BR>&gt;Thanks,<BR>&gt;Gianny<BR>&gt;<BR>&gt;<BR>&gt;lubaki
nsele 
wrote:<BR>&gt;<BR>&gt;&gt;Geronimo classloader makes available all
classes loaded by <BR>&gt;&gt;org/apache/geronimo/Server to his children. This
is a huge issue <BR>&gt;&gt;because Geronimo uses a different library that I
am using with EJB&nbsp;&nbsp;<BR>&gt;&gt;application. For example, I
am usiing axis1.0 and Geronimo server <BR>&gt;&gt;is using axis-1.3GerXXXX.&nbsp;&nbsp;This
discussion had been discussed in <BR>&gt;&gt;the following threads<BR>&gt;&gt;&nbsp;&nbsp;<BR>&gt;&gt;http://mail-archives.apache.org/mod_mbox/geronimo-dev/200506.mbox/%3C8C051B4D-95E3-4876-8941-1D9855BB8003@iq80.com%3E<BR>&gt;&gt;<BR>&gt;&gt;http://blog.gmane.org/gmane.comp.java.geronimo.devel/day=20050617<BR>&gt;&gt;&nbsp;&nbsp;
IS anyone knows the fix to this or how to overcome this issue?<BR>&gt;&gt;&nbsp;&nbsp;Lubaki<BR>&gt;<BR>&gt;<BR>&gt;<BR></FONT></BLOCKQUOTE></div></html>


Mime
View raw message