Part I, II and III.
For the time being I am throwing in the towel. I managed to patch my 10.2.0.1 version up to 10.2.0.3 thinking that might help, but it did not.
I'm still leaning to something on the 9.2.0.6 side, the only reason being is that in the trace file generated by the 10g instance, I see a "Alter9iSource" line in there...but there is nothing in the alert log on the 9i instance.
So I'm packing it up for a little while, hopefully the time away will do me some good and help me regain focus.
I did find a great example of the manual setup by Lewis Cunningham; that may be the route in the future, just a bit more work to maintain.
Showing posts with label dbms_cdc_publish. Show all posts
Showing posts with label dbms_cdc_publish. Show all posts
Tuesday, January 15, 2008
Tuesday, January 8, 2008
Asynchronous Distributed HotLog - CDC Part III
This is the third installment (one and two)of my attempts to configure Oracle's CDC from a 9.2.0.6 source (highest release for windows) to a 10.2.0.1 (ditto) target.
After being appropriately set up with privileges (DBA's trusted me with the DBA role!) on our actual environments, 9.2.0.7 source and 10.2.0.3 target (Sun Solaris), I've moved back to trying to just get a simple proof of concept working on my machine.
That's had it's own difficulties, though I can safely say that I can manually create 9i and 10g databases manually.
Getting the databases configured properly has been my biggest challenge. I had eliminated most possibilities down to either Net Services or something to do with the JVM. I used my local listener and ruled out Net Services. It was down to the JVM. I kept getting this strange error:
Installing InterMedia was a pain. I kept getting a failure of a particular jar (ORA-23542?), could not resolve the class.
I googled one of the classes that failed to see if anyone had run across this before. There was only one record found...and it was mine from about a year and half ago! I found that very amusing.
So I went into the\ord\im directory and found a readme.txt. As I am scanning through it I see CLASSPATH. So I add the environment variable and voila! Perfect install. That would have solved my problem from before too. I followed the docs on the install to a T. Nothing in there about CLASSPATH. Perhaps I should write them and ask for it to be added?
Anyway, thinking the best, since I had a perfectly clean installation, I tried again:
At least the ORA-0600 is gone, but I am back to where I started.
Another good thing is that I am really learning how to pour through trace files and tkprof files.
All the examples I have found make it seem so easy...why can't I get this dang thing to work?!
After being appropriately set up with privileges (DBA's trusted me with the DBA role!) on our actual environments, 9.2.0.7 source and 10.2.0.3 target (Sun Solaris), I've moved back to trying to just get a simple proof of concept working on my machine.
That's had it's own difficulties, though I can safely say that I can manually create 9i and 10g databases manually.
Getting the databases configured properly has been my biggest challenge. I had eliminated most possibilities down to either Net Services or something to do with the JVM. I used my local listener and ruled out Net Services. It was down to the JVM. I kept getting this strange error:
A trace file was generated (with the above error) but it didn't really tell me anything. I googled the phrase, nothing. I went to Metalink, nothing. It looked like a Java call though, so I tore the database down and rebuilt everything. Just in case, I added XDB, Data Mining and InterMedia in case there was some reference there.
ERROR at line 1:
ORA-00600: internal error code, arguments: [qccsrc_createHLSource-3], [], [],
[], [], [], [], []
ORA-06512: at "SYS.DBMS_CDC_IPUBLISH", line 133
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 226
ORA-06512: at line 2
Installing InterMedia was a pain. I kept getting a failure of a particular jar (ORA-23542?), could not resolve the class.
I googled one of the classes that failed to see if anyone had run across this before. There was only one record found...and it was mine from about a year and half ago! I found that very amusing.
So I went into the
Anyway, thinking the best, since I had a perfectly clean installation, I tried again:
And I waited for an agonizing minute thinking I had it this time...
SQL> BEGIN
2 dbms_cdc_publish.create_hotlog_change_source
3 ( change_source_name => 'T',
4 description => 'Test',
5 source_database => 'ORANINE' );
6 END;
7 /
Barnacles!
BEGIN
*
ERROR at line 1:
ORA-01426: numeric overflow
ORA-06512: at "SYS.DBMS_CDC_IPUBLISH", line 133
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 226
ORA-06512: at line 2
At least the ORA-0600 is gone, but I am back to where I started.
Another good thing is that I am really learning how to pour through trace files and tkprof files.
All the examples I have found make it seem so easy...why can't I get this dang thing to work?!
Subscribe to:
Posts (Atom)