Archive for the ‘WebSphere’ Category

Graceful shutdown

Friday, September 5th, 2008

Having done a little research on application server shutdown in order to answer a customer query I thought I would post my findings. WebSphere Application Server supports three shutdown modes: stop, stop immediate and terminate (in order of immediacy).
(more…)

My first US patent

Thursday, September 4th, 2008

Last week I had my first US patent issued: #7218708. The patent describes the use of the J2EE Connector Architecture to integrate a Java Message Service provider with an application server. This is something that is actually very easy to do with JCA 1.5 given the restriction of one JMS session per connection introduced by J2EE 1.4. However this patent describes a mechanism to use JCA twice (once at the connection level and once at the session level) that doesn’t require this restriction. This was first used in WebSphere Application Server V5 and continues to be used for the WebSphere MQ and generic JMS provider support today.

Locks and leaks

Thursday, July 17th, 2008

I was called upon yesterday to review some WebSphere product code I wrote about six years ago. It was a bit of a shock to see from the change history the number of fixes that had been made in the intervening time! Many of these related to deadlock situations, often when I was merely taking a lock whilst I iterated over a set in toString or some such seemingly innocuous method. It is very hard to get the lock ordering correct when you are just a component in the middle of the stack. The lesson there is, I suspect, to only trace when entries are added or removed from the set and perhaps just give the size at other times.
(more…)

Configuring SIB J2SE client with SSL

Wednesday, July 16th, 2008

If configuring the service integration bus J2SE client for SSL is a topic of interest to you then make sure you register for next week’s presentation from Rich Montjoy in level 2 service.

Dynamic JMS endpoints

Tuesday, July 15th, 2008

In an earlier post I promised an example of where service integration bus mediations still have a role to play in a WebSphere ESB environment. WebSphere ESB currently only supports dynamic endpoints on an import or callout (those that can be changed at runtime by a mediation flow) for SCA and web service bindings. In this post I’ll show how a service integration bus mediation can be used to add dynamic behaviour to a JMS binding.
(more…)

Deployment environments during profile creation

Tuesday, July 8th, 2008

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.

Event sequencing qualifier and WebSphere ESB

Saturday, June 14th, 2008

As this has cropped up a couple of times recently and, as far as I’m aware, there is still no information in the public domain, I thought I’d stick my neck out and post about it. WebSphere Integration Developer allows you to add an event sequencing qualifier to components in a mediation module but the required runtime support for that qualifier only exists in WebSphere Process Server not in WebSphere ESB. In other words, for that qualifier to work, the mediation module must then be deployed to WebSphere Process Server.

(more…)

Mediation handler tooling broken

Tuesday, June 10th, 2008

Despite being sidelined by the arrival of WebSphere ESB, there are still times when it is useful to use the mediation support in WebSphere’s service integration bus (of which more in another post). It’s obviously a while since I’ve done it though as apparently the mediation handler tooling in Rational Application Developer has been broken since v7 was released. I’m told that the fix will finally make it in to 7.0.0.7.