↓ Skip to main content

Web messaging lack of service

·2 mins

Last week I spent a not entirely constructive hour or two with a customer trying to get them started with the web messaging service. This is a component of the Feature Pack for Web 2.0 which provides a bridge between the default messaging provider’s publish/subscribe capabilities and an Ajax (Comet) client. The InfoCenter contains a great quick start guide but it was missing one vital piece of information.

We were seeing the “CWPSB1701E:The Web messaging service is not configured for the following incoming URI” error message which gets a special mention in the troubleshooting section. An indication that something was more seriously wrong was the lack of a “CWPSB1102I: The Web messaging service has started.” message. After much scratching of heads I found a colleague in development who pointed me at APAR PK56881 without which the web messaging service simply doesn’t work on fix pack 13 or 15! Hopefully this post will help someone else (with the aid of Google) make the connection between the error message and this APAR.

My contact in development was also able to confirm that, at the moment, although the server-side supports wildcards in topic names, the Dojo client does not, and neither side currently has support for message selection. When combined with the limited support for JMS message types (text and certain specific objects), this means you are unlikely to be able to simply attach a client to an existing topic.

Related

Jython scripting

·1 min
I’ve had the pleasure of working with my UKISA colleague Andrew Simms on a number of occasions. Some may have been luck enough to see his “Monty Jython’s Scripting Circus” presentation on the conference circuit recently. If not, fear not, as he now has a developerWorks article to set you on the path to being a Jython pro!

WebSphere MQ Java in J2EE

Thanks once again to Paul Titheridge, this time for pointing me to this technote covering the use of the WebSphere MQ Java APIs in a J2EE/JEE environment. It seems that IBM does now support the use of the WebSphere MQ Java interfaces in a WebSphere Application Server environment (check the supported software for your release) but this technote provides you with lots of reasons why you shouldn’t! The Java interfaces do have functionality that isn’t currently available in the JMS API (for example message segmentation and important parts of message grouping) but that needs to be weighed carefully against the drawbacks. JMS should always be the default option unless you have a very good reason not to use it.

Cleaning up dumps

·1 min
No - this has nothing to do with nappy changing! I’ve spent the past two weeks as part of the support team for a customer’s WebSphere Application Server environment. Although I know all the theory (I’m an IBM Certified System Administrator for Versions 5.0, 6.0 and 6.1) it’s not very often I spend long enough at any one customer to get my hands dirty. My Korn shell scripting, Jython and vi skills certainly improved rapidly during the time I was there!