JBoss Project migrated to WEBLOGIC12

Source: Internet
Author: User
Tags jboss

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.