RPC through DB Link from 11g to 10g doesn't work

Guys,
I am unable to make simple RPC to an Oracle 10g database (Running on Unix Server) from Oracle 11g database (Running on XP Professional).
But RPC Call from 10g to 11g works fine.
Any idea?
C:\temp>sqlplus /nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 24 10:13:50 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
-- Login into 10g Database and create the procedure
SQL> conn scott/tiger@ORA10G;
Connected.
ORA10g> SET SERVEROUTPUT ON
ORA10g>SELECT * FROM V$VERSION;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE     10.2.0.1.0     Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
ORA10g>CREATE OR REPLACE PROCEDURE TEST AS
2 L_CNT NUMBER;
3
4 BEGIN
5 SELECT 1 INTO L_CNT FROM DUAL;
6 DBMS_OUTPUT.PUT_LINE('10G SYSDATE = ' || SYSDATE);
7
8 END;
9 /
Procedure created.
ORA10g>EXEC TEST;
10G SYSDATE = 24-JAN-08
PL/SQL procedure successfully completed.
-- Login to 11g Database and create the DB Link and call the procedure
ORA10g>conn scott/tiger@ORA11G;
Connected.
ORA11g>SELECT * FROM V$VERSION;
BANNER
Personal Oracle Database 11g Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE     11.1.0.6.0     Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
ORA11g>create database link DB_LINK connect to SCOTT identified by TIGER using 'ORA10G';
Database link created.
ORA11g>SELECT * FROM DUAL@DB_LINK;
D
X
ORA11g>exec test@DB_LINK;
BEGIN test@DB_LINK; END;
ERROR at line 1:
ORA-04052: error occurred when looking up remote object SCOTT.TEST@DB_LINK
ORA-00604: error occurred at recursive SQL level 1
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [],
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from ORA10G
ORA11g>exit

Hello
Did u get the issue resolved after applying the patch 10.2.0.3?
I am also having the same problem with RPC and using 10g version 10.2.0.3 and 11g version 11.1.0.6
Thanks
Banu

