Tuesday 30 December 2014

how to install apache tomcat 6 | how to fix apache tomcat error

How to Install Apache tomcat 6 & how to fix Apache tomcat error easily

I tried to run JSP page in tomcat server but every time I failed I tried service.msc and tried to run Apache tomcat server again I have failed and I god this error code. To overcome this error and run the server I have searched lots of tutorial but none of them worked for me. The error code which I got while tried to run the server.

"Windows could not start the Apache Tomcat on Local Computer. For more information, review the system event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0"

Finally after a long try I run tomcat server.

I hope this tutorial will help you a lot. In this tutorial you do not need to set any Java home, Jdk home.

    • First thing you need to do is download the mentioned software from the link below

    • After downloading the software install Java and Tomcat in the same directory/folder 
 
 
How to Install Apache Tomcat 6?

    • Run Apache tomcat.exe file and click next 

    • select the "destination folder" as in the below image shown

    •  Now change port number (optional). You can set it to default:8080 

 Now browse and select JRE installation Path and click install, after installation click finish and run server
 
 

 Configuration Tomcat 6 to Run Properly:

go to Apache tomcat installation folder, then go to "bin" folder and execute "tomcat6.exe" and command window will open and do not close it else your server will be closed.


now you can check also whether tomcat server is running or not doing simply "services.msc" in Run command. Look, here you will find that Apache tomcat is not running. Don't be panicked, go to Internet explorer or any web browser and type -> http://localhost: [port number you have given during tomcat installation]/index.jsp


if every thing goes well you will be able to see this page. Now you can run any JSP page from Apache tomcat server.

 
Posted in:

0 comments:

Post a Comment