473,397 Members | 2,028 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,397 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 1143

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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.