IBM DB2 to Oracle Database Migration Using SQL Developer
Hi,
We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
Questions:
1) How can we enable the Third Party Database Connectivity in SQL Developer?
I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
7) What are all the necessary Test Cases to confirm the status of VALID Migration?
Request you to share the relevant metalink documents!!!
Kindly guide me in-order to go-ahead with the successful migration.
Thanks in Advance!!!
Nagu
[email protected]
Hi Klaus,
Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
As like previous database migration, we have done the pre-requirement steps.
DB Using SQL Developer
Created Migration Repository
Connected with the created User in SQL Developer
Captured the Source Database
Converted Captured Model to Oracle
Before Translation Phase we have clicked on the "Proceed Summary"
Captured Database Objects & Converted Database Objects has been created under PROJECT section.
Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
OVERVIEW
PHASE TABLE DETAILS TABLE PCT
CAPTURE 20/20 100%
CONVERT 20/20 100%
COMPILE 0/20 0%
TARGET STATUS
DESC_OBJECT_NAME
SCHEMANAME
OBJECTNAME
STATUS
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
INDEX
TRADEIN1
SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
Missing
We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
Kindly help us how to approach this issue now.
Thanks
Nagu
Similar Messages
-
Migration Schema from IBM db2 to Oracle Database
Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance.Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance. -
Hi,
We face an issue while migrating an SQL Server 2005 DB to Oracle 11.2. It fails during the process. I hope someone on the forum has seen this before and can give us some advice.
I use the latest version of SQL Developer with JRE included (3.2.20.09). The JDBC driver to connect to SQL Server 2005 is 1.2.0
Here are the steps we take in the Migration Workbench wizard:
I made an online extract of the SQL Server database.
Using the workbench in SQL Developer I created a migration repository in schema PDM_MIGRATION.
Next I start the migration, it captures the tables fine, but immediately after the start of the conversion I get a failed message without further explanations.
This is the content of the error xml:
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<log>
<record>
<date>2013-08-14T16:23:32</date>
<logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
<level>SEVERE</level>
<class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
<message>Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo@4c12ab</param>
<exception>
<message>oracle.dbtools.migration.convert.ConvertException: Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
<frame>
<class>oracle.dbtools.migration.convert.ConverterWorker</class>
<line>1078</line>
</frame>
<frame>
<class>oracle.dbtools.migration.convert.ConverterWorker</class>
<line>316</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>1002</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>303</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>205</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>159</line>
</frame>
<frame>
<class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
<line>193</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask$Sync</class>
<line>303</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask</class>
<line>138</line>
</frame>
<frame>
<class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
<line>515</line>
</frame>
<frame>
<class>java.util.concurrent.Executors$RunnableAdapter</class>
<line>441</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask$Sync</class>
<line>303</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask</class>
<line>138</line>
</frame>
<frame>
<class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
<line>886</line>
</frame>
<frame>
<class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
<line>908</line>
</frame>
<frame>
<class>java.lang.Thread</class>
<line>662</line>
</frame>
</exception>
</record>
<record>
<date>2013-08-14T16:23:32</date>
<logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
<level>SEVERE</level>
<class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
<message>Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
<param>oracle.dbtools.migration.convert.ConverterWorker.copyModel(ConverterWorker.java:1078)</param>
<param>oracle.dbtools.migration.convert.ConverterWorker.runConvert(ConverterWorker.java:316)</param>
<param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doConvert(FullMigrateTask.java:1002)</param>
<param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:303)</param>
<param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:205)</param>
<param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:159)</param>
<param>oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)</param>
<param>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)</param>
<param>java.util.concurrent.FutureTask.run(FutureTask.java:138)</param>
<param>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)</param>
<param>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)</param>
<param>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)</param>
<param>java.util.concurrent.FutureTask.run(FutureTask.java:138)</param>
<param>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</param>
<param>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</param>
<param>java.lang.Thread.run(Thread.java:662)</param>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo@5dc1bc</param>
<exception>
<message>oracle.dbtools.migration.convert.ConvertException: Ongeldig naampatroon.: PDM_MIGRATION .MIGR_FILTER</message>
<frame>
<class>oracle.dbtools.migration.convert.ConverterWorker</class>
<line>1078</line>
</frame>
<frame>
<class>oracle.dbtools.migration.convert.ConverterWorker</class>
<line>316</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>1002</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>303</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>205</line>
</frame>
<frame>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<line>159</line>
</frame>
<frame>
<class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
<line>193</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask$Sync</class>
<line>303</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask</class>
<line>138</line>
</frame>
<frame>
<class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
<line>515</line>
</frame>
<frame>
<class>java.util.concurrent.Executors$RunnableAdapter</class>
<line>441</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask$Sync</class>
<line>303</line>
</frame>
<frame>
<class>java.util.concurrent.FutureTask</class>
<line>138</line>
</frame>
<frame>
<class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
<line>886</line>
</frame>
<frame>
<class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
<line>908</line>
</frame>
<frame>
<class>java.lang.Thread</class>
<line>662</line>
</frame>
</exception>
</record>
<record>
<date>2013-08-14T16:23:32</date>
<logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
<level>WARNING</level>
<class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
<message>Building converted model: FAILED : Database Migration : FAILED</message>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo@15a3779</param>
</record>
Does anybody know what this error means and what steps we should take to continue the migration?
I see the PDM_MIGRATION.MIGR_FILTER is a type.
Many thanks in advance,
KrisHi Wolfgang,
Thanks for your reply.
This is how the type MIGR_FILTER looks like:
create or replace
TYPE MIGR_FILTER IS OBJECT (
FILTER_TYPE INTEGER, -- Filter Types are 0-> ALL, 1->NAMELIST, 2->WHERE CLAUSE, 3->OBJECTID LIST
OBJTYPE VARCHAR2(40),
OBJECTIDS OBJECTIDLIST,
NAMES NAMELIST,
WHERECLAUSE VARCHAR2(1000));
I think the repository user has the correct privileges. This is the overview of privileges it has:
SQL> select * from dba_sys_privs where GRANTEE in ('PDM_MIGRATION') order by GRANTEE;
GRANTEE PRIVILEGE ADM
PDM_MIGRATION ALTER SESSION NO
PDM_MIGRATION CREATE CLUSTER NO
PDM_MIGRATION CREATE DATABASE LINK NO
PDM_MIGRATION CREATE PROCEDURE NO
PDM_MIGRATION CREATE SEQUENCE NO
PDM_MIGRATION CREATE SESSION NO
PDM_MIGRATION CREATE SYNONYM NO
PDM_MIGRATION CREATE TABLE NO
PDM_MIGRATION CREATE TRIGGER NO
PDM_MIGRATION CREATE VIEW NO
PDM_MIGRATION UNLIMITED TABLESPACE NO
SQL> select * from dba_role_privs where GRANTEE in ('PDM_MIGRATION') order by GRANTEE;
GRANTEE GRANTED_ROLE ADM DEF
PDM_MIGRATION CONNECT NO YES
PDM_MIGRATION RESOURCE NO YES
Best regards,
Kris -
Online Migration using SQL developer
Hi All,
We are planning to migrate our production SQL server.2005 database to oracle 10g. If I use online migration using Oracle SQL Developer Tool to migrate data from SQL server 2005 to Oracle 10g, then will it migrate all those records that are inserted into SQL server 2005 LIVE database after the time when online migration process started?
For example let say the migration process started at 10:00 PM in the night and it found 200,00,000 records in transaction table, it will take 3-4 hours to migrate all of them to oracle, now during this migration time the LIVE SQL server database will still be getting new records, so will 200,00,000 plus newly inserted records will get migrated to Oracle 10g or only those which were initially counted when migration started?
Kindly advise!
Best Regards!
IrfanHi Irfan,
It sounds easy to find that out by a little test. I would expect that only those records will be transferred that are in the remote table at the moment when the migration started. Online data move uses COPY via the JDBC connection, as far as I know.
200,000,000 records and an online data move is a contradiction. From the manual:
Mode: Online causes the table data to be moved by SQL Developer when you have completed the necessary information in the wizard; Offline causes SQL Developer to generate scripts after you have completed the necessary information in the wizard, and you must later run those scripts if you want to move the data. (Online moves are convenient for moving small data sets; offline moves are useful for moving large volumes of data.)
If you are using offline data move, then you are using BCP to unload the data from the SQL Server database, and then the rules of BCP apply how the records are unloaded.
What are you trying to achieve? Do you want to keep the two databases in synch? Then a migration does not seem to me the best way. There are other products, like the Database Gateway for MS SQL Server, or the Golden Gate product.
Best regards
Wolfgang -
Problem in connecting Database by using SQL Developer
Hi,
I recently installed SQL Developer after installing Oracle 10g and am trying to connect existing database. could anybody help me to connect and what credential should i required to connect.
Thanks in advance
LN ReddyI am new to oracle myself, so I apologize if this information is not helpful. But I have a number of connections to a local database on my laptop. The way that I connected is using the 'Basic' tab with the following settings:
Hostname: localhost
Port: 1521
SID: orcl
And of course the username above.
I hope that might be helpful. -
Oracle Database Express Edition SQL Developer
Hi all,
I did download the Oracle Database Express Edition from Oracle's website and am trying to create a new connection with the following info
Connection Name: myconnection
Username: ora21
Password: ora21
Hostname: localhost
Port: 1521
SID: orcl
Note: I even tried to use xe as the SID since it's a express edition but it keeps telling me test failed: ORA-01017: invalid/password; logon denied.
Could it be because it's an Express edition? Please advice as am a new DBA and am practising on my own@Jim: thanks for the reply! I just created the user ora21 but when I try to creat the connection again it gives error ORA 01045 : user ORA21 lacks create session privilege; logon denied.
-
Oracle Database 10 g/ SQL Developer connection problem
Hello,
I hope you can help me further. now wants to learn Oracle, Oracle Database 10g Enterprise have
Edition instaled (successful), and wants to connect to SQL Developer but unfortunately was not working.
I get this error:
Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor.
Thank you for your understanding!881920 wrote:
Hello,
I hope you can help me further. now wants to learn Oracle, Oracle Database 10g Enterprise have
Edition instaled (successful), and wants to connect to SQL Developer but unfortunately was not working.
I get this error:
Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor.
Thank you for your understanding!welcome to the forum,
what is your operating system name and version?
check
$lsnrctl status
if the listener is down
start the listener
$lsnrctl start
also check the database is up and running.
and try to connect with correct username,password,role (normal or sysdba) hostname or IP, port number, SID or service name.
Good Luck. -
MOSS 2007 Database Migration using SQL connection alias change throwing error
Hi Folks,
We are trying to move SharePoint SQL server from one DC to another DC.
Since we have made SQL server in new DC with other name so opted SQL server connection alias method to remap SQL mapping with existing farm.
After creating SQL alias we are able to browse central admin sites but could not able to browse any other sharepoint sites.
Event viewer showing below exception
SQL database login failed. Additional error information from SQL Server is included below.
Login failed for user 'computername$'.
Any view will be much appreciable.
RegardsFirst: Putting SQL Server on a domain controller is not recommended.
Are the two domain controllers in different domains? Is the SharePoint server in the same domain as the new SQL instance?
Do you have a SharePoint farm or a standalone installation? A
common cause of the error you're seeing is if the application pools are using Network Service or Local System which can be the case of a standalone installation.
Jason Warren
@jaspnwarren
jasonwarren.ca
habaneroconsulting.com/Insights -
While trying to connect to Oracle database 11g from SQL developer (Error)
Hi Guys,
Installed OIM in virtual machine with Windows 2008 and when trying to connect to Database after completing installation receiving with Error ' No more data to read from socket'
Vendor code : 17410. can anybody give suggestion on this.
thanks
sri485.yes i tried connecting DB directly its working fine and i tried select * from DUAL it displays 2 . VMware with OIM working fine in my system and when i copied the same VMWARE file to other system and i tried running OIM and connecting to DB it not working.
log trace:
<Aug 21, 2012 2:28:56 PM BST> <Warning> <DeploymentService> <BEA-290014> <Inval
d user name or password.>
<Aug 21, 2012 2:28:58 PM BST> <Error> <OIM Authenticator> <BEA-000000> <Error s
tting SQL Hint java.sql.SQLException: Unable to start the Universal Connection
ool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in
Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPoolExce
tion: Error during pool creation in Universal Connection Pool Manager: oracle.u
p.UniversalConnectionPoolException: Universal Connection Pool already exists in
the Universal Connection Pool Manager. Universal Connection Pool cannot be adde
to the Universal Connection Pool Manager>
java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.uc
.UniversalConnectionPoolException: Error during pool creation in Universal Conn
ction Pool Manager MBean: oracle.ucp.UniversalConnectionPoolException: Error du
ing pool creation in Universal Connection Pool Manager: oracle.ucp.UniversalCon
ectionPoolException: Universal Connection Pool already exists in the Universal
onnection Pool Manager. Universal Connection Pool cannot be added to the Univer
al Connection Pool Manager
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java
488)
at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.ja
a:163)
at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
651)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
ava:890)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
ava:857)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
ava:851)
at oracle.iam.platform.auth.impl.DBStore.getConnection(DBStore.java:130
at oracle.iam.platform.auth.impl.DBStore.setSQLHint(DBStore.java:107)
at oracle.iam.platform.auth.impl.DBStore.<init>(DBStore.java:62)
at oracle.iam.platform.auth.impl.DBStore.getInstance(DBStore.java:83)
at oracle.iam.platform.auth.impl.Authenticator.<init>(Authenticator.jav
:87)
at oracle.iam.platform.auth.impl.Authenticator.getInstance(Authenticato
.java:71)
at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMA
thLoginModule.java:43)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(Lo
inModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(Lo
inModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:
80)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(
AASLoginServiceImpl.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
er.invoke(Delegator.java:57)
at $Proxy25.login(Unknown Source)
at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceIm
l.login(WLSJAASLoginServiceImpl.java:89)
at com.bea.common.security.internal.service.JAASAuthenticationServiceIm
l.authenticate(JAASAuthenticationServiceImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
er.invoke(Delegator.java:57)
at $Proxy43.authenticate(Unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authen
icate(WLSJAASAuthenticationServiceWrapper.java:40)
at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
alAuthenticator.java:348)
at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
alAuthenticator.java:355)
at weblogic.management.servlet.BootstrapServlet$1.run(BootstrapServlet.
ava:169)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
146)
at weblogic.management.servlet.BootstrapServlet.processGet(BootstrapSer
let.java:119)
at weblogic.management.servlet.BootstrapServlet.doGet(BootstrapServlet.
ava:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.ru
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecur
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
a:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
a:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
n.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebApp
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServlet
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.ucp.UniversalConnectionPoolException: Error during pool creat
on in Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPo
lException: Error during pool creation in Universal Connection Pool Manager: or
cle.ucp.UniversalConnectionPoolException: Universal Connection Pool already exi
ts in the Universal Connection Pool Manager. Universal Connection Pool cannot b
added to the Universal Connection Pool Manager
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(
CPErrorHandler.java:368)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
(UCPErrorHandler.java:49)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
(UCPErrorHandler.java:80)
at oracle.ucp.admin.UniversalConnectionPoolManagerMBeanImpl.createConne
tionPool(UniversalConnectionPoolManagerMBeanImpl.java:316)
at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
625)
... 61 more
<Aug 21, 2012 2:28:58 PM BST> <Error> <Configuration Management> <BEA-150035> <
n attempt was made to download the configuration for the server oim_server1 by
he user iamamin with an invalid password.>
thanks
sri485 -
Migrate database from IBM DB2 to ORACLE
Hi oracle professionals,
Currently database resides in IBM DB2...
We need to migrate Database to oracle ...
Thanks in advance
PawanHi,
Kindly refer
Oracle SQL*Developer - which is free to use and download -
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
Oracle Database Migration Technology -
http://www.oracle.com/technetwork/database/migration/index-084442.html
Migrating from IBM DB2 LUW to Oracle -
http://www.oracle.com/technetwork/database/migration/db2-084087.html
IBM DB2/400 V4R3 & V4R5 can be migrated using the original Migration Workbench v10.1.0.4 available from here -
http://www.oracle.com/technetwork/topics/index-095746.html
Also article
Migrating From IBM DB2 UDB to Oracle (Doc ID 1148493.1)
Thanks,
Krishna -
DB2 to Oracle conversion using SQL Developer Migration Wizard - different schemas
I am performing a conversion between DB2 to Oracle 11 XE, using the SQL Developer Migration Wizard. Specifically I am trying to migrate the DB2User schema over to Oracle.
Using the migration wizard, when I pick the Oracle target connection to be the same schema ( DB2User schema ) the migration is successful and all data is converted.
However if I pick a different Oracle target connection ( say OracleUser ) , I run into issues.
Firstly , the table schema is not created. When I check the project output directory, the .out file has the following errors:
CREATE USER DB2User IDENTIFIED BY DB2User DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
SQL Error: ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
connect DB2User/DB2User
Error report:
Connection Failed
Commit
Connection created by CONNECT script command disconnected
I worked around this by manually executing the .sql in the project output directory using the OracleUser id in the new DB.
Then I continue with the migration wizard and perform the Move Data step.
Now - the message appears as succuessful, however, when I review the Migrationlog.xml file, i see errors as follows:
<level>SEVERE</level>
<class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
<message>Failed to disable constraints: Data Move</message>
<key>DataMove.DISABLE_CONSTRAINTS_FAILED</key>
<catalog><null></catalog>
<param>Data Move</param>
<param>oracle.dbtools.migration.workbench.core.logging.LogInfo@753f827a</param>
<exception>
<message>java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist</message>
<level>WARNING</level>
<class>oracle.dbtools.migration.datamove.online.TriggerHandler</class>
<message>ORA-01031: insufficient privileges
</message>
I think what is happening is that the wizard is attempting to perform the 'move data' process using the DB2User id.
How do I tell the wizard that the target schema is different than my source schema.
My requirement is that I need to be able to migrate the DB2User schema to different schemas in the same Oracle database
( since we will have multiple test environments under the same database ) .
Thanks in advance .
K.Perhaps the following from the SQL Developer documentation is helpful for you:
Command-Line Interface for Migration
As an alternative to using the SQL Developer graphical interface for migration operations, you can use the migration batch file (Windows) or shell script (Linux) on the operating system command line. These files are located in the sqldeveloper\sqldeveloper\bin folder or sqldeveloper/sqldeveloper/bin directory under the location where you installed SQL Developer.
migration.bat or migration.sh accepts these commands: capture, convert, datamove, delcaptured, delconn, delconverted, driver, generate, guide, help, idmap, info, init, lscaptured, lsconn, lsconverted, mkconn, qm, runsql, and scan. For information about the syntax and options, start by running migration without any parameters at the system command prompt. For example:
C:\Program Files\sqldeveloper\sqldeveloper\bin>migration
You can use the -help option for information about one or more actions. For the most detailed information, including some examples, use the -help=guide option. For example:
C:\Program Files\sqldeveloper\sqldeveloper\bin>migration -help=guide
Regards
Wolfgang -
Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g
Hi all,
I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
Error loading nls:OALL8 is in an inconsistent state
Error occurred during capture: Protocol violation
It fails during the capture process for MySQL 5.1 database
when it begins to capture the tables from MySQL.
Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
Regards,
Ben Prusinski
Message was edited by:
benprusinski
Message was edited by:
benprusinskiHi all,
I put the following in my sqldeveloper.cmd file:
SET ORACLE_HOME=%CD%
What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
1) cd C:\sqldeveloper1_5\sqldeveloper-5338
there exists a sqldeveloper.exe
2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
Which SQLDeveloper 1.5 executable should I be using and where should I place the
sqldeveloper.cmd file?
Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
As an update, I ran the following commands:
cd to
c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
sqldeveloper.cmd sqldeveloper.exe
Start sqldeveloper.exe
Perform standard capture for MySQL using the new mig2 schema as the new repository
It starts the capture but fails on the errors below:
Error loading nls:OALL8 is in an inconsistent state
UPDATE
============================
I tried this again and it worked with the exception of one error message listed below:
Here are the steps that I followed:
1. Create a Windows cmd script
Put the following entries in the script:
SET ORACLE_HOME=%CD%
save the command windows script as sqldeveloper.cmd
Copy this script to the base installation directory for SQLDeveloper
Example:
1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
2. Start SQLDeveloper with the command script that you created earlier
Example:
Open a Windows shell prompt window and execute the following scripts:
a) sqldeveloper.cmd sqldeveloper.exe
b) sqldeveloper.exe
3) In SQL Developer 1.5
From the Migrate menu,
a) Delete current repository and create a new schema in Oracle target database call it mig2.
b) Then create a new repository in SQL Developer 1.5
c) Right mouse click on the MySQL 5.x database and choose capture
It worked with the exception of one error message:
o.jdbc.driver.OracleDriver
Error while registering Oracle JDBC Diagnosability MBean.
So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
Thanks!!!
Ben
Thanks
Ben -
Oracle Database Migration Verifier - Can it be used for diff table structur
Hello,
We have re-engineered the existing sybase tables to a new structure in Oracle for few of the tables.For example a table in sybase is normalized to two tables in oracle.In these cases can the "Oracle Database Migration Verifier" be mapped such that the columns in one table in sybase be mapped to two table is Oracle with their respective column names.
In a gist can the tool be used even if the structure is not the same in the source and targer databases.
Please let me know if you need more clarifications regarding my query.
Regards,
Ramanathan.Knot really. The DMV was a simple tool for verifiying that what you now had in Oracle was what you had in Sybase. It does not do what you are expecting.
B -
Can I use SQL developer for a Sybase IQ migration to Oracle?
Hello,
Can I use SQL developer for a Sybase IQ migration to Oracle?
Currently in the supported list appears only Sybase Adaptive Server 12 and 15.
Thanks,
Florin D.Sorry, we don't support IQ migrations at this time.
-
Migrate oracle database to Microsoft sql server 2005
Hi All,
I have to migrate production oracle database to Microsoft sql server 2005. Below are the details:
Oracle database version: 8.1.7.4
Platform : Aix
Kindly help me outWell, the traditional way would be to dump out all your data from Oracle tables as comma delimited flat files and import into SQL server. Plenty of examples online, like this is one by Mark Powell: http://www.jlcomp.demon.co.uk/faq/flatfile.html
Or if you have the budget you could think about buying a data mapping tool like File-Aid
As mentioned by another poster, you will still need to figure out how to replace all your triggers, stored procedures, etc on your new platform of course.
Maybe you are looking for
-
How to change the order of images in a slideshow widget
-
i have mavericks installed. my safari crush since this morning (I can not scroll between pages, if I try to reopen the page, safari open in exactelly same point is blocked). to use it again i have to close the program and reopen it. after few clicks
-
How to estimate the size of query results
i have 3 tables table_h : 10,000 records and 50columns table_l : 13,000 records and 75 columns table_ld : 25,000 records and 120 columns i wrote a query to fetch data based on the 3 tables, and fetching 25,00 records. ie ( 5 coulms from table_h, 12 c
-
I have an Iphone 4S running 7.1.1. Just now I lost all my contacts; I have no idea why. The folder says 'no contacts' My Favorites are all listed just as numbers, no names. Contacts are fine on my iPad Air and macBook Pro. Any ideas what went wrong a
-
Wat should i do.HELP PLZ
hi again. i am using MPEG streamclip to convert my videos. Which format should i use so that i can be played in my ipod.