You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Fuljahn - USP <ma...@usp.br> on 2002/03/13 15:24:20 UTC

Tomcat Cryptix security NoSuchProviderException

Hi, there!

I'm trying to migrate a web application which currently WORKS from Tomcat
3.2 to Tomcat 4.
This application uses a class, which uses the Cryptix cryptography provider,
and there was no problem with Tomcat 3.2.

But now, with Tomcat 4, using exactly the same configuration, JSPs and
classes, I'm getting the exception " java.security.NoSuchProvider : provider
Cryptix not available ".

This doesn't mean that the Cryptix jar was not found, because when I remove
it from the classpath, another error happens (NoSuchClass). It seems to be a
configuration problem. But this is strange, because the application is
running in the same server of the Tomcat 3.2, using the same JRE, etc.
(Don't have to say that I have added the following line to the java.security
file: "security.provider.3=cryptix.provider.Cryptix" ...)

Somehow, Tomcat 4 seems to ignore the secutity configuration inside the
$classpath/jre/lib/security. Even copying Cryptix.jar to all the possible
directories where Tomcat could find it (common/lib, lib, server/lib,
web-inf/lib...), the error continued.

What am I missing?

Thanks in advance!

Martin







--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>