[jboss-user] [Beginner's Corner] - Problem with that error java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource cannot be cast to javax.sql.DataSource

shincham do-not-reply at jboss.com
Fri Aug 10 13:32:01 EDT 2012


shincham [https://community.jboss.org/people/shincham] created the discussion

"Problem with that error java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource cannot be cast to javax.sql.DataSource"

To view the discussion, visit: https://community.jboss.org/message/753085#753085

--------------------------------------------------------------
Hello guys. I'm having a problem with that error.
java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource cannot be cast to javax.sql.DataSource



The issue is, we have a system, in JBOSS 6, and we're trying to include this system in a webapp.

The system is working normally on JBOSS 6, but it isn't working on the webrun, because of that error.
The system also works on a software that we use in the firm, called Maker.

The problem is only in integrate the system with the webapp of the client.

The webapp uses JBOSS, JEE and JSP, so it's not a problem of compatibility.


I made some researchs in the forum, and i saw that thread:
 https://community.jboss.org/message/250795#250795 https://community.jboss.org/message/250795#250795


Where the guy was having the same problem. He resolved the problem copying the jdbc-driver of the webapp. He copied to server/standard/lib.


But, the problem is, we don't have access to the webapp =/, we're just integrating a new system in the webapp, and despite the system is working, we're having this error when we try to make it work in the webapp.

If somebody could help i appreciate.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/753085#753085]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120810/d1f84033/attachment-0001.html 


More information about the jboss-user mailing list