ENABLING LOGGING & THRESHOLD UNDER JMS TEMPLATE THROWS VALIDATION EXCEPTION (Doc ID 1400633.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.

Symptoms

Making changes on JMS Template under JMS Domain throws validation error.

Scenario:

Make change under Threshold and Quota, and then make change under Message logging. Then Validation Error is thrown.

####<Mar 16, 2011 4:44:01 PM EDT> <Warning> <Deployer> <d9t0108g.houston.hp.com> <AdminServer> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <0e8f6fe01b5f2a1d:-4dd6f1f5:12ec0540819:-8000-0000000000000216> <1300308241862> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Could not create the JMS descriptor

Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'default-unit-of-order@http://xmlns.oracle.com/weblogic/weblogic-jms saf-export-policy@http://xmlns.oracle.com/weblogic/weblogic-jms multicast@http://xmlns.oracle.com/weblogic/weblogic-jms group-params@http://xmlns.oracle.com/weblogic/weblogic-jms messaging-performance-preference@http://xmlns.oracle.com/weblogic/weblogic-jms unit-of-work-handling-policy@http://xmlns.oracle.com/weblogic/weblogic-jms incomplete-work-expiration-time@http://xmlns.oracle.com/weblogic/weblogic-jms' instead of 'message-logging-pa


There are 2 ways to reproduce the problem:

Method 1:

1. Create JMS Module
2. Create JMS Template under created JMS Module
3. Goto Logging -> Enable JMS Template Logging.
4. Thresholds and Quota of the JMS Template, Copy the default value of Bytes Threshold High and paste that back in same box. Activate the changes, it throws Validation exception.

Method 2:

1. Create JMS Module
2. Create JMS Template under created JMS Module
3. Thresholds and Quotas of the JMS Template, Copy the default value 9223372036854775807 of Bytes Threshold High and paste that back in same box
4. Goto Logging -> Enable JMS Template Logging. Then it throws Validation exception.

Cause

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