1 2 3 Previous Next 31 Replies Latest reply on Sep 19, 2002 12:28 PM by mkithany Go to original post
      • 30. Re: JBoss/Tomcat HTTP 500

        The .war hack was dropped in 3.x

        You can for jboss3 use a WEB-INF/jboss-web.xml with
        the following content:

        <?xml version="1.0"?>
        <!DOCTYPE jboss-web>

        <jboss-web>
        <context-root>/</context-root>
        </jboss-web>

        Regards,
        Adrian

        • 31. Re: JBoss/Tomcat HTTP 500
          mkithany

          Hi JBosses and Mr. Adrian Brock,
          Greetings!

          I created the context in SERVER.XML file and added a following CONTEXT:


          Also, my Directory structure is as follows:
          /kithany
          /kithany/META-INF/application.xml
          /kithany/WEB-INF/web.xml
          /kithany/foo.jsp
          /kithany/index.html
          /kithany/kithany.war

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

          <display-name>KITHANY</display-name>


          <web-uri>kithany.war</web-uri>
          <context-root>/kithany</context-root>



          -------------------------------------------------------------------------

          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"
          "http://java.sun.com/dtd/web-app_2_3.dtd">
          <web-app>
          <session-config>
          <session-timeout>
          30
          </session-timeout>
          </session-config>
          <welcome-file-list>
          <welcome-file>
          index.jsp
          </welcome-file>
          <welcome-file>
          index.html
          </welcome-file>
          <welcome-file>
          index.htm
          </welcome-file>
          </welcome-file-list>
          </web-app>
          -------------------------------------------------------------------------

          I then creat WAR file as follows:
          -------------------------------------------------------------------------
          #pwd
          #/kithany
          #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:
          http://MY_IP_ADDR_ESS:8080/kithany
          http://MY_IP_ADDR_ESS:8080/kithany/index.html


          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!

          Manoj G. Kithany
          manojkithany108@hotmail.com

          1 2 3 Previous Next