How to choose an ideal outsourced technical support company
Read MoreHow to choose an ideal outsourced technical support company
Wednesday, May 16, 2012 12:43:58 PM Asia/Calcutta
How to boot Linux server in new kernel once for testing
Sunday, May 6, 2012 1:56:51 AM Asia/Calcutta
How to boot Linux server in new kernel once for testing
Read MoreHow to remove SQL Server database from single-user mode
Sunday, May 6, 2012 1:20:14 AM Asia/Calcutta
How to remove SQL Server database from single-user mode
Read MoreInstalling RED5 Media server on CentOS Server
Sunday, May 6, 2012 12:21:55 AM Asia/Calcutta
Installing RED5 Media server on CentOS Server
Read MoreInstalling Apache-tomcat in a Linux server
Saturday, May 5, 2012 4:27:18 PM Asia/Calcutta
Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pureJava" HTTP web server environment for Java code to run.
Experienced users can build and install Tomcat manually from source code after installing such dependencies as the Java Development Kit and the Apache Ant build tool. Depending on the usage scenario, Tomcat may either be deployed as a standalone pure-Java web server or as a component in a more complex configuration in which it serves as a back-end which handles requests passed to it from a general purpose web server such as Apache, using a connector such as mod_jk.
Features
- Reduced garbage collection, improved performance and scalability
- Faster JSP parsing
- Native Windows and Unix wrappers for platform integration
- Implements the Servlet 2.4 and JSP 2.0 specification
Installation
There are a number of different methods to start and stop Tomcat 3.3.
There are differences in the environmental setup needed for these methods. This section addresses the environmental setup needed for using the shell scripts and batch files provided to simplify starting and stopping Tomcat.
Win32:
set JAVA_HOME=c:/jdk1.4.x
set PATH=%JAVA_HOME%\bin;%PATH%
Unix (bash/sh):
JAVA_HOME=/usr/local/java/jdk1.4.x; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
Download Tomcat:
Download it from http://tomcat.apache.org/download-55.cgi
Tomcat 5.5 version requires jdk 1.4 minimum.
Extract tomcat
# cd jakarta-tomcat-version
# cd bin #tar xvfz jsvc.tar.gz
# cd jsvc-src
# chmod +x configure
# ./configure
# make
# cp jsvc ..
# cd ..
Run Tomcat using the below command:
# ./startup.sh
Open web browser and type http://localhost:8080/ you should see the Tomcat Administration page
Test Tomcat
Go to webapps/ROOT in the tomcat directory and create page hello.html and write in it. Open the URL http://localhost:8080/hello.html you should see your page.
Make JSP page
go to webapps/ROOT in the tomcat directory and create page hello.jsp and write in
it the following lines.
<%=new String("Hello WebHostingRepo")%>
<%=new java.util.Date()%>
Save and run the following URL http://localhost:8080/hello.jsp
and you should be seeing "Hello WebHostingRepo".
Stop Tomcat
go to the tomcat bin directory
#./shutdown.sh
Installing Git in a Linux cPanel server
Saturday, May 5, 2012 4:10:10 PM Asia/Calcutta
Installing Git in a Linux cPanel server
Read MoreCommand to Install all IIS 7 Features
Saturday, May 5, 2012 2:27:24 PM Asia/Calcutta
Command to Install all IIS 7 Features
Read More

