If you do not specify the domain name in the link then Oracle attempts to
provide it. Redefine the link as database_name.domain to avoid problems
like this. Remember that in the old days Oracle defaulted the domain name
to world. Now that is not true any longer so you should always specify it.
HTH -- Mark D Powell --
-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]On Behalf Of John Dunn
Sent: Thursday, February 17, 2005 8:33 AM
To: Oracle-L@(protected)
Cc: rjamya@(protected); ntilbury@(protected)
Subject: RE: Advanced queuing : dequeing from remote database
I have identified the error as :
connection description for remote database not found
The address being used in add_subscriber is
OPD4678.NEW_JOB_MESSAGE_QUEUE@(protected)
where VAN9 is my database link
but the entry on the queue seems to trying to use
OPD4678.NEW_JOB_MESSAGE_QUEUE@(protected)
Is this the problem?
Why is it trying to use VAN9.US.ORACLE.COM ???
The entry in tnsnames.ora is simply named VAN9.
From: John Dunn [mailto:jdunn@(protected)]
Sent: 17 February 2005 10:46
To: 'Oracle-L@(protected) '
Subject: Advanced queuing : dequeing from remote database
I am experimenting with advanced queueing in Oracle 9i and am able to
enqueue and dequeue messages within the same database.
However I would like to dequeue messages on a remote database via a database
link.
I am confused as to what I need to set up on the remote server in order to
dequeue the message.
I have set up the database link that points back to the enqueueing database,
The database link works OK.
I am then trying to dequeue the message on the remote database using the
following code(which is the same I use when doing this all on the same
database except for the references to the database link). I get the error :
message opd4678.new_job_message@(protected);
*
ERROR at line 6:
ORA-06550 (See ORA-06550.ora-code.com): line 6, column 34:
PLS-00331: illegal reference to OPD4678.NEW_JOB_MESSAGE@(protected)