[JBoss JIRA] (TEIID-4354) patch to CXF no longer needed with new version of the CXF in 9.0 series.
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4354?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-4354.
---------------------------------
Resolution: Done
Removed the patch jar from the build
> patch to CXF no longer needed with new version of the CXF in 9.0 series.
> ------------------------------------------------------------------------
>
> Key: TEIID-4354
> URL: https://issues.jboss.org/browse/TEIID-4354
> …
[View More]Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 9.x
> Reporter: Marco Ardito
> Assignee: Ramesh Reddy
> Fix For: 9.1, 9.0.3
>
>
> Using oauth2 authentication for rest webservice in Teiid (issuing sql request through invokeHTTP method in dynamic VDB), fails with an error like:
> ERROR [org.teiid.CONNECTOR] (Worker0_QueryProcessorQueue61) P8QCt6jWv5/F Connector worker process failed for atomic-request=P8QCt6jWv5/F.7.4.35838: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:287)
> ...many more
> (see forum reference for more stack trace)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months
[JBoss JIRA] (TEIID-4354) patch to CXF no longer needed with new version of the CXF in 9.0 series.
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4354?page=com.atlassian.jira.plugin... ]
Ramesh Reddy reassigned TEIID-4354:
-----------------------------------
Assignee: Ramesh Reddy (was: Steven Hawkins)
> patch to CXF no longer needed with new version of the CXF in 9.0 series.
> ------------------------------------------------------------------------
>
> Key: TEIID-4354
> URL: https://issues.jboss.org/browse/TEIID-4354
> Project:…
[View More] Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 9.x
> Reporter: Marco Ardito
> Assignee: Ramesh Reddy
> Fix For: 9.1, 9.0.3
>
>
> Using oauth2 authentication for rest webservice in Teiid (issuing sql request through invokeHTTP method in dynamic VDB), fails with an error like:
> ERROR [org.teiid.CONNECTOR] (Worker0_QueryProcessorQueue61) P8QCt6jWv5/F Connector worker process failed for atomic-request=P8QCt6jWv5/F.7.4.35838: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:287)
> ...many more
> (see forum reference for more stack trace)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months
[JBoss JIRA] (TEIID-4354) patch to CXF no longer needed with new version of the CXF in 9.0 series.
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4354?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-4354:
--------------------------------
Fix Version/s: 9.1
9.0.3
> patch to CXF no longer needed with new version of the CXF in 9.0 series.
> ------------------------------------------------------------------------
>
> Key: TEIID-4354
> URL: https://issues.jboss.org/browse/TEIID-4354
> Project: Teiid
&…
[View More]gt; Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 9.x
> Reporter: Marco Ardito
> Assignee: Steven Hawkins
> Fix For: 9.1, 9.0.3
>
>
> Using oauth2 authentication for rest webservice in Teiid (issuing sql request through invokeHTTP method in dynamic VDB), fails with an error like:
> ERROR [org.teiid.CONNECTOR] (Worker0_QueryProcessorQueue61) P8QCt6jWv5/F Connector worker process failed for atomic-request=P8QCt6jWv5/F.7.4.35838: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:287)
> ...many more
> (see forum reference for more stack trace)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months
[JBoss JIRA] (TEIID-4354) patch to CXF no longer needed with new version of the CXF in 9.0 series.
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4354?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-4354:
--------------------------------
Component/s: Misc. Connectors
> patch to CXF no longer needed with new version of the CXF in 9.0 series.
> ------------------------------------------------------------------------
>
> Key: TEIID-4354
> URL: https://issues.jboss.org/browse/TEIID-4354
> Project: Teiid
> …
[View More]Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 9.x
> Reporter: Marco Ardito
> Assignee: Steven Hawkins
>
> Using oauth2 authentication for rest webservice in Teiid (issuing sql request through invokeHTTP method in dynamic VDB), fails with an error like:
> ERROR [org.teiid.CONNECTOR] (Worker0_QueryProcessorQueue61) P8QCt6jWv5/F Connector worker process failed for atomic-request=P8QCt6jWv5/F.7.4.35838: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:287)
> ...many more
> (see forum reference for more stack trace)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months
[JBoss JIRA] (TEIID-4354) patch to CXF no longer needed with new version of the CXF in 9.0 series.
by Marco Ardito (JIRA)
Marco Ardito created TEIID-4354:
-----------------------------------
Summary: patch to CXF no longer needed with new version of the CXF in 9.0 series.
Key: TEIID-4354
URL: https://issues.jboss.org/browse/TEIID-4354
Project: Teiid
Issue Type: Bug
Affects Versions: 9.x
Reporter: Marco Ardito
Assignee: Steven Hawkins
Using oauth2 authentication for rest webservice in Teiid (issuing sql request …
[View More]through invokeHTTP method in dynamic VDB), fails with an error like:
ERROR [org.teiid.CONNECTOR] (Worker0_QueryProcessorQueue61) P8QCt6jWv5/F Connector worker process failed for atomic-request=P8QCt6jWv5/F.7.4.35838: java.lang.NoClassDefFoundError: javax/ws/rs/client/ClientException
at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:287)
...many more
(see forum reference for more stack trace)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months
[JBoss JIRA] (TEIID-3998) EDS 5.3 jdbc driver virtual procedure call against JDV 6.2.3
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-3998?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-3998:
------------------------------------------------
Lucie Fabrikova <lfabriko(a)redhat.com> changed the Status of [bug 1311213|https://bugzilla.redhat.com/show_bug.cgi?id=1311213] from ON_QA to VERIFIED
> EDS 5.3 jdbc driver virtual procedure call against JDV 6.2.3
> ------------------------------------------------------------
>
> …
[View More]Key: TEIID-3998
> URL: https://issues.jboss.org/browse/TEIID-3998
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.12
> Environment: eds-5.3.1_1_2015-jdbc
> Reporter: Filip Elias
> Assignee: Steven Hawkins
> Attachments: server1.log
>
>
> We identified an issue when trying to connect with EDS 5.3 jdbc driver to JDV 6.2.3 instance.
> The problem is caused by virtual procedure execution.
> Query performed:
> EXEC View.hiddenUpdate(456,'changed')
> View definition:
> {code}
> <model name="View" type="VIRTUAL">
> <metadata type="DDL"><![CDATA[
> CREATE VIRTUAL PROCEDURE hiddenUpdate(ID integer,CUSTOMERNAME string) AS BEGIN
> MERGE INTO Customers(id,customername) VALUES(ID,CUSTOMERNAME);
> END
> ]]> </metadata>
> </model>
> {code}
> NPE excepton:
> {code}
> Exception in thread "main" java.lang.NullPointerException
> at org.teiid.jdbc.StatementImpl.executeUpdate(StatementImpl.java:342)
> at jdbcdriver.JDBCClient.executeUpdate(JDBCClient.java:59)
> at jdbcdriver.JDBCClient.main(JDBCClient.java:52)
> {code}
> Client code:
> {code}
> @Test
> public void procedureInvalidateCacheTest(){
> String sqlSelectAll = "/*+ cache */SELECT * FROM Customers;";
> try{
>
> Utils.executeUpdate(con,"INSERT INTO Customers(id,customername) VALUES (456, 'Testing 1');");
>
> ResultSet empty = Utils.executeQuery(con, sqlSelectAll);
> Assert.assertTrue(empty.next(), "ResultSet should be empty");
>
> try{
> Thread.sleep(3000);
> }catch(InterruptedException ie){
>
> }
>
> Utils.executeUpdate(con,"EXEC View.hiddenUpdate(456,'changed')");
>
> ResultSet full = Utils.executeQuery(con, sqlSelectAll);
> Assert.assertTrue(full.next(), "ResultSet shouldn't be empty");
>
> int custId = full.getInt(1);
> String custName = full.getString(2);
> Assert.assertEquals(custId, 456,"Returned row with wrong customer id");
> Assert.assertEquals(custName,"changed","PROCEDURE with UPDATE query didn't invalidate the cache:returned row with wrong customer name");
>
>
> }catch(SQLException se){
> LOG.error("Error during performing sql query on teiid",se);
> Assert.fail("Error during performing sql query on teiid", se);
> }
> }
> static Connection getTeiidConnectionUser1() throws SQLException {
> LOG.info("Getting Teiid connection for user1.");
> return TeiidDriver.getInstance().connect(TEIID_URL_USER1, null);
> }
> static int executeUpdate(Connection con, String sql) throws SQLException{
> LOG.info("Executing update [connection: " + con + "]: " + sql + ".");
> Statement s = con.createStatement();
> return s.executeUpdate(sql);
> }
> {code}
> Server log is in the attachment.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
[View Less]
8 years, 8 months