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
>
>
>

Reply via email to