ORA-29540: class oracle/CDC/PublishApi does not exist
SQL> BEGIN
2 DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
3 owner => 'cdcpub',
4 change_table_name => 'products_ct',
5 change_set_name => 'PRODUCTS_CS',
6 source_schema => 'MFCAMS',
7 source_table => 'PRODUCTS',
8 column_type_list => 'PROD_ID NUMBER(6), PROD_NAME VARCHAR2(50),PROD_LIST_PRICE NUMBER(8,2),JOB_ID VARCHAR2(10), DEPARTMENT_ID NUMBER(4)',
9 capture_values => 'both',
10 rs_id => 'y',
11 row_id => 'y',
12 user_id => 'y',
13 timestamp => 'y',
14 object_id => 'n',
15 source_colmap => 'n',
16 target_colmap => 'y',
17 options_string => 'TABLESPACE USER_DATA');
18 END;
19 /
BEGIN
*
ERROR at line 1:
ORA-29540: class oracle/CDC/PublishApi does not exist
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
ORA-06512: at line 2
Solutions
1.Run the sql rmcdc.sql
SQL>$ORACLE_HOMErdbms/admin/rmcdc.sql
2. Run the sql initcdc.sql
SQL>$ORACLE_HOME/rdbms/admin/initcdc.sql
Showing posts with label Oracle Change Data Capture. Show all posts
Showing posts with label Oracle Change Data Capture. Show all posts
Friday, October 30, 2009
ORA-29538: Java not installed
ORA-29538: Java not installed
ERROR at line 1:
ORA-29538: Java not installed
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
ORA-06512: at line 2
Solutions
$ORACLE_HOME/javavm/install
To load this package into the database, go to the directory location and login to SQL*Plus as the "SYS" user. Then, type the following:
SQL> spool initjvm.log
SQL> @initjvm.sql
ERROR at line 1:
ORA-29538: Java not installed
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
ORA-06512: at line 2
Solutions
$ORACLE_HOME/javavm/install
To load this package into the database, go to the directory location and login to SQL*Plus as the "SYS" user. Then, type the following:
SQL> spool initjvm.log
SQL> @initjvm.sql
