NullPointerException when setting JMS error queue destination in clustered environment

(Doc ID 1196500.1)

Last updated on DECEMBER 11, 2017

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.


On Weblogic Server 10.3 version, WLS JMS component
When attempting to update the error destination in JMS resources the following error occurs.

An error occurred during activation of changes:
<Error> <Console> <BEA-240003> <Console encountered the following error
The modification of property ErrorDestination failed during the activate phase because of java.lang.NullPointerException>

The issue can be reproduced at will with the following steps:
1- Create a Cluster and assign two Managed Servers to it.
2- Start both the Managed Servers.
3- Create JMS Servers, one on each Managed Server.
4- Create a Subdeployment and assign two JMS Servers to it.
5- Create two Distributed Queues, for example DQ1 and DQ2 using the Default Targeting.
6- Edit DQ1 Delivery Failure Options. Set the Expiration Policy as 'Redirect' and the Error Destination as DQ2.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms