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

Solution Unverified - Updated -


  • 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="">
         <faultstring>org.teiid.resource.spi.WrappedConnectionFactory cannot be cast to javax.sql.DataSource</faultstring>


  • 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