PooledConnection.*class*.getClassLoader(),
>>
>> Thread.*currentThread*
>> ().getContextClassLoader()
>>
>> ).getConstructor().newInstance();
>>
>>
>>
>>
>>
>>
n.*class*.getClassLoader(),
>
> Thread.*currentThread*
> ().getContextClassLoader()
>
> ).getConstructor().newInstance();
>
>
>
>
>
> *Von:* Romain Manni-Bucau
> *Gesendet:* Montag, 29. Juli 2019 09:35
> *An:* Tomcat Develop
cau
Gesendet: Montag, 29. Juli 2019 09:35
An: Tomcat Developers List
Betreff: Re: PooledConnection#connectUsingDriver,
Thread.currentThread().getContextClassLoader() is null
Can you give a try on a more recent tomcat version? Seems it works with master
version since the tomcat-jdbc mod
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
>
der( null ) ;
th.run() ;
Von: Romain Manni-Bucau
Gesendet: Donnerstag, 25. Juli 2019 08:06
An: Tomcat Developers List
Betreff: Re: PooledConnection#connectUsingDriver,
Thread.currentThread().getContextClassLoader() is null
Le jeu. 25 juil. 2019 à 07:46, Clemens Wyss DEV
mailto:clemens...@mysign
https://bz.apache.org/bugzilla/show_bug.cgi?id=63612
--- Comment #1 from clemens...@mysign.ch ---
Context:
Debian GNU/Linux 9 \n \l
java version 1.8.0_162
Tomcat 8.5.35
--
You are receiving this mail because:
You are the assignee for the bug.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63612
clemens...@mysign.ch changed:
What|Removed |Added
Severity|normal |critical
--
You are receiving
https://bz.apache.org/bugzilla/show_bug.cgi?id=63612
Bug ID: 63612
Summary: PooledConnection#connectUsingDriver,
Thread.currentThread().getContextClassLoader() is null
Product: Tomcat Modules
Version: unspecified
Hardware
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
---
Von: Romain Manni-Bucau
Gesendet: Donnerstag, 25. Juli 2019 07:30
An: Tomcat Developers List
Betreff: Re: PooledConnection#connectUsingDriver,
Thread.currentThread().getContextClassLoader() is null
+1, there is no real other option AFAIK until you init at bootstrap the pool
(initial
; ... 59 common frames omitted
> Caused by: java.lang.ClassNotFoundException: Classloader is null
> at
> org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:40)
> ... 60 common frames omitted
>
> According to the code (in PooledConnection# connectUsingDriver)
&g
ion: Classloader is null
at
org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:40)
... 60 common frames omitted
According to the code (in PooledConnection# connectUsingDriver)
Thread.currentThread().getContextClassLoader() returns null
Googl
12 matches
Mail list logo