"ship_unit DOMAIN.SHIP_UNIT_ID does not exist - it was likely removed by another user" Exception on OMD Agent When Line is Being Replaced (Doc ID 1999129.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.3.0 to 6.3.7 [Release 6.3]
Information in this document applies to any platform.

Symptoms

An order release is created via inbound itegration. A second OrderRelease transmission comes into OTM to replace the line. This triggers an OMD agent that fails to propagate the changes to the shipment with the following error:

Agent DOMAIN.AGENT_ID received error 123456/CLOSE/Process Agent: ship_unit DOMAIN.SHIP_UNIT_ID does not exist - it was likely removed by another user

at glog.util.beandata.BeanDataRemover.removeDBNonBatch(BeanDataRemover.java:353)
at glog.util.beandata.BeanDataRemover.removeDB(BeanDataRemover.java:329)
at glog.util.beandata.BeanDataRemover.remove(BeanDataRemover.java:190)
at glog.util.beandata.BeanDataRemover.remove(BeanDataRemover.java:217)
at glog.business.order.OrderReleaseUpdateSessionBean.commitTOrderRelease(OrderReleaseUpdateSessionBean.java:195)
at glog.business.order.OrderReleaseUpdateSessionBean.commitTOrderReleases(OrderReleaseUpdateSessionBean.java:160)
at glog.business.order.OrderReleaseUpdateSessionServerSideEJBWrapper.commitTOrderReleases(OrderReleaseUpdateSessionServerSideEJBWrapper.java:85)
at glog.business.order.OrderReleaseUpdateSessionServerSideEJBWrapper_ixakb5_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.order.OrderReleaseUpdateSessionServerSideEJBWrapper_ixakb5_EOImpl.commitTOrderReleases(Unknown Source)
at glog.business.order.OrderReleaseBuilder.commitTOrderReleases(OrderReleaseBuilder.java:479)
at glog.business.order.OrderReleaseBuilder.commitTOrderRelease(OrderReleaseBuilder.java:465)
at glog.business.shipment.ShipmentUpdateSessionBean.commitOrderModChanges(ShipmentUpdateSessionBean.java:1835)
at glog.business.shipment.ShipmentUpdateSessionServerSideEJBWrapper.commitOrderModChanges(ShipmentUpdateSessionServerSideEJBWrapper.java:491)
at glog.business.shipment.ShipmentUpdateSessionHome_qj7mtr_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.shipment.ShipmentUpdateSessionHome_qj7mtr_EOImpl.commitOrderModChanges(Unknown Source)
at glog.business.omd.OrderModShipmentEditor.editShipments(OrderModShipmentEditor.java:524)
at glog.business.session.OMDProcessorSessionBean.editShipments(OMDProcessorSessionBean.java:89)
at glog.business.session.OMDProcessorSessionServerSideEJBWrapper.editShipments(OMDProcessorSessionServerSideEJBWrapper.java:97)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.editShipments(Unknown Source)
at glog.server.agent.business.order.ORModEditShipment.process(ORModEditShipment.java:89)
at glog.server.agent.business.order.ORActionTopic.persist(ORActionTopic.java:50)
at glog.server.agent.PersistActionTopic.execute(PersistActionTopic.java:34)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:49)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:356)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:680)
 [ORMD - 1]

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