This discussion is archived
1 Reply Latest reply: Oct 23, 2012 7:08 AM by viktor.jarolim RSS

Error in redeploy a Cartridge

jgallego Newbie
Currently Being Moderated
Hi all,

When i try to redeploy a Cartridge, we have the next error. I found several solutions in internet to resolve this problema but i don't want to do it because i don't know if it can affect later.

<19-oct-2012 8:36:49,909 COT AM> <ERROR> <util.XMLMetadataHandlerUtil> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <Namespace prefix stripped from attribute 'xsi:type' value _25:subprocessTaskType>
<19-oct-2012 8:36:49,909 COT AM> <ERROR> <util.XMLMetadataHandlerUtil> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <Namespace prefix stripped from attribute 'xsi:type' value _25:subprocessTaskType>
<19-oct-2012 8:36:50,034 COT AM> <ERROR> <operation.ImportOperation> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <Exception thrown while removing activity.>
com.mslv.oms.metadatahandler.dataaccesslayer.ProxyException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado
Nested Exception: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado
Nested Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado

at com.mslv.oms.metadatahandler.dataaccesslayer.AbstractProxy.execute(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeActivity(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.cleanupProcessActivites(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.deploy(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.f(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
at com.mslv.oms.metadatahandler.dataaccesslayer.PreparedProxy.executeStatement(Unknown Source)
... 20 more
Nested Exception:
java.sql.SQLIntegrityConstraintViolationException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
at com.mslv.oms.metadatahandler.dataaccesslayer.PreparedProxy.executeStatement(Unknown Source)
at com.mslv.oms.metadatahandler.dataaccesslayer.AbstractProxy.execute(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeActivity(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeEntity(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.cleanupProcessActivites(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.deploy(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.f(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<19-oct-2012 8:36:50,158 COT AM> <INFO> <cartridgemgmt.DeployCartridgeMDB> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <Rolling back the database changes ...>
<19-oct-2012 8:36:50,548 COT AM> <ERROR> <cartridgemgmt.DeployCartridgeMDB> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <Cartridge deployment failed:>
com.mslv.oms.metadatahandler.handler.HandlerException: Unable to remove Activity: PRSuspenderIDC_MH/PRGestionarExcepcionManualReintentarErrorVerificarResultado
at com.mslv.oms.metadatahandler.operation.ImportOperation.cleanupProcessActivites(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.doProcess(Unknown Source)
at com.mslv.oms.metadatahandler.operation.ImportOperation.deploy(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.f(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)
at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:379)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: com.mslv.oms.metadatahandler.dataaccesslayer.ProxyException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado
Nested Exception: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado
Nested Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado

at com.mslv.oms.metadatahandler.dataaccesslayer.AbstractProxy.execute(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeActivity(Unknown Source)
at com.mslv.oms.metadatahandler.handler.process.ActivityDeployer.removeEntity(Unknown Source)
... 17 more
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: restricción de integridad (ORDERMGMT.FK_OM_SUBPROC_STATUS_MAP_01) violada - registro secundario encontrado

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
at com.mslv.oms.metadatahandler.dataaccesslayer.PreparedProxy.executeStatement(Unknown Source)
... 20 more


Thanks in advance,
Juan

Edited by: jgallego on 19-oct-2012 6:53

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points