↓ Skip to main content

Sharing libraries at runtime

Thanks to my colleague Dave Screen for highlighting a useful technote relating to sharing library modules in WebSphere ESB and Process Server. The WebSphere Integration Developer concept of a library is typically only used for development time sharing of artifacts i.e. when you deploy a module that depends on that library, a copy of the JAR file is included in the enterprise application that is deployed. The technote describes how to deploy the library as a WebSphere shared library and have multiple modules depend on the same instance at runtime. This has the potential to reduce memory usage (the library is on a shared classloader) and ease managability. It does, however, mean that you need to be more careful about versioning of the library and breaking other dependent modules. If you’re not on 6.2 then note the list of APARs at the bottom of the document.

Related

WebSphere ESB 6.2

One of the disadvantages of being back in development is that much of my work is confidential. As the quantity of technical posts on here recently demonstrates - this is not conducive to blogging. Thankfully Version 6.2 of the entire BPM stack became generally available today so the flood gates have opened. developerWorks already has articles covering the new functionality in WebSphere Integration Developer and WebSphere Process Server so, rather than just relisting the features, I’m going to provide a slightly more personal view, focussing on the new content in WebSphere ESB.

Messaging Engine Startup Problems

Another heads up for some Service Integration Bus education. On 17 September there is a free webcast entitled Messaging Engine Startup Problems given by Level 2 service and followed by a Q&A session. You can see a list of all the upcoming webcasts or, to receive information about events such as this, along with information about publications and support issues, sign up at My Support.

Deployment environments during profile creation

Today I was trying to work out why a WebSphere ESB customer wasn’t seeing the default deployment environment created when using manageprofiles to create a Network Deployment topology. They had specified the appropriate topologyPattern and topologyRole parameters. It turned out that they were missing the ndtopology option which should be set to true. This was perhaps excusable as the help for the template doesn’t list this option and even the InfoCenter documentation manages to get the case incorrect. As on previous occasions, I spotted this omission by running through the graphical Profile Management Tool and comparing the parameters that it generates in the invokeWSProfile entry near the top of the logs/manageprofiles/<profile_name>_create.log file.

2 archived comments

These comments were left on the original WordPress version of this site. Comments are now closed.

  1. Armin

    Hi,
    I read the technote, but the problem is for every deployment, the shared library should be set for the module. is it possible to change this in WID? I do not want to change the application.xml, since it is regeenrated each time building the module. I’d like to be able to do it inside the mediation module deployment descriptor.

  2. Mahesh

    Hi David,

    The approach to use shared libraries in business processes seems to reduce the memory footprint of process modules considerably. This makes the process deployment and running extremely nimble in work environments.

    However, we need to stop and restart the dmgr–cluster–node in actual process server set-up, in order to successfully deploy a module using shared libraries. This is a time-consuming activity (upto an hour is spent in stop-restart using RAFW deploy job steps). Have you come across solution to this problem? I am curious to know.
    thanks,
    -Mahesh