Вы находитесь на странице: 1из 3

Steps for Deployment

Prerequisite Softwares needed:1) Java Development Kit(jdk-6u21-windows-i586) 2) Apache Tomcat (apache-tomcat-5.5.33) 3) SQL Server 2008(Express) 4) SQLJDBC Driver (sqljdbc_3.0.1301.101_enu)

Execute the following steps:1) Install jdk-6u21-windows-i586. 2) Install apache-tomcat-5.5.33 3) Install SQL Server 2008(Express) 4) Create a new folder in C:\Programs Files\ 5) Rename this folder as Microsoft SQL Server JDBC Driver 3.0 6) Extract SQLJDBC.rar file to local drive (C:\Program

Files\Microsoft SQL Server JDBC Driver 3.0\)


7) Go to C:Program Files->Microsoft SQL Server JDBC Driver 3.0-

>sqljdbc_3.0->enu
8) Copy sqljdbc.jar and sqljdbc4.jar files to C:Program Files-

>Apache Software Foundation->Tomcat 5.5->common->lib folder


9) Copy sqljdbc.jar and sqljdbc4.jar to C:Program Files->Java-

>jdk1.6.0_21->bin
10)

Go to C:Program Files->Microsoft SQL Server JDBC Driver 3.0->sqljdbc_3.0->enu ->auth->x86.Copy sqljdbc_auth.dll file to C:Windows->System32 folder Go to C:Program Files->Microsoft SQL Server JDBC Driver 3.0->sqljdbc_3.0->enu ->xa->x86.Copy sqljdbc_xa.dll file to C:Windows->System32 folder Go to Start->Run. Type cmd. Click OK. Type java. Press Enter.

11)

12)

13)

14) 15)

Type javac. Press Enter. Setting environment variables:Go to My Computer->Properties->Advanced System Settings Select the Advanced tab. Click Environment variables button. In User variables box Click New Set variable name = path Set variable value= C:\Program Files\Java\jdk1.6.0_21\bin;.; Click OK In System variables box Click New Set variable name = classpath Set variable value= C:\Program Files\Java\jdk1.6.0_21\lib;.;C:\Program Files\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\sqljdbc.jar;.;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib;.;

16)

Go to Start->All Programs->Microsoft SQL Server 2008>Configuration Tools->SQL Server Configuration Manager In the left most side pane expand the SQL Server Network Configuration link Select Protocols for SQLEXPRESS

17)

18) 19)

In the right hand side pane ensure that all the protocol names status is Enabled. Double click on TCP-IP Protocol name. Select the IP Addresses tab. For all IP1,IP2,IP3,IP4,IP5,IP6,IP7,IP8,IPALL do the following:-

20) 21)

22)

Set TCP Dynamic ports to blank i.e. field should not contain any value. Set TCP Port =1433. In the left hand side pane click SQL Server Services

23)
24)

In the right hand side pane restart SQL Server (SQLEXPRESS) service and SQL Server Browser service. Go to Start->Run. Type services.msc Click OK. Find Apache Tomcat 5 service. Right click on it. Click Properties. Set Startup type=Automatic .Click OK. Right click again on it and click restart.

25) 26) 27)

28) 29)

30) Go to Start->Microsoft SQL Server 2008 -> SQL Server Management Studio 31)
32)

Connect to SQLEXPRESS database engine.

Below the Menu bar there is a button link -New Query. Click on New Query. A window will pop up. Run (Execute) the SQL scripts in this window in the given sequence.

33)

Вам также может понравиться