473,416 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

I can not run Apache Tomcat for servlets!

xploreraj
I can not run Apache Tomcat for servlets. Normal Java programs are running.

I have installed the JDK (jdk1.6.0_18 & jre6) & Tomcat 5.5 properly.
The port no. for Tomcat is 8080. I don't think any other application is using that port.
I did the following:

->removed "invoker" comments in installdir\conf\web.xml.
->put my .class files in instaldir\webapps\ROOT\WEB-INF\classes.
->modified environment variables for JAVA_HOME (set to JDK directory), CATALINA_HOME (set to Tomcat5.5 directory), and CLASSPATH (set to installdir\common\lib\servlet-api.jar).
->restarted the server.

The problem is that not even the home page is opening through http://localhost:8080 in IE and Opera 10.6. In Firefox, although the index page is opening, but the http://localhost:8080/examples/Servlets (for Servlet Examples) and other pages are even not opening.

Even if sometimes it opens, it might work or not. But after some time, the problem reoccurs and persists.

ERROR: Page not found (404).

Configuration:
S/W: Firefoz 3.6, Opera 10.6, JDK 1.6.0_18, Tomcat 5.5.
H/W: Windows XP SP2, Intel Core2Duo T6600, 3GB RAM, 320 GB HDD.

Infinite times I installed and uninstalled Tomcat.
Please solve my problem.
Thanks a lot
Sep 11 '10 #1
0 1145

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: anks | last post by:
I am tring to install apache tomcat1.4 on a windows 2000 advanced server. it got installed successfully.but when i start it the command prompt(for apache tomcat) appears for a second and then just...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
2
by: mukhesh | last post by:
Could somebody tell me if Apache tomcat supports .NET. If so, Some sources to the info would be great. Mukhiya
1
by: geoffblanduk_nospam | last post by:
Using Apache Tomcat 5.0.28 I'm having a problem with the xsl:import command. I have several Tomcat running on the same server (they could be different releases of code so can't share resources)....
4
by: JNeko | last post by:
Hello all! I am starting to do a little reviewing of my JSP, but first I would like to get my servlet container working! Now, it's been a while sinced I configured and used Tomcat, so I used this...
0
by: rugman | last post by:
Hi. Let me immediately declare - I'm a designer/owner of a website written in jsp pages running under Apache Tomcat 5.5.25. I make simple changes to code but don't understand much about...
0
ak1dnar
by: ak1dnar | last post by:
Hi Guys, I am using a virtual private server which runs Linux OS in it. On the server Apache and Tomcat has installed and to the best of my knowledge mod_jk also installed and working perfectly. In...
0
by: JimDaley | last post by:
I am running Windows server 2003 and Apache tomcat 5.0.25. If I reboot the system and once it is back up type in "net start "apache tomcat" it returns in 10 seconds saying it didn't start the...
1
anurag275125
by: anurag275125 | last post by:
Hello all, I am trying to install Apache-tomcat-6.0.24 on Redhat Linux system. But I'm facing some problems. After unpacking the "apache-tomcat-6.0.24-src.tar.gz" file in /home/anurag folder....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.