3 Replies Latest reply on Apr 19, 2013 9:50 AM by 997468

    Reload a jar in weblogic server without restart

    1003934
      Hi All,

      We are using weblogic version '10.0.1.0' and have 'reports.jar' file in server for reports.

      If we change any existing class file under 'reports.jar' then we are using below steps in order to recognize a modified jar by weblogic
      1) We need to recreate a jar using eclipse in local IDE and
      2) Copy the 'reports.jar' into server
      3) Need to restart server inorder to recognize the modified jar

      Is there any alternative solution to reload a jar in weblogic server without restart?

      Please do the needful.

      Thanks & Regards,
      Gangadhar
        • 1. Re: Reload a jar in weblogic server without restart
          997468
          Hi,

          If this is for weblogic running on development mode, then you can go for auto-deployment feature where weblogic will auto-deploy modified application from autodeploy directory.

          For production mode, you can go for production-redeployment feature of weblogic where it uses application versioning. So for example you deployed webapp1 with version app1.0 and then for new release you will deploy webapp1 with version app2.0 adding a retirement policy to retire old application after said time and start using webapp1 with app2.0.

          Refer to link for mode detail - http://middlewaresupport.wordpress.com/2013/03/21/production-redeployment-feature-in-weblogic/

          rank it if found useful

          Thanks,
          Ranjan
          • 2. Re: Reload a jar in weblogic server without restart
            1003934
            Thank you Ranjan.

            I couldn't find any documentation or tutorial to learn how to use auto-deployment feature in weblogic development mode, could you please help me on that?

            Thanks & Regards,
            Gangadhar
            • 3. Re: Reload a jar in weblogic server without restart
              997468
              Hi,

              For auto-deployment feature refer to blog post - http://middlewaresupport.wordpress.com/2013/02/20/understanding-weblogic-deployment-techniques/

              ## rank the answer if it is helpful ##

              Thanks,
              Ranjan
              1 person found this helpful