Environment configuration of JSP and SQL links

Source: Internet
Author: User

1. Set Environment Variables

Catalina_base D:/program files/Java/tomcat 5.0.28

Catalina_home D:/program files/Java/tomcat 5.0.28

Classpath

% Java_home %/bin ;.; % java_home %/LIB; % java_home %/lib/DT. jar; % java_home %/lib/tools. jar; % catalina_home %/common/lib/servlet-api.jar; D:/program files/Microsoft SQL Server 2000 driver for JDBC/lib/msbase. jar; D:/program files/Microsoft SQL Server 2000 driver for JDBC/lib/MSSQLServer. jar; D:/program files/Microsoft SQL Server 2000 driver for JDBC/lib/msutil. jar

Java_home D:/program files/Java/jdk1.6.0

Path

% Java_home %/bin; % SystemRoot %/system32; % SystemRoot %/system32/WBEM; C:/program files/Microsoft SQL Server/80/tools/binn

 

2. Database considerations

Select SQL Server and windows for authentication

Right-click "properties" of "(local) (Windows NT)" under "SQL Server group", and select the "Security" tab in the displayed dialog box, set the AUTHENTICATION option to the previous one: SQL Server and windows. Click OK! The connection statement does not need to be changed!

 

3. Tomcat

Copy the three JDBC jar files to the/tomcat 5.0.28/common/lib directory and set their environment variable parameters.

 

4. The C disk format is FAT32, and the rest are NTFS.

5. Don't forget to patch SP4.

 

Related Article

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.