aspose file tools*
The moose likes JBoss/WildFly and the fly likes ClassCastException Jboss5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "ClassCastException Jboss5.0" Watch "ClassCastException Jboss5.0" New topic
Author

ClassCastException Jboss5.0

Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202

I have recently migrated my application from jboss 4.0.0 to jboss 5.0. However, when i try to communicate to oracle 8 database, I am getting the below error.

org.jboss.resource.adapter.jdbc.WrapperDataSource cannot be cast to javax.sql.DataSource

My oracleDS file is below.



I have also placed ojdbc14.jar in below location D:\jboss-5.0.0\server\default\lib. I am using windows 2000 OS

Please help me how to resolve the error.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

Does this help: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212566


JBoss In Action
Madhur Shrma
Greenhorn

Joined: May 08, 2009
Posts: 11
Hi Eshwar, i am getting the same error. Did you get any solution to this?

thanks,
Madhur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassCastException Jboss5.0