Similar Messages

  • Database link from 11g to 10g

    I am trying to create a database link from the 11g database to the 10g database using:
    create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>;
    It Returns
    Database link created.
    select sysdate from dual@ORCL10R2 returns error:
    ERROR at line 1:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Please let me know what changes I need to make to tnsnames and listener at both servers.

    11g database: 10.1.1.10
    10g database: 10.1.1.12
    TNSNAMES.ORA at 10.1.1.10
    XYZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XYZ)
    LISTENER.ORA at 10.1.1.10
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
    what needs to be modified here?
    Edited by: 944558 on 5 Jul, 2012 12:27 AM

  • Data pump import from 11g to 10g

    I have 2 database: first is 11.2.0.2.0 and second is 10.2.0.1.0
    In 10g i created database link on 11g
    CREATE DATABASE LINK "TEST.LINK"
    CONNECT TO "monservice" IDENTIFIED BY "monservice"
    USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = port))) (CONNECT_DATA = (SID = sid)))';
    And execute this query for test dbLink which work fine:
    select * from v$[email protected];
    After it i try to call open function:
    declare
    h number;
    begin
    h := dbms_datapump.open('IMPORT', 'TABLE', 'TEST.LINK', null, '10.2');
    end;
    and get exception: 39001. 00000 - "invalid argument value"
    if i remove 'TEST.LINK' from the arguments it works fine
    Edited by: 990594 on 26.02.2013 23:41

    Hi Richard Harrison,
    result for import from 11g to 10g:
    impdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    ORA-39001: invalid argument value
    ORA-39169: Local version of 10.2.0.1.0 cannot work with remote version of 11.2.0.2.0
    result for export from 11g to 10g:
    expdp user/pass@dburl schemas=SCHEMANAME network_link=TEST_LINK version=10.2
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing option
    ORA-39006: internal error
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-04052: error occurred when looking up remote object SYS.KUPM$MCP@TEST_LINK
    ORA-00604: error occurred at recursive SQL level 3
    ORA-06544: PL/SQL: internal, error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from TEST_LINK
    ORA_39097: Data Pump job encountered unexpected error -4052

  • Imp from 11g to 10g db

    Hi all,
    I am importing an expdat.dmp which is an output of 11g to lower 10g db.
    So I am using a 11g client to import it to 10g. But I can not understand why some tables got imported while others were not :(
    The error said that the table already exist, when in fact is it not yet there.
    Have you encountered this kind of issue?
    Or how do I import a dump from 11g to 10g?
    Thanks a lot,
    Yxz
    Edited by: yxes2013 on 17.2.2013 20:02

    sb92075 wrote:
    yxes2013 wrote:
    Hi all,
    I am importing an expdat.dmp which is an output of 11g to lower 10g db.
    So I am using a 11g client to import it to 10g. But I can not understand why some tables got imported while others were not :(
    The error said that the table already exist, when in fact is it not yet there.
    Have you encountered this kind of issue?
    Or how do I import a dump from 11g to 10g?
    Thanks a lot,
    Yxz
    Edited by: yxes2013 on 17.2.2013 20:02export MUST be taken or done using the LOWER version utility.
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL870
    Wouldn't an export from the 11g Data Pump client work with a 10g database, as long as the dumpset was created with VERSION=10.x?
    -Justin

  • [Urgent]How to import odi procedure from 11g to 10g.

    Hi All,
    I am trying to import odi code(interface/procedure) from 11g to 10g but gettting xml error.
    Please reply as soon as possible.
    Thanks

    Forward compatibility for importing odi artifacts is not supported.

  • Exporting schema from 11g to 10g

    how can i export full schema(suppost scott) from 11g to 10g both are on different machines and i dont know much about db side, if any body can suggest some queries.
    thanks and regards
    Abbas

    when i run the expdp it gives me following error
    Export: Release 10.1.0.4.2 - Production on Wednesday, 27 April, 2011 11:43
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    what can be wrong
    Regards
    Abbas

  • How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    download the new you tube apps in i tunes, in os6 just pick a video in the photos apps and select share, the old you tube app icon will appear

  • Translation from CS5 to Cloud doesn't  work correct, navi and linked images are broken.

    Translation from CS5 to Cloud doesn't  work correct, <navi> and linked images are broken.
    The data of CS5 was created at another PC. I installed Cloud version into two different PC. One has had the site data since dreamweaver CS5 and it works correct in Cloud version. Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.

    Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.
    This implies your site is not properly defined in DW.  Go to Site > Manage Sites.
    Or simply go to your other installation of DW and export the site definition file from Manage Sites.
    Save it to a flash stick or other removable drive.  Then import the STE file into your 2nd installation of  DW.
    Nancy O.

  • At the moment i'm using my macbook pro with an ethernet cable = where i'm now i don't have wi-fi - now i'm trying to do a wi-fi hotspot for my iphone through my macbook pro, but it's doesn't work - please help me! :)

    At the moment i'm using my macbook pro with an ethernet cable = where i'm now i don't have wi-fi -> now i'm trying to do a wi-fi hotspot for my iphone through my macbook pro, but it's doesn't work - please help me!

    Theres almost a trick to it for first time users, goto SETTINGS...General......Cellular (if Verizon) ....Personal Hotspot, turn it on.....turn on wifi on your Mac, select your Iphone.  Enter password.
    If you take too long doing it, youll need turn turn off and on real quick the "personal hotspot" slider on the Phone.......then go quick again thur the Mac.

  • Photostream from PC to Ipad doesn't work

    Hello, I have installed ICloud on my Ipad en on my Windows 8 laptop. Photostream from Ipad to laptop is ok but from laptop to Ipad doesn't work.
    I have contacted Apple support but the couldn't figure it out, I tried everything: disable firewall in router and laptop, also disabeld Defender, installed a new
    ICloud, installed new OS on the Ipad, all the photo's are in the upload folder, the battery of the Ipad is 100% filled, the Wifi works ok. etc.etc. I suppose that
    there must be a wrong configuration somewhere, perhaps the Wifi must be in BootP on the Ipad or I have to enable a kind of service in the laptop or perhaps
    it is just a stupidity from me? Who has an idea?
    Thnx RJZ

    Looks like they changed how this works in iCloud Control Panel 2.0
    "On a PC with iCloud Control Panel 2.0 or later, open a Windows Explorer window. Select Photo Stream under Favorites. Open My Photo Stream. Click the "Add photos" button. Select photos to import to My Photo Stream, and then click Open."
    And here is the source:
    iCloud: Photo Stream FAQ - Support - Apple

  • Bought a new iPhone 6 and synced from iTunes but vibration doesn't work.

    Bought a new iPhone 6 and synced from iTunes but vibration doesn't work. I did the reset option using side and home buttons but in vain. Please don't tell me to set up a new device coz its gonna be a hassle restoring apps, emails, contacs...etc.

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • I have some apps on my ipad and I want to install more ,but it doesn't show the apps on the home and when I try to open them from the AppStore it doesn't work , what should I do?

    I have some apps on my ipad and I want to install more ,but it doesn't show the apps on the home and when I try to open them from the AppStore it doesn't work , what should I do?

    Are you not seeing the icon of the app you just downloaded (it happens sometimes, and the quick fix is to reset your iPad)? Or are you running out of space on your iPad?

  • TS3899 I have an iphone5 and the reply, forward and writing a message from the mail app doesn't work. I can check my mail but can't reply to it. What's going on?

    I have an iphone5 and the reply, forward and writing a message from the mail app doesn't work. I can check my mail but can't reply to it. What's going on?

    Try a reset: hold down the home button along with the sleep/wake button until you see the apple, then let go. (No data loss)

  • I am trying to download a file from Safari. It doesn't work.

    I am trying to download a file from Safari. It doesn't work. It always comes up with a notification saying, 'Safari could not download this file'. Why does it do that? More importantly, what should I do? how do I download it?
    Thanks to the users who reply to this. It will help me a lot.

    What type of file is it?
    If safari can't natively open the file, or there is no App installed thatr can, it won't download.

  • Database link from 11g to 10 g

    I am trying to create a database link from the 11g database to the 10g database using:
    create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>;
    It Returns
    Database link created.
    select sysdate from dual@ORCL10R2 returns error:
    ERROR at line 1:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Please let me know what changes I need to make to tnsnames and listener at both servers.

    i think this question is not related to sql or pl sql.
    Please Post here
    General Database Discussions
    Venkadesh

Maybe you are looking for