tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nitingautam <gautam.ni...@gmail.com>
Subject java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad
Date Thu, 09 Jul 2009 15:01:49 GMT

In my web application i am using ldap authentication. I am using tomcat 5.5
with jdk 1.4. From some days when I try to login it throw the following
error and rest of the time it works fine. What can be the issue...

 javax.net.ssl.SSLException: Algorithm missing:  
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.f(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_az.j(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
	at
com.xxx.cat.fndt.auth.impl.ssl.TrustingSSLSocketFactory.getSSLSocket(TrustingSSLSocketFactory.java:147)
	at
com.xxx.cat.fndt.auth.impl.ssl.TrustingSSLSocketFactory.makeSocket(TrustingSSLSocketFactory.java:209)
	at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:411)
	at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:343)
	at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:237)
	at netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnSetupMgr.java:163)
	at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1033)
	at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:915)
	at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:759)
	at
com.xxx.cat.fndt.auth.impl.ldap.LDAPAuthenticationInterface.getConnection(LDAPAuthenticationInterface.java:309)
	at
com.xxx.cat.fndt.auth.impl.ldap.LDAPAuthenticationInterface.getAuthenticatedConnection(LDAPAuthenticationInterface.java:248)
	at
com.xxx.cat.fndt.auth.impl.ldap.LDAPAuthenticationInterface.authenticate(LDAPAuthenticationInterface.java:69)
	at
com.xxx.xx.svc.qoms.model.service.AdminManagerImpl.authenticateUser(AdminManagerImpl.java:71)
	at
com.xxx.xx.svc.qoms.controller.QomsLogn010InptController.onSubmit(QomsLogn010InptController.java:207)
	at
org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
	at
org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
	at
com.xxx.xx.svc.qoms.controller.QomsLogn010InptController.handleRequestInternal(QomsLogn010InptController.java:160)
	at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
	at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
	at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
	at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
	at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
	at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:440)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.xxx.xx.fndt.filter.BlackoutFilter.doFilter(BlackoutFilter.java:257)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
com.xxx.xx.fndt.filter.PropertiesFilter.doFilter(PropertiesFilter.java:178)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at com.xxx.xx.fndt.filter.LoggingFilter.doFilter(LoggingFilter.java:152)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
com.xxx.xx.fndt.filter.RequestHeadersFilter.doFilter(RequestHeadersFilter.java:104)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
com.xxx.xx.fndt.filter.ExceptionHandlerFilter.doFilter(ExceptionHandlerFilter.java:105)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.security.NoSuchAlgorithmException: Could not create cipher
AES/128
	at com.sun.net.ssl.internal.ssl.CipherBox$JCECipherBox.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_h.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.CipherSuite$BulkCipher.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_ax.c(Unknown Source)
	... 64 more
Caused by: java.security.NoSuchAlgorithmException: No implementation for
AES/CBC/NoPadding found
	at com.sun.net.ssl.internal.ssl.SunJSSE_i.d(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SunJSSE_i.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.CipherBox$JCECipherBox.<init>(Unknown
Source)
	... 68 more

-- 
View this message in context: http://www.nabble.com/java.security.NoSuchAlgorithmException%3A-No-implementation-for-AES-CBC-NoPad-tp24410804p24410804.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message