Updates to shared library without restarting - Websphere

This is a discussion on Updates to shared library without restarting - Websphere ; Is it possible to update the utility JAR files (shared library) without needing to restart the instance?...

+ Reply to Thread
Results 1 to 12 of 12

Thread: Updates to shared library without restarting

  1. Updates to shared library without restarting

    Is it possible to update the utility JAR files (shared library) without needing to restart the instance?

  2. Re: Updates to shared library without restarting

    No.
    On Mar 3, 10:03 pm, Cheng Wei Lee wrote:
    > Is it possible to update the utility JAR files (shared library) without needing to restart the instance?



  3. Re: Updates to shared library without restarting

    Cheng Wei Lee wrote:
    > Is it possible to update the utility JAR files (shared library) without needing to restart the instance?
    >

    No.

    Ken

  4. Re: Updates to shared library without restarting

    Try to include the jar file as part of your application as a way
    around.
    Regards,
    Gabriel


    On Mar 7, 8:41 am, Ken Hygh wrote:
    > Cheng Wei Lee wrote:
    > > Is it possible to update the utility JAR files (shared library) without needing to restart the instance?

    >
    > No.
    >
    > Ken



  5. Re: Updates to shared library without restarting

    In WAS v6.1, there is this new update feature, would that be applicable to shared libraries?

  6. Re: Updates to shared library without restarting

    Cheng Wei Lee wrote:
    > In WAS v6.1, there is this new update feature, would that be applicable to shared libraries?
    >

    I don't know, I haven't played with it.

    Ken

  7. Re: Updates to shared library without restarting

    No, no change. The reasons behind this are fundamental Java classloader principles. To pickup new classes and such the JVM must be restarted. I don't know of any way that that class definitions can be unloaded and reloaded from the library JAR's on-the-fly. Configuration files are another story all together.



    John Pape

    WebSphere Advisory Software Engineer

  8. Re: Updates to shared library without restarting

    Thanks John. So if it's a shared library, the only way is to restart the instance then?

  9. Re: Updates to shared library without restarting

    Thanks Ken.

  10. Re: Updates to shared library without restarting

    You got it.



    John Pape

    WebSphere Advisory Software Engineer

  11. Re: Updates to shared library without restarting

    Thanks!

  12. Re: Updates to shared library without restarting

    If you do not want to include the jar file (or the specific code) in
    your application, then you can create a App.EAR to just contain the
    jar files.
    Make sure that you are including that in your current applications.
    Then just redeploy or stop/start the App.EAR when you update the jar.
    It is a way around.
    Regards,
    Gabriel

    On Mar 9, 10:49 pm, Cheng Wei Lee wrote:
    > Thanks!



+ Reply to Thread