5 Replies Latest reply on Nov 28, 2001 4:25 PM by mrminutia

    cataila - web-root

      Hi,

      with catalina the entry


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


      in application.xml does't work, while


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


      does.
      A bug or need I additional configuration?

        • 1. Re: catalina - web-root
          tcabot

          I'm getting similar behavior. Basically if you get from the root you'll get the "welcome to tomcat" page that comes from $catalina_home/webapps/ROOT/index.html and not from the webapp specified in application.xml.

          • 2. Re: cataila - web-root
            tcabot

            See bug report "[ #475302 ] can't deploy webapps to "root"" for a workaround.

            http://sourceforge.net/tracker/index.php?func=detail&aid=475302&group_id=22866&atid=376685

            • 3. Re: cataila - web-root
              alphafoo

              Good to see this post...I thought I was going crazy seeing "Welcome to Tomcat" when context-root was /.

              Is this patch for 2.4 or 3.0? I'm running 2.4.3 and would love to just get an updated EmbeddedCatalinaServiceSX class file (or the catalina-service JAR file) so I don't need to download and compile the whole thing.

              Would someone be so kind as to send me either the class file or the 16K JAR file in jboss/lib/ext?


              • 4. Re: cataila - web-root
                alphafoo

                Got it- Thanks tcabot. The patch works--- hope it makes it into the next JBoss release.

                • 5. Re: cataila - web-root
                  mrminutia

                  This bug has bitten me too. However, I commented out the lines, rebuilt JBoss and now get a 500 error claiming the context is unavailable. Exact same configuration files/EAR as when using the previous JBoss binary.

                  Did you do something else to the source or configuration that wasn't mentioned in the bug report?

                  JT