Problem:
<Console encountered the following error java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'master..xp_jdbc_open2'.
Workaround:
Go to your Data Source configuration on Weblogic Console and change the Driver Class Name to following:
weblogic.jdbc.sqlserver. SQLServerDriver
These are the drivers for NonXA data source.
However if you want to create an XA connection with MS SQL server then some configuration are required at MS SQL side.
Go to /fmwinfra/oracle_common/modules/datadirect of your weblogic installation directory. Copy these two files instjdbc.sql and x64sqljdbc.dll if you are using 64 bit SQL server otherwise select as per version from the same directory to MS SQL Installation bin directory.
Execute instjdbc.sql in MS SQL server. Now create XA data source in your weblogic server. It should work. If there are multiple SQL servers then you will have to do the same configuration on all SQL servers. Hope this will help.
However if you want to create an XA connection with MS SQL server then some configuration are required at MS SQL side.
Go to /fmwinfra/oracle_common/modules/datadirect of your weblogic installation directory. Copy these two files instjdbc.sql and x64sqljdbc.dll if you are using 64 bit SQL server otherwise select as per version from the same directory to MS SQL Installation bin directory.
Execute instjdbc.sql in MS SQL server. Now create XA data source in your weblogic server. It should work. If there are multiple SQL servers then you will have to do the same configuration on all SQL servers. Hope this will help.







