Receiving "org.teiid.resource.spi.WrappedConnectionFactory cannot be cast to javax.sql.DataSource" error when connecting to Teiid generated web service
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
