1 Reply Latest reply on Sep 18, 2002 10:30 PM by Joel Vogt

    Deployment Mapping Error (No Context)

    Manoj G. Kithany Newbie

      Hi JBosses,

      I created the context in server.xml file and added a following CONTEXT:

      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" "http://java.sun.com/dtd/web-app_2_3.dtd">

      I then create 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.


      Manoj G. Kithany

        • 1. Re: Deployment Mapping Error (No Context)
          Joel Vogt Master

          You will not need to put any context in server.xml as jboss will not read
          this file anyway. The problem with your context seems to be linked to your

          java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

          This is either a classpath conflict or you have put jars in your lib
          directory which are conflicting with required ones. You should probably
          check both, making sure that you only have the minimum required. For example
          a classpath of tools.jar in your jre and that is about it.