Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4354

patch to CXF no longer needed with new version of the CXF in 9.0 series.

      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)

            [TEIID-4354] patch to CXF no longer needed with new version of the CXF in 9.0 series.

            ok, it was just to make sure it didn't went unnoticed, since you marked this solved so fast...
            thx

            Marco Ardito (Inactive) added a comment - ok, it was just to make sure it didn't went unnoticed, since you marked this solved so fast... thx

            That may be separate issue, I will have look shortly

            Ramesh Reddy added a comment - That may be separate issue, I will have look shortly

            Forgot to say: after upgrading to 9.0.2 (bundle)...

            Marco Ardito (Inactive) added a comment - Forgot to say: after upgrading to 9.0.2 (bundle)...

            Ramesh, have you also checked forum thread post n.14?
            https://developer.jboss.org/message/960646#960646

            I tried removing jar and modules.xml reference, but in squirrel I still get a cxf related error...

            Marco

            Marco Ardito (Inactive) added a comment - Ramesh, have you also checked forum thread post n.14? https://developer.jboss.org/message/960646#960646 I tried removing jar and modules.xml reference, but in squirrel I still get a cxf related error... Marco

            Removed the patch jar from the build

            Ramesh Reddy added a comment - Removed the patch jar from the build

              rhn-engineering-rareddy Ramesh Reddy
              m.ardito Marco Ardito (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: