tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Colas des Francs <max...@sts.ca>
Subject Re: tomcat and external provider
Date Fri, 08 Aug 2003 14:39:17 GMT

I resolve that with copying criptyx jar in $CATALINA_HOME/shared/lib

Smbdy can explain this ?

At 13:46 2003-08-07 -0400, you wrote:
>Hi
>
>I detect a stange comportement of my tomcat when using an external 
>security provider
>
>I want to use openpgp in my web application with cryptix provider
>
>In a 'load-on-startup' servlet i add security provider like this :
>
>java.security.Security.addProvider(new cryptix.jce.provider.CryptixCrypto());
>java.security.Security.addProvider(new 
>cryptix.openpgp.provider.CryptixOpenPGP());
>and i read a public key for future pgp encryption ...
>
>when i start or restart manually tomcat, it works fine .
>
>But when tomcat use its "Servlet Auto Reloader" when i change some code,
>it reload my 'load-on-startup' servlet automaticly, add my two provider 
>like before
>and ... crash during public key interpretation and write this in my 
>catalina.out :
>
>WebappClassLoader:   Resource '/WEB-INF/lib/mylib.jar' was modified; Date 
>is now: Thu Aug 07 13:41:15 EDT 2003 Was: Thu Aug 07 13:39:04 EDT 2003
>WebappClassLoader: Lifecycle error : CL stopped
>java.security.NoSuchAlgorithmException: Cannot find any provider 
>supporting ElGamal/ECB/PKCS#1
>  + stack
>
>so if i restart manually tomcat it works again ...
>
>Smby can help me to fix this auto reload ?
>
>thks by advance
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message