Hi

did you set a custom Loader (and not classloader)?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/25 Trevor Stevens <[email protected]>

> I am attempting to specify a custom classloader for TomEE but I am having
> limited success.  I am attempting to follow the advice in TOMEE-970 and I
> am extending LazyStopWebappClassLoader and relying on the existing loader.
> When running I notice my classloader is created but it is never actually
> set as the classloader for the application.
>
> Looking quickly at the code I see two areas which might be related to my
> issue.
> org.apache.openejb.config.QuickContextXmlParser @ 75 I believe this is
> where my classloader is being created and never used again.
> org.apache.tomee.catalina.TomcatWebAppBuilder @ 965 initContextLoader
> always sets loaderClass to LazyStopWebappClassLoader
>
> Related
> https://issues.apache.org/jira/browse/TOMEE-970
>
> http://openejb.979440.n4.nabble.com/Context-Loader-element-ignored-TOMEE-1-5-2-td4663593.html#none
>
> Trevor Stevens
> [email protected]
>
>
>

Reply via email to