NullPointerException when setting JMS error queue destination in clustered environment
Last updated on DECEMBER 11, 2017
Applies to:Oracle Weblogic Server - Version: 10.3
Information in this document applies to any platform.
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 weblogic.management.DeploymentException:
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