When network is down, it took 15 minutes to report ORA-03113 error

Now I am using OCCI under redhat to develope application to access oracle database. It works well if the connection with datbase is ok.
But if the network gone down before executing executeQuery of Statement, it took 15 minutes to throw SQLexception and error code is ORA-03113. Is there any solution to decrease the time to wait?
I am using OCCI by the mode of: Environment::THREADED_MUTEXED | Environment::OBJECT)
I only installed 2 rpms in redhat:
oracle-instantclient-basic-10.1.0.3-1
oracle-instantclient-devel-10.1.0.3-1

Yes, it is using TCP/IP. It took a long time to change from TCP state ESTABLISHED to CLOSE_WAIT as to tcp/ip.
I don't know whether there is timeout mechanism in the procotol used between oracle client and oracle server.
If there is such timeout mechanism, is it possible to configure it in OCCI? For example, if the network layer
uses select with timeout option, then the timtout is possible to control. But now it seems that it is not clear to set such configuration. Or is there such nonblocking mode in OCCI?
Or we can assume that oracle client library just depend on the tcp/ip protocol implementataion to detect that the tcp is broken. And the fact is in windows platform, the OCCI client will throw exception after about 2 minutes.
Thanks in advance for any suggestion!

Similar Messages

  • Why no exception to DownloadService.loadPart Function when network is down?

    The function call to loadPart(jarlist, lisenter) hangs ( no exception) when network is down. This is not happening always.
    I am using in following manner
    DownloadService service = (DownloadService ) ServiceManager.lookup("javax.jnlp.DownloadService);
    service. loadPart(jarList, listener);
    I have tried reproducing this issue by making the network download but not able to reproduce but it has happened couple of time randomly.
    kindly help me and provide the solution if somebody has some information about this issue..
    Regards,
    Piyush

    Calling BasicService.isOffline() could be a good preliminary test. Anyway I guess DownloadService relies on HttpURLConnection, you could try playing with default timeout.
    Bye.

  • Captivate 4 won' start when network is down

    Captivate 4 won't start
    up when a network user logs on and the network is down AND the user's home drive points to a network location.
    i know Captivate must be looking for seom files on the network, but can anybody tell me what files they are and if there is a workaround, rather than log on as a local user?

    Since you WERE working over the nextwork on project files, Captivate is tracking where they were located so that it can populate the splash screen links or the Open Recent links in the File menu.
    When it can no longer reach these files...
    So it's still affected by the choice made to work other than locally.  Captivate 5 just degrades more gracefully.

  • ORA-03113 error when using Oracle 9i with Mapx 5.0

    Hello,
    I am using Personal Oracle 9i Release 2 with Mapx5.0 on Delphi.
    Accessing the layers using tab files also as server layers..,
    and commonly using the method of Mapx Layer.SearchAtPoint
    Search is done on region, line as well as on point objects...,
    at some point of time it flashes me the error
    ORA-03113 end-of-file on communication channel
    I am not exactly able to figure out when it gives..,
    but i m getting it after some clicks on the layers
    The same executable is working fine with Oracle 8.1.7
    As anybody faced such a problem and knows the possible cause
    Thanks,
    Binoy

    There is some java bug that is causing some problems if you are using 9.2.0.3. Here is some information:
    Workaround for bug 2755842:
    Event 10499 can be set (any non-zero level) to revert to the old behaviour.
    ==================================================
    Setting the EVENT 10499
    =======================
    Check if the database server is using a server parameter (spfile) a parameter (init.ora) file.
    From sqlplus, connect as sysdba and execute the command:
    show parameters spfile
    If the value is NULL or empty, then spfile is NOT enabled and init.ora is used.
    1) If SPFILE is used:
    SQL> show parameters spfile
    NAME TYPE VALUE
    spfile string
    %ORACLE_HOME%\DATABASE\SPFILE%ORACLE_SID%.ORA
    a) Using sqlplus logon as sysdba
    b) Execute: alter system set event="10499 trace name context forever,level 4" scope=spfile
    sid='*';
    c) shutdown
    d) startup the database
    2) If INIT.ORA is used:
    a) In the init<SID>.ora file, add the parameter event="10499 trace name context forever,level 4"
    b) Stop and start the database
    Hope this is it.
    Dan

  • ORA-03113 error when running the Java stored proc demos

    Hi there,
    Has anyone else run into this issue. When attempting to transfer an object type from Java to Oracle - through a Java stored proc - the session crashes with:
    ORA-03113: end-of-file on communication channelLooking in the trace file generated the error message looks something like:
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0x8fe04468] [SIGTRAP] [unknown code] [0x8FE59034] [] []
    Current SQL statement for this session:
    select pointruntime.jdistance(point(1, 2), point(2, 3)) from dual
    ----- Call Stack Trace -----
    calling              call     entry                argument values in hex     
    location             type     point                (? means dubious value)    
    ksedmp+764           call     ksedst               0 ? 2C4F4A ? 2C ? 98968000 ?
                                                       DB02C ? 27A50000 ?
    ssexhd+956           call     ksedmp               3 ? 0 ? 8FE5E790 ? 5905870 ?
                                                       8FE0434C ? 40895E4 ?
    0x9012c860           call     ssexhd               5 ? BFFEEF70 ? BFFEEFB0 ? 0 ?
                                                       0 ? 0 ?As you can see from the trace snippet above, I was attempting to run one of the Oracle Java stored procedure demos. Has anyone successfully run those demos? Specifically the ones where complex types (table objects or the Point object) are passed back to Oracle from the JVM.
    I would appreciate some help with this. The code works fine in a Windows or Solaris environment but barfs on Apple. Truly annoying....
    Anyone?
    Thanks in advance,
    Alex

    Yes,
    Apologies for not stating that information, Steve. Was a bit naughty of me! I guess the reason I didn't was because I just wanted to hear if anyone else running Oracle on Mac received such errors when executing the Java stored proc demos (specifically, the execution of PointRuntime.jDistance). Nevertheless, here's the relevant info from the trace file:
    Dump file /Users/oracle/admin/sandbox/udump/sandbox_ora_1861.trc
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    ORACLE_HOME = /Users/oracle/product/10.1.0/db
    System name:     Darwin
    Node name:     maczilla.local
    Release:     8.3.0
    Version:     Darwin Kernel Version 8.3.0: Mon Oct  3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
    Machine:     Power Macintosh
    Instance name: sandbox
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Unix process pid: 1861, image: [email protected] for the Java version, according to the readme file in the javavm directory, I am running 1.4.1:
    1.5  Java Compatibility
    This release has been thoroughly tested with Sun's Java Compatibility
    Kit for the JDK 1.4.1. Oracle is committed to OracleJVM keeping pace
    with Java and other Internet standards.

  • ORA-03113 Error when using loadjava

    I am trying to create a Java Stored Procedure and when I attempt to load the resource file into Oracle using the loadjava utility, I receive the following message:
    ORA-03113: end-of-file on communication channel
    I receive this message consistently.
    Any ideas?
    null

    There would be a trace file generated on the server where the database is installed, try to look in those trace files for additional messages and causes this might be happening, off hand I could also suggest increasing the processes init file parameter

  • How to access an url when interface has down for 5 minutes and will send an email if it has up before 5 mins (will not access url)

    I've tried this one before and it works, but the problem is, I would like to use full tcl, do I need 3 tcl script to do that? And is there another way to implement that 5 minutes problem? Because it looks a bit brute force to cancel the trigger occurs...
    #event manager directory user policy "flash:/Test"
    #event manager policy test.tcl
    #test.tcl already contain the http::get
    event manager environment _email_from [email protected]
    event manager environment _email_to [email protected]
    event manager environment _email_server [email protected]
    event manager environment _email_cc [email protected]
    event manager applet one
    event syslog pattern "Line protocol on Interface GigabitEthernet0/0, changed state to down"
    action 1.0 cli command "enable"
    action 1.1 cli command "show clock"
    action 2.0 mail server "$_email_server" to "$_email_to" from "$_email_from" cc "$_email_cc" subject "Test" body "$_cli_result"
    event manager applet two
    event tag e1 syslog pattern "Line protocol on Interface GigabitEthernet0/0, changed state to down"
    trigger occurs 1 delay 60
     correlate event e1
    action 1.0 cli command "enable"
    action 1.6 cli command "tclsh flash:/Test/test.tcl"
    event manager applet three
    event syslog pattern "Line protocol on Interface GigabitEthernet0/0, changed state to up"
    action 1.0 cli command "enable"
    action 1.1 cli command "configure term"
    action 1.2 cli command "event manager applet two"
    action 1.3 cli command "no trigger occurs 1 delay 60"
    action 1.4 cli command "trigger occurs 1 delay 60"
    action 1.5 cli command "correlate event e1"
    action 2.0 mail server "$_email_server" to "$_email_to" from "$_email_from" cc "$_email_cc" subject "Test" body "$_cli_result"

    Okay, that clarifies things.  You will want multiple policies for this.  You can take that previous Tcl policy I posted in my last reply and change the event detector line to:
    ::cisco::eem::event_register_timer countdown time 300
    Call this Tcl policy tm_access_url.tcl.
    Then, your other policies will be:
    event manager applet intf-down
     event syslog pattern "Line protocol on Interface GigabitEthernet0/0, changed state to down"
     action 1.0 cli command "enable"
     action 1.1 cli command "show clock"
     action 2.0 mail server "$_email_server" to "$_email_to" from "$_email_from" cc "$_email_cc" subject "Test" body "$_cli_result"
     action 3.0 cli command "config t"
     action 4.0 cli command "event manager policy tm_access_url.tcl"
     action 5.0 cli command "end"
    Your other applet will be:
    event manager applet intf-up
     event syslog pattern "Line protocol on Interface GigabitEthernet0/0, changed state to up"
     action 1.0 cli command "enable"
     action 1.1 cli command "show clock"
     action 2.0 mail server "$_email_server" to "$_email_to" from "$_email_from" cc "$_email_cc" subject "Test" body "$_cli_result"
     action 3.0 cli command "config t"
     action 4.0 cli command "no event manager policy tm_access_url.tcl"
     action 5.0 cli command "end"

  • How to buffer data when network goes down

    I am not a LabView programmer.  One of the programmers here has written a program which writes data to a network computer.  Unfortunately on occassions where the network has a glitch maybe for a few seconds or even a fraction of a second. the program will lose all of the data which it was writing.
    Is there anyway in which they could write the program so that it would buffer the data and save it else where.

    TCP is designed to handle small network outages automatically. You should not need to worry about loosing data unless the outage is excessive or you are using a stateless protocol such as UDP instead of TCP. Just make sure you are using a single TCP connection for the entire communication.
    If you use UDP, buffering will involve some code to make sure that only lost segments get retransmitted. You could do some out of band communnication (e.g. on a second port) so the two sides can detect network glitches and keep each other informed.
    This will not be easy unless you know some LabVIEW, though.
    LabVIEW Champion . Do more with less code and in less time .

  • ORA-03113 error when setting up Oracle XML DB Basic Demo

    When I try to install XDB_UTILITY package using the command @SQL/xdbUtility, immediately after the view is created successfully, I get the out-of-file error. The error is caused by "select value(x) into dbxml from xdb_database_summary x".
    The database I am using is 9.2.0.2 updagrated from 9.2.0.1 and the OS is windows 2000 server.
    regards

    Regarding the problem with xdbUtility. I think you are running the 9.2.0.1.0 vesrion of the demo. This is a known bug in 9.2.0.2.0, which is fixed in 9.2.0.3.0. Please download an updated version of the demo from http://otn.oracle.com/tech/xml/xmldb/content.html. This version contains a workaround for the problem in 9.2.0.2.0.
    Please shutdown and re-start the database before running the new version of the dmeo

  • ORA-03113 error occurs when trying to insert record using procedure

    I have a Database Block whose DML Data Target Type is Procedure. I have given the Insert Procedure Name, Insert Procedure Arguments and Insert Procedure ResultSet Columns. The procedure which is used to insert record into the table, resides in the database. The procedure for insert takes Table of records as argument. I am getting FRM-40735: INSERT-PROCEDURE trigger raised unhandled exception ORA-03113).
    This exception does not occur if the Procedure is place under Program Units. But, I want the procedure to be under Database Block. I am working on Oracle Forms 6i.
    Please help me out in resolving this.

    Hello,
    I think you should call the support for this kind of error.
    Francois

  • When I create database ,The system report ora-27103 error

    My system is oracle920 on red hat linux9,
    mem 256M
    onebody can tell me why?
    how to solve the problem?
    thanks

    not a good sign. Description of error is as follows:
    ORA-27103 internal error
    Cause: This is an internal error.
    Action: Contact Oracle Support Services.
    Otherwise, I might try a uninstall & clean installation.

  • ORA:03113 Error occuring when trying to recompile a Trigger

    Hi ,
    I am facing ORA-03113 end-of-file on communication channel Error.
    My V$version ouput is as follows
    BANNER
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    PL/SQL Release 9.0.1.5.0 - Production
    CORE 9.0.1.2.0 Production
    TNS for Linux: Version 9.0.1.4.0 - Production
    NLSRTL Version 9.0.1.5.0 - Production
    I searched in google and in all actions to be performed is to submit a request to Oracle Support.
    Is there any another way to resolve this problem?
    Please guide me.
    Thanks & Regards
    Salih KM

    Hi APC,
    I am posting the lines from alert log file and trace files.
    Alert Log Entries
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Trace File
    (10718)
    *** 2006-09-18 17:47:26.998
    *** SESSION ID:(28.39) 2006-09-18 17:47:26.998
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:47:27.060
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.197
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.344
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Trace File (9368)
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.4.0 - Production
    ORACLE_HOME = /mnt1/oracle/orainfra
    System name:     Linux
    Release:     2.4.9-e.25
    Version:     #1 Wed Sep 1 12:40:42 EEST 2004
    Machine:     i686
    Instance name: paws
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 9368, image: [email protected] (TNS V1-V3)
    *** 2006-09-18 17:46:34.557
    *** SESSION ID:(21.124) 2006-09-18 17:46:34.552
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:46:35.515
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.814
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.968
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Please guide me in this issue.
    I'm also studying the link given by oradba
    Thanks & Regards
    Salih KM
    Message was edited by:
    kmsalih

  • Datasocket error when network cable unplugged

    Hi,
    I'm having problems with my datasockets.  I have applications running on multiple computers, which publish data to a datasocket on the localhost.  Whenever we unplug a network cable, or the network goes down, the datasocket write function reports the following error code:  -2147014843 in Datasocket Write.
    I can't find any information about this datasocket error code.  Can anyone give me advice on how to find more information about this error code?
    The result is that whenever there is a network issue, we need to go and resolve it, then we need to log onto each computer (25+) to get the datasockets working again.
    Also interesting to note is this problem has only presented itself since upgrading the computers from NT to Win2k & WinXP.
    Thanks for any help that can be given.
    Slade Squire

    Hi again,
    Just in case anybody else looks here, and have a similar problem...
    The error code we saw was related to the networking functions of Windows.  In particular, the reason we did not see this problem in Windows NT, but it started appearing in 2000/XP, is the media sense functionality of Windows 2000/XP.  In 2000/XP, if there is no connection detected, the OS dumps the IP stack, and with it, the IP address.  As a result, when we try to write to a datasocket on the computers IP address, Windows returns an error, since there is no IP address anymore.
    To resolve this issue, we turned off Media Sense on the affected computers.  We followed the instructions on this page:
    http://www.windowsnetworking.com/articles_tutorial​s/Disable-Media-Sense-TCPIP-Windows-XP.html
    Now, when the network drops out, we keep the same IP address, and so the datasocket can continue to write to the local computer, without any problems.
    Regards,
    Slade Squire

  • "ORA-03113: end-of-file on communication channel" when a merge is called

    We have two tables, one for the input of data and the other a production version that means the data has been approved. When the user approves the data, we use the merge command to update and insert the approved data into the production table. This worked great until now. We added a domain index to the production table. Since then, when I use the merge command, I get the ORA-03113 error. We are using Oracle 11g, but I thought that you could use merge with domain indexes in 11g. The merge does not affect the actual index column. It only affects certain columns so we do the update/insert just on those. Any idea? Do I need to do away with the merge for this table or is there another issue?
    Thank you,
    Susan

    Hi,
    Did you check if there is an error in the alert log? Can you post the error if exist?
    What is the 11g version?
    There are some bugs fixed in 11.1.0.7
    Domain Indexes
    5891213      ORA-6502 / LPX-7 from DBMS_METADATA.GET_DDL with domain index present
    5908945      Dump [qxopqdca] with ancilliary operator
    6051635      Wrong DDL from DBMS_METADATA for domain index or index on XMLType column
    6497310      ORA-942 / dump for DML in XMLTYPE column with domain index
    6685261      Dump [lnxmin] using ancilliary operators with inline views
    So either see if you can patch or test to replace merge with insert/update or drop the index?
    Regards,

  • ORA-03113 when using dbms_xslprocessor.valueof()

    I have just recently started using the 9.2.0.2 functionality, and am having great difficulty in getting dbms_xslprocessor.valueof() to work correctly.
    I am aware of two known issues with this procedure.
    1) the necessitaty of including '\text()' on the end of the XPATH e.g.
    dbms_xslprocessor.valueof(v_employee_node,'LASTNAME',emp_rec.lastname);
    would cause a ORA-03113 error and kill the session, while
    dbms_xslprocessor.valueof(v_employee_node,'LASTNAME/text()',emp_rec.lastname);
    works and returns the correct node value.
    2) An empty element will cause the ORA-03113 error.
    I have two further questions:-
    1) I do not seem to be able to retrieve attribute value using the procedure - for example, assuming I have an element EMPLOYMENT, which has the attribute EMPLSTAT, I could have run the following using XDK to get back the value (assuming I had determined the v_employment_node first):-
    emp_rec.emplstat := xslprocessor.valueof(v_employment_node,'@EMPLSTAT');
    But running the equivalent in dbms_xlsprocessor:-
    dbms_xslprocessor.valueof(v_employment_node,'@EMPLSTAT',emp_rec.emplstat);
    gives me the ORA-03113, regardless of whether I include the '\text()' reference or not.
    Is this issue down to a lack of understanding on how the functionality works in 9i, or is there a bug? If it is my ignorance, then an example of how to do this would be appreciated.
    2)Are these issues known with Oracle, and if so when will a bug fix be released?
    Thanks in advance,
    Dave.

    OK I now use xmlagg & xmlelement instead of connect by.
    Sorry for not providing any solution.
    Yann.

Maybe you are looking for