Importing table from Intersystems Cache DB failing
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
Oleg2 wrote:
What type you chosed during creation of location in OWB for Cache DB (hots:port:sid or SQ*Net)?I had been trying hots:port:sid
As I remember there was a problem (in OWB10gR2, I don't tested this feature in OWB11g) with non-Oracle location created in hots:port:sid form.
Try to create new location (under ODBC node in location tree) with type SQLNet and specify for Net Service Name string
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SDMFLAGSHIP.SDM.com)(PORT = 1521))(CONNECT_DATA=(SID=AlexGeneratedDataSite1))(HS = OK))I just tried this and the connection tests ok, and the tables are showing up when i try to import, as was the case previously,
i still get the same error as i did when using hots:port:sid :
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.Dialog$2.run(Dialog.java:553)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:551)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.wh.ui.owbcommon.OWBWizard.initialize(OWBWizard.java:815)
at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:209)
at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:191)
at oracle.wh.ui.owbcommon.IdeUtils._doShowWizardDefinition(IdeUtils.java:1289)
at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:516)
at oracle.wh.ui.integrator.common.CommonController$1ImportDialogListener.actionPerformed(CommonController.java:124)
at oracle.wh.service.sdk.OWBConsumer.dataItemAvailable(OWBInfoBus.java:381)
at javax.infobus.DefaultController.fireItemAvailable(DefaultController.java:90)
at javax.infobus.InfoBus.fireItemAvailable(InfoBus.java:989)
at oracle.wh.service.sdk.OWBInfoBus.produce(OWBInfoBus.java:160)
at oracle.wh.service.sdk.OWBInfoBus.produce(OWBInfoBus.java:76)
at oracle.wh.ui.console.commands.TreeMenuHandler.notify(TreeMenuHandler.java:94)
at oracle.wh.ui.console.commands.ModuleImportCmd.performAction(ModuleImportCmd.java:168)
at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
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)
Don't forget to change location on Cache DB module (including Metadata location tab)i created a new module and location for the test, i presume this is what you mean?
Similar Messages
-
Error while importing tables from oracle database
Hi
I am getting the following error when i am trying to import table from oracle database.
my operating system is windows and my database is oracle.
[nQSError: 16001]ODBC error state: IM004 code:0 message:
[Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
please help me in resolving this issue.
Thanks and Regards,
RajHi Madan,
I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
This is very great full help to me …
Advance thanks for your suggestions.
Regards
Duraga Prasad. -
OBIEE Error while importing table from database
Hi
I am getting the following error when i am trying to import table from database.
[nQSError: 16001]ODBC error state: IM004 code:0 message:
[Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
Any idea y such error.
Thanks and Regards,
AndyLooks like an error in the ODBC driver, not OBIEE as such.
Have you tried googling it?
Can you post details about your OS and DB. -
[nQSError: 46115] - Admin Tools: can't import table from database .
hi all,
Need your help, i am using Bi Administration Tool, and i try to import tables from database,but encounter issue:
(1)."File->import->from database...",select connection type as OCI 10g/11g, type TNS Name,User Name and Password,then click "OK".
(2).select table "BI_DATA",and then click button "import",it show prompt:"Failed to perform requested action".
(3).i try to click the symbol "+" on the left of table "BI_DATA", it show below prompt:
[nQSError: 46115] No Unicode translation is available for some of the input characters for MultiByteWideChar().
is there anyone can help me? thanks.
the BI version is:
Build: 10.1.3.4.1.090414.1900
Release Version: Oracle Business Intelligence 10.1.3.4.1
Package: 090414.1900I meet the problem, too! I can't solve it. Is anyone who can help me.
My email is [email protected]
thanks in avdvanced! -
CAN'T I IMPORT TABLES FROM 8.1.5 TO 8.1.6 ?
posted March 01, 2001 07:09 PM
WHEN I TRY TO IMPORT 8.1.5 (NT) DATABASE TABLE TO 8.1.6 ( AIX) DATABASE, IT GIVES THE FOLLOWING ERROR,
IMP-00002: failed to open transformer.dmp for read
CAN'T I IMPORT TABLES FROM 8.1.5 TO 8.1.6 ?Check the case of the file. imp usually wants the .dmp in lower case on unix and NT tends to have it in upper.
-
how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
can I import the same way as I did previously??
but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
please help ...
thanksHi,
Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
In step 1 use a suitable database connection that can access the relevant table definitions.
In step 2 select the schema (or schemas) to import. The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
In step 3 select the tables to import. (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
After the import itself has completed, the "Compare Models" dialog is displayed. This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
Just selecting the Merge button should apply all the additions and changes in the new import.
Having updated your Relational Model, you can then update your Logical Model. To do this you repeat the "Engineer to Logical Model". This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
Just selecting the Engineer button should apply all the additions and changes.
I hope this helps you achieve what you want.
David -
I am creating a catalog and need a way to mass import tables from excel into indesign. Any ideas?
Third-party plugins for InDesign can automate the process. Here's a thread from InDesignSecrets.com forums:
http://indesignsecrets.com/topic/plugins-for-automating-catalog-production -
Error "no database selected" when importing tables from MySQL
I'm trying to import tables from MySQL to OBI repository. However, after selecting the MySQL ODBC and prompting user name and password there's an error:
[nQSError: 16001] ODBC error state: HY000 code: 1046 message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.56sp1-enterprise-glp-nt]No database selected.
Seems like the database is somehow not selected althought I defined it (sakila sample database) in the ODBC connection properties and the ODBC test is successful. Anybody has experiences with MySQL + OBI?
Thanksthe issue was solved by using MySQL odbc 3.51... with that there're no problems whatsoever
-
Exceptions thrown while importing tables from SQL Server 2000
Hi all,
<MyProblem:
I cannot import the tables defined in my local SQL Server. An exception is thrown --oracle.jdeveloper.cm.ds.db.ValidationException: Columns of type varchar cannot have a size specified.
/>
<What I have done:
In Oracle JDev 10g, Created a new DB connection called "SQLServerConnection" to connect to the SQL Server and it works fine. I am able to see all tables by expanding the connection.
During the creation of a new partner link named "DBAdapter", I use the adapter wizard to select DB Adapter and then select the "SQLServerConnection" DB connection I have created. I select Perform an Operation on a Table and then check Select. After I pressed OK button on the[i] Import Tables dialog, a Error messege box emmerged indicating the Exception: Columns of type varchar cannot have a size specified.
I try to change the data type of the columns of the tables to char, there is still similar exception (Columns of type char cannot have a size specified).
/>
I got the stack trace from the prompt by using jdev.exe.
<StackTrace:
oracle.jdeveloper.cm.ds.db.ValidationException: Columns of type varchar cannot h
ave a size specified.
at oracle.jdeveloper.offlinedb.OfflineDBTableValidator.validateObject(Of
flineDBTableValidator.java:116)
at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateObject(Ab
stractDBObjectProvider.java:601)
at oracle.jdeveloper.offlinedb.OfflineDBObjectProvider.updateObject(Offl
ineDBObjectProvider.java:952)
at oracle.tip.tools.ide.pm.wizard.adapter.db.DBAdapterDescriptorGenerato
r.generate(DBAdapterDescriptorGenerator.java:274)
at oracle.tip.tools.ide.pm.wizard.adapter.db.DBAdapterSelectTablePage.ac
tionPerformed(DBAdapterSelectTablePage.java:451)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.tip.tools.ide.pm.wizard.adapter.techAdapterWizard.display(tech
AdapterWizard.java:151)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkEditPage.handleA
dapterWizard(PartnerLinkEditPage.java:311)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkEditPage.actionP
erformed(PartnerLinkEditPage.java:893)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
31)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkDialog.create(Pa
rtnerLinkDialog.java:90)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELGraphPane.createPart
nerLink(BPELGraphPane.java:324)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELDNDDropHandler.handl
eDrop(BPELDNDDropHandler.java:77)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
routeToDropHandler(DefaultGraphPaneDropTargetListener.java:212)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
handleDrop(DefaultGraphPaneDropTargetListener.java:200)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELGraphPaneDropTargetL
istener.handleDrop(BPELGraphPaneDropTargetListener.java:75)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
drop(DefaultGraphPaneDropTargetListener.java:260)
at java.awt.dnd.DropTarget.drop(DropTarget.java:398)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTarget
ContextPeer.java:542)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextP
eer.java:52)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEven
t(SunDropTargetContextPeer.java:805)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Su
nDropTargetContextPeer.java:743)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
at java.awt.Component.dispatchEventImpl(Component.java:3494)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:
3269)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
/>
<Oracle:
Oracle JDeveloper 10.1.2.0.0 (Build 1811)
Oracle IDE 10.1.2.17.84
Business Components Version 10.1.2.17.96
UML Modelers Version 10.1.2.16.71
Versioning Support 10.1.2.16.71
WebDAV Support Version 10.1.2.16.71
Struts Modeler Version 10.1.2.6.15
BPEL Designer 10.1.2.0.0 (Build 050504)
Designer Generators Framework 10.1.2.7.56
ADF UIX 2.2.16
java.version 1.4.2_06
java.home E:\OraBPELPM\jdk\jre
java.vm.name Java HotSpot(TM) Client VM
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.4.2_06-b03
user.language zh
user.region <no value assigned>
user.name Administrator
user.home C:\Documents and Settings\Administrator
user.dir E:\OraBPELPM\integration\jdev\jdev\bin
os.name Windows 2003
os.version 5.2
os.arch x86
http.proxyHost jproxy.nju.edu.cn
http.proxyPort 8080
/>
<SQL Server:
Microsoft SQL Server 2000 with the Microsoft SQL Server 2000 Driver for JDBC Service Pack 3 installed
/>
By the way, I have read the thread Thread: DB Adapter not importing SQL Svr tables and take some of their advises but the problem still exist.
Any help would be greatly appreciated.
Thanks!
And Merry Christmas to all!Hi, ronen!
Thank you.
I followed the steps and the there were no exceptions then.
However, new runtime error emerged.
The BPEL PM Server cannot build Toplink Session. But I do not know why.
The messeges from the "Start BPEL PM Server" console about this project (named "TryDB") is as following (DoSelect is the service name of the DB Adapter):
<::Outbound><oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> I
nitializing an existing toplink project for use by the database adapter.
<::Outbound><oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> I
nitializing an existing toplink project for use by the database adapter.
<2006-01-10 16:03:02,656> <INFO> <default.collaxa.cube.compiler> 正在验证 "E:\Or
aBPELPM\integration\orabpel\domains\default\tmp\.bpel_TryDB_1.0.jar\TryDB.bpel"
<2006-01-10 16:03:05,156> <INFO> <default.collaxa.cube.engine.deployment> <CubeP
rocessFactory::generateProcessClass>
流程 "TryDB" (修订 "1.0") 编译成功。
<2006-01-10 16:03:05,765> <INFO> <default.collaxa.cube.engine.deployment> 流程 "
TryDB" (修订标记 "1.0") 已成功加载。
06/01/10 16:03:34 Tutalii: E:\OraBPELPM\integration\orabpel\lib\orabpel.jar arch
ive
<2006-01-10 16:03:34,500> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
tbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_1
.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters,
AirlineTableCollection) ] - Using JCA Connection Pool - max size = <unbounded>
<2006-01-10 16:03:35,093> <ERROR> <default.collaxa.cube.ws> <Database Adapter::O
utbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession>
unable to build the TopLink Session
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <Database Adapter::O
utbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to exe
cute the NamedQuery: TryDB.AirlineTable.DoSelectSelect
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
utbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_
1.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters
,AirlineTableCollection) ] - Could not invoke operation 'DoSelectSelect' against
the 'Database Adapter' due to:
ORABPEL-11622
无法创建/访问 TopLink 会话.
此会话用于连接到数据存储。.
有关特定异常错误, 请参阅根异常错误。您可能需要在 j2ee/home/application-deploymen
ts/default/DbAdapter/oc4j-ra.xml 中配置连接设置并重新启动服务器。由 $J2EE_HOME/a
pplication-deployments/default/DbAdapter/oc4j-ra.xml 导致。
<2006-01-10 16:03:35,125> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
tbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to se
e full error stack
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
utbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_
1.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters
,AirlineTableCollection) ] - Rolling back JCA LocalTransaction
And in the Audit part of the BPEL Console, I got the following "details"
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code">
<code>4003</code>
</part>
<part name="summary">
<summary>file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_1.0.jar/DoSelect.wsdl [
DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters,AirlineTableCollection) ] - WSIF JCA Execute of operation
'DoSelectSelect' failed due to: ????/?? TopLink ??. ?????????????. ; nested exception is: ORABPEL-11622 ????/??
TopLink ??. ?????????????. ????????, ??????????????? j2ee/home/application-deployments/default/DbAdapter/oc4j-ra.xml
????????????????? $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml ???</summary>
</part>
<part name="detail">
<detail>??????: ????????? [com.microsoft.jdbc.sqlserver.SQLServerDriver]?</detail>
</part>
</remoteFault>
My oc4j-ra.xml has the following content (SQLServerConnection is the name of the connection of SQL Server database):
<connector-factory location="eis/DB/SQLServerConnection" connector-name="Database Adapter">
<config-property name="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<config-property name="connectionString" value="jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;databasename=lxbpel"/>
<config-property name="userName" value="bpel"/>
<config-property name="password" value="bpel"/>
<config-property name="minConnections" value="5"/>
<config-property name="maxConnections" value="5"/>
<config-property name="minReadConnections" value="1"/>
<config-property name="maxReadConnections" value="1"/>
<config-property name="usesExternalConnectionPooling" value="false"/>
<config-property name="dataSourceName" value=""/>
<config-property name="usesExternalTransactionController" value="false"/>
<config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.SQLServerPlatform"/>
<config-property name="usesNativeSequencing" value="true"/>
<config-property name="sequencePreallocationSize" value="50"/>
<config-property name="tableQualifier" value=""/>
</connector-factory>
I think this configuration in this oc4j-ra.xml is fine
So please help me again. I owe you so much.
Thank you! -
Importing tables from Word 2003 into Robohelp for word ^
Does anyone know how to import tables and boxex from Word
2003 nicely into Robohelp 6You can capture the table from your original word.doc and
save the image as either a bmp or gif file. In robohelp, insert the
picture where you want it to be located at. Have the table act as
an image. -
Delete temporary tables from namespace /BI0/0W - Failed to delete BPC Dim
Hi guys,
we have a problem while trying to delete a BPC Dimension which is no more used in any Application.
Dimension deletion fails because BW InfoObject deletion fails. From SLG1 we see there are some reference still in use.
Data Element /B28/OIJ2D30F1 is used in a couple of tables (/BI0/0W00000231 and /BI0/0W00000233).
These tables seems to be "where used list" tables.
We found an OSS Note [1042921|https://service.sap.com/sap/support/notes/1042921] related to DB6.
But it is not suitable: we are on ORACLE.
Anyway it says:
you may have to delete temporary tables from namespace /BI0/0W*, which also use the data element
These are exactly our symptoms
Does anyboy of you know how to delete this tables in /BI0/0W namespace?
Package is blank
SE11 -> Delete requires to register the object (created by BPC_ADMIN)
Thanks in advance
GFVin the table ddd02l you can see the temporary table..
TCode db02, you can ask your basis team to delete temp table...you can see it 'under missing table and indexe' -
I know that you can import an existing table from Excel or Word, but can you import from Access? If not, I thought that perhaps a Access table could be converted into a Word document, but upon checking...it doesn't look like that is an option either.
Any other options, other than spending hours of manually entering all of the Access data into Excel or Word??
just wonderin',
BradAfter receiving your reply, I went back and checked Access again and after much clicking I discovered the External Data tab. From there, I can export to Excel, Word and more.
It seemed, to me, that Access must export to those formats...but I don't use the programs enough to really know them and locate all of the features......welp...it worked!
Thanks Gary for your input...it got me back on track
Brad -
Hi,
Hope you had a nice weekend.
When I import a table from Excel, for some reason I'm not getting the header row text in my second column (the whole thing has two columns) and the border on all the cells like I have in Excel.
Is there a way to make sure it imports the spreadsheet with the border and the header row text in the second column?
Thanks!I'd check the cell range specified when you import, and perhaps tick the 'include hidden cells' option.
Might be worth saving your Excel file back to an older version too, as long as no required features are lost.
You can't bring Excel border styles over, though you can specify an InD table style on import... -
How to export / import tables from UAT Environment to Devlopment in oracle
i wanted to share some points about export/import tables in oracle.
we have two environments one is development and integrated user acceptance test (UAT).
we have finalized table structures with data in UAT. i wanted to move from UAT to Development.
i found some commends in google. I tried but I am not able to export and then its throwing some errors.
i am explaining below what i want to do and what i want did.
Please provide solution what i need to do.
admin credentials in UAT
username :venkat_admin
password :venkat_admin
UAT user/schema
username : ods_inb_stg
password : ods_inb_stg
development environment credentials
admin user name : dev_admin
password : dev_admin
Development user/schema
username :ods_inb_dev
password :ods_inb_dev
Above mentioned schema names i want move data from UAT (ods_inb_stg) to development (ods_inb_dev)
I logged in uat ods_inb_stg user and then
I used this command
Exp ods_inb_stg/ods_inb_stg file=party_pt_address.expdat tables=(party,party_address)
log=party_pt_address.log;
getting error
Unknown command beginning "exp ods_inb_stg/..." - rest of line ignored.
What should I do any one help.
One more thing i have more than 100 tables how to export all tables and which is the easiest way and how to do it.
Thanks in Advance
VenkatHi,
based import and export we need to do.
suppose we think we have created tables in production and data also populated. we need to export the tables with data. i am able to export the tables with data some tables or full database.
suppose we have development environment. in development environment there is no tables. we can treat nothing in development. we have only username,password and hostname.
when you import the tables production to development automatically create the table structures with data.
where ever we wanted to import the tables no need to create table structures. thats why no need to think about table structures. -
Importing Tables from Word Documents
I have a new job where the majority of my colleagues are PC users and we must work on common documents. I have no problem saving documents as a word file and opening word documents. But I have had some issues with Tables coming from a word document. I looked on the forum and learned about inline tables but I have been unable to take a table from a .doc file and change it to an inline table. Basically when the page ends, the table stops, even when there is more text. It is making it really frustrating for work as I have been copying and pasting the text from the table into a new document to edit it and then replacing the new text with the old. Can anyone help me figure out how to see the text in tables from word documents??
Thanks,
AmberIt would be more efficient to use the true Office or one of the free clones: openOffice & neoOffice.
Yvan KOENIG (VALLAURIS, France) Sunday, September 13, 2009 11:56:23
Maybe you are looking for
-
Can I create a photo album to embed in my website?
I would like to create a photo album to embed in my website so visitors to the site could view it online. Can anyone tell me how, please? I am new to the photo publishing world...!) Thank you. Marion
-
How long load-on-startup servlet stays in weblogic6.1 sp2
does anybody know how long a load-on-startup servlet exists (before gets destroyed) in weblogic6.1 sp2. What i want is in load-on-startup servlet, I want to schedule a java.util.Timer and when application gets undeployed
-
Where can I download WINCE 6.0 Platform Builder plugin for Visual Studio 2005?
I am supporting an older product that runs WINCE 6.0. I need to build a development environment. I understand the tool chain is based on Visual Studio 2005 SP1, which I have. I also have the Windows Embedded CE 6.0 Platform Builder Service Pack 1, bu
-
While upgrading, v$recover_file is having entries
Hi All, Oracle version 9.2.0.4 upgrading to 10.2.0.4 Os : HP-UX 11.11 Am trying to upgrade from 9i to 10g, and gone through Complete checklist...there i have seen "v$recover_file should return no rows" But in my database v$recover_file is having some
-
Why is the SQL job failing on weekends while it successfully runs in weekdays?
I wrote a job to create a backup. But this seems to work fine in weekdays. After weekends I can't find any backups. History viewer shows only 1 day of history and therefore I can't see what happened to the job in weekends. How can I increase the amou