Sun Java System Application Server Enterprise Edition 8.2 Release Notes

Asynchronous message listener behavior changed in appclient from 8.0 to 8.1 Update 2. (ID 6198465)

Description

Due to a recent change, when an asynchronous message listener is the only live thread in the app-client container, the remaining appclient virtual machine exists as a daemon. This behavior is a regression for past applications that perform asynchronous receives in ACC. This problem affects application clients that set a JMS message listener and exit the main thread.

Solution

Do not exit the main thread. Wait for the message listener to notify the main thread before terminating the main thread.