Moved a bunch of databases from sql server 2000 to 2008. One of the
applications is on JBoss 3.2.2 and is now failing to connect to the
database. The particular error is “The incoming tabular data stream
(TDS) remote procedure call (RPC) protocol stream is incorect.
Parameter 1 (“”): Data type 0x38 is unknown.”
I looked around google for a while have determined this is because I’m
using MS SQL Server 2000 Driver for JDBC and this driver will not work
with MSSql server 2008. It will connect but will not work.
So my question is how do I get Jboss to use the new MSSql server JDBC
driver version 2.
I’m not familiar with JBoss at all. The new driver comes with a JAR
file but I’m not sure how to tell JBoss to use that instead of the old
driver.
Thank you in advance for all your help.
Most often , to make the JDBC driver class available to JBoss, the driver’s jar is copied to the
libdirectory of the default server configuration (assuming that is the configuration you are running, of course).So, in order to make JBoss use the new driver, remove the old jar from the
libdirectory (if it’s not there look at the startup script and find from where it’s added to the $CLASSPATH), replace it with the new driver, update your mssql-ds.xml if required (especially the<connection-url>and<driver-class>, check the driver documentation), restart Jboss.