If you have control over that code then the TCCL is a good solution.

Christian

2018-03-21 16:54 GMT+01:00 bobanbp <[email protected]>:

> Hi Christian,
>
> Thanks for your reply. I tried your suggestion but without success. The
> only
> solution that works is to explicitly change class loader:
>
> ClassLoader tccl = Thread.currentThread() .getContextClassLoader();
> Thread.currentThread().setContextClassLoader(this.
> getClass().getClassLoader());
> my code that uses AWS SDK
> Thread.currentThread().setContextClassLoader(tccl);
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to