My Oracle Support Banner

Milestone Template Assignment Fails With Exception: "Cannot add the MONITOR_AGENT record. MONITOR_AGENT_GID must be unique" (Doc ID 1501308.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 and later
Information in this document applies to any platform.

Symptoms

A milestone template and object are created in a subdomain. If a user logs into the parent domain and assigns the Milestone, the BN Rule is looking up the Curvalue from the Parent's domain BN_SEQUENCE and then inserting the GID into the subdomain. As a result, the insert is failing as the curvalue retrieved already exists in the subdomain.

ERROR
-----------------------
2012-09-25 21:29:45.363 754442 Error Exception Cannot add the MONITOR_AGENT record. MONITOR_AGENT_GID must be unique.
  java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (GLOGOWNER.PK_MONITOR_AGENT) violated

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.