« Working on bladecenters. | Main | WebSphere XD ships »

September 19, 2004

Problems with JMS 1.1 and J2EE 1.3 app servers

I wish the JMS vendors would take care and ensure that their clients don't depend on a JMS 1.1 jar being in the class path. For the next 2/3 years, I think most of the deployed servers (i.e. the ones JMS vendors can sell to) will be at J2EE 1.3.

It seems a lot of the JMS 1.1 products do and as a result don't run out of the box on J2EE 1.3 servers as they only bundle the JMS 1.0x jars and classes. The JMS classes are unfortunately inside the J2EE.jar and thus are kind of hard to get at for most people, I think.

The workarounds currently are to expand the j2ee.jar and then unjar the jms 1.1 files in to it and then rejar. This would work from what I can tell but from a support point of view, a J2EE vendor may punt and claim the configuration isn't supported. It may also be possible to simply add a JMS 1.1 jar to the classpath and hopefully it'll find the extra classes but I haven't tried this.

I guess the JMS JCP should have gone out of their way and insisted that a JMS 1.1 compliant JMS product is required to support JMS 1.0.2 clients, i.e. a J2EE 1.3 server.

September 19, 2004 in J2EE | Permalink


Post a comment