This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Class Cast Exception for MS-SQL Server Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Class Cast Exception for MS-SQL Server Driver" Watch "Class Cast Exception for MS-SQL Server Driver" New topic

Class Cast Exception for MS-SQL Server Driver

Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
Gosh, I hope someone will answer this. I've research all over the net for answers and had no success on uncovering an answer.

The issue is I have a J2EE project deploying to a JBoss server (4.0.5). I've got the server configured as per the install program for JBoss. Howerver, starting the server produces the below error:

I have setup the data correctly as far as I can tell:




When I go looking at the datasource within the jmx-console, I see this

Can someone help me, please?

Thanks for taking the time to read my post.

graham king
Ranch Hand

Joined: Dec 30, 2004
Posts: 133
I don't think the class that you've specified in the datasource file is the right one for an XA(distributed) datasource. It also looks like the old 2000 driver. Watch out for connection leaks.

Try something like:

[ November 21, 2006: Message edited by: graham king ]

write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...
I agree. Here's the link:
subject: Class Cast Exception for MS-SQL Server Driver