2 Replies Latest reply on Oct 15, 2003 10:36 PM by anis79

    How to clean Servlet class in memory?

    huskerchen

      Hi folks,

      I downloaded the JBOSS 3.2.2RC4, with Tomcat. After I recompile the servlet and re-deploy it in the container, I still see the output of the old version of servlet.

      I searched the google and found similar problems with Tomcat servlet container. Some said restarting Tomcat & Apache will work. I tried and I even restart my computer, but I still see the output of the old version servlet.

      I am using Win2K. There is no "touch" command. I tried to manually edit the "web.xml" file and re-deploy it. Nothing happened.

      Please help!

      Yi

        • 1. Re: How to clean Servlet class in memory?
          huskerchen

          OK, imagine how frustrating this could be...

          I recompiled the servlet class, but it seems
          the servlet engine only returns the result of
          the old servlet.

          Searched google, javasoft forum, jboss forum,
          tried everything I can find, the old servlet
          class is still there (where?).

          I tried the following:

          1) Post on forums, including jboss.org, javasoft
          forum... no answer yet for a week.

          2) Restart JBOSS (with Tomcat enbedded)

          3) Restart computer

          4) Restart JBOSS, then re-deploy the servlet module

          5) Remove the "temp" directory under deployment folder under jboss, then restart everything mensioned in 2, 3,4

          6) Check back my post online...

          7) Decided we will not use jboss for any future project.

          • 2. Re: How to clean Servlet class in memory?
            anis79

            Hi Yi,

            I know, i am stucked with this shit since one week and my due date is in one week... I am still unable to develop my servles since they are not updated at deployment...
            I tried everything we can find in all the forums on web (I thank one week is pretty enough to search and post in all the related web sites...)
            I am planning to migrate to another application server which will make me change all of my XDoclet tags...


            Anis