Hi Dignesh,

you don't need to write a custom loader, using
openejb.classloader.forced-[load|skip]=package1,package2 should be enough
(in conf/system.properties)

I'd use the packages org.glassfish,com.sun to start


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-01-03 8:26 GMT+01:00 Dignesh <[email protected]>:

> Hi Romain,
>
> I am still seeing the issue on TomEE 7.0.2 version. Can you please guide me
> where I am going wrong.
>
> I have written a customclassloader which is placed in lib directory
>
> Below is my context.xml data
>
> <Context>
>     <Loader className="com.opentext.tomee.OTMMTomeeLoader"
>         loaderClass="org.apache.tomee.catalina.
> WebAppFirstEarClassLoader"/>
> </Context>
>
> I have attached the two java files (customClassLoader)
> CustomTomEELoader.txt
> <http://tomee-openejb.979440.n4.nabble.com/file/n4680844/
> CustomTomEELoader.txt>
> CustomTomEEClassLoader.txt
> <http://tomee-openejb.979440.n4.nabble.com/file/n4680844/
> CustomTomEEClassLoader.txt>
>
> Thank you very much
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Classloading-issues-integrating-Jersey-2-
> 16-and-apache-tomee-plus-7-0-0-tp4678794p4680844.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.
>

Reply via email to