Receiving "org.teiid.resource.spi.WrappedConnectionFactory cannot be cast to javax.sql.DataSource" error when connecting to Teiid generated web service

Solution Unverified - Updated -

Issue

  • server.log contains error "org.teiid.resource.spi.WrappedConnectionFactory cannot be cast to javax.sql.DataSource"
  • I am getting the following message when using SOAPUI to connect to WSDL.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>org.teiid.resource.spi.WrappedConnectionFactory cannot be cast to javax.sql.DataSource</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Environment

  • Red Hat JBoss Enterprise Data Services (EDS) 5.3.1
  • web services war generated from VDB

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content