Sei sulla pagina 1di 2

STEPS TO EXECUTE THE APPLICATION

1. Install all the software required.

2. JAVA

Set the environment variables

• Path : C:\Program Files \Java\jdk1.6.0_14\bin

• JAVA_HOME: C:\Program Files\Java\jdk1.6.0_14

• classpath: C:\Program Files\Java\jdk1.6.0_14\lib;.;

3. apache tomcat 5.0

Will install the software change the port number to some other number other
than 8080 because oracles port number is also 8080 when calling there will rise a
conflict.

4. Oracle 9i

The oracle 9i should be installed perfectly and will installing it the SID name
should be given as GLOBAL.

After that we need to set the DSN

Contents and procedure to set the DSN

1. Start

2. Control panel

3. Administrative tools

4. Data sources (ODBC)

5. Click on add button you will get a list of databases present on y


our system.

6. Now select the driver oracle in orahome90 and click on FINISH


button

7. A window opens which as the fields

 Datasourcename: oracledsn (this is the name


which is given at the URL of the connection of
jdbc-odbc bridge)
 Description: -

 TNS server: GLOBAL (this is the SID name


which we gave while installing the oracle
software)

 User ID: scott

After this click on the TEST CONNECTION button

There the fields are

 DSN : GLOBAL

 User ID: scott

 Pass word: tiger

After this click on OK button a window appears where it mentions


whether the connection is successful or not.

[NOTE: oracle 9i is not compatible with windows 7 version.]

HOW TO START THE EXECUTION?

1. First copy the folder of your application and paste in the web-apps folder of the apache
tomcat.

(This is called deploying the application

2. Now go to bin of tomcat and start the server.

3. Next open the oracle

4. Now open the internet explorer or morizall Firefox in the address bar type the address as

http://localhost:8081 (8081 is the port number of the tom cat which is of your wish
but this should be the same as the one u gave at the time u install the software.)

5. Now click on tomcat manager there you will find your application run your application.

Potrebbero piacerti anche