Hi All,
I am getting one problem, while starting my application in WSAD environment with the DataDirectConnect SQL Server driver.
I have set the following details in the WebSphere
Test Environment 4.0:
Implementation class Name : com.ibm.websphere.jdbcx.sqlserver.SQLServerDataSource
Class Path : C:\DataConnect\sqlserver.jar;C:\DataConnect\base.jar;C:\DataConnect\util.jar;C:\DataConnect\spy.jar;
I am getting the following exception:
java.sql.SQLException: [IBM][SQLServer
JDBC Driver]This driver is locked for use with embedded applications.
at com.ibm.websphere.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseConnection.validatedUnlocked(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseConnection.createStatement(Unknown Source)
at com.ibm.websphere.jdbc.base.BaseConnection.createStatement(Unknown Source)
at com.ibm.websphere.jdbcx.base.BasePooledConnection.createStatement(Unknown Source)
at com.ibm.websphere.jdbcx.base.BaseConnectionWrapper.createStatement(Unknown Source)
at com.ibm.ejs.cm.pool.ConnectO.createStatement(ConnectO.java:2057)
at com.ibm.ejs.cm.proxy.ConnectionProxy.createStatement(ConnectionProxy.java:482)
at com.pru.gulgvul.dao.WebDB.getConnection(WebDB.java:54)
Anybody having any idea about this, why I have encountered with this problem.
Thanks in advance,
Shanmugam.