Hi Manoj,

What u have done is right, but u need to specify the
context thru application.xml file and make an ear
file. Then deploy, it will work

appliction.xml
-------------
<?xml version="1.0" encoding="UTF-8"?>

<application>
    <display-name>your application name</display-name>

    <module>
    <web>
        <web-uri>file.war</web-uri>
        <context-root>/file</context-root>
    </web>
    </module>

</application>

Create file.ear containing these file structure.
\meta-inf\application.xml
file.war


Regards,
Manoj


--- Manoj Kithany <[EMAIL PROTECTED]> wrote:
> Hi Experts,
>
> Greetings!
>
> I am getting the error - "Apache Tomcat/4.0.3 - HTTP
> Status 500 - No Context
> configured to process this reques"
>
> Can you please help me/guide me in this.
>
> My Directory structure is
>
> /kithany (top level dir)
> /kithany/index.html
> /kithany/WEB-INF (dir)
> /kithany/WEB-INF/web.xml
> /kithany/WEB-INF/classes (servlets/classes)
> /kithany/WEB-INF/lib (jars)
>
> My web.xml file is:
>
---------------------------------------------------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> <web-app>
> </web-app>
>
---------------------------------------------------------
>
> I then create the WAR files as follows:
> #cd /kithany
> #jar -cvf kithany.war .
>
> This creates kithany.war file which I then put in
> /jboss/server/default/deploy directory
> I then start Jboss(Tomcat) and then start Apache and
> then test it using ths
> following:
> http://MY_IP_ADDRESS:8080/kithany
> on which the the browser thows "Apache Tomcat/4.0.3
> - HTTP Status 500 - No
> Context configured to process this request"
>
> Do I need to configure anything else?
>
> Would really appreciate if you could throw light on
> this.
>
> THANKS!
>
> Manoj G. Kithany
>
>
>
>
>
_________________________________________________________________
> Send and receive Hotmail on your mobile device:
> http://mobile.msn.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to