OMWB 1.3 hangs while mapping tables from SQLServer 7
I am converting a SQLServer 7 database to Oracle 8.1.7.
As soon as the Oracle model creation process gets to Mapping tables, the OMWB hangs and has to be killed off.
Any help would be appreciated.
Here is the error log.
** Oracle Migration Workbench
** Release 1.3.0.0.0 Production
** ( Build 18072000 )
** ORACLE_HOME: C:\oracle\ora81
** user language: en
** user region: GB
** user timezone: GMT
** file encoding: Cp1252
** java version: 1.1.7.30o
** java vendor: Oracle Corporation
** o.s. arch: x86
** o.s. name: Windows NT
** o.s. version: 4.0
** Classpath:
C:\oracle\ora81\Omwb\olite\Oljdk11.jar;C:\oracle\ora81\Omwb\olite\Olite40.jar;C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;C:\oracle\ora81\Omwb\jlib;C:\oracle\ora81\Omwb\plugins\SQLServer6.jar;C:\oracle\ora81\Omwb\plugins\Sybase.jar;C:\oracle\ora81\Omwb\plugins\MSAccess.jar;C:\oracle\ora81\Omwb\plugins\SQLAnywhere.jar;C:\oracle\ora81\Omwb\plugins\SQLServer7.jar;C:\oracle\ora81\Omwb\jlib\omwb-1_3_0_0_0.jar;C:\oracle\ora81\jdbc\lib\classes111.zip;C:\oracle\ora81\lib\vbjorb.jar;C:\oracle\ora81\jlib\ewt-swingaccess-1_1_1.jar;C:\oracle\ora81\jlib\ewt-3_3_6.jar;C:\oracle\ora81\jlib\ewtcompat-opt-3_3_6.zip;C:\oracle\ora81\jlib\share-1_0_8.jar;C:\oracle\ora81\jlib\help-3_1_8.jar;C:\oracle\ora81\jlib\ice-4_06_6.jar;C:\oracle\ora81\jlib\kodiak-1_1_3.jar
** Started : Thu Apr 25 11:07:29 GMT 2002
** The following plugins are installed:
** MS SQLServer 6.5 Release 1.3.0.0.0 Production
** MS SQLServer 7.0 Release 1.3.0.0.0 Production
** Sybase Adaptive Server 11 Release 1.3.0.0.0 Production
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:273)
at oracle.mtg.oracleModel.server.CollisionManager.compliantTableName(CollisionManager.java:777)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3008)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:273)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
Invalid CollisionInfo object created:
_oracleID : 0
_oracleModifiedObjectName : null
_oracleObjectName : null
_oracleObjectOwner : null
_oracleObjectType : null
_oracleNameSpaceType : null
_collisionCount : 0
java.lang.Exception
at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
java.lang.NullPointerException:
at oracle.lite.poljdbc.POLJDBCPreparedStatement.setString(Unknown Source)
at oracle.mtg.oracleModel.server.OracleModelImpl._insertObjInfo(OracleModelImpl.java:7348)
at oracle.mtg.oracleModel.server.OracleModelImpl._insertObjInfo(OracleModelImpl.java:7311)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3016)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
First of all I would suggest that you upgrade to the latest version of the Migration Workbench.
http://otn.oracle.com/software/tech/migration/workbench/content.html Oracle Migration Workbench Release 2.0.2.0.0 for Windows
This relase of the Migration Workbench was bundled with Oracle9i dependencies, however it will migrate to Oracle 8.1.7.
The hanging issue you are currently getting may concern table names with spaces in them.
If this does not work please send an email to [email protected] and include your error.log.
hope this helps
Dan
Similar Messages
-
Error While mapping table with 100 Columns
Hello
Actually i had a requirement in which i have to map the data into target table from more than 50 tables with complex join conditions
So I created 5 maps separately to load the data and now i am feared that while i deploy the the first map the other columns which doesnt have a map
will be filled with nulls and some of the columns have unique constraint on it so its giving me error
Please Help me out i need to submit my Assignment by Monday
Thanks
SriksBharadwaj Hari wrote:
Hi,
I agree with u...I am not sure of the environment the user has so i put forth all the 3 option that crossed my mind that time....thats why i said he has to choose what best suits him/her...
Also if the database is huge and we create physical temp tables (option 2 and ur idea) its like having redundant data in the database which is also a problem....So ist upto the user to actually evaluate the situation and come up with what best suits him/her...
Regards
BharathHi,
I understand your opinion. But I am not sure that the user have enough experience to choose the best option by his one. And about the redundant data: because of this I wrote that he should truncate the tables after the last mapping which loads all data into the real target table.
Regards,
Detlef -
Error while accessing table from procedure but no error from anonymous plsq
Hi All,
I am getting a strange error while accessing a table from a different schema.
In that concerned schema OWBSYS, i executed the following:
grant Select on wb_rt_audit to ods;In Ods schema i executed:
CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
create or replace
procedure pp_test as
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) into lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
/I get the error:
Warning: execution completed with warning
procedure Compiled.
ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
declare
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
anonymous block completedthere is no issue.
Can someone help me understand what I might be missing:
Edited by: Chaitanya on Feb 28, 2012 12:31 AMCheck if have some other steps.
SQL>conn scott1/tiger
Connected.
SQL>create table wb_rt_audit (rta_iid number);
Table created.
SQL>insert into wb_rt_audit values (100);
1 row created.
SQL>insert into wb_rt_audit values (200);
1 row created.
SQL>commit;
Commit complete.
SQL>grant select on wb_rt_audit to scott2;
Grant succeeded.
SQL>conn scott2/tiger
Connected.
SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
Synonym created.
SQL>create or replace procedure pp_test as
l_number number(10);
begin
SELECT MAX(rta_iid) into l_number
FROM wb_rt_audit;
end pp_test;
Procedure created. -
Getting error while creating table from one database to other.
Hi,
We are getting below error while creating the table from one database to other.
SQL> create table fnd_lobs parallel compress as select * from [email protected];
create table fnd_lobs parallel compress as select * from [email protected]
ERROR at line 1:
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
Regards,
Bhatiahi
what are the apps version local and remote database???
Snapshot too old errors occur because Oracle can 't reconstruct a consistent
image of a block for the purposes of a consistent read.
I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
increase roll back segments size and select again then
the following metalink notes might be helpful
ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1 -
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. -
Updating oracle tables from sqlserver
I wish to have replication from sqlserver 7.0 to oracle 8.1.7
database done in real time. Since tranparent gateway only goes
from oracle to sqlserver, I guess ODBC connectivity is the last
resort. Are there any other tools or methods that I can
accomplish this task.
Thx
DanielDaniel,
you can create snapshot for ms tables. Example:
CREATE SNAPSHOT "KISELYOV"."SH_SEMIINPUT"
PCTFREE 10 PCTUSED 40 MAXTRANS 255 STORAGE ( INITIAL 128K NEXT
128K MINEXTENTS 1 MAXEXTENTS 4096 PCTINCREASE 0 FREELISTS 1
FREELIST GROUPS 1)
TABLESPACE "USERS"
BUILD IMMEDIATE
REFRESH COMPLETE
ON DEMAND
AS
select * from [email protected]
where ho.world in my case is a database link for Interbase
Server via ODBC.
And you can refresh those snapshots when you need.
Dmitry. -
Error while creating table from csv file
I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea?I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea? -
Error while loading table from flat file (.csv)
I have a flat file which i am loading into a Target Table in Oracle Warehouse Builder. It uses SQL Loader Internally to load the data from flat file, I am facing an issue. Please find the following error ( This is an extract from the error log generated)
SQL*Loader-500: Unable to open file (D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv)
SQL*Loader-552: insufficient privilege to open file
SQL*Loader-509: System error: The data is invalid.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
I believe that this is related to SQL * Loader error.
ACtually the flat file resides in my system ( D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv). I am connecting to a oracle server.
Please suggest
Is it required that i need to place the flat file in Oracle Server System ??
Regards,
Ashoka BLHi
I am getting an error as well which is similar to that described above except that I get
SQL*Loader-500: Unable to open file (/u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
The difference is that Ashoka was getting
SQL*Loader-552: insufficient privilege to open file
and I get
SQL*Loader-553: file not found
The initial thought is that the file does not exist in the directory specified or I have spelt the filename incorrectly it but this has been checked and double checked. The unix directory also has permission to read and write.
Also in the error message is
Control File: C:\u21\oracle\owb_staging\WHITEST\source_depot\INV_LOAD_LABEL_INVENTORY.ctl
Character Set WE8MSWIN1252 specified for all input.
Data File: /u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv
Bad File: C:\u21\oracle\owb_staging\WHITEST\source_depot\Durham_Inventory_Labels.bad
As can be seen from the above it seems to be trying to create the ctl and bad file on my c drive instead of on the server in the same directory as the .csv file. The location is registered to the server directory /u21/oracle/owb_staging/WHITEST/source_depot
I am at a lost as this works fine in development and I have just promoted all the development work to a systest environment using OMBPlus.
The directory structure in development is the same as systest except that the data file is /u21/oracle/owb_staging/WHITED/source_depot/Durham_Inventory_Labels.csv and everything works fine - .ctl and .bad created in the same directory and the data sucessfully loads into a oracle table.
Have I missed a setting in OWB during the promotion to systest or is there something wrong in the way the repository in the systest database is setup?
The systest and development databases are on the same box.
Any help would be much appreciated
Thanks
Edwin -
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! -
Error while passing table from R/3 to XI
Hi All
I am trying to send data from R/3 to XI using a Remote function module. I have done the following.
1. Created a RFC connection (type T), assigned a program ID and checked the Registered the program.
2. Created a communication channel as Sender RFC and assigned the same Program ID.
I tested the RFC connection, It works fine.
3. Now, I have created a function module Z_SEND_DATA, which extracts the data from the table and passes the table (an internal table is formed) to another wrapper function module (Z_WRAPPER) which has Table as of the parameter.
4. The Wrapper function module is imported to Integration Repository.
Now, when i execute the Z_SEND_DATA function module, t extracts the data and passes the table to Z_WRAPPER. ( Confirmed by debugging), but the function module does not pass the information to XI.
When I checked SM59, there is a log "Server repository could not create a Function template for Z_WRAPPER".
Not sure why I get the above error, please help.
Thanks
RakeshHi Sreeram
I am not sure how do we specify the "Queue name".
We call the wrapper FM by
Call 'Z_WRAPPER' in background task destination 'SAPXIDEST'
here, SAPXIDEST is the RFC destination,
please let me know what does the the error " Server repository could not create a Function template for Z_WRAPPER", mean ??
Thanks
Rakesh
Message was edited by:
Rakesh teki -
Error ORA-02019: while selecting table from oracle10g to SQL Server 2005
Hi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARDHi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARD -
Issue while importing table from oracle to sql server using import and export wizard
Hi All,
I am trying to populate oracle table to sql server using import export wizard and i am getting the below error.the table is allready present in the database but still it throwing error like table doesn't exists.
Could not connect source component.
Error 0xc0202009: Source - JOB_ACTION_HISTORY [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
Error 0xc02020e8: Source - JOB_ACTION_HISTORY [1]: Opening a rowset for ""FLXUSER"."JOB_ACTION_HISTORY"" failed. Check that the object exists in the database.
(SQL Server Import and Export Wizard)
Kindly help me out
Thanks in advanceHi Snehasis,
Please check whether the table name in the Oracle database has lower case letters. The table name should be exactly correct.
In addition, the issue might be related to the Oracle driver. What provider/driver do you use? If you use Microsoft OLE DB Provider for Oracle, you can try the
Oracle OLE DB Provider. If you use Enterprise or Developer edition of SSIS 2008 or higher, you can also try the
Microsoft Connectors for Oracle by Attunity. The Oracle OLE DB Provider and Microsoft Connectors for Oracle are proved to have better performance.
Regards,
Mike Yin
TechNet Community Support -
Date format error while accessing date from SQLSERVER
Hi all, in me webdynpro application I have taken Date type for the Input Field.
At date select it is displaying in the format
*2/14/2009 i.e. mm/dd/yyyy*
And when I am saving date in the sql database then the date format changes to..
2009-02-14 i.e..yyyy/mm/dd.
But using the Date format method I have changed the format as per the need to push date in the SQL database table...
In the table SQL the date attribute is in form i.e. 02/14/2009 as like from the date select from the date Input Fieldu2026But the problem is that database is not being able to display in that Input field again.
I have use the coding both at Insertion and selection of the database i.e..
Date Sdate, Edate;
Sdate = Date.valueOf (rs.getString ("Sdate"));
Edate = Date.valueOf (rs.getString ("Edate"));
SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
Sdate = wdContext.currentProjectElement ().getEdate ();
Edate = wdContext.currentProjectElement ().getEdate ();
String Sd = dateFormatter.format (Sdate);
String Ed = dateFormatter.format (Edate);
Date Sdd =Date.valueOf (Sd);
Date Edd =Date.valueOf (Ed);
But at selection of the database the error for the date format isu2026.
java.lang.IllegalArgumentException
If somebody knows how to resolve this ,plz let me know
Regards:
SKfor displaying the value only, I think, you are converting to string.
sol1:
1. Create a simple type in dictionary: under Dictionary -> Local Dictionary -> Simple Types
2. go to Definition tab: Change Built-in Type as Date
3. go to Representation tab: specify format e.g.: MM/dd/yyyy
4. go to Context and change the date context attribute to the created type.
sol2:
please try to minimize the casting between Date and String.
I believe in database date is stored as Date type itself. My suggestion will be for displaying keep a separate attribute and set it on each db call.
below code is converting from Date to String.
Date Sdate, Edate;
Sdate = rs.getDate ("Sdate");
Edate = rs.getDate ("Edate");
SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
String Sd = dateFormatter.format (Sdate);
String Ed = dateFormatter.format (Edate); -
Lookup value mapping table through message mapping.
Hello All,
I am working on a graphical mapping (message mapping). When trying to map the source message to the target message, I need to find out it a particular <b>key</b> exists in the <b>value mapping table</b>. Depending on the result, I need to map different source fields to the target field.
Is there any inbuilt function which will allow me to do a lookup on a value mapping table, or is it possible to lookup a value mapping table from a UDF?
Please help!
Warm Regards,
KeertiHi,
Please see the below links for Value mapping ..
Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
Value mapping in XSLT /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
Value Mapping replication - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
Also see
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
Regards
Pradeep N
Maybe you are looking for
-
Compc ant task and external framework
I'm writing an ant task to compile a couple of libraries into SWCs and then a shell app (that uses the libraries) into a SWF for deployment. If I compile the libraries by hand then run just the 'mxmlc' part of my ant script it compiles fine. However
-
How can I update when in theory I have the lattest version of itunes?
I reinstalled itunes in my computer, and now it won´t let me access my ipad. There is a message that says I need the 11.1 version or later of itunes, but in theory the version I have installed is 11.2. Someone can give me any advise? thanks!!
-
Access regression status field in bugdb
Hello: We are writing an application to create/edit a bug on Oracle BugDB. We found regression status is a field in RPTHEAD and its values are in table bug_lookups. There are some state logic for that field. When the current value is empty, its drop
-
Free Receipts and Returnable Delivery
Hi, I am having two requirements 1.Free receipts thur PO 2.Returnble delivery items thru PO> Could u please suggest how can I do this actitvity step by step along with required configration chnages. Please explain scenario 1 as Free Receipt thru PO (
-
Error While creating Third Party order in VA01
HI am trying to create Third Party order in VA01 in my sand box with material ( BANS item category Group) getting error NOT POSSIBLE TO DETERIMINE A CONSUMPTION ACCOUNT in OBYC GBB i tried to do some setting in VAX , VBR with valuation class 0001