Gianny,
Aaron pointed out to me that hidden classes will be available for next release, so I suspected that may be you would like me to test this with current source code in svn. Also, the inverseclassloading was tested with M5, I can run the same test again with the newly build.
Thanks, Lubaki
From: Gianny Damour <[EMAIL PROTECTED]>
Reply-To: user@geronimo.apache.org
To: user@geronimo.apache.org
Subject: Re: Geronimo ClassLoader Architecture
Date: Tue, 13 Dec 2005 22:53:59 +1100
>Thanks for this test.
>
>Could you please confirm that the Axis jar is defined as a
>dependency or include? If yes, then I'm afraid I will need a sample
>EJB module that I could use to track the problem.
>
>BTW, there is also a "hidden-classes" element which can be used to
>declare classes hidden from this configuration:
>
><openejb-jar
> xmlns="http://www.openejb.org/xml/ns/openejb-jar"
> configId="com/nsele/atl/odonEJB"
> inverseClassloading="true">
> <hidden-classes>
> <filter>org.apache.axis</filter>
> </hidden-classes>
>
>Could you please give it a give try?
>
>Thanks,
>Gianny
>
>lubaki nsele wrote:
>
>>Gianny, This did not work; it is still loading the parent
>>classloader before the child.
>>
>>1) Tried first the ejb plan It did not work
>>
>>2) Tried geronimo-application in the EAR where the ejb is one of
>>the modules; It did not work
>>
>>openejb file
>>
>> <?xml version="1.0"?>
>><openejb-jar
>> xmlns="http://www.openejb.org/xml/ns/openejb-jar"
>> configId="com/nsele/atl/odonEJB"
>> inverseClassloading="true">
>>
>>
>> Here is my configuration in geronimo-application.xml in EAR;
>>
>><?xml version="1.0" encoding="UTF-8"?>
>><application
>> xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
>> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
>> configId="com/nsele/atl/odon"
>> inverseClassloading="true">
>>
>>
>>------------------------------------------------------------------------
>> From: /Gianny Damour <[EMAIL PROTECTED]>/
>> Reply-To: /user@geronimo.apache.org/
>> To: /user@geronimo.apache.org/
>> Subject: /Re: Geronimo ClassLoader Architecture/
>> Date: /Tue, 13 Dec 2005 09:02:06 +1100/
>> >Hi Lubaki,
>> >
>> >You can use the optional attribute "inverseClassloading" at
>>the
>> >configuration level to force a child first class loading:
>> >
>> ><openejb-jar
>>xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
>> > configId="your id"
>> > inverseClassloading="true">
>> >
>> >When set to true, classes defined by this configuraton take
>> >precedence over the classes defined by the parent
>>configurations.
>> >
>> >Thanks,
>> >Gianny
>> >
>> >
>> >lubaki nsele wrote:
>> >
>> >>Geronimo classloader makes available all classes loaded by
>> >>org/apache/geronimo/Server to his children. This is a huge
>>issue
>> >>because Geronimo uses a different library that I am using
>>with EJB >>application. For example, I am usiing axis1.0 and
>>Geronimo server
>> >>is using axis-1.3GerXXXX. This discussion had been
>>discussed in
>> >>the following threads
>> >>
>> >>http://mail-archives.apache.org/mod_mbox/geronimo-dev/200506.mbox/[EMAIL PROTECTED]
>> >>
>>
>> >>http://blog.gmane.org/gmane.comp.java.geronimo.devel/day=20050617
>> >> IS anyone knows the fix to this or how to overcome this
>>issue?
>> >> Lubaki
>> >
>> >
>> >
>>
>
>