1 Reply Latest reply on Nov 24, 2006 4:49 AM by Pooja Chugh

    Switching application from Jboss3 to Jboss4

    Pooja Chugh Newbie

      We have our application running fine on Jboss 3.2.3.Now we want to switch to Jboss 4.0.5.Our doc-base is not lying under WEB-INF instead we have doc-base on some local server and we are pointing to that server through some configuration file.
      All vm and html files are being picked up from that server but for images,css and js files it is still looking into WEB-INF only.
      Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5.

        • 1. Re: Switching application from Jboss3 to Jboss4
          Pooja Chugh Newbie

          Hi This is Ashish, I am team mate of Pooja.

          We found the problem and solution as well.

          Actually the Jboss 3.2.3 uses tomcat 4.1.29 and jboss 4.0.5 uses tomcat 5.5.20. and naming-resources.jar and default.servlets.jar working is totally different in jboss 4.

          We had overridden DefaultServlet and overriden the getResources() of DefaultServlet but in jboss 4.0.5, default-Servlet.jar does not use getResources() method call. Insteaed they have protected variable resources of ProxyDirContext.

          we used the same to assigne to our docbase.