Decryption failed: java.lang.ClassNotFoundException Error Logging into Teiid Server From
Web Client
---------------------------------------------------------------------------------------------------
Key: TEIID-431
URL:
https://jira.jboss.org/jira/browse/TEIID-431
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.x
Reporter: Ted Jones
Assignee: Steven Hawkins
Fix For: 6.1.0
Received th following error logging into a Teiid Server instance from the SOAP
application:
com.metamatrix.jdbc.MMSQLException: Unable to find a component used in logging on to
MetaMatrix
at com.metamatrix.jdbc.MMSQLException.create(MMSQLException.java:82)
at com.metamatrix.jdbc.MMDriver.connect(MMDriver.java:130)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at
com.metamatrix.soap.servlet.MMGetVDBResourceServlet.getConnection(MMGetVDBResourceServlet.java:246)
at
com.metamatrix.soap.servlet.MMGetVDBResourceServlet.doPost(MMGetVDBResourceServlet.java:148)
at
com.metamatrix.soap.servlet.MMGetVDBResourceServlet.doGet(MMGetVDBResourceServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.metamatrix.common.comm.exception.CommunicationException: Unable to find a
component used in logging on to MetaMatrix
at
com.metamatrix.common.comm.platform.socket.client.SocketServerConnection.authenticate(SocketServerConnection.java:182)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerConnection.<init>(SocketServerConnection.java:93)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerConnectionFactory.createConnection(SocketServerConnectionFactory.java:162)
at com.metamatrix.jdbc.MMDriver.createMMConnection(MMDriver.java:144)
at com.metamatrix.jdbc.MMDriver.connect(MMDriver.java:127)
... 25 more
Caused by: [MetaMatrixComponentException] ERR.003.030.0071: Decryption failed:
java.lang.ClassNotFoundException
com.metamatrix.api.exception.security.MetaMatrixAuthenticationException
1 [CryptoException] ERR.003.030.0071: Decryption failed: java.lang.ClassNotFoundException
com.metamatrix.api.exception.security.MetaMatrixAuthenticationException
at com.metamatrix.client.ExceptionUtil.convertException(ExceptionUtil.java:43)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerInstanceImpl$RemoteInvocationHandler.invoke(SocketServerInstanceImpl.java:343)
at $Proxy69.logon(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerConnection$ServerConnectionInvocationHandler.invoke(SocketServerConnection.java:231)
at $Proxy69.logon(Unknown Source)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerConnection.authenticate(SocketServerConnection.java:169)
... 29 more
Caused by: [CryptoException] ERR.003.030.0071: Decryption failed:
java.lang.ClassNotFoundException
com.metamatrix.api.exception.security.MetaMatrixAuthenticationException
at
com.metamatrix.common.util.crypto.cipher.BasicCryptor.unsealObject(BasicCryptor.java:152)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerInstanceImpl$RemoteInvocationHandler$1.convertResult(SocketServerInstanceImpl.java:310)
at com.metamatrix.dqp.client.ResultsFuture.get(ResultsFuture.java:105)
at
com.metamatrix.common.comm.platform.socket.client.SocketServerInstanceImpl$RemoteInvocationHandler.invoke(SocketServerInstanceImpl.java:337)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira