2 Replies Latest reply on May 17, 2005 3:23 PM by mmaia

    With JBOSS 4.0, how to get my web app at root?

    markricard

      I am trying to get my web application to be the one that loads when JBOSS 4.0 is running and you type something like:

      http://myweb.com/

      But I only see the JBOSS welcome page even though I have my webapp deployed. I can see myweb when I do this: http://myweb.com/myweb/ but I want it to be at the root.

      I have tried numerous things like modifying the server.xml file in the default directory inside the HOSTS tag with:

      (replace [] with brackets)

      [Context path="" docBase="deploy/myweb"/]
      or
      [Context path="/" docBase="deploy/myweb"/]
      or
      [Context path="/" docBase="/myweb"/]
      or
      [Context path="/" docBase="myweb"/]

      But it does not work. Does anyone know?