tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Kithany" <>
Subject RE: Apache+Tomcat Error (No Context configured)
Date Wed, 18 Sep 2002 20:46:49 GMT
Hi Experts,

With reference to John's last email, I created the CONTEXT in SERVER.XML 
file and added a following CONTEXT:
<Context path="/kithany" docBase="kithany" debug="0" />

Also, my Directory structure is as follows:

I have my APPLICATION.XML file as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>

And, my WEB.XML file is as:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 

I then creat WAR file as follows:
#jar -cvfM kithany.war .

Which I then, put it into /jboss/server/default/deploy and then start my 
JBOSS(Tomcat/Catalina) Server and then on browser, I type following:

but it gives still gives following message.
Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process 
this request

Experts, could you please guide me on to this.

THANKS to you and to John.

Manoj G. Kithany

>From: "Turner, John" <>
>Reply-To: "Tomcat Users List" <>
>To: 'Tomcat Users List' <>
>Subject: RE: Apache+Tomcat+JBoss Error (No Context configured)
>Date: Tue, 17 Sep 2002 08:15:38 -0400
>There are plenty of servlet and JSP examples, with source, in the examples
>directory of Tomcat, including a HelloWorld servlet.
>Your error message seems self-explanatory to me.  With all due respect, I
>must suggest to you again (as others have) that you READ the documentation
>available before posting questions to the list.  You cannot just create a
>directory and drop a WAR file in it and expect Tomcat to work.  As your
>error message says, you need a Context element in server.xml for that file.
>Please consult the documentation and server.xml itself for help on how to
>setup a Context element (hint: do the same thing as done for the /examples
>Context).  Setting up a Context is basic issue #1 in Tomcat configuration,
>it's worth learning.  If you configure your Context, and still cannot 
>your application, then post back to the list with the error messages you

MSN Photos is the easiest way to share and print your photos:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message