Install TOMCAT webserver and Apache- MySQL

BATHULA PRAVEEN (BP)
0

 



Step 1: 

Installation of JDK: 

Before beginning the process of installing Tomcat on your system, ensure first the availability of JDK on your system program directory. Install it on your system if not already installed (because any version of tomcat requires the Java 1.6 or higher versions)  

1. set the class path (environment variable) of JDK. To set the JAVA_HOME Variable: you need to specify the location of the java run time environment to support the Tomcat else Tomcat server can not run. This variable contains the path of JDK installation directory. 

2. set JAVA_HOME=C:\Program Files\Java\jdk1.6 

Step 2: 

For setting the class path variable for JDK, do like this: First, right click on the My Computer->properties->advance->Environment Variables->path. Now, set bin directory path of JDK in the path variable 

Step 3: 

The process of installing Tomcat 6.0 begins here from now. It takes various steps for installing and configuring the Tomcat 6.0. For Windows OS, Tomcat comes in two forms: .zip file and .exe file (the Windows installer file). Here we are exploring the installation process by using the .exe file.First unpack the zipped file and simply execute the '.exe' file 








Setting path for JDBC:
Path setting for JDBC: ODBC type4 driver
Fetch Servlet-API file from
C:\PF\ASF\Tomcat5.5\common\lib\servlet-api.jar file
The above servlet-api.jar file is copied into 3 locations
1st time:
C:\PF\Java\jdk.5.0.01\lib\   paste the servlet-api.jar 
 in lib folder.
2nd time:
C:\PF\Java\jdk.5.0.01\jre\lib\ext\  paste the jar file servlet-api.jar in ext folder.
3rd time:
C:\PF\Java\jre1.5.0-01\lib\ext\  paste the jar file servlet-api.jar in ext folder.
Oracle:
C:\Oracle XE\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14 copy the ojdbc14 file and again place this in above three locations
1st time:
C:\PF\Java\jdk.5.0.01\lib\  paste the ojdbc14 in lib folder
2nd time:
C:\PF\Java\jdk.5.0.01\jre\lib\ext\   paste the ojdbc14 in ext folder
3rd time:
C:\PF\Java\jre1.5.0-01\lib\ext\ paste the ojdbc14 in ext folder

Post a Comment

0Comments

Post a Comment (0)