Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-08-02 Thread Romain Manni-Bucau
PooledConnection.*class*.getClassLoader(), >> >> Thread.*currentThread* >> ().getContextClassLoader() >> >> ).getConstructor().newInstance(); >> >> >> >> >> >>

Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-07-30 Thread Romain Manni-Bucau
n.*class*.getClassLoader(), > > Thread.*currentThread* > ().getContextClassLoader() > > ).getConstructor().newInstance(); > > > > > > *Von:* Romain Manni-Bucau > *Gesendet:* Montag, 29. Juli 2019 09:35 > *An:* Tomcat Develop

Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-07-29 Thread Romain Manni-Bucau
ed > (driver in the app) IMHO. This would also fix your NPE transitively ;). > > > > > > > > > -- > Von: Romain Manni-Bucau > Gesendet: Donnerstag, 25. Juli 2019 07:30 > An: Tomcat Developers List >

Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-07-25 Thread Romain Manni-Bucau
app) IMHO. This would also fix your NPE transitively ;). > -- > Von: Romain Manni-Bucau > Gesendet: Donnerstag, 25. Juli 2019 07:30 > An: Tomcat Developers List > Betreff: Re: PooledConnection#connectUsingDriver, > Thre

Re: PooledConnection#connectUsingDriver, Thread.currentThread().getContextClassLoader() is null

2019-07-24 Thread Romain Manni-Bucau
+1, there is no real other option AFAIK until you init at bootstrap the pool (initial size) to ensure it is in one tomcat classloader. Le jeu. 25 juil. 2019 à 07:08, Clemens Wyss DEV a écrit : > I tried posting this in the tomcat-users-ml, but I guess it rather fits > here: > > Context: >