Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only

Is there a object caching in WAS?

  • 1.  Is there a object caching in WAS?

    Posted Tue April 27, 2021 02:26 AM
    Hi all,

    Just like inquire, are Java objects being cached in WebSphere Application Server?

    My dev has a J2E app (running obviously in WAS) that does http post request to a specific destination (let's call this server1), and the URL was set in the JVM custom properties, so the app only requires to use property as a variable. The URL has FQDN value that does not change.

    When server1 (with IPadd1) changes its IP address to IPadd2, the Java app connection timed out, and needs to be restarted in order for the connection to establish. I'm thinking the IP add (IPadd1) of the URL is cached in JVM, or something, that's why the app has connection timeout, 

    Any idea how this works? Is there caching mechanism involved here? I'm trying to avoid the profile restart everytime the IP add is changing.

    The URL is not changing, only the IP address. Is there a way to avoid restarting the WAS profile?


    Thanks a lot for the time

    ------------------------------
    Senen Jr Dimanahan
    ------------------------------

    #AIXOpenSource