4 Replies Latest reply on Aug 21, 2002 2:08 PM by lucvu

    Servlet Reloadable Problem in Jboss3.0 + Tomcat 4.0.3

      In Jboss3.0 + Tomcat 4.0.3, I found that the Servlets that I deloyed in a web application count not reload while updating them. Anybody can help me?

        • 1. Re: Servlet Reloadable Problem in Jboss3.0 + Tomcat 4.0.3
          crypto

          put your servlets in a war file and then deploy them using ANT in the 'deploy' directory so that JBoss can do the hot redeploy of your servlets.

          /Werner

          • 2. Re: Servlet Reloadable Problem in Jboss3.0 + Tomcat 4.0.3
            joelvogt

            There were a few issues with reloading in tomcat4.0.3 if this last post doesn't help you. See if you can get a later version which would have a few bug fixes for you

            • 3. Re: Servlet Reloadable Problem in Jboss3.0 + Tomcat 4.0.3
              lucvu

              I am using JBoss3.0.1_Tomcat4.0.4 and my servlet is still not reloading. I can run and modify the servlet while in debug mode and everything work fine. But when I packaged the servlet into a war file, deployed it, and it came up with the previous version of the servlet.

              Any help would be greatly appreciated!

              • 4. Re: Servlet Reloadable Problem in Jboss3.0 + Tomcat 4.0.3
                lucvu

                >I am using JBoss3.0.1_Tomcat4.0.4 and my servlet is still >not reloading. I can run and modify the servlet while in >debug mode and everything work fine. But when I packaged >the servlet into a war file, deployed it, and it came up >with the previous version of the servlet.
                >
                >Any help would be greatly appreciated!

                I have found the problem. It was my fault. I deployed my EJBs in a jar file and my web stuff in a war file. When I deploy my jar file it also contain my servlet classes. So when I redeploy my war file with the new servlet, it still use the old servlet from my jar file. It took me almost a day to figure this out. Stupid me!@#$%^&*