1 WebLogic Data Source configuration using Jtds-1.2.3.jar driver link MS SQL Server 2008
1.1 Copy Jtds-1.2.3.jar to D:\Oracle\Middleware\wlserver_12.1\server\lib directory
1.2 Edit D:\Oracle\Middleware\wlserver_12.1\common\bin under the
commenv.sh file
Find weblogic_classpath= Line add red content ${classpathsep}${wl_home}/server/lib/webservices.jar${classpathsep}${wl_home}/ Server/lib/jtds-1.2.3.jar${classpathsep}${ant_home}/lib/ant-all.jar;
Also edit the Commenv.cmd file in this directory
Find set weblogic_classpath= line, append red content%ant_contrib%/lib/ant-contrib.jar at the end;%wl_home%\server\lib\jtds-1.2.3.jar
1.3 Downloads Jtds-1.2.3-dist Extract jtds-1.2.3-dist\x86\sso\ntlmauth.dll copy to D:\Oracle\Middleware\jdk160_29\bin directory
1.4 When you create a new data source, the database type selects "Other", the driver class name: Net.sourceforge.jtds.jdbc.driver,url (modified as per the actual situation): Jdbc:jtds:sqlserver://localhost : 1433/HOUSECONSOLE/CHARSET=GBK
2 Getting UserTransaction objects
UserTransaction ut = (usertransaction) ctx.lookup ("Javax.transaction.UserTransaction");
3 If you are ready to access the project with http://localhost
3.1 Found: Deployment configuration general Information at the bottom of the "up and down root:" set to "/" after saving
3.2 The CONFIG. D:\Oracle\Middleware\user_projects\domains\base_domain\config file was found, with red content appended
<server>
<name>AdminServer</name>
<ssl>
<enabled>false</enabled>
</ssl>
<listen-port>80</listen-port>
<listen-address></listen-address>
</server>