title: WSO2 Data Services Server 3.2.2 jdbc error
body: <p>I have a DSS 3.2.2 (latest patches) installed along with other WSO2 products on my test server, Win 7 64bit Enterprise with jdk 1.6.45 set up in JAVA_HOME. When I deploy a data-service definition (.dbs) that uses SQL Server 2008 R2 database, I get an exception. Tried switching to jdk 1.7, same outcome. Has anyone encountered this? Appreciate your help!</p>
  
  <p>Data-service is configured with com.microsoft.sqlserver.jdbc.SQLServerDriver</p>
  
  <p>dqljdbc4.jar is deployed to repository/components/lib</p>
  
  <p>Stacktrace:</p>
  
  <p>DS Fault Message: 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.
  DS Code: CONNECTION_UNAVAILABLE_ERROR
  Source Data Service:-
  Name: XXXXXXX
  Location: \XXXXXXX.dbs
  Description: N/A
  Default Namespace: <a href="http://ws.wso2.org/dataservice" rel="nofollow">http://ws.wso2.org/dataservice</a>
  Nested Exception:-
  java.sql.SQLException: 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.</p>
  
  <pre><code>    at org.wso2.carbon.dataservices.core.description.config.RDBMSConfig.&lt;init&gt;(RDBMSConfig.java:42)
      at org.wso2.carbon.dataservices.core.description.config.ConfigFactory.getRDBMSConfig(ConfigFactory.java:83)
      at org.wso2.carbon.dataservices.core.description.config.ConfigFactory.createConfig(ConfigFactory.java:51)
      at org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:136)
      at org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:737)
      at org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:1083)
      at org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:161)
      at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
  </code></pre>