[JBoss JIRA] Created: (TEIID-431) Decryption failed: java.lang.ClassNotFoundException Error Logging into Teiid Server From Web Client
by Ted Jones (JIRA)
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
15 years, 8 months
[JBoss JIRA] Updated: (TEIID-398) mmadmin: exportDataRoles gives NPE if no roles present for VDB - Should throw better exception.
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-398?page=com.atlassian.jira.plug... ]
Steven Hawkins updated TEIID-398:
---------------------------------
Assignee: (was: Steven Hawkins)
> mmadmin: exportDataRoles gives NPE if no roles present for VDB - Should throw better exception.
> -----------------------------------------------------------------------------------------------
>
> Key: TEIID-398
> URL: https://jira.jboss.org/jira/browse/TEIID-398
> Project: Teiid
> Issue Type: Bug
> Components: Tools
> Affects Versions: 6.0.0
> Environment: fedora 10 running 5.5.2GA
> Reporter: Paul Nittel
> Priority: Minor
> Fix For: 6.1.0
>
>
> While creating mmadmin tests for NIAP, I found that attempting to export roles from a VDB with no data roles, got an NPE. It should be getting a more meaningful exception.
> exportDataRoles("NiapWebVdb","2","/home/pnittel/mmx/552niap/TestMmadmin/testroles.xml");
> // Error: // Uncaught Exception: Method Invocation ObjectConverterUtil.write : at Line: 600 : in file: URL: jar:file:/home/pnittel/mmx/552niap/tools/lib/mmadmin.jar!/scripts/serveradmin.bsh : ObjectConverterUtil .write ( currentContext ( ) .internalAdmin .exportDataRoles ( vdbName , vdbVersion ) , filename )
> Called from method: exportDataRoles : at Line: 1 : in file: <unknown file> : exportDataRoles ( "NiapWebVdb" , "2" , "/home/pnittel/mmx/552niap/TestMmadmin/testroles.xml" )
> Target exception: java.lang.NullPointerException
> java.lang.NullPointerException
> at com.metamatrix.core.util.ObjectConverterUtil.write(ObjectConverterUtil.java:121)
> 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:585)
> at bsh.Reflect.invokeMethod(Unknown Source)
> at bsh.Reflect.invokeStaticMethod(Unknown Source)
> at bsh.Name.invokeMethod(Unknown Source)
> at bsh.BSHMethodInvocation.eval(Unknown Source)
> at bsh.BSHPrimaryExpression.eval(Unknown Source)
> at bsh.BSHPrimaryExpression.eval(Unknown Source)
> at bsh.BSHBlock.evalBlock(Unknown Source)
> at bsh.BSHBlock.eval(Unknown Source)
> at bsh.BshMethod.invokeImpl(Unknown Source)
> at bsh.BshMethod.invoke(Unknown Source)
> at bsh.BshMethod.invoke(Unknown Source)
> at bsh.Name.invokeLocalMethod(Unknown Source)
> at bsh.Name.invokeMethod(Unknown Source)
> at bsh.BSHMethodInvocation.eval(Unknown Source)
> at bsh.BSHPrimaryExpression.eval(Unknown Source)
> at bsh.BSHPrimaryExpression.eval(Unknown Source)
> at bsh.Interpreter.run(Unknown Source)
> at com.metamatrix.script.shell.MMAdmin.main(MMAdmin.java:50)
--
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
15 years, 8 months
[JBoss JIRA] Closed: (TEIID-428) System Property Changes - Not showing up in Audit Log and System Log has entry but doesn't state what property was changed
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-428?page=com.atlassian.jira.plug... ]
Steven Hawkins closed TEIID-428.
--------------------------------
Resolution: Done
Added specific property changing logging.
> System Property Changes - Not showing up in Audit Log and System Log has entry but doesn't state what property was changed
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-428
> URL: https://jira.jboss.org/jira/browse/TEIID-428
> Project: Teiid
> Issue Type: Feature Request
> Components: Server
> Affects Versions: 6.0.0
> Environment: Windows client running against Windows server
> Reporter: Warren Gibson
> Assignee: Steven Hawkins
> Priority: Optional
> Fix For: 6.1.0
>
> Attachments: log.rtf
>
>
> I changed 4 System Properties and found no entries in the Audit log but entries did show up in the System Log. However the entries in the System log does not specify which property was changed. Changes to System Properties should show up in Audit Log. This is one example. See attachment for other examples:
> My action - Encryption - Unchecked Client Side Password.
> Log:
> Mar 06, 2009 14:07:47.500 [SocketWorkerQueue_Worker_52|0] ERROR <AUDIT_ADMIN|0> Administrator [ssmith@NewLDAP], session [7512] requesting access which requires role [Admin.SystemAdmin] to method [ConfigurationAdminAPIImpl.executeTransaction([Set ConfigurationID Next Startup; new value = false, previous value = true])].
> Mar 06, 2009 14:07:47.500 [SocketWorkerQueue_Worker_52|0] ERROR <AUDIT_ADMIN|0> Administrator [ssmith@NewLDAP], session [7512] granted access to method [ConfigurationAdminAPIImpl.executeTransaction([Set ConfigurationID Next Startup; new value = false, previous value = true])].
> Mar 06, 2009 14:07:47.515 [SocketWorkerQueue_Worker_52|0] INFO <CONFIG|0> Completed execution of actions.
> Mar 06, 2009 14:07:47.546 [SocketWorkerQueue_Worker_52|0] INFO <CONFIG|0> Configuration Next Startup document written successfully to stream.
--
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
15 years, 8 months
[JBoss JIRA] Updated: (TEIID-428) System Property Changes - Not showing up in Audit Log and System Log has entry but doesn't state what property was changed
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-428?page=com.atlassian.jira.plug... ]
Steven Hawkins updated TEIID-428:
---------------------------------
Assignee: Steven Hawkins
> System Property Changes - Not showing up in Audit Log and System Log has entry but doesn't state what property was changed
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-428
> URL: https://jira.jboss.org/jira/browse/TEIID-428
> Project: Teiid
> Issue Type: Feature Request
> Components: Server
> Affects Versions: 6.0.0
> Environment: Windows client running against Windows server
> Reporter: Warren Gibson
> Assignee: Steven Hawkins
> Priority: Optional
> Fix For: 6.1.0
>
> Attachments: log.rtf
>
>
> I changed 4 System Properties and found no entries in the Audit log but entries did show up in the System Log. However the entries in the System log does not specify which property was changed. Changes to System Properties should show up in Audit Log. This is one example. See attachment for other examples:
> My action - Encryption - Unchecked Client Side Password.
> Log:
> Mar 06, 2009 14:07:47.500 [SocketWorkerQueue_Worker_52|0] ERROR <AUDIT_ADMIN|0> Administrator [ssmith@NewLDAP], session [7512] requesting access which requires role [Admin.SystemAdmin] to method [ConfigurationAdminAPIImpl.executeTransaction([Set ConfigurationID Next Startup; new value = false, previous value = true])].
> Mar 06, 2009 14:07:47.500 [SocketWorkerQueue_Worker_52|0] ERROR <AUDIT_ADMIN|0> Administrator [ssmith@NewLDAP], session [7512] granted access to method [ConfigurationAdminAPIImpl.executeTransaction([Set ConfigurationID Next Startup; new value = false, previous value = true])].
> Mar 06, 2009 14:07:47.515 [SocketWorkerQueue_Worker_52|0] INFO <CONFIG|0> Completed execution of actions.
> Mar 06, 2009 14:07:47.546 [SocketWorkerQueue_Worker_52|0] INFO <CONFIG|0> Configuration Next Startup document written successfully to stream.
--
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
15 years, 8 months
[JBoss JIRA] Closed: (TEIID-119) physical procedural mapping results in inconsistent results
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-119?page=com.atlassian.jira.plug... ]
Steven Hawkins closed TEIID-119.
--------------------------------
Resolution: Done
The problem was due to processing all of the dependent procedures together under the dependentprocedureaccessnode and then projecting them, which would set the input values to what was the last procedure execution. The fix changes accessnode to allow single execution for procedures. See TestProcedureRelational.testIssue119
> physical procedural mapping results in inconsistent results
> -----------------------------------------------------------
>
> Key: TEIID-119
> URL: https://jira.jboss.org/jira/browse/TEIID-119
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 6.x
> Reporter: Marc Shirley
> Assignee: Steven Hawkins
> Priority: Critical
> Fix For: 6.1.0
>
>
> Defect Tracker #24951: testing a query with multiple physical procedure calls using the new mapping style results in inconsistent/incorrect results. As a test case, sptest6, a physical procedure that doubles the integer value passed into it, was called twice in a view transformation, with a result set consisting of the the source, input, and result values for each call to the procedure. 2 issues were seen:
> 1) Source and input value columns only showed the value of the last input parameter for all rows.
> 2) The result values for the first procedure call were correct for every row, but the result values for the second procedure call were the same for every row (it only showed the last result value calculated for all the rows).
> After mapping the physical procedure to a virtual procedure, no issue was seen. Issue can be seen in "view.two_bqt_sptest6_test" in attached vdb, or at mm://sluxtech09:55391 (http://sluxtech09:18391).
--
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
15 years, 8 months