Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class Cast Exception for MS-SQL Server Driver

 
Russell Ray
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

-ds.xml




jboss-web.xml





web.xml



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.

Russ
 
graham king
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic