Sun Java System Message Queue 3.7 UR1 Release Notes

Chapter 1 Sun Java System Message Queue 3.7 UR1 Release Notes

Version 3.7 UR1

Part Number 819-4465

These release notes contain important information available at the time of release of Sun Java™ System Message Queue 3.7 UR1. New features and enhancements, known issues and limitations, and other information are addressed here. Read this document before you begin using Message Queue.

The most up-to-date version of these release notes can be found at the Sun Java System Message Queue documentation web site. Check the web site prior to installing and setting up your software and then periodically thereafter to view the most up-to-date release notes and product documentation.

These release notes contain the following sections:

Third-party URLs are referenced in this document and provide additional, related information.

Sun is not responsible for the availability of third-party Web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused by or in connection with the use of or reliance on any such content, goods, or services that are available on or through such sites or resources.

Release Notes Revision History

Table 1–1 Revision History


Description of Changes  

August 2006 

Initial release of this document. 

February 2007 

Final release of this document. 

About Message Queue 3.7 UR1

Sun Java System Message Queue is a full-featured message service that provides reliable, asynchronous messaging conformant to the Java Messaging Specification (JMS) 1.1. In addition, Message Queue provides features that go beyond the JMS specification to meet the needs of large-scale enterprise deployments.

Message Queue 3.7 UR1 is a maintenance release to Message Queue 3.6. It includes bug fixes and a small number of minor enhancements. This section includes the following information:

What’s New in This Release

Message Queue 3.7 UR1 includes the following new features:

These are described in the following subsections.

Combining Platform and Enterprise Features in One Edition

In an effort to streamline our product delivery, we are combining the Platform and Enterprise Edition of Sun Java Message Queue. Beginning with Message Queue 3.7 UR1, there will only be a single edition available, which effectively removes the feature restrictions in the stand-alone distribution. We hope this will simplify your experience with this product.

Combining editions also aligns Message Queue better with Solaris Enterprise System and provides a perpetual broad-based right to use Enterprise Edition features, with no support, maintenance, or indemnity. As with previous releases, we will continue to offer several licensing options for support and maintenance services. Message Queue will continue to be packaged with Java Enterprise System and the Application Platform Suite. Please check the online store at or consult your sales representative to find an option that best suits your needs. The next table describes the upgrade paths to the new single edition of Message Queue.

Table 1–2 Upgrade Paths for Message Queue 3.7 UR1

Prior Edition 

Upgrade Path 


Platform Edition 

Sun Java System Message Queue 3.7 UR1 

All features (Platform and Enterprise) are now available to 3.7 UR1 customers. Support options are available with license purchase.  

Enterprise Edition 

Sun Java System Message Queue 3.7 UR1 

No feature changes. A range of licensing and support options are available. 

Platform Edition support contracts 

Upgrade to Enterprise Edition support contract 

Existing support contracts for prior releases of Platform Edition will continue to be renewed. No new Platform Edition contracts will be issued for prior Platform Edition releases. 

Enterprise Edition support contracts 

No change 

Existing contracts will continue to be renewed. New contracts will be issued. 

The following table describes the changes in delivery sources for various Message Queue products.

Table 1–3 Changes in Delivery Sources for Message Queue Products


Prior Delivery Source 

New Delivery Source 


Open Message Queue 

Not applicable 

Sun download center product page 

Standalone download. Community support only. No support contracts available. 

Message Queue Platform Edition 

Sun download center via the Message Queue product page 

No longer available 

Only the single edition of Message Queue that combines Platform and Enterprise features is now available. 

Message Queue Enterprise Edition trial (via Platform Edition) 

Sun download center via the Message Queue product page 

Trial license no longer needed 

No longer needed 

Message Queue Enterprise Edition 90 day Trial (via Java Enterprise System download or CD) 

Java Enterprise System download center, prior to version 3 GA (March 2006) 

Solaris Enterprise System download center 

Solaris Enterprise System license. Support options are available with product license. (A 90 day trial license is no longer needed.) 

Message Queue Enterprise Edition via SunStore, CD, individual license, Java Enterprise System license, Suite license, delivered via Java Enterprise System 

Java Enterprise System or Suite download center, media 

Solaris Enterprise System or Suite download center, media fulfillment 

No change. 

Interface Changes to the C-API and C Client Runtime

Persistent Store Format Changes

Two changes to Message Queue's persistent store format have been made to improve performance. One change is to the file store, the other to the JDBC store.

Because these changes impact store compatibility, the store version has been changed from 350 to 370. Message Queue 3.7 UR1 supports automatic conversion of the persistent store from the older 200 and 350 versions to the 370 version - both for JDBC and for file based stores. The first time imqbrokerd starts, if the utility detects an older store it will migrate the store to the new format, leaving the old store behind.

If you should need to roll back this upgrade, you can uninstall Message Queue 3.7 UR1 and then reinstall the version you were previously running. Since the older copy of the store is left intact, the broker can run with the older copy of the store.

Hardware and Software Requirements

Hardware and software requirements for Message Queue are provided in the Sun Java Enterprise System Installation Guide.

Working with Solaris 10 Zones

A zone is a Solaris Container technology that provides separate environments on a machine and logically isolates applications from one another. Zones allow you to create virtual operating system environments within an instance of the Solaris operating system. Running applications in different zones allows you to run different instances or different versions of the same application on the same machine while, at the same time, permitting centralized administration and efficient sharing of resources.

This section provides a brief description of zones and describes their use with Message Queue 3.7 UR1.

Zones Basics

A zone environment includes a global zone and one or more non-global zones. When Solaris 10 is first installed on a system there is only one global zone. An administrator can create other non-global zones as children of the global zone. Each zone appears as an independent system running Solaris. Each zone has its own IP address, own system configuration, own instances of running applications, and its own area on the file system.

The global zone contains resources that can be shared among non global zones; this allows the centralization of certain administrative functions. For example, packages installed in the global zone are available (propagated) to all existing non-global zones. This enables you to centralize life-cycle management like installation, upgrade, and uninstallation. At the same time, the isolation provided by non-global zones results in greater security and allows you to have differently configured instances or different versions of the same application running on the same machine.

Non-global zones are either whole root zones or sparse root zones: which of these you choose as an environment for an application depends on how you want to balance administrative control with resource optimization.

Java Enterprise System Zones Limitations

The components that make up the Java Enterprise System depend on some shared components; this creates some limitations in working with zones. In a zones environment, shared components are governed by the following rules.

These requirements affect the installation of Message Queue because it is a component product of Java Enterprise System and, as such, is limited in its use of zones.

Note –

The Message Queue product is installed into the /usr directory and must therefore be installed or upgraded in the global zone first.

Message Queue Cases

When Message Queue is installed in the global zone, it is set to propagate into all of the non-global zones. After installing Message Queue in the global zone, you will have the same version of Message Queue installed in all zones: if you log into any zone and run the command pkginfo -l SUNWiqu, you will see it installed, and it will be the same version as in the global zone. You can then run independent instances of the Message Queue broker in each zone since they do not share the instance and configuration data kept in the /var and /etc directories. (Most other Java Enterprise System components are not propagated if they are installed in the global zone.)

Because Message Queue is propagated into non-global zones, the global instance is forever linked to the installations in the non-global zones. Therefore, any time you uninstall or upgrade Message Queue in the global zone it will impact instances running in the non-global zones. The following example shows how this might cause unintended results.

  1. You install Message Queue 3.7 UR1 in the global zone. This results in the Message Queue 3.7 UR1 packages also being installed into all non-global zones.

  2. You uninstall Message Queue 3.7 UR1 in a whole root zone. Then, you install Message Queue 3.6 in the whole root zone.

    You now have different versions of Message Queue running in different zones, which is a set up you might find useful.

  3. You uninstall Message Queue 3.7 UR1 in the global zone. This will uninstall Message Queue from all other zones - including the Message Queue 3.6 instance in the whole root zone.

Always be aware of the cascading effect of installing or uninstalling Message Queue in the global zone.

The following two use-cases explain how you install different instances and different versions of Message Queue in different zones.

Note –

If you want to install Message Queue in a whole root zone on Solaris 10, Solaris 10U1, or Solaris 10U2, you must upgrade Lockhart in the global zone first. See the workaround for bug 645030 for additional information.

ProcedureTo Install the Same Version of Message Queue in Different Zones

  1. Install the desired version of Message Queue in the global zone.

    These versions will be propagated into any existing non-global zone. If you create additional non-global zones, Message Queue will also be propagated into these zones. (You can install different instances in whole root zones as well as sparse root zones, but using sparse root zones allows you to make more efficient use of disk space and other resources).

  2. If you want Message Queue to be propagated into any other non-global zones, create these zones now.

  3. Run an instance of Message Queue in each non-global zone.

ProcedureTo Install Different Versions of Message Queue in Different Zones

  1. Uninstall Message Queue from the global zone.

  2. Create whole root zones and configure each zone not to share the /usr directory by using the following directive when you create the zone

    remove inherit-pkg-dir dir=/usr
  3. Install different versions of Message Queue in each whole root zone.

    Note –

    Remember that installing or uninstalling Message Queue in the global zone will affect all instances (and versions) of Message Queue running in whole root zones.

Bugs Fixed in This Release

Bugs Fixed in This Release describes the bugs fixed in Message Queue 3.7 UR1.

Table 1–4 Fixed Bugs in Message Queue 3.7 UR1

Bug Number 



Message Queue outputs garbage message to syslog in locales that require non-ASCII characters to display messages. 


ConcurrentModificationException on connectList during cluster shutdown.


java.nio.BufferOverflowException in java.nio.HeapByteBuffer.putLong/Int.


First message published after startup is slow with Oracle storage.  


Selector processing on JMSXUserID always evaluates to false.


The queue browser shows messages that are part of transactions that have not been committed. 


Connection Flow Control does not work properly when closing a consumer with unconsumed messages. 


The QueueBrowser leaks memory even when a new browser is created and closed for each enumeration. 


Message Queue broker needs to set SO_REUSEADDR on the network sockets it opens.


The broker does not validate that a clientID is not null for shared nondurable subscriptions.


The txn log is a performance bottleneck.  


Message Queue C API lacks ability to determine the name of a queue from a reply-to header.  


The broker sometimes picks up JDK 1.4 before JDK 1.5 on Solaris even if both versions are installed.  


Multi-broker cluster initialization throws java.lang.NullPointerException.


The jms client runtime throws java.lang.NoClassDefFoundError when committing a transaction from the subscriber.


Support MESSAGE type in C-API.


Add Support for Derby database.  


The JMSRedelivered flag is set to false for messages redelivered to a remote consumer after the consumer's broker restarts.


Cannot clean up an incomplete XA transaction. 


Add consumer-based flow control protocol to allow load balancing for multiple receivers 


A broker exception is raised when the dead message queue tries to remove the oldest non-persistent message. 


Not possible to monitor any destinations after broker error Monitor destination errormq.metrics.destination.queue.Name


Transaction recovery fails in AS 8.1 UR2, generic resource adapter for JMS Message Queue. 


Support connection to broker using the following syntax 

—b mqtcp://hostName:portNumber/serviceName


Session.rollback does not actually roll back consumed messages after COMMIT REPLY error.

Important Information

This section contains the latest information that is not contained in the core product documentation. This section covers the following topics:

Installation Notes

Refer to the Sun Java Enterprise System Installation Guide for information about pre-installation instructions and all other information relevant to installing the Message Queue product (bundled with Java Enterprise System) on the Solaris, Linux, and HPUX platforms.

Refer to the Sun Java Enterprise System Upgrade and Migration Guide for information about upgrade and migration instructions relevant to upgrading to Message Queue (as part of Java Enterprise System) on the Solaris, Linux, HPUX, and Windows platforms.

Compatibility Issues

This section covers compatibility issues in Message Queue 3.7 UR1.

Interface Stability

Message Queue uses many interfaces that may change over time. Appendix B, Stability of Message Queue Interfaces, in Sun Java System Message Queue 3.7 UR1 Administration Guide classifies the interfaces according to their stability. The more stable an interface, the less likely it is to change in subsequent versions of the product.

Issues Related to the Next Major Release of Message Queue

