pwillworth
12 years agoOccasional Contributor
[Resolved] sqljdbc not working after 4.5.1 upgrade
I am trying to upgrade from SoapUI 4.0.1 to 4.5.1. Unfortunately, I cannot seem to get the Microsoft SQL Server JDBC driver working right in the new version.
First I tried the version that comes with the jre that appears to be 1.7 and selected to install the sql driver. When I run the tests with this version, I get this error:
Fri Oct 05 11:00:34 PDT 2012:ERROR:com.microsoft.sqlserver.jdbc.SQLServerException: SQL Server did not return a response. The connection has been closed.
Next I tried the zip with no jre so it would use my jdk 1.6. If I copy sqljdbc.jar and sqljdbc4.jar into bin/ext like I had in my old version and try to run my test suite, I get this error:
Fri Oct 05 10:38:22 PDT 2012:ERROR:java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
Assuming this means I should remove the sqljdbc.jar file so it doesn't try to use that one, I do so, and re-run the tests, and then I get this error instead:
Fri Oct 05 10:56:32 PDT 2012:ERROR:com.microsoft.sqlserver.jdbc.SQLServerException: java.lang.IndexOutOfBoundsException
This test suite runs without failure in the 4.0.1 installation. What is going wrong?
First I tried the version that comes with the jre that appears to be 1.7 and selected to install the sql driver. When I run the tests with this version, I get this error:
Fri Oct 05 11:00:34 PDT 2012:ERROR:com.microsoft.sqlserver.jdbc.SQLServerException: SQL Server did not return a response. The connection has been closed.
Next I tried the zip with no jre so it would use my jdk 1.6. If I copy sqljdbc.jar and sqljdbc4.jar into bin/ext like I had in my old version and try to run my test suite, I get this error:
Fri Oct 05 10:38:22 PDT 2012:ERROR:java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
Assuming this means I should remove the sqljdbc.jar file so it doesn't try to use that one, I do so, and re-run the tests, and then I get this error instead:
Fri Oct 05 10:56:32 PDT 2012:ERROR:com.microsoft.sqlserver.jdbc.SQLServerException: java.lang.IndexOutOfBoundsException
This test suite runs without failure in the 4.0.1 installation. What is going wrong?