↓ Skip to main content

WebSphere Application Server

WebSphere MQ and the client container

WebSphere Application Server has shipped with JAR files for the WebSphere MQ JMS provider since Version 5.0 as they were, at the time, required for the embedded messaging provider. However, if those JAR files do not match the version of WebSphere MQ you are using (as is the case with WebSphere Application Server V6.0 and WebSphere MQ V6) you may see error messages such as java.lang.NoSuchFieldError: msgToken. As documented on the support site and in the InfoCenter, on the server-side the correct thing to do is update the MQ_INSTALL_ROOT WebSphere variable to point to your real WebSphere MQ installation. What I haven’t seen documented anywhere is what to do in the case where you are using the WebSphere Application Server client container. In that scenario, you need to modify the JMS_PATH environment variable defined in the launchClient batch file in the application server bin directory.

JMS connection pooling

I’ve mentioned one of my colleague Paul Titheridge’s articles before (on JMS Application Server Facilities) and he’s just started a new related series which is well worth taking a look at. This time Paul has turned his attention to the myriad of connection pool properties provided by WebSphere Application Server and what they mean when using WebSphere MQ as the JMS provider. As before, Paul has provided some thoroughly worked examples to help explain the implications of changing different values.

IBM Resource Adapter for JMS with WebSphere Application Server

I’ve mentioned the IBM Client for JMS on J2SE with IBM WebSphere Application Server on a couple of occasions. As the name suggests, this provides you with a couple of JAR files that allow a standalone J2SE application to act as a JMS client to the WebSphere Application Server default messaging provider. What it isn’t good for, is acting as a client from another, third-party, application server. Yes it may work but you don’t get all those good things that an application server provides, like XA transaction coordination and parallel message consumption using MDBs. Enter the IBM Resource Adapter for Java Message Service with WebSphere Application Server which allows you to do just these things. Note that it’s currently only tested on Apache Geronimo V1.2 and WebSphere Application Server Community Edition V1.1 but it’s a JCA 1.5 compliant resource adapter so should work with any J2EE 1.4 application server. Also note that, as with the original client, this download is initially only available with an early access license. If you are interested in using it in production though, drop a note to the e-mail address in the technical support section.

Spring certified on WebSphere Application Server

·1 min
As reported over on the WebSphere Community Blog, Interface21 has announced certification of the Spring framework with WebSphere Application Server. The article on developerWorks describing using Spring and Hibernate with WebSphere Application Server has also been just updated to cover Spring Framework 2.1.

WebSphere proxy server

·1 min
I tend to consider myself more of an application architect than an infrastructure expert when it comes to WebSphere Application Server and this is exemplified by my total lack of knowledge about WebSphere’s proxy server. Although shipped as part of WebSphere Application Server Network Deployment I have to confess to only having a rather fuzzy idea about its capabilities. It was therefore good to read Erik Burckart’s column reviewing the capabilities of the product and discussing where and when it may be used.

My Tasks

·1 min
The WebSphere Application Server administrative console isn’t always the easiest beast to navigate and I often find myself having to repeat those five clicks to get back to the page I was just on a moment ago and wishing that there was some sort of bookmarking support. I’m therefore surprised I’ve failed to spot the My Tasks support in Version 6.1 before, which goes at least part of the way to solving that problem.

JAX-RPC Web Services

There is an interesting developerWorks article covering the JAX-RPC Web Services support in WebSphere Application Server Version 6.1. It demonstrates how this support alone can provide some of the benefits normally associated with an enterprise service bus, namely location transparency (WSDL endpoints can be overridden in the administrative console) and protocol transparency (SOAP/HTTP, SOAP/JMS or RMI/IIOP). As the article goes on to state, the combination of WebSphere ESB and Service Registry and Repository can give you much more dynamic behaviour when trying to achieve the first of these but if all you need is the ability to modify endpoints when, for example, moving from the development environment in to production, then this may suffice.

Web Service Transactions

As I’ve mentioned previously, shortly after I first joined IBM I was a member of the development team for the transactions component, initially of Component Broker and then WebSphere Application Server. My team leader back then was one Ian Robinson. Ian has since risen to the heady heights of Senior Technical Staff Member and I’m glad to say that he now acts as my mentor. Ian is co-chair of the OASIS WS-Tx committee and, as announced on his blog (of which I had no idea of the existence), Version 1.1 of the standard has just been announced. Ian has also added his name to the list of contributors on the WebSphere Community Blog (note the new location) having authored a lengthy article on the support for Web Service Transactions in WebSphere Application Server.

