2 Replies Latest reply on Jan 9, 2003 3:50 AM by chris_clark

    How to access the "examples" folder of Tomcat via Jboss

    merekpaine

      Hell there,

      I got tomcat and jboss working, tested a couple of jsp pages successfully but I cant seem to do it with the "example" folder of Tomcat.

      This is what I have done so far:
      jar -cvf examples.war .
      placed the examples.war file in C:\jboss\server\default\deploy

      and then try viewing it via http://localhost:8080/examples

      error = HTTP Status 500 - No Context configured to process this request

      Do i need to do some amendments in the web.xml file?

      can someone plz give me some hint on what to do

        • 1. Re: How to access the "examples" folder of Tomcat via Jboss

          The tomcat examples contain a lot of example
          configurations which tomcat standalone ignores
          but jboss doesn't. You will need to fix that
          config, it is broken. e.g. ejb-ref

          Regards,
          Adrian

          • 2. Re: How to access the "examples" folder of Tomcat via Jboss
            chris_clark

            I just started teaching myself Servlets and JSP last week, using Tomcat 4.1.18 (from Apache). After several hours of digging around, the only way I've been able to make servlets work is to include a <servlet-mapping> section in the web.xml file for each servlet.

            I seem to remember reading about a master servlet that would automatically deploy servlets without <servlet-mapping> information, but that it had been disabled in current versions of Tomcat.

            Hope this helps!
            Chris