Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

importing table from Intersystems Cache DB failing

733021Nov 23 2009 — edited Nov 25 2009
I am running Oracle Database 11g 11.1.0.6.0 on Microsoft Windows Server 2003 Server 5.2 Service Pack 2 (32-bit), owb is being run on this machine also.

In OWB Design centre i add a location to an Intersystems Cache DB, testing the connection is successful.

I then right click on the location and select import, then next, next until i get to the object selection screen. I can see the tables and views which are present on the Cache DB in the left pane.
Here i select a table and click > button to add it and i get the following error:

SQL Exception
SQL Exception
Persistent Layer Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Persistent Layer Error Message: ORA-02055: distributed update operation failed; rollback required
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.HS$_DDTF_SQLTABFORKEYS", line 87
ORA-06512: at line 1
at oracle.wh.repos.pdl.foundation.CacheMediator.getSQLResult(CacheMediator.java:505)
at oracle.wh.repos.impl.CMPWBAPIFactory.getSQLResult(CMPWBAPIFactory.java:2210)
at oracle.wh.service.sdk.integrator.RepositoryUtils.getSQLResult(RepositoryUtils.java:448)
at oracle.wh.service.sdk.integrator.RepositoryUtils.getSQLResult(RepositoryUtils.java:413)
at oracle.wh.ui.integrator.sdk.RelationalEntityAccessor.getFKRelatedTableSQLResult(RelationalEntityAccessor.java:546)
at oracle.wh.ui.integrator.sdk.RelationalEntityAccessor.getFKRelatedElements(RelationalEntityAccessor.java:5320)
at oracle.wh.ui.integrator.sdk.RelationalEntityAccessor.getFKRelatedElements(RelationalEntityAccessor.java:467)
at oracle.wh.ui.integrator.common.ImportService.getSourceFKRelatedElements(ImportService.java:907)
at oracle.wh.ui.integrator.common.WBMultiPicker.getSelectedItems(WBMultiPicker.java:407)
at oracle.bali.ewt.shuttle.Shuttle._addItems(Unknown Source)
at oracle.bali.ewt.shuttle.Shuttle._processMove(Unknown Source)
at oracle.bali.ewt.shuttle.Shuttle.access$300(Unknown Source)
at oracle.bali.ewt.shuttle.Shuttle$ShuttleHandler.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I close the error box. The table shows up on righthand pane.

I select next and then see the summary and import screen which shows the table i am trying to add. Here i select finish and then get the following error:

SQL Exception
SQL Exception
Persistent Layer Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Persistent Layer Error Message: ORA-00604: error occurred at recursive SQL level 1
ORA-02067: transaction or savepoint rollback required
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
\[Cache ODBC\]\[State : 42S02\]\[Native Code 30\]
\[H:\app\administrator\product\11.1.0\db_1\bin\dg4odbc.exe\]
\[SQLCODE: <-30>:<Table or View not found>\]
\[Location: <Prepare>\]
\[%msg: < Table 'SQLUSER.ALL_COL_COMMENTS' not found>\]
ORA-28506: parse error in data dictionary translation for ALL_COL_COMMENTS stored in sys.hs_all_dd
ORA-28559: FDS_CLASS_NAME is ODBC11.1.0.6.0_0006, FDS_INST_NAME is AlexGeneratedDataSite1
ORA-00604: error occurred at recursive SQL level 2
ORA-02067: transaction or savepoint rollback required
ORA-02063: preceding 10 lines from OWB_72
at oracle.wh.repos.pdl.foundation.CacheMediator.getSQLResult(CacheMediator.java:505)
at oracle.wh.repos.impl.CMPWBAPIFactory.getSQLResult(CMPWBAPIFactory.java:2210)
at oracle.wh.service.sdk.integrator.RepositoryUtils.getSQLResult(RepositoryUtils.java:448)
at oracle.wh.service.sdk.integrator.RepositoryUtils.getSQLResult(RepositoryUtils.java:413)
at oracle.wh.ui.integrator.oracle.WBOracleGatewayEntityAccessor.getTableColumnsSQLResult(WBOracleGatewayEntityAccessor.java:114)
at oracle.wh.ui.integrator.sdk.RelationalEntityAccessor.getItems(RelationalEntityAccessor.java:681)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.getColumnsToImport(ImportEntityAlgorithm.java:2927)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importColumns(ImportEntityAlgorithm.java:2916)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importTable(ImportEntityAlgorithm.java:1345)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.dispatchElement(ImportEntityAlgorithm.java:563)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importElement(ImportEntityAlgorithm.java:368)
at oracle.wh.ui.integrator.sdk.EntityAccessor.importElement(EntityAccessor.java:80)
at oracle.wh.ui.integrator.common.ImportService.importElement(ImportService.java:1049)
at oracle.wh.ui.integrator.common.wizards.ImportElementTransaction.run(ImportWizardDefinition.java:581)

Closing the error box i am then presented with another error:

API2216: Cannot drop database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
API2216: Cannot drop database link. Please contact Oracle Support with the stack trace and thedetails on how to reproduce it.
Persistent Layer Error:SQL Exception..
Class Name: oracle.wh.service.sdk.integrator.RepositoryUtils.
Method Name: dropDBLink(String).
Method Name: -1.
Persistent Layer Error Message: java.sql.SQLException: ORA-00604: error occurred at recursive SQLlevel 1
ORA-02067: transaction or savepoint rollback required
ORA-02067: transaction or savepoint rollback required
at oracle.wh.service.sdk.integrator.RepositoryUtils.dropDBLink(RepositoryUtils.java:324)
at oracle.wh.service.sdk.integrator.RepositoryUtils.dropDBLink(RepositoryUtils.java:293)
at oracle.wh.ui.integrator.common.wizards.ImportWizardDefinition.onFinish(ImportWizardDefinition.java:383)
at oracle.wh.ui.owbcommon.OWBWizard.wizardFinished(OWBWizard.java:917)
at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(Unknown Source)
at oracle.bali.ewt.LWComponent.processEvent(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.doFinish(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

The wizard then closes and there is no sign of the table under the location as it has obviously not worked.

Any input as to the reason for the first error?

The first error could be causing the other two. If this is not the case for the "Table 'SQLUSER.ALL_COL_COMMENTS' not found" error, there is indeed no table or view with that name in my Cache DB, is there some reason why owb is looking for it?

Edited by: user12179558 on 23-Nov-2009 03:21
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2009
Added on Nov 23 2009
15 comments
4,028 views