Virtualized WebSphere Application Server

I mentioned that Ruth Willenborg gave a presentation at WSTC on virtualization and WebSphere Application Server. She now has an article on developerWorks that covers one technique she was talking about: creating and then deploying customized WebSphere Application Server images. Now where this gets really interesting is when you apply it to something like WebSphere Process Server…

WSTC Day 3

A 7 o’clock business breakfast meant that much of the rest of today was spent wandering around in a daze. My first presentation of the day was by Marc-Thomas Schmidt who is the architect responsible for ESB (in all its guises) and Service Registry and Repository. This was followed by an excellent session given by Mike Capern and Ryan Zombo. This covered a selection of use cases from WebSphere Service Registry and Repository Proof of Concepts. It demonstrated that, although still a young product, its numerous customizable aspects means that it can meet most requirements.

WSTC Day 2

So, I’m going to use the title whether Andy likes it or not! My day started with a focus on the JMS and MQ bindings in WebSphere Process Server and ESB. Corville Allen from development gave an excellent session on some of the intricacies. I picked up a few facts. For example, the ability to set the SCA_JMS_SEND_DB_ERROR system property so that a ServiceRuntimeException is sent back if parsing fails in the data binding for a response. Also, I was aware that the SCA system bus is now optimized out of a flow using a JMS export and import but apparently if the request message is rolled back then, on retry, the system bus is used so that the failed event manager can kick in.

WSTC Day 1

My creative juices aren’t flowing today hence the unimaginative title for this posting (and if I couldn’t come up with a good title today, there was no chance I would be able to be inventive by day 5). Sadly, as an internal conference with significant IBM confidential content I can’t cover everything here but I’ll cover what I can. As Andy has already blogged, someone had the good sense to realise that we are a technical audience and the keynote speech was given by Jerry Cuomo, CTO for WebSphere. I particularly liked his demo around Real Time Java which showed garbage collection leading to breaks in a piece of music played with with a Sun JVM compared to the flawless playback when using Metronome GC in an IBM J9 JVM.

WebSphere Application Server trace

·1 min
Daniel Julin is also co-author of another developerWorks article looking at WebSphere Application Server trace. The article describes what trace is, how to turn it on (including the appropriate wsadmin incantations) and how to interpret it. Note that, as the article demonstrates, trace can be very useful in diagnosing some issues, it is really intended for use by IBM service personnel who also have access to the corresponding source code, so don’t expect the trace messages always to be self explanatory. The article also has a plug for Trace Analyzer for WebSphere Application Server, a great tool for viewing and analyzing trace logs (and large ones at that) written by two of my one-time colleagues in the transactions team.

Co-locating applications

·1 min
There was a time when customers would only ever have a single application running on any given application server instance. In the drive to cut costs, this level of application isolation isn’t one that many customers can still afford. Daniel Julin and Stacy Joines have written a developerWorks article that covers some best practices and techniques for troubleshooting co-located applications.

5 plus 3 support

·1 min
Having mentioned the impending end of service for WebSphere Application Server Version 5.1, it is probably only fair to note that, as of Version 6.0, there is a support policy change which will see support extended to five years from general availability (previously three years) with an option to purchase a further three years support (previously two years). Support for Version 6.1 will consequently run until at least June 2011.

Software support discontinuance

·1 min
End of service (as I prefer to call it) has just been announced for WebSphere Application Server Version 5.1 as September 2008. If you’re currently using this version it’s time to start drawing up a plan for moving, preferably to Version 6.1.

ITCAM for SOA and WSRR

IBM Tivoli Composite Application Manager for SOA (or ITCAM for SOA as it is usually referred to) is, as the name suggests, an important part of IBM’s monitoring solution for the SOA, tracking web service requests not only through IBM products such as WebSphere Application Server, DataPower and WebSphere ESB but also into other environments like SAP NetWeaver and JBoss. WebSphere Service Registry and Repository has a number of integration points with ITCAM for SOA, one of which is an Event Handler. This enables situations detected by ITCAM for SOA (such as an excessive response time or message size) to result in the creation, update, or removal, of properties on a WSDL port or SCA export in the registry. You can read a developerWorks article that describes how to configure ITCAM for SOA to monitor a web service running in WebSphere Application Server and update the metadata for the service entry in the registry.

WS-Addressing endpoint references

·1 min
Ben Bakowski has written a very thorough developerWorks article covering the use of WS-Addressing endpoint references with WebSphere Application Server Version 6.1 to act as references to stateful session beans. Ben uses his sample online shop application to show the possibilities including how to achieve high availability in a cluster.