1 Reply Latest reply on Oct 27, 2001 1:13 PM by James DuPlain

    Disapearing context

    Nicolas Fournier Newbie

      Since I started using 2.2.2 I have noticed a problem. Here how to reproduce the problem:

      - Deploy a war file in the deploy directory that registers a context but not "/" (e.g.: "/test" ).
      - Deploy a war file in the deploy directory that registers the "/" context.

      If you try to access /test or any path in /test that should be there, you hit a Not Found (404) page.

      I can still reproduce the bug in 2.4.1 and it also appears when put the war files in ears.

      I'm under WinNT 4.0 with Sun's JDK 1.3.1. Using Tomcat 3.2.3.

      Any one has seen this problem, can anyone help?

      Thanks.

        • 1. Re: Disapearing context
          James DuPlain Newbie

          I have also had this problem in a similar situation.
          In tomcat's server.xml file I defined a context /develop that points to my htm/jsp development and in my ear I have / as the only context. When I first start JBoss both are ok. As soon as I re-deploy the ear, the /develop context from server.xml disappears? I don't know why this happens but it is frustrating since it means that I need to re-ear and re-deploy every time I alter a jsp during the development cycle. If you have found a solution, please post. Thanks.