The next major release of Message Queue may introduce changes that make your clients incompatible with that release. This information is provided now to allow you to prepare for these changes.

Documentation Updates for Message Queue 3.7 UR1

The following sections describe updates and changes to Message Queue documentation, other than minor corrections and additions.

Developer’s Guide for C Clients

The Sun Java System Message Queue 3.7 UR1 Developer’s Guide for C Clients was updated to reflect the addition of the MQGetDestinationName function, of the MQ_Message message type, and of the connection property MQ_UPDATE_RELEASE_PROPERTY.

Developer's Guide for Java Clients

The Sun Java System Message Queue 3.7 UR1 Developer’s Guide for Java Clients was updated to include information about setting up secure clients and about how clients should handle exceptions that occur during automatic reconnection.

Administration Guide

The Sun Java System Message Queue 3.7 UR1 Administration Guide was updated to provide information about the broker's database tables and about configuring the broker to use fixed ports.

Known Issues and Limitations

This section contains a list of the known issues with Message Queue 3.7 UR1. The following product areas are covered:

For a list of current bugs, their status, and workaround, Java Developer Connection™ members should see the Bug Parade page on the Java Developer Connection web site. Please check that page before you report a new bug. Although all Message Queue bugs are not listed, the page is a good starting place if you want to know whether a problem has been reported.

Note –

Java Developer Connection membership is free but requires registration. Details on how to become a Java Developer Connection member are provided on Sun’s “For Developers” web page.

To report a new bug or submit a feature request, send mail to

General Issues

LDAP User Repository Properties

In Message Queue 3.7 UR1, the example broker configuration for using an LDAP server as a user repository is provided in the comment area in the file, and the LDAP user repository example in the file has been commented out.

If you previously relied on any property value in the example LDAP user repository properties specified in the file, your JMS application client will receive a security exception when attempting to create a JMS connection. This will happen after you upgrade to Message Queue 3.7 UR1.

When your JMS client tries to make a connection to the Message Queue 3.7 UR1 broker, you will get a error in the broker log and your JMS client will receive the following exception:

20/Aug/2004:11:16:41 PDT] ERROR [B4064]: Ldap repository ldap property
.uidattr not defined for authentication type 
[B4064]: Ldap repository ldap property .uidattr not defined 
for authentication type basic

Workaround Set the broker property imq.user_repository.ldap.uidattr following the instructions in Chapter 7, Managing Security, in Sun Java System Message Queue 3.7 UR1 Administration Guide.

Broker Clusters

The following items relate to the use of broker clusters.


The following issues pertain to administration and configuration of Message Queue.

Broker Issues

The following issues affect the Message Queue broker.


There is no standalone product for the Beta release of Message Queue 3.7 UR1. For this release, therefore you must install Message Queue using the Java Enterprise System Installer and consult the Sun Java System Installation Guide for instructions.

Redistributable Files

Sun Java System Message Queue 3.7 UR1 contains the following set of files that you may use and distribute in binary form:

jms.jar (UNIX)

imq.jar (HPUX)


mqcrt1.dll (Windows)



In addition, you can also redistribute the LICENSE and COPYRIGHT files.

Accessibility Features for People With Disabilities

To obtain accessibility features that have been released since the publishing of this media, consult Section 508 product assessments (available from Sun upon request) to determine which versions are best suited for deploying accessible solutions. Updated versions of applications can be found at

For information on Sun’s commitment to accessibility, visit

How to Report Problems and Provide Feedback

If you have problems with Sun Java System Message Queue, contact Sun customer support using one of the following mechanisms:

So that we can best assist you in resolving problems, please have the following information available when you contact support:

Sun Java System Software Forum

There is a Sun Java System Message Queue forum available at the following location:

We welcome your participation.

Java Technology Forum

There is a JMS forum in the Java Technology Forums that might be of interest.

Sun Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions.

To share your comments, go to and click Send Comments. In the online form, provide the document title and part number. The part number is a seven-digit or nine-digit number that can be found on the title page of the book or at the top of the document. For example, the title of this book is Sun Java System Message Queue 3.7 UR1 Release Notes, and the part number is 819-4465.

Additional Sun Resources

Useful Sun Java System information can be found at the following Internet locations: