I'm gettting the NoSuchAlgorithmException in WAS 5.0. Here is the log that I'm getting. We run our application in IBM WAS 5.0 and use the RSA CLearTrust API (Admin API) to set the user's password in LDAP. To set the password, we use the admin API to connect to the ClearTrust API server and then using the api set the new password. When I run a simple java program to set the password it works fine as an application. But when I run the web application (JSPs and Servlets) within the WAS5.0 I get the exception.
I have seen one solution which is to comment out all the other providers in java.security file except the default provider (SUN provider) I did it, it worked fine only once and again it started throwing that NoSuchAlgorithmException. But I was wondering whether I have to do the same in PRODUCTION also? I don't know whether it effects any other component in WAS. If any one has any idea, can you please let me know. Or if there is any other solution also.
Thanks, Vishnu Vempati
LOG:
2004 Jul 08 15:21:43,266 DEBUG : { Servlet.Engine.Transports : 4} ClearTrustManager:changePassword():Connecting to CT API Server.....
2004 Jul 08 15:21:43,974 DEBUG : { Servlet.Engine.Transports : 4} ClearTrustManager:changePassword():Error in transport layer = sirrus.api.client.TransportExcep
tion: Can't connect to the Entitlements Server at 153.2.253.29 port 5601: java.net.SocketException: Error creating socket: java.security.NoSuchAlgorithmExceptio
n: Class com.sun.net.ssl.internal.ssl.SSLContextImpl configured for SSLContext not a SSLContext
2004 Jul 08 15:21:43,988 INFO : { Servlet.Engine.Transports : 4} ChangePasswordServlet oPost():INFO assword Change End Time - Thu Jul 08 15:21:43 EDT 2004
2004 Jul 08 15:21:43,988 FATAL : { Servlet.Engine.Transports : 4} ChangePasswordServlet oPost():INFO:Total Password Change Time (in milliseconds) 2266