Error ORA-02063, using DB LINK
hi,
i've created a DB_LINK from FINANCEIRA.WINXP.LAPTOP Database (_SERVER 01_) to FINANCEIRA.WINXP Database (_SERVER 02_).
The fact is that i have an application connected at the FINANCEIRA.WINXP.LAPTOP side that makes SELECT and INSERT calls to FINANCEIRA.WINXP using the DB_LINK. When an INSERT statement is sent by the application from the FINANCEIRA.WINXP.LAPTOP to the FINANCEIRA.WINXP, i receive an error message: ORA-02063, occurring in the table's Primary Key. When i send the same statement by SQLPLUS from the FINANCEIRA.WINXP.LAPTOP side to the FINANCEIRA.WINXP, it works fine.
somebody can help me ?
let's make a note...
at the first time, the INSERT operation works fine, even by Application or by SQLPLUS, both been sent from the FINANCEIRA.WINXP.LAPTOP side to the FINANCEIRA.WINXP side. So, at the first time we have a row inserted successfuly.
At the second time, i have this error mentioned above when executed by Application. If i execute by SQLPLUS, it works.
what conclusion we can have about this ?
Edited by: Paulo_BR on May 30, 2009 8:57 AM
Similar Messages
-
TNS-12666 error occures when using database link
When I am trying to use database link
defined in my database the following error occures:
TNS-12666 Dedicated server: outbound transport protocol different from inbound.
In documentation is stated to resolve such an error to
specify the same protocol in the SQL*Net connect string or alias for the outbound connection as that used for the inbound connection.
I have in tnsnames.ora defined network service name
by which I can connect to such a database by SQL*Plus
without any problems, why can I not do such a thing
via database link?
Thanks a lot for advise, ...Could you change the following entry in your 'sqlnet.ora' file and try?
SQLNET.AUTHENTICATION_SERVICES = (NONE) -
Asking help Urgently..
We need to create a DB link from 7.3 to 10g. After initial problems, the DB link is finally established and we can query and do DML on the 10g DB from 7.3. using SQLPLUS.
Now the problem: We want to create triggers on tables in 7.3 DB to insert the same rows in 10g DB using the DB Link. The moment we create the trigger the connection is dropped with the error: ORA-03113: end-of-file on communication channel. We tried to write the insert statement inside a procedure/function but still the same problem.
Please help as we are desperate to find a solution for the said problem. The objective is to be able to insert a row in 10g (DB Linked) Database based on a trigger fired in 7.3 Database (Reference DB). Any help will be appreciated.
Thanks and regards.
Rajeev.I know that 7.x to 10g is not supported officially and should not be used in production environment.
But in our case, we need it for a short duration (duration of Parallel run) and my query is that, if I am able to do inserts from the SQLPLUS using the said DB Link, then why this cannot be done thru a procedure or a trigger.
if anyone has an explanation or workaround, it will be great.
Rajeev. -
Have installed apex OK and working well. When using forms based on source from database links regularly crashes with the above exception. Please see fragments of trace and alert_xe.log. Current SQL is always COMMIT
Any suggestions would be great.
Thanks Roger
Thu Apr 13 17:18:12 2006
Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_2600.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr+487] [PC:0x5F22C3] [ADDR:0x4] [UNABLE_TO_READ] []
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_2600.trc
Thu Apr 13 17:18:11 2006
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows XP Version V5.1 Service Pack 1
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:473M/1014M, Ph+PgF:742M/1677M, VA:1377M/2047M
Instance name: xe
Redo thread mounted by this instance: 1
Oracle process number: 21
Windows thread id: 2600, image: ORACLE.EXE (S004)
*** ACTION NAME:() 2006-04-13 17:18:11.647
*** MODULE NAME:() 2006-04-13 17:18:11.647
*** SERVICE NAME:(SYS$USERS) 2006-04-13 17:18:11.647
*** CLIENT ID:() 2006-04-13 17:18:11.647
*** SESSION ID:(22.9) 2006-04-13 17:18:11.647
*** 2006-04-13 17:18:11.647
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr+487] [PC:0x5F22C3] [ADDR:0x4] [UNABLE_TO_READ] []
Current SQL statement for this session:
COMMIT
----- PL/SQL Call Stack -----
object line object
handle number name
2EC4D3CC 1431 package body FLOWS_020100.WWV_FLOW
2EC4D3CC 1540 package body FLOWS_020100.WWV_FLOW
2EC4D3CC 1697 package body FLOWS_020100.WWV_FLOW
2EC4D3CC 1897 package body FLOWS_020100.WWV_FLOW
2B64FE94 53 package body FLOWS_020100.WWV_FLOW_PPR_UTIL
2EC4D3CC 7608 package body FLOWS_020100.WWV_FLOW
2B64EC28 30 anonymous blockHi All,
finally have some sort of answer from the other forum - Oracle Database 10g Express.
See subject - "Universal edition choke on en-GB browser, core dumped, ORA-07445"
Looks like a long standing bug and the suggested work around from the guys there is to change the browser language to en-us. I was using en-au and the author of the thread was using en-gb - both cause a core dump. Don't know how they figured it out.
Roger -
How to fix the error ORA-02289 using msync.exe for WIN32
Hi All,
I am testing OLITE 10.3.0.1.0 and I got the error Ora-02289 when I am synchronizing
any idea to fix it?
Regards.
CharlyHi,
The Mobile Manager Didn't delete/create properly the mobile user.
The Mobile Manager is an J2EE Application which connects to the Mobile Repository using the Oracle JDBC Thin Driver, it is possible that when some users were deleted/created, the http connection or JDBC connection was cut.
Can you try to reset the metadata cache, delete the mobile user, create and configure this mobile user then Synchronize it.
It will make a Complete refresh but it should synchronize fine after.
Regards.
Marc -
ORA-01406 error encountered when using database link
I am moving data between two different databases using a database link on Oracle 8.1.5. The database statement looks like:
insert into TABLE@DATABASELINK
(COLUMNS)
select (COLUMNS) from TABLE
One of the database columns is defined as varchar2(4000) on both the source and target database tables. When the data in this column on the source database is greater than 2000 characters, the database query generates the message:
ORA-01406: fetched column value was truncated
I have verified that the target column is defined as varchar2(4000), and have also verified that it is this varchar2(4000) column that is causing the problem. I have also tested out that this error only occurs when the varchar field is more than 2000 characters; if I remove characters so that the source field is less than or equal to 2000 characters, this error is no longer generated and the data is inserted to the target database table.
Is this a limit with database links or some other database parameter that is not set up correctly?
Thanks...Theresa TucciCould you change the following entry in your 'sqlnet.ora' file and try?
SQLNET.AUTHENTICATION_SERVICES = (NONE) -
Error occurred when using db link in procedure
Hi
I have a problem. As COLL_OWNER, I failed to compile this procedure.
CREATE OR REPLACE PROCEDURE Arch_Session_Order_Queue
IS
-- declarations
BEGIN
-- many lines
SELECT COUNT (1)
INTO v_wols_count
FROM [email protected];
-- many lines
END;
The error says "PL/SQL: ORA-00980: synonym translation is no longer valid"
But when I run it as COLL_OWNER like that,
SELECT COUNT (1) FROM [email protected]
I get the result.
Why that happens? How to resolve the problem?
Appreciate your advice.
KevinHi Jens
Here is the result
SELECT * FROM [email protected] WHERE synonym_name='ORDER_QUEUE;
OWNER SYNONYM_NAME TABLE_OWNER TABLE_NAME DB_LINK
OMDBPP_OWNER ORDER_QUEUE ORDER_QUEUE WOLSPP.WORLD
SELECT owner, object_name, object_type, status
FROM [email protected] WHERE object_name='ORDER_QUEUE';
OWNER OBJECT_NAME OBJECT_TYPE STATUS
OMDBPP_OWNER ORDER_QUEUE SYNONYM VALID
The ORDER_QUEUE on O9IPRD.WORLD is a synonym that points to the real table.
The way that happen is that we have Oracle 10g. The business logic needs to use Oracle 8.1.5 database. Oracle10g cannot talk to Oracle8.1.5. We created an Oracle 9i database having the synonym that points to the real table of Oracle 8.1.5.
I am wondering why I can get the result in SQL but failed to get procedure work.
Thanks,
Kevin -
Error ora-12547 using oracle 8.1.7.0.0.0
ora-12547: TNS:lost Contact
when i log in to sql plus 8Dr. Chaudhary,
Based on the [lack of] information you have provided, I can only make some guesses. To increase the chances of getting an answer, I suggest you post the following information:
1. Entire error message and stack trace you are getting.
2. The part of your java code where the problem is occurring.
3. Oracle database version you are using.
4. Java version you are using.
5. JDBC driver you are using.
6. Platform you are using.
Good Luck,
Avi. -
Error ORA-12560 using sqlplus.exe SQLPLUSW.exe is working !
hi all,
i have a strange problem using ora 8.1.7 client on windowsnt to connect against db on solaris.
sqlplusw.exe works fine but i need sqlplus, and this is the error
i setted all the variables like oracle-sid in the environment and in registry
please help me, i have absolut no idea !!!!!!
thanks
ORA-12560: TNS:protocol adapter error
nscall: entry
nsmal: entry
nsmal: 140 bytes at 0x475bf0
nsmal: normal exit
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nsc2addr: entry
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsc2addr: normal exit
nsopen: entry
nsmal: entry
nsmal: 420 bytes at 0x476aa0
nsmal: normal exit
nsopenmplx: entry
nsmal: entry
nsmal: 1712 bytes at 0x15f3bd0
nsmal: normal exit
nsopenmplx: normal exit
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: entry
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=126, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsbfr: entry
nsbfr: normal exit
nsmfr: entry
nsmfr: 1712 bytes at 0x15f3bd0
nsmfr: normal exit
nsmfr: entry
nsmfr: 420 bytes at 0x476aa0
nsmfr: normal exit
nsopen: error exit
nsclose: entry
nsclose: normal exit
nladget: entry
nladget: exit
nsmfr: entry
nsmfr: 140 bytes at 0x475bf0
nsmfr: normal exit
nladtrm: entry
nladtrm: exit
nscall: error exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 126
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nsbfrfl: entry
nsbfrfl: normal exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0Hello Hemant,
you can't connect via the listener unless the database is up.You mean if we are going to connect @, db must be mount/open? We can'nt connect with @ in nomount state?
But i think we can connect in nomount using @, if we are having an SID name in SID_LIST of listener.ora?
Please correct me, if i am wrong.
Thanks and Regards
Girish -
ORA when using DB LINK declared as variable
Hello all,
I am working on oracle 10g:
and I have the below
set serveroutput on;
declare
db_link varchar2(30):='ARCH_LINK';
begin
dbms_output.put_line (''||db_link||''); -- statement 1
procedure@''||DB_LINK||''('param1','param2'); -- statement 2
end;
if i executed statement 1 it will return arch_link
but if i used statement 2, i will have the below ORA:
ORA-06550: line 11, column 22:
PLS-00103: Encountered the symbol "" when expecting one of the following:
@ <an identifier> <a double-quoted delimited-identifier>
ORA-06550: line 11, column 38:
PLS-00103: Encountered the symbol "(" when expecting one of the following:
, * & - + / at mod remainder rem <an identifier>
<a double-quoted delimited-identifier> <an exponent (**)> as
from into || bulk
The symbol "," was subst
ORA-06550: line 11, column 68:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
, * & - + / at mod remainder rem <an identifier>
<a double-quoted delimited-identifier> <an exponent (**)> as
from into || multiset bulk year DAY_You need to run this as dynamic code. See the EXECUTE IMMEDIATE command in the [Oracle® Database PL/SQL User Guide and Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/dynamic.htm#sthref1557].
PS. And make use of bind variables! -
Error message when using Dynamic Link
Have been trying to export video created in Primiere Pro CS4 to Encore. I keep getting the following error message. [..\..\src\AMEPresentProber.ccp-258] I get this message with two different videos I have tried from different camera's/encoding.
Just fyi, a google of the meat of your error message (AMEPresentProber.ccp-258) finds only this thread. I wonder if you have other problems on the install.
-
Hi all,
I'm trying to load a table from my source systems to my target table on staging area. I just have source table and target table on my mapping. When i try to execute this mapping i get the error "ORA-02063".
1- i have several other mapping from this same source that i can load without problem;
2- if i edit the package for this mapping and execute the select instruction generated directly on my target schema it runs Ok;
3- the major difference between this table and the rest is that this one has more than 7 million records and the others have on the limit 7 hundred thousand (10%).
Why is this happening?
My OWB is 9.2 and database 9.2.
Thanks,
VitorWhen i use the insert statement from the merge on the mapping package and use it directly to do an "INSERT INTO TARGET_TABLE <SELECT INSTRUCTION>" it will insert all the records.
So, i believe the error is generated by the OWB!
My source is an Heterogeneous Source on Informix.
Thanks,
Vitor -
PL/SQL :ORA-04052 with Database link
i have created a database link in my producation database as following
CREATE PUBLIC DATABASE LINK <NAME>
CONNECT TO <USER>
IDENTIFIED BY <P/W>
USING <CONNECT STRING OF TARGET DATABASE
oracle version 9.0.2.8
OS : Windows 2003 EE R2 SP2
Using oracle failsafe 3.3.4 with windows cluster
Problem Description :
whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
ERROR at line 3
ORA-06550:line 3 column 2
PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
ORA-00604 : ERROR occured at recursive SQL level 1
ORA-03106 : fatal tow-task communication protocol error
ORA-02063: preceding line from <DATABASE LINK NAME>
I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
the script goes smoothly with out any errors.
i have google and checked the OTN for all available solutions but still nothing its not getting throw
i will be very thankful for your replys and solutions
any farther clarification i am ready
thanks in advanceHi,
This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
PL/SQL
If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
Regards,
Mike -
Hi:
I am on 10.2.0.3.
A db link has been created from another database to my database which has the following parms. An ORA-24365 was raised even on an attempt to select sysdate from dual. Any suggestions?
SQL> select sysdate from dual@dblink1 ;
select sysdate from dual@dblink1
ERROR at line 1:
ORA-02068: following severe error from dblink1
ORA-24365: error in character conversion
PROPERTY_NAME PROPERTY_VALUE
DICT.BASE 2
DEFAULT_TEMP_TABLESPACE TEMP
DEFAULT_PERMANENT_TABLESPACE USERS
DEFAULT_TBS_TYPE SMALLFILE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.3.0
GLOBAL_DB_NAME FSUAT.COVANCE.COM
EXPORT_VIEWS_VERSION 8
DBTIMEZONE 00:00This is documented in ML Doc 212043.1 (ORA-24635 Using Database Link Between 8i and 9i Databases)
HTH
Srini -
Error in database link(ORA-02063 and ORA-02391)
Hi
database link was working fine till this morning. now when i try to query using the database link, i get the following error
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
ORA-02063: preceding line from RMSLIVE
It would beof great help if you can advise why this error is occuring.
many thanks.The error stack is quite obvious.
Either, the profile, with which the database user on remote database is running, must be modified to allow more connections or investigate the session leak in the application talking over database links.
Maybe you are looking for
-
Hi All, I am setting up Parent Child Hierarchies in EBS. Currently, we have all of our base-level child accounts under one parent 'ALL'. I am trying to expand this having a level of parents underneath 'ALL' such as 'Cash', 'AR', 'Inventory', etc.
-
I have the same photo in an album and in camera roll. I am trying to delete the photo from the camera rol and the only option that i get is : delete everywhere? Noooooo i just want to delete it from camera roll!!!!!
-
I posted on his forum, but he takes like two days to respond.... I was posting a microsite on my main host: http://www.northstarmultimedia.com/mranracingpix/contact_us.html but, it does not work here now: http://www.mranracingpix.com/contact_us.html
-
Please tell the difference between BPM and ESB.
-
Data Modeler unable to connect to DB
I am using OS/X 10.8.5. I have SQL Developer and Instant Client 11.2 installed and working fine. I have recently installed Oracle Data Modeler 3.3.0.747 and am trying to synchronize my model with the DB. When I try and add a connection if I set the