CREATE_CHANGE_TABLE
In the Oracle 9i documentation, there is a command called
CREATE_CHANGE_TABLE
http://download-
west.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a89852/d_logpu
2.htm <--- Link to documentation
This command creates a table that records any changes to the
database according to the parameters you give it.
I cannot find 8i documentation anywhere that refers to this
command. Is this feature new in Oracle 9i, or can it be used
with Oracle 8i too? If not, is there a feature in 8i similar to
this that would allow you to run a query against the metadata to
track changes made to a Oracle 8i database?
Would appreciate any help / ideas you can give me, or even if
you could point me in the right direction.
Thanks in advance!
Michael
See usages of AUDIT in the Oracle8i Administrator's Guide.
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/index.htm
-Kevin
Similar Messages
-
Numeric overflow with DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE
Hello all-
I'm running Oracle 9i on WinXP sp. 2.
I'm trying to create a CDC table with the standard SYS package and am getting a numeric overflow error. The code I'm attempting to execute is this:
BEGIN
sys.dbms_cdc_publish.create_change_table(
OWNER => 'CDC_USER',
CHANGE_TABLE_NAME => 'PA_BUDGET_ENTRY_METHODS',
CHANGE_SET_NAME => 'SYNC_SET',
SOURCE_SCHEMA => 'PA',
SOURCE_TABLE => 'PA_BUDGET_ENTRY_METHODS',
COLUMN_TYPE_LIST => 'BUDGET_ENTRY_METHOD_CODE VARCHAR2(30)',
CAPTURE_VALUES => 'NEW',
RS_ID => 'N',
ROW_ID => 'Y',
USER_ID => 'Y',
TIMESTAMP => 'Y',
OBJECT_ID => 'N',
SOURCE_COLMAP => 'N',
TARGET_COLMAP => 'N',
OPTIONS_STRING => NULL);
END;
The error I'm getting is this:
ORA-01426: numeric overflow
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 299
ORA-06512: at line 2
This happens every time, regardless of the source table i'm trying to capture changes for.
Clearly this is a normal exception (i.e., not only thrown in the CDC packages) so I'm having a hard time figuring out what it could be. Anyone out there familiar with CDC have any thoughts?
Thanks in advance,
JamesI tried that but no luck yet, also tried put all in a single line, but the same error. It doesn't something tricky here, but actual problem with package. "ddl_markers" is new to 11g and not much documentation is available on that.
Also setting ddl_markers=N removed 3 columns from Publisher table, and the effect of it on Subscriber's view is still a gray area, -
Error when calling a procedure from my apex application
Hello.
I want to create a small APEX application that can configure asynchronous change data capture (distributed hotlog) on certain tables.
Basically, what the application should do is to simply create change tables. Everything else is set up as prerequisite.
My problem is that when I run the following script from schema apex_cdd (using sqldeveloper) , it works; but if I run it from my apex application by calling it when pressing a button as a pl/sql process, it doen't work.
BEGIN
apex_cdc.enable_table_capture
( i_owner => 'staging_cdcpub',
i_change_table_name => 'g_changeTable',
i_change_set_name => 'Source_changeSet',
i_change_source => 'orcl01_cs',
i_source_schema => 'My_src',
i_source_table => 'G',
i_column_type_list => 'STARTDATE DATE,STATUS CHAR(1),NAME VARCHAR2(10),ENDDATE DATE,DESCRIPTION VARCHAR2(255),ID NUMBER(8,0),VALUE NUMBER(10,2)'
END;
If I look in the trace file, i see that the error is:
CDCdebug:in ChangeTable.java enableDisabledTriggers: ORA-06550: line 1, column 8:
PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 8:
PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
Other remarks:
- My procedure calls: sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE.
- I gave the same rights that I gave for apex_cdc schema to flows_030200 and APEX_PUBLIC_USER schemas (just to see if it works), but it doens't.
Is APEX calling the procedure from another schema ?
Does anyone has an idea why this procedure crashes if called from APEX application, but works ok if called from the same schema APEX application runs on, but using SQLDeveloper ?
Any thoughts are appreciated.
RadianThe procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
The code is like this:
CREATE OR REPLACE PROCEDURE enable_table_capture
i_owner IN VARCHAR2,
i_change_table_name IN VARCHAR2,
i_change_set_name IN VARCHAR2,
i_change_source IN VARCHAR2,
i_source_schema IN VARCHAR2,
i_source_table IN VARCHAR2,
i_column_type_list IN VARCHAR2
IS
BEGIN
EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => i_owner,
change_table_name => i_change_table_name,
change_set_name => i_change_set_name,
source_schema => i_source_schema,
source_table => i_source_table,
column_type_list => i_column_type_list,
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'y',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => NULL);
END enable_table_capture; -
Catbundle.sql taking too much time while running it for CPU-April2011
Hi ,
I am on oracle 11.1.0.7.0 and I am applying the CPU patch April 2011.
OS is Solaris SPARC.
As part of that , i am running the catbundle.sql.
currently , for last 180 mins , the catbundle.sql is at this state :
SQL> PROMPT Processing Oracle Java Supplied Packages...
Processing Oracle Java Supplied Packages...
SQL> ALTER SESSION SET current_schema = sys;
Session altered.
SQL> @?/rdbms/admin/initcdc.sql
SQL> Rem
SQL> Rem $Header: initcdc.sql 15-mar-2006.08:20:07 mbrey Exp $
SQL> Rem
SQL> Rem initcdc.sql
SQL> Rem
SQL> Rem Copyright (c) 2000, 2006, Oracle. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem initcdc.sql - script used to load CDC jar files into the database
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem <short description of component this file declares/defines>
SQL> Rem
SQL> Rem NOTES
SQL> Rem script must be run as SYS
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem mbrey 03/15/06 - bug 5092790 add datapump registration
SQL> Rem pabingha 02/25/03 - fix undoc interfaces
SQL> Rem wnorcott 03/14/02 - bug-2239726 disable triggers.
SQL> Rem wnorcott 01/31/02 - function 'active' return 0 or 1.
SQL> Rem wnorcott 01/30/02 - disable CDC triggers, CREATE_CHANGE_TABLE re-enables.
SQL> Rem wnorcott 06/26/01 - rid trailing slash. As per Mark Jungermann
SQL> Rem gviswana 05/25/01 - CREATE OR REPLACE SYNONYM
SQL> Rem jgalanes 11/17/00 - for Import/Export grant execute on util to
SQL> REM SELECT_CATLOG_ROLE
SQL> Rem wnorcott 09/07/00 - new loadjava syntax for performance.
SQL> Rem wnorcott 07/18/00 - rid LOGMNR_UID$.clientid
SQL> Rem wnorcott 06/28/00 - move logmnr_dict view here
SQL> Rem wnorcott 03/28/00 - fix trigger install
SQL> Rem wnorcott 03/27/00 - Install change table triggers
SQL> Rem mbrey 01/26/00 - script to load CDC jars
SQL> Rem mbrey 01/26/00 - Created
SQL> Rem
SQL> call sys.dbms_java.loadjava('-v -f -r -s -g public rdbms/jlib/CDC.jar');It has run the @?/rdbms/admin/initcdc.sql script and now its not proceeding next.. I am not sure if its stuck or still running.. How do i find that..
what should i do ?
*PS : Ive read this note :Script Fails At Loadjava With ORA-03113 and ORA-03114 [ID 358232.1] But its when it errors out , for me its not erroring out also..*
Thanks
Kk
Edited by: Kk on May 25, 2011 2:41 AMjust an update :
I sat watching it for 3 hours.. then i though of stopping it.. pressed CTRL-Z and boom , it just took me to SQL showing that it had completed...
So , if someone else faces this issue , press CTRL-Z after some 5-10 minutes it will show that its running well.
Regards
Kk
Edited by: Kk on May 25, 2011 3:55 AM -
Query regarding database patching
Hi ,
I am on Oracle 11G and Solaris SPARC 64-bit server.
The server admin have applied the oracle CPU that was released on April 18,2011.
I have the path to the new oracle home now.
Currently my oracle home is 11.1.0.7.P1 and the new oracle home is
11.1.0.7.P2.
Now the practice that i have been following to change my oracle home(Patching) is :
1. Shutdown db
2. Change oratab with new home:Y
3. Change my .profile for $ORACLE_HOME
4. Startup the database with init.ora
5. Run catbundle.sql cpu apply
6. Run recompile_precheck_jan2008cpu.apply
7. View_recompile_jan2008cpu.sql
8. Shutdown immediate and startup
9. Change oracle home in listener.ora
10.Create softlink of init.ora to /dbs/ of new oracle home.
Now I have 2 queries :
1.Since the database runs fine post it , I am not able to conclude
if any other sql also needs to be run ?
2. What is the location of the readme.txt and readme.html which i need to check for invalid objects.
I have searched but couldn find it. :(
Also , How do i test the performance pre and post patching..
Will doing it by just checking the time taken for Data loads pre and post
patching sufficient.
What other checks can i do in dev to test for patch.
Thanks and Regards
KkHi ,
In this particular database , ive run the catbundle.sql and its been almost 30 mins that its at this location :
SQL> @?/rdbms/admin/initcdc.sql
SQL> Rem
SQL> Rem $Header: initcdc.sql 15-mar-2006.08:20:07 mbrey Exp $
SQL> Rem
SQL> Rem initcdc.sql
SQL> Rem
SQL> Rem Copyright (c) 2000, 2006, Oracle. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem initcdc.sql - script used to load CDC jar files into the database
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem <short description of component this file declares/defines>
SQL> Rem
SQL> Rem NOTES
SQL> Rem script must be run as SYS
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem mbrey 03/15/06 - bug 5092790 add datapump registration
SQL> Rem pabingha 02/25/03 - fix undoc interfaces
SQL> Rem wnorcott 03/14/02 - bug-2239726 disable triggers.
SQL> Rem wnorcott 01/31/02 - function 'active' return 0 or 1.
SQL> Rem wnorcott 01/30/02 - disable CDC triggers, CREATE_CHANGE_TABLE re-enables.
SQL> Rem wnorcott 06/26/01 - rid trailing slash. As per Mark Jungermann
SQL> Rem gviswana 05/25/01 - CREATE OR REPLACE SYNONYM
SQL> Rem jgalanes 11/17/00 - for Import/Export grant execute on util to
SQL> REM SELECT_CATLOG_ROLE
SQL> Rem wnorcott 09/07/00 - new loadjava syntax for performance.
SQL> Rem wnorcott 07/18/00 - rid LOGMNR_UID$.clientid
SQL> Rem wnorcott 06/28/00 - move logmnr_dict view here
SQL> Rem wnorcott 03/28/00 - fix trigger install
SQL> Rem wnorcott 03/27/00 - Install change table triggers
SQL> Rem mbrey 01/26/00 - script to load CDC jars
SQL> Rem mbrey 01/26/00 - Created
SQL> Rem
SQL> call sys.dbms_java.loadjava('-v -f -r -s -g public rdbms/jlib/CDC.jar');How do i check if its still running or failed ?
*PS : Ive read this note :Script Fails At Loadjava With ORA-03113 and ORA-03114 [ID 358232.1] But its when it errors out , for me its not erroring out also..*
Thanks
Kk
Edited by: Kk on May 25, 2011 2:40 AM -
How to create change set in 9i r2 ?
I created new change source and new change set , not use 'SYNC_SOURCE' and 'SYNC_SET'.
after I created change table and activated change set, I update source table's data.
but I can't find any recored in change table.
please help, thanks.
//create change source
begin
dbms_cdc_publish.create_change_source(
change_source =>'hr_change_source',
source_description=>'Change source for hr test_source',
logfile_suffix => '',
logfile_location => ''
end;
//create change set
begin
dbms_cdc_publish.create_change_set(
set_name => 'hr_change_set',
change_source_name => 'hr_change_source',
begin_date => sysdate,
end_date => sysdate+5,
tablespace_name => 'ts_cdcpub',
ignore_ddl_events => 'y',
rollback_seg_name =>' ');
end;
//create change table
begin
dbms_cdc_publish.create_change_table(
owner => 'cdcpub',
change_table_name => 'hr_ct',
change_set_name => 'hr_change_set',
source_schema => 'hr',
source_table => 'cdc_test',
column_type_list => 'id integer, name varchar2(10)',
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'n',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => 'tablespace ts_cdcpub');
end;
//activate change set
begin
dbms_cdc_publish.alter_change_set(
set_name => 'hr_change_set',
advance_enable => 'y',
ignore_ddl_events => 'n',
rollback_seg_name => '');
end;
//source table
create table hr.cdc_test(
id integer,
name varchar2(10),
primary key(id)
);Dear Niranjan
the WWI design of a cover letter is very "company" specific. In most cases data like:
- which material number was "delivered" is shown e.g. with material text
- some contact adress data from the company shipping the MSDS is shown
etc.
Most of the information printed are retrieved using a parameter symbol. Some data might come from information in CVD1; some data is retrieved by using the data from CVD1; e.g. Customer adress information etc. (here data is retrieved from business partner information)
The parameter symbols you are showing are "standard"; therefore you can use option of Ralph to try to identify the "source" of the data as retrieved.
There are not many threads related to cover letter topic in this FORUM; I believe not more than 10 threads are related to this topic. I participated in discussion of one of these threads; i was not able to find the thread; sorry
Only as a hint: don't only concentrate on WWI design; identify as well how you need to "link" the cover letter to a specific "process"; this is done via customizing; e.g. refer to the SDS distribution OSS in which the whole SDS process is described; the process is described well how to "link" the cover letter to a shipment process
Topic is explained on "very" high level here:
Cover Sheet Template (DBV) - Basic Data and Tools (EHS-BD) - SAP Library
So I believe the best option is to us the proposal of Ralph and trying to understand the standard symbols etc.
C.B.
PS: after oce again trying to find additional threads I found only these:
Coverletter - Output of material data
Parameter Symbols not appearing in Coversheet and/or Acknowledgement Receipt
How to create Cover letter -
Change Data Capture error ORA-31428 at the subscription step?
I am following this cookbook; http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_cdc_cookbook_0206.pdf it was very helpful for me but at the subscription step when I give the list of all columns that I provided at create_change_table step with column_type_list I recieve this error;
ORA-31428 : No publication contains all of the specified columns. One or more of the specified columns cannot be found in a single publication. Consult the ALL_PUBLISHED_COLUMNS view to see the current publications and change the subscription request to select only the columns that are in the same publication.
When I check the view mentioned ALL_PUBLISHED_COLUMNS my columns are listed, strange behaviour. I searched for any comments on forums.oracle.com and metalink.oracle.com and even google but nothing just the explaination above :(
If you have any comments it would be great, thank you again.
Best regards.
Hotlog Source : 9iR2 Solaris
Hotlog Target : 10gR2 Solaris
begin
dbms_cdc_publish.create_change_table(
owner => ‘cdc_stg_pub’,
change_table_name => ‘udb_tcon_ct’,
change_set_name => ‘udb_tcon_set’,
source_schema => ‘udb’,
source_table => ‘tcon’,
column_type_list => ‘ncon number(12), ncst number(12), dwhencon date, twhomcon varchar2(50), cchancon number(3), cacticon number(5), tdatacon varchar2(1000)’,
capture_values => ‘both’,
rs_id => ‘y’,
row_id => ‘n’,
user_id => ‘n’,
timestamp => ‘y’,
object_id => ‘n’,
source_colmap => ‘n’,
target_colmap => ‘y’,
options_string => null) ;
end ;
select x.change_set_name, x.column_name from ALL_PUBLISHED_COLUMNS x ;
begin
dbms_cdc_subscribe.create_subscription(
change_set_name => ‘udb_tcon_set’,
description => ‘UDB TCON change subscription’,
subscription_name => ‘udb_tcon_sub1′);
end;
begin
dbms_cdc_subscribe.subscribe(
subscription_name => ‘udb_tcon_sub1′,
source_schema => ‘udb’,
source_table => ‘tcon’,
column_list => ‘ncon,ncst,dwhencon,twhomcon,cchancon,cacticon,tdatacon’,
subscriber_view => ‘udb_tcon_chg_view’) ;
end ;
CHANGE_SET_NAME COLUMN_NAME
UDB_TCON_SET NCON
UDB_TCON_SET NCST
UDB_TCON_SET DWHENCON
UDB_TCON_SET TDATACON
UDB_TCON_SET CCHANCON
UDB_TCON_SET CACTICON
UDB_TCON_SET TWHOMCON
7 rows selected
PL/SQL procedure successfully completed
begin
dbms_cdc_subscribe.subscribe(
subscription_name => ‘udb_tcon_sub1′,
source_schema => ‘udb’,
source_table => ‘tcon’,
column_list => ‘ncon,ncst,dwhencon,twhomcon,cchancon,cacticon,tdatacon’,
subscriber_view => ‘udb_tcon_chg_view’) ;
end ;
ORA-31428: no publication contains all the specified columns
ORA-06512: at “SYS.DBMS_CDC_SUBSCRIBE”, line 19
ORA-06512: at line 2
I added the OS and Oracle versions of source and target.
Message was edited by:
TongucYnice catch, the error changed but still strange;
SQL> select upper('ncon,ncst,dwhencon,twhomcon,cchancon,cacticon,tdatacon') from dual ;
UPPER('NCON,NCST,DWHENCON,TWHO
NCON,NCST,DWHENCON,TWHOMCON,CCHANCON,CACTICON,TDATACON
SQL> begin
2 dbms_cdc_subscribe.subscribe(
3 subscription_name => 'udb_tcon_sub1',
4 source_schema => 'udb',
5 source_table => 'tcon',
6 column_list => 'NCON,NCST,DWHENCON,TWHOMCON,CCHANCON,CACTICON,TDATACON',
7 subscriber_view => 'udb_tcon_chg_view') ;
8 end ;
9 /
begin
dbms_cdc_subscribe.subscribe(
subscription_name => 'udb_tcon_sub1',
source_schema => 'udb',
source_table => 'tcon',
column_list => 'NCON,NCST,DWHENCON,TWHOMCON,CCHANCON,CACTICON,TDATACON',
subscriber_view => 'udb_tcon_chg_view') ;
end ;
ORA-31466: no publications found
ORA-06512: at "SYS.DBMS_CDC_SUBSCRIBE", line 19
ORA-06512: at line 2 -
Change data capture - ignore delete?
Hello,
I'm trying to solve an issue I met on a synchronous change data capture : I created a CDC table with the DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE procedure:
BEGIN
DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE (
OWNER => 'APPO',
CHANGE_TABLE_NAME => 'CT_TEMP_H1',
CHANGE_SET_NAME => 'SYNC_SET',
SOURCE_SCHEMA => 'APPO',
SOURCE_TABLE => 'TEMP_H1',
COLUMN_TYPE_LIST => 'ISSUE VARCHAR2(10), TITOLO VARCHAR2(150)',
CAPTURE_VALUES => 'BOTH',
RS_ID => 'Y',
ROW_ID => 'N',
USER_ID => 'N',
TIMESTAMP => 'N',
OBJECT_ID => 'N',
SOURCE_COLMAP => 'Y',
TARGET_COLMAP => 'Y',
OPTIONS_STRING => NULL)
END;
Now, it works correctly, and in the CT_TEMP_H1 table I can find all the information about changes that occourr in the TEMP_H1 table
What I'd like to know is if there is a way to avoid the capture "trigger" to fire in the event of DELETE records: due to the application business logic, I'm interested just in insert and updates on the source table, and I don't mind about delete(s), so I don't want them to consume resources (both disk space and CPU) on the server.
Is there a supported way to do so?
Thanks in advance,
- PaoloThanks for your answer, Damorgan,
But the CAPTURE_VALUES parameter only manages the UPDATE issues, to have one row containing the row values before the update occurred and another row containing the row values after the update occurred.
What I'm interested in is aviod logging in the change table all the delete operations occourring in the source tables (a sort of "afert indert or update" trigger, instead of the "insert, update or delete"...)
Any hint?
- Paolo -
I am trying to do change data capture on a view.When i start the journal i am getting error in the "create journal" step.
BEGIN
DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => 'DMTRA_TEMPLATE',
change_table_name => 'J$BIEO_HYP_EXP_ORG_WEEK',
change_set_name => 'DEMANTRA_SOURCE',
source_schema => 'DMTRA_TEMPLATE',
source_table => 'BIEO_HYP_EXP_ORG_WEEK',
column_type_list => 'SDATE DATE ,LEVEL1 VARCHAR2(2000) ',
capture_values => 'new',
rs_id => 'n',
row_id => 'n',
user_id => 'n',
timestamp => 'n',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'n',
options_string => ''
END;
The error that i am getting is:
java.sql.BatchUpdateException: ORA-31419: source table does not exist
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611.
I want to know is it possible to do CDC on a view.And if yes,then is the procedure to be followed any different than the one used for a table?I'm afraid this is not possible!!!!
-
Error when calling remote EJB from my application
hi
I am getting the following error when i am trying to call a remote EJB from my application.
Can any help me out regarding this issue
javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at javax.naming.InitialContext.init(InitialContext.java:233)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
at com.ibm._jsp._invoke._jspService(_invoke.java:89)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at javax.naming.InitialContext.init(InitialContext.java:233)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at javax.naming.InitialContext.<init>(InitialContext.java:209)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm._jsp._invoke._jspService(_invoke.java:89)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
[4/26/07 19:35:11:727 IST] 00000053 SystemErr R at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:35:11:727 IST] 00000054 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at javax.naming.InitialContext.init(InitialContext.java:233)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
at com.ibm._jsp._invoke._jspService(_invoke.java:89)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at javax.naming.InitialContext.init(InitialContext.java:233)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at javax.naming.InitialContext.<init>(InitialContext.java:209)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm._jsp._invoke._jspService(_invoke.java:89)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
[4/26/07 19:35:11:742 IST] 00000054 SystemErr R at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at javax.naming.InitialContext.init(InitialContext.java:233)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
at com.ibm._jsp._invoke._jspService(_invoke.java:89)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at javax.naming.InitialContext.init(InitialContext.java:233)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at javax.naming.InitialContext.<init>(InitialContext.java:209)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm._jsp._invoke._jspService(_invoke.java:89)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
[4/26/07 19:37:22:758 IST] 00000052 SystemErr R at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
[4/26/07 19:37:36:117 IST] 00000056 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at javax.naming.InitialContext.init(InitialContext.java:233)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
at com.ibm._jsp._invoke._jspService(_invoke.java:89)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThThe procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
The code is like this:
CREATE OR REPLACE PROCEDURE enable_table_capture
i_owner IN VARCHAR2,
i_change_table_name IN VARCHAR2,
i_change_set_name IN VARCHAR2,
i_change_source IN VARCHAR2,
i_source_schema IN VARCHAR2,
i_source_table IN VARCHAR2,
i_column_type_list IN VARCHAR2
IS
BEGIN
EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => i_owner,
change_table_name => i_change_table_name,
change_set_name => i_change_set_name,
source_schema => i_source_schema,
source_table => i_source_table,
column_type_list => i_column_type_list,
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'y',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => NULL);
END enable_table_capture; -
CDC Package
Hi I am using CDC(Chagange Data Capture) to audit my tables. Now by using DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE i can create a audit table on my source table. But this will create a audit table for all the modes of DML(Insert,Update,Delete). I want to control my audit only on few modes like Insert or On Update. There is a parameter in DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE CAPTURE_VALUES for which the default value is 'BOTH'. What does this parameter specifies. What other values can i pass to this variable.
Thanks in Advance
MohanIf you just want to audit INSERT and UPDATE operations, it's probably easiest to just create some triggers on the appropriate tables. Those triggers would generate whatever audit records you want. If you want to audit failed INSERT and UPDATE operations, you can use AUTONOMOUS transactions in your triggers.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
{noformat}Dear all,{noformat}{noformat}Trying to troubleshoot a CDC setup problem in ODI:{noformat}{noformat}I got an error when trying to "Start Journal" from the CDC source model (in Designer).{noformat}{noformat}Here is what I've done:{noformat}{noformat}1. grant the following role to the CDC source schema (user):{noformat}{noformat}DBA, execute on DBMS_CDC_PUBLISH, connect, resource, select_on_change_sets, create session, select_catalog_role, execute_catalog_role, create sequence{noformat}{noformat}2. in the CDC source model "Journalizing" tab, specify JKM 9i logminer (CDC source is on 9i) and specify "Automatic Configuration"{noformat}{noformat}3. add a subscriber "SUNOPSIS" to the source model -> Changed Data Capture (Operator successfully run){noformat}{noformat}4. "add to CDC" from source model -> Changed Data Capture{noformat}{noformat}5. "Start Journal" from source model -> Changed Data Capture (Operator run failed with the following errors in the "create Journal" step){noformat}{noformat}
30475 : 99999 : java.sql.BatchUpdateException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
30475 : 99999 : java.sql.SQLException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
java.sql.BatchUpdateException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9119)
at com.sunopsis.sql.SnpsQuery.executeBatch(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
{noformat}{noformat}Any idea?{noformat}{noformat} {noformat}{noformat}William Lam
{noformat}Hi Cezar,
Thanks for following up. Below is from the description tab of the "Create Journal" steps:
LOADING:
select FULL_TABLE_NAME FULL_TABLE_NAME
from CDCSRC.SNP_TMP_TABLE_LIST TMP
where TMP.FULL_TABLE_NAME = 'CDCSRC.DEPT'
and not exists (
select 'X'
from CDCSRC.SNP_CDC_OBJECTS OBJ,
CDCSRC.SNP_CDC_SET_TABLE TBL
where TBL.FULL_TABLE_NAME = OBJ.FULL_TABLE_NAME
and TBL.FULL_TABLE_NAME = TMP.FULL_TABLE_NAME
and TBL.CDC_SET_NAME = 'CDCSRC.CDCSRC'
and OBJ.FULL_OBJECT_NAME = 'CDCSRC.J$DEPT'
and OBJ.CDC_OBJECT_TYPE = 'JRN_FULL_NAME'
DEFAULT:
BEGIN
DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => 'CDCSRC',
change_table_name => 'J$DEPT',
change_set_name => 'SYNC_SET',
source_schema => 'CDCSRC',
source_table => 'DEPT',
column_type_list => 'DEPTNO NUMBER(2) ',
capture_values => 'new',
rs_id => 'n',
row_id => 'n',
user_id => 'n',
timestamp => 'y',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'n',
options_string => ''
END;
The error message from the Execution Tab:
30475 : 99999 : java.sql.BatchUpdateException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
30475 : 99999 : java.sql.SQLException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
java.sql.BatchUpdateException: ORA-30475: feature not enabled:
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
ORA-06512: at line 1
Once again, the setup details:
- CDC source is on Oracle 9i
- KM used is Oracle 9i LogMiner
- enabled archivelog in Oracle 9i
- installed logminer by running the 2 sqls as described in the earlier tread.
I need to meet a tight deadline for POC completion and I desparate need some help here.
Thanks and regards,
William -
I need to create cdc table,I am using 'dbms_logmnr_cdc_publish.create_change_table' for it. we need cdc to capture the latest changes from the source for datawarehouse loading as timestamp column is not available.Problem is that, client is not allowing us to create cdc tables on the source database.
following code creates it in a different schema,I need in a different database. How do i alter my code to achieve this?
sql>exec dbms_logmnr_cdc_publish.create_change_table(owner => 'user1', -
change_table_name => 'cdc_table1', -
change_set_name => 'SYNC_SET', -
SOURCE_SCHEMA => 'user2', -
SOURCE_TABLE => 'table1', -
COLUMN_TYPE_LIST => 'class_id NUMBER, -
class_title VARCHAR2(30), -
class_instructor VARCHAR2(30), -
class_term_code VARCHAR2(6), -
class_credits NUMBER', -
CAPTURE_VALUES => 'both', -
RS_ID => 'y', -
ROW_ID => 'n', -
USER_ID => 'n', -
TIMESTAMP => 'y', -
OBJECT_ID => 'n', -
SOURCE_COLMAP => 'y', -
TARGET_COLMAP => 'n',-
OPTIONS_STRING => null);PL/SQL procedure successfully completed.
Thanks in advanceDushyant,
In brief:
Which version of the database is the source running?
If the source is 9i then you can use distributed hot-log; if the source is 10g then you can use auto-log. You should read the Oracle Datawarehousing guide for a description of these versions.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14223/cdc.htm#i1028295
Either way you'll need to create a 10g (probably 10gR2 even) where the changes will be saved. On the source database you'll need to enable supplemental logging (see the SQL reference) to save primary key information to the redo log. This has performance impact!
Any more questions, just ask!
Cheers,
Colin -
My last question abut this subject.
Short description of problem:
There are one main server and local servers(there are diffirent cities and NOT any connection with main server). There is only one database in local servers. In main server database count is number of local servers. it means if there are 5 local servers then there are 5 databases in main server.
Copy of local database wants to take in main server. Main server is read only.
Databases in Main servers is only backup now(it will be one database in future). We only view(not insert, not update, not delete) datas in databases in main server.One direction. Data changes happen only local servers.
How to make tis operation simple way?
There are 4 ways i found.
1- Export local database and import it main server (now we do it, i want to change this).
2- Using archivelogs.
3- Using Change Data Capture(CDC). Taking changed tables in local database then using it in main server. (i want to use this way, but i had some problems)
4- writing my triggers. It will take all changes in one table. It will write SQL codes except SELECT which user uses. And I will take only tis table from local database' and will execute SQL codes in main server. (It is very difficult way. )
Which way do you advice to me?
Is there another way?
Thanks for help.- What version of Oracle 9i, exactly, are you using?
Version 9.2.0.1.0
- What operating system(s) are involved?
Windows XP
- What problem(s) are you trying to solve? What's wrong with the current import/export process?
Import and export takes all datas. But datas are growing and growing. I think it will be problem in future when database get huge.
- Why do you think CDC would be preferrable to the existing import/ export process? CDC without a network connection is not going to be trivial even after you have it configured.
Is there another way except import and export(i wrote a reason why i dont want use import export)
- "cannot setup CDC" and "always gives errors" is a rather generic complaint. If you are having particular errors on particular steps of the installation procedure, please post that specific information. Otherwise, no one is going to be able to offer any guidance.
when i want to run
exec dbms_logmnr_cdc_publish.create_change_table -
('scott', 'classes_ct', 'SYNC_SET', 'scott', 'classes', -
'class_id NUMBER, -
class_title VARCHAR2(30), -
class_instructor VARCHAR2(30), -
class_term_code VARCHAR2(6), -
class_credits NUMBER', -
'BOTH', 'Y', 'N', 'N', 'Y', 'N', 'Y', 'N', NULL);
it gives error ORA-29541 : class SYS.Oracle/CDC/PublishApi could not be resolved
When i want to install jar file
$ cd $ORACLE_HOME/bin
$ ./loadjava -user sys/password ../rdbms/jlib/CDC.jar
it says:
Error while creating resurce META-INF/MANIFEST.MF
ORA-29547: Java system class not aviable: oracle/aurora/rdbms/Compiler
Error while computing shortname of oracle/CDC/CDCSystem
ORA-06550: ............
... -
Hello all,
I am trying to set up distributed Hotlog Change Data Capture (CDC) with both source and staging databases on 10.2.0.3. I have managed to set up everything alright until I try to great my first change table on the staging database.
We tried runnning this:
begin
dbms_cdc_publish.create_change_table(
owner => 'CDC_STG9_PUB',
change_table_name => 'ed_test_1_CT',
change_set_name => 'CR_FN9_SET',
source_schema => 'CIS',
source_table => 'ed_cdc_test_1',
column_type_list => 'col1 number, col2 varchar2(20)',
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'n',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => null) ;
end ;
I sometimes get this:
begin
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 611
ORA-06512: at line 2
Re-running the create change set seems to solve this.
However, when I try to run enable the change source, I get this:
begin
ERROR at line 1:
ORA-31532: cannot enable change source CR_FN9_SRC
ORA-06512: at "SYS.DBMS_CDC_IPUBLISH", line 151
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 497
ORA-06512: at line 2
Any ideas would be very well appreciated.The alert log file reads:
Errors in file /oracle/DXCE/lvol11/background/dxce_j000_24285.trc:
ORA-12012: error on auto execute of job 10
ORA-06550: line 1, column 96:
PLS-00201: identifier 'SYS.DBMS_CDC_PUBLISH' must be declared
ORA-06550: line 1, column 96:
PL/SQL: Statement ignored
Fri Mar 9 11:50:51 2007
Streams APPLY A002 started with pid=23, OS id=24304
Streams Apply Reader started P000 with pid=24 OS id=24306
Streams Apply Server started P001 with pid=25 OS id=24308
dxce_j000_24285.trc reads:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /oraxcd/10.2.0.3
System name: SunOS
Node name: stwu01
Release: 5.10
Version: Generic_118833-24
Machine: sun4v
Instance name: DXCE
Redo thread mounted by this instance: 1
Oracle process number: 29
Unix process pid: 24285, image: oracle@stwu01 (J000)
*** ACTION NAME:() 2007-03-08 14:57:15.007
*** MODULE NAME:() 2007-03-08 14:57:15.007
*** SERVICE NAME:(SYS$USERS) 2007-03-08 14:57:15.007
*** CLIENT ID:() 2007-03-08 14:57:15.007
*** SESSION ID:(541.1371) 2007-03-08 14:57:15.007
*** 2007-03-08 14:57:15.007
ORA-12012: error on auto execute of job 10
ORA-06550: line 1, column 96:
PLS-00201: identifier 'SYS.DBMS_CDC_PUBLISH' must be declared
ORA-06550: line 1, column 96:
PL/SQL: Statement ignored
Regards,
Edosa
Maybe you are looking for
-
Post Dated Checks Funtionality in SAP B1 8.81
Hello experts is post dated checks functionality available in SAP B1 8.81 version.? thank Tomes
-
Ghost Icons on desktop after attempt to move them into a folder
I was trying to clean up my desktop so I highlighted a few files and tried dragging them into one folder. After this happened the icons that were highlighted remained on my desktop, completely grayed out with no way of clicking on it or moving it. wh
-
Get a String of XML from an XMLBean
I create XMLBeans based on a schema, set some values as follows: SomeSchemaDocument someSchemaDocument = SomeSchemaDocument.Factory.newInstance(); SomeSchema someSchema = someSchemaDocument.getSomeSchema(); someSchema.setCustomerNumber(customerNumber
-
HT5622 in security, it doesn't accept my phone numbers as valid????
when putting in phone numbers for my apple id, it doesnt accept my phone numbers as valid. What the heck?
-
When the phone is switched on, it delivers a violent jolt. Can this be reduced? This is so unlike the 6500 slide. Secondly, can the shutter sound be turned off when taking a pic?