I had stand alone Tomcat4 working (examples) but need to re-install after a
botched postgresql install.  Now I'm back to HTTP 500 - No Context
configured. Check all docs but stuck
Here are my installation steps:
Red Hat 8.0
Postgresql 7.3.1 rpm
IBMJava2-SDK-131 rpm
Add IBMJava2-131/bin and jre/bin paths to /root/.bash_profile
Install Tomcat 4.1.18 rpm
tomcat4.conf has:
JAVA_HOME="opt/IBMJava2-131"
CATALINA_HOME="/var/tomcat4"
JASPER_HOME="/VAR/TOMCAT4"

My server.xml has:
Coyote HTTP/1.1 Connector on port 8080
port="8080"

<Engine name="Standalone" defaultHost="localhost"

<!- Define the default virtual host
<Host name=""localhost"

Any Ideas?
Phil

rpm----- Original Message -----
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 12:11 PM
Subject: RE: HTTP 500 - No Context configured- progress


>
> OK, we're going around in circles.
>
> My advice:  install Tomcat, and stick with the defaults, and then analyze
> how things are set up before changing them.  Out of the box,
> http://localhost:8080/examples works for ALL Tomcat installations.  If it
> doesn't, something isn't setup right (like CATALINA_HOME isn't set), or
> someone changed something in the default server.xml.  You do not need to
> make ANY changes to server.xml or any other Tomcat config file to get
> http://localhost:8080/examples working when you install it.  Trust me.
>
> Tomcat, in server.xml, likes host names.  If, in server.xml, you changed
> <Host name="localhost"> to <Host name="something else"> please change it
> back, especially if you put an IP address in there (like 192.168.x.x or
> whatever).
>
> If you have 192.168.x.x in there, that is what you need on the URL.  If
you
> are typing "localhost:8080" into your browser, then you need <Host
> name="localhost"> in server.xml.  Things have to match, it's not magic.
>
> Once you have it back to the default installation, and
> http://localhost:8080/examples works (JSPs and servlets both work), please
> post back to the list, and explain that 1) you have a default
installation,
> 2) you have a certain Tomcat version, 3) whether you want to use Apache or
> not, and 4) what URL it is that you want to use to make your web
application
> come up via Tomcat.  Even if you want to have multiple webapps or
whatever,
> start with just one and let the folks here step you through setting it up
so
> that you can see what it takes and you don't go in circles.  Also, check
the
> docs, all of this stuff is covered in there, and there are several HOWTOs
> available on the net.
>
> John
>
> > -----Original Message-----
> > From: pcampaigne [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 24, 2003 3:02 PM
> > To: Tomcat Users List
> > Subject: Re: HTTP 500 - No Context configured- progress
> >
> >
> > John,
> >  http://localhost:8080/examples/ doesn't work--blank screen
> > Phil
> > ----- Original Message -----
> > From: "Turner, John" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Friday, January 24, 2003 9:45 AM
> > Subject: RE: HTTP 500 - No Context configured- progress
> >
> >
> > >
> > > http://localhost:8080/examples/ and the example JSP and
> > servlets run would
> > > be proof that Tomcat is up and running, and configured correctly.
> > >
> > > John
> > >
> > >
> > > > -----Original Message-----
> > > > From: pcampaigne [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, January 24, 2003 12:41 PM
> > > > To: Tomcat Users List
> > > > Subject: Re: HTTP 500 - No Context configured- progress
> > > >
> > > >
> > > > Ed,
> > > > I am no longer getting the HTTP no context configured
> > error.  After
> > > > installing a fresh Redhat 8.0 and tomcat4-4.1.18 and starting
> > > > tomcat4, in
> > > > Mozilla I go to the url http:localhost:8080 and get a blank
> > > > screen.  This is
> > > > regardless if I replace localhost with the IP address in
> > > > server.xml.  I also
> > > > changed enableLookups to false in the HTTP/1.1 Connector entry.
> > > >
> > > > Does a blank screen at least mean that tomcat is working?
> > > > What next?
> > > > Phil
> > > > ----- Original Message -----
> > > > From: "Ed Robbins" <[EMAIL PROTECTED]>
> > > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, January 23, 2003 6:16 PM
> > > > Subject: Re: HTTP 500 - No Context configured
> > > >
> > > >
> > > > > I've seen this many times.  Never mind the rightnous or
> > wrongnous of
> > > > > this statement -  If you want to see it work, replace
> > > > localhost with the
> > > > > actual IP address of the machine.  So, if the IP address is
> > > > 192.168.1.1,
> > > > > then try http://192.168.1.1:8080/
> > > > >
> > > > > Ed
> > > > > On Thu, 2003-01-23 at 18:52, pcampaigne wrote:
> > > > > > The information I gave yesterday was wrong.  I was viewing the
> > > > server.xml
> > > > > > file in Mozilla and I should have been viewing it in the
> > > > xml viewer.
> > > > > >
> > > > > > The following lines in /etc/tomcat4/server.xml relate to ROOT:
> > > > > > <!- Tomcat Root Context->
> > > > > > <!-
> > > > > >     <Context path="" docBase="ROOT" debug="0"/>
> > > > > > ->
> > > > > > The problem is as follows:
> > > > > >
> > > > > > >>>>> HTTP Status 500 - No Context configured to process this
> > > > > > > > > > request.THe server encountered an internal error that
> > > > > > > > > > prevented it from fulfilling this request
> > > > > > > > > >
> > > > > > > > > > The Tomcat  running .txt doc says that this
> > should work.
> > > > > > Any ideas what went wrong?
> > > > > > Thanks,
> > > > > > Phil
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Turner, John" <[EMAIL PROTECTED]>
> > > > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > > > > Sent: Wednesday, January 22, 2003 1:47 PM
> > > > > > Subject: RE: HTTP 500 - No Context configured
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > That's not even a valid server.xml.
> > > > > > >
> > > > > > > Please run the following:
> > > > > > >
> > > > > > > find / -name server.xml -print
> > > > > > >
> > > > > > > and tell us the output.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: pcampaigne [mailto:[EMAIL PROTECTED]]
> > > > > > > > Sent: Wednesday, January 22, 2003 4:40 PM
> > > > > > > > To: Tomcat Users List
> > > > > > > > Subject: Re: HTTP 500 - No Context configured
> > > > > > > >
> > > > > > > >
> > > > > > > > John,
> > > > > > > > I installed Tomcat from the rpm
> > > > > > > > tomcat4-4.1.18-full.1jpp.noarch.rpm.  The
> > > > > > > > entire contents of the /etc/tomcat4/server.xml file is:
> > > > > > > >
> > > >
> > factory.org.apache.catalina.users.MemoryUserDatabaseFactory pathname
> > > > > > > > conf/tomcat-users.xml usernamesa password
> > > > > > > > driverClassName org.hsql.jdbcDriver url
> > > > jdbc:HypersonicSQL:database
> > > > > > > > mail.smtp localhost
> > > > > > > >
> > > > > > > > I don't see any context element for ROOT.
> > > > > > > > Thanks,
> > > > > > > > Phil
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Turner, John" <[EMAIL PROTECTED]>
> > > > > > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > > > > > > Sent: Wednesday, January 22, 2003 12:34 PM
> > > > > > > > Subject: RE: HTTP 500 - No Context configured
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Please post the relevant portion of server.xml.
> >  Is there a
> > > > Context
> > > > > > > > element
> > > > > > > > > in it for the ROOT Context?  There should be, if you are
> > > > > > > > using the default
> > > > > > > > > serverl.xml.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: pcampaigne [mailto:[EMAIL PROTECTED]]
> > > > > > > > > > Sent: Wednesday, January 22, 2003 3:27 PM
> > > > > > > > > > To: Tomcat Users List
> > > > > > > > > > Subject: HTTP 500 - No Context configured
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Apache 2.0.43 and tomcat4-4.1.18 auto start ok on
> > > > Red Hat 8.0
> > > > > > > > > > when configured with mod_jk2 2.0.43 and I can view
> > > > > > > > > > http://localhost, but when trying
> > > > > > > > > > http://localhost:8080/ I get the following error:
> > > > > > > > > >
> > > > > > > > > > HTTP Status 500 - No Context configured to
> > process this
> > > > > > > > > > request.THe server encountered an internal error that
> > > > > > > > > > prevented it from fulfilling this request
> > > > > > > > > >
> > > > > > > > > > The Tomcat  running .txt doc says that this
> > should work.
> > > > > > > > > > Any ideas what went wrong?
> > > > > > > > > > Thanks,
> > > > > > > > > > Phil
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > > For additional commands, e-mail:
> > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > > For additional commands, e-mail:
> > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > --
> > > > > Ed Robbins <[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to