tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: clearReferencesThreads, Poller SunPKCS11-Solaris and strange context class loader
Date Sun, 09 May 2010 09:38:20 GMT
2010/5/9 Rainer Jung <>:
> On 07.05.2010 20:08, Filip Hanik - Dev Lists wrote:
>> On 05/07/2010 08:03 AM, Rainer Jung wrote:
>>> It's there after JDK start with some version of the JDK. It's not
>>> there if I only start a plain Java test doing only a sleep using the
>>> same JDK.
>> well, if the app uses to a https, then this would make
>> sense that the thread got started with the webapp's class loader
> Yes, but there is no app. The thread is there even when I remove all webapps
> (except for the ROOT context I kept). I guess I need to do more systematic
> testing.

Some more research,
looking at the source code that I mentioned:

1. "SunPKCS11-Solaris" is not the default name. The default name of
the class instance would be "SunPKCS11-Dummy".

You may want to look at the "/lib/security/" file in your
JRE. It should be configured there.

Here is some, though failing. example of trying to use this class:

2. extends

3. SunPKCS11() constructor calls initToken(slotInfo) and that method
will call createPoller() if the token is not present in the slot.
(Thus apparently it starts waiting for the token).

4. It is said that PKCS11 "defines a platform-independent API to
cryptographic tokens, such as Hardware Security Modules (HSM) and
smart cards."

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message