Newbie Tomcat 4.0 install gives 500 "No Context configured" error @ HTTP localhost

Posted on 2005-04-28
Last Modified: 2010-04-01
Installed Tomcat 4.0 (my professor recommended this older version) on my Win 2000 box. j2sdk1.4.0_01, j2sdkee1.2.1. Before installing Tomcat, I changed my Oracle XDB port to use 8083 instead of 8080. IIS is also installed, uses port 80. I have Norton Internet Security (yes, it makes my life difficult) but it's disabled right now.

It feels like maybe an Apache thing, but then again Tomcat is working enough to tell me that the examples directory isn't available, so I am truly lost. Don't know which errors are most important so I'll throw them all out there. I Googled on all of them, but could find no solution, even though I know this question and variants has been asked many times. Please go easy on this Java newbie...

My Catalina DOS window that comes up when I invoke startup shows:
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1

... I have a feeling it should say more than that, but as a newbie I have no idea.

When I go to http://localhost:8080/ I get an error "HTTP Status 500 - No Context configured to process this request"

When I go to http://localhost:8080/examples/ I get an error "The requested resource (/examples) is not available."

My apache log in the tomcats logs folder says:
2005-04-28 23:09:29 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests socket closed
      at Method)

Catalina log says:
2005-04-28 23:29:53 HttpProcessor[8080][4] process.invoke
      at org.apache.catalina.valves.ErrorDispatcherValve.status(
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(
      at org.apache.catalina.core.StandardPipeline.invokeNext(
      at org.apache.catalina.valves.ErrorReportValve.invoke(
      at org.apache.catalina.core.StandardPipeline.invokeNext(
      at org.apache.catalina.valves.AccessLogValve.invoke(
      at org.apache.catalina.core.StandardPipeline.invokeNext(
      at org.apache.catalina.core.StandardPipeline.invoke(
      at org.apache.catalina.core.ContainerBase.invoke(
      at org.apache.catalina.core.StandardEngineValve.invoke(
      at org.apache.catalina.core.StandardPipeline.invokeNext(
      at org.apache.catalina.core.StandardPipeline.invoke(
      at org.apache.catalina.core.ContainerBase.invoke(
      at org.apache.catalina.connector.http.HttpProcessor.process(

Localhost log is saying something different now than half an hour ago---I think all I did in between was stop IIS even though it's on another port:
2005-04-28 23:09:39 StandardContext[/manager]: Error initializing resources: Document base C:\tomcat4\webapps\manager does not exist or is not a readable directory
2005-04-28 23:09:39 StandardContext[/manager]: Context startup failed due to previous errors
2005-04-28 23:09:39 StandardContext[/manager]: Exception during cleanup after start failed
LifecycleException:  Container StandardContext[/manager] has not been started
      at org.apache.catalina.core.ContainerBase.stop(
      at org.apache.catalina.core.StandardContext.stop(
      at org.apache.catalina.core.StandardContext.start(
      at org.apache.catalina.core.ContainerBase.start(
      at org.apache.catalina.core.StandardHost.start(
      at org.apache.catalina.core.ContainerBase.start(
      at org.apache.catalina.core.StandardEngine.start(
      at org.apache.catalina.core.StandardService.start(
      at org.apache.catalina.core.StandardServer.start(
      at org.apache.catalina.startup.Catalina.start(
      at org.apache.catalina.startup.Catalina.execute(
      at org.apache.catalina.startup.Catalina.process(
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
      at java.lang.reflect.Method.invoke(
      at org.apache.catalina.startup.Bootstrap.main(
2005-04-28 23:33:01 StandardHost[localhost]: MAPPING configuration error for request URI
Question by:Sapphireblue
    LVL 19

    Accepted Solution

    is there a directory named as "manager" available in your tomcat4\webapps??
    it should be there.. if its not there your home page might not come up..
    and actually speaking system should have been looking for c:\tomcat4\server\webapps\manager so this suggests to me that your tomcat4 installation is not correct...
    LVL 1

    Author Comment

    My webapps directory was completely blank, as it turns out, so there's the problem. Thanks.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now