2 Replies Latest reply on Nov 12, 2008 11:54 AM by Aditya Bhushan

    New classfiles not getting picked up from EAR

    Aditya Bhushan Newbie

      I have an application running on JBoss 4.0.3 deployed as an EAR.
      If I update some classfiles in one of the wars present inside the ear, and restart the server, the changes are not picked up many a times. I have to manually go and delete the files from tmp and work folder and then start the server.
      Is there a way to force JBoss to pick up new files each time. Is this a known bug?

        • 1. Re: New classfiles not getting picked up from EAR
          jaikiran pai Master

           

          restart the server, the changes are not picked up many a times.


          I haven't heard of such an issue. Restarting the server should start the application from a clean state. Can you provide more details about these class files that are not updated? How do you deploy the application? And which version of Java and which operating system.

          And any specific reason for using JBoss-4.0.3 version? The latest stable version is JBoss-4.2.3GA

          • 2. Re: New classfiles not getting picked up from EAR
            Aditya Bhushan Newbie

            These class files are normal java beans being referenced from JSPs. I deploy the EAR by placing it in the deploy folder directly. It doesn't happen each time.
            JDK 1.5, Windows 2003
            We have moved to newer JBoss, but we support upgrading earlier version of our application which was supported on 4.0.3. Its during this upgrade that we deploy new EAR files, but the older class files are at times not refreshed. We then advise our customers to detele the files manually from work folder.