How OC4J handles fatal error codes

1. Does OC4j cleans/closes all connections in the connection pool when OC4J detects fatal error codes? Does OC4J really work as per oracle documentation? Can I get an example showing how is it done?
Oracle Documentation says:
For each data source defined in data-sources.xml, you can define fatal error codes that indicate that the back-end database with which the data source communicates is no longer accessible. When OC4J detects one of these error codes (stated when a SQLException is thrown by the JDBC driver), OC4J will clean its connection pool. That is, it closes all connections in the connection pool. For Oracle, the predefined fatal error codes are: 3113, 3114, 1033, 1034, 1089, and 1090.
2. When OC4J detects fatal error codes defined in an connection pool in data-sources.xml, how connections in the connection pool are handled by OC4J?
3. When OC4J detects fatal error codes on one connection to Oracle database, then will OC4J restore / close the connection back to connection pool?
4. Does OC4J really work on fatal error codes?
Sample code of connection pool I used in data-sources.xml file where I defined fatal error codes:
<connection-pool name="FSCMDS" inactivity-timeout="30" initial-limit="5" max-connections="5" validate-connection-statement="select * from dual">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="" password="" url="" commit-record-table-name="">
<proxy-interface sql-object="PreparedStatement" interface="oracle.jdbc.OraclePreparedStatement"/>
<*fatal-error-codes*>
     <*error-code code="3113"*/>
</*fatal-error-codes*>
</connection-factory>
</connection-pool>
Please post answers on these questions...
Thanks
Venkat

This forum is for general database questions, post your question here:
OC4J
Werner

Similar Messages

  • Please Help Me!  Encore giving error message on Build:  "fatal error", Code: "6", note: "video buffe

    Hello,
    I have been trying to build a project (a 50gb Blu Ray disc) for the last couple of days and I keep getting an error message I have never gotten before.  The error says: "fatal error", Code: "6", note: "vide buffer underflows  Total bitrate is too high near..."
    I don't know why this is happening.  I build this entire project from the ground up once before using the exact same assets but I accidently deleted that project file so I had to put it together again.  But it was practically identical.  And it would build the project just find.  I deleted the cache folder.  I deleted the main video timelines and recreated them.  I made sure the transcode settings for bitrate were not too high.  I did everything I can think of.
    Can someone please help me?  I have no idea what to do now.  The frustrating thing is that the error message doesn't tell me what asset the problem is with or anything.  This is a rather complicated project.  I have two full length movie files (about 90 minutes each) and seven video special features.  I have five audio tracks and a couple of subtitle tracks.  I don't have any idea what asset is causing the problem!
    But I used all these same assets before and I built the project perfectly.  And it is not the subtitles because I deleted the subtitle tracks and I still got the error message.
    Is there any way of knowing what assets are causing the problem?  How can I fix this?
    I have a number of people who are waiting for the completion of this disc so I need to get this resolved pretty soon.
    Thanks.

    The error says: "fatal error", Code: "6", note: "vide buffer underflows  Total bitrate is too high near..."
    What is the rest of the error message?
    What version of Encore and what operating system?
    using the exact same assets
    What format? Already transcoded m4v/a3c 5.1 or what? Does Encore show them for Bluray as "Do Not Transcode"?
    What were the export settings, particularly bitrate?
    Is there any way of knowing what assets are causing the problem?
    Not through the error message.
    Rather than deleting elements to see what causes it, I would add elements (e.g. you got the error, deleted the subtitle tracks, and still had the error, leaving the possibilit that a cache or similar is contining the problem even if the subtitles caused it).
    So add just the menus and timelines, no extra audio, no subtitles,
    When starting a new project, make sure you are using a new name for the project.

  • Encore CS4 Blu-ray Error: "Fatal Error", Code: "0", Note:''

    Has anyone encountered this: Encore CS4 Blu-ray Error: "Fatal Error", Code: "0", Note:''
    Any ideas on what it means or how to fix it?
    Burning to a BD-R.  Tried two different Blu-ray burners.  Created a Blu-ray Image first.

    For CS4 you must update the Roxio component http://forums.adobe.com/thread/400484?tstart=0
    More on Encore and Roxio http://forums.adobe.com/thread/528582?tstart=0 or direct to
    http://kb.roxio.com/search.aspx?URL=/content/kb/General%20Information/000070GN&PARAMS
    Also, Long File Names or odd characters Cause Crashing http://forums.adobe.com/thread/588273
    And #4 Here http://forums.adobe.com/thread/666558?tstart=0
    And This Message Thread http://forums.adobe.com/thread/665641?tstart=0

  • How to handle transport errors????

    Hi Gurus.
    How to handle transport errors and create a workflow email to the owner of the transport from solution manager??

    Solution manager does provide automatic e-mail notification when status changes or error occures.To answer your question when ever transport fails ..you can configure such way that a support message can create automatically and notify support team / respective person.
    If you are not using any t-code do you have any thoughts where you can create transport request???? and are you using solution manager only for maintanence project or for implimentation project also????
    Hope this helps you....
    Praveen

  • EVENT 36888, Schannel A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 43. The Windows SChannel error state is 252.

    I keep losing my network connection for a few seconds at a time.  Not  a big deal unless I just spent time filling in a form and have to redo it.
    Getting:
    A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 43. The Windows SChannel error state is 252. Using windows 8.  I just installed the new ARRIS
    TG862 provided by Comcast. 
    Any Ideas?
    Also get the following errors in my events:
    The name "WORKGROUP      :1d" could not be registered on the interface with IP address 10.0.0.2. The computer with the IP address 10.0.0.3 did not allow the name to be claimed by this computer.
    Realtek PCIe GBE Family Controller is disconnected from network.
    Any help is appreciated

    Hi,
    Critical Kernel-power event ID 41 is used appear after PC restarts or randomly restarts with error
    BugcheckCode listed or a cold reboot. Do you get BSOD and some dump files?
     Default location is %SystemRoot%\Minidump. You can upload it to skydrive, then paste link here.
    How to use Skydrive
    http://www.wikihow.com/Use-SkyDrive
    Kernel-PnP event ID 219: A Plug and Play device driver on your system is failing to load due to a device driver or device malfunction, you can unplug any external devices (except mouse and keyboard, but please keep the latest drivers), and
    check device status in device manager, please also keep the all latest driver update of your PC.
    And for error 36888, I found a similar thread, please refer to this link
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/4c5430f5-43f6-41b4-97d3-03cfb3efa70b/schannel-error-event-id-36888-is-there-a-way-to-identify-what-causes-schannel-to-log-error?forum=winserverDS
    Regards
    Yolanda
    TechNet Community Support

  • How can I resolve error code -54 in iTunes? I am using the latest iTunes. No new updates are available.

    How can I resolve error code -54 in iTunes? I am using the latest iTunes. No new updates are available. I'm using iTunes 11.3 on a MacBook Pro, OS X 10.6.8. I can't save my library in iTunes, the message just keeps popping up.

    From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)
    First, try simply restarting your computer.
    Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).
    iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.
    Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files
    Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114
    Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.
    iTunes: Missing folder or incorrect permissions may prevent authorization - http://support.apple.com/kb/ts1277
    Troubleshooting permissions issues in Mac OS X - http://support.apple.com/kb/HT2963

  • How to remove Fatal Error in Reports 3.0

    How to eliminate Fatal Error in the Reports,
    I created Formula column and in that i am writing query for
    retreiving values and storing that value in other variable which
    i declared in the formula columns PL/SQL and in that I didn't
    find any compilation errors but when i run the report i am
    getting the fatal error. Please give me the solution for that
    fatal error.

    Hi ,
    first goto the properties sheet of formula column.
    in the properties sheet
    increse the widht property by 200.
    still u have the same problem again increase by 100.
    repeat like that.
    at certain level u r error fixed.
    bye
    srini

  • How to handle the #error in ssrs expression

    hi 
    Please any one help me to resolve this #error ,
    I have a calculated filed in that expression i given a if condition like below 
    data of column is coming like this 0 , 0.0 
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
    how to handle the #error 
    Please let me know any one 

    Hi deepuk23,
    According to your description, when you use the IIF() function in the report you got some error,right?
    The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null,  because IIF() function always evaluates both the true part and the false part, even
    though it returns only one of them, it will throw out the error. 
    To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
    For more information, please refer to this article:
    FAQ: Why does the “Attempted to divide by zero” error still happen?
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How do I override "error code -61" when attempting to put things in the Trash? Cannot empty Trash or use Secure Empty Trash.

    How do I override "error code -61" when attempting to put items in the Trash?  Cannot empty Trash or use Secure Empty Trash. I have a MacBook OS X 10.5.8

    The reason why some of the files are blocking the trash from emptying is because of specific ".app" files from third party companies like Adobe products. Not the user files or the various help documents but instead the actual mother program. Here's how to fix this problem:
    1) remove from the trash all the actual software programs like Photoshop, InDesign, DreamWeaver and so on and put them on the desktop.
    2) Command "I" (info) and when the dialog box opens go to the "Name & Extension" text box and remove the ".app" from the software name. Example: Photoshop.app change to Photoshop.
    3) the program icon will change to a "folder icon".
    4) put the folder icon back into the trash and you should be able to now empty the trash.
    If you continue to get the error code 8003 it's because you may still have one or more software programs in the trash that needs to go through this process. Remember - it's not the user files or help documents or supporting files that is causing this but instead the "actual product programs".
    JKai

  • Blu-ray Error: fatal error, code 6, audio buffer underflows...

    Ughh.... So its been a few months since I stopped using CS6 Encore because it loves to crash for all kinds of bad reasons. Today I needed to do a new project, and used a simple 1920x1080p MP4 file created by Adobe Media Encoder, and used a basic menu template in Encore. Also added a slideshow timeline with one Mp3 audio set to loop. During the building image part of the build process, I get the fatal error code 6, audio buffer underflows. Total bitrate too high neat time = 0.00000 seconds -
    First off, I set the BR transcode setting to auto and it spends  pleanty of time transcoding the file to a 15mbps bitrate, so why is Encore not first taking care of all the source files correctly in transcoding...?

    Ok.... 100% the fault of the software. I am an SE, and build systems all the time for my business, so if I knew of these simple problems, Id go into the code and devise a solution...please Adobe, fix Encore.
    Here are my simple finding from solving this problem (first post):
    - Of the 2 simple Mp4 files produced by Media Encoder, one, which runs only 2 minutes, had a peak of a little over 10mbps. I dropped the file back into Encoder and set the same mp4 profile to max of 6mbps and then replaced the file in the encore project, ran build and it worked fine.
    SO.... If I can use a simple free bit of software to look at the bitrate of a file (google Bitrate Viewer) and determine that the peak was possibly too high, why oh why cant adobe write a better transoding logic algorythm to decide if a video in a timeline needs to be reprocessed at a slightly lower bitrate before just attempting a build and then throwing an error. For the love of all that is holy, please tweek your transcoding decision process to prevent these simple errors.

  • HP mini 110-1116NR laptop fatal error code CNU939DV7 askin for password

    Upon startup it asks for current password. When you enter it 3 times wrong it says fatal error code CNU939DV7. Ive tried every password on the help site but none were for the same fatal error code. Please Help!
    This question was solved.
    View Solution.

    Hi,
               Try the below code
    e9lofo1t6x         (3rd letter is L)
    "I work for HP."
    Please click the "White Kudos" star to say thanks for helping.
    Please mark "Accept As Solution" if my help has solved your problem.

  • How to catch the error code thrown by Oracle client installation?

    Hi everyone,
    Recently, I'm writing a bat file to install Oracle 11g client for windows, I know the command line should be below, but how to find the error code it return? like the command line I want to run in Windows, the errorlevel will return 0 if the command line is pass, otherwise it will return no-zero:
    oui.exe -silent -waitforcompletion -nowait -force -responseFile ...\response\clientruntime.rsp
    BTW, I know I can find the error info under the path ...\Oracle\Inventory\logs, but I think it is better if you can tell me another way to catch the error in command line. I just wish that I can determine whether the Oracle provider installation is pass......
    Thanks
    Lindsay
    Edited by: lindsaywang on Oct 6, 2008 1:28 PM

    I got it.
    Thanks,
    TD

  • How to handle the errors using RSRV tcode

    Hi all,
           Could any one give tell me how to handle the errors,(if possible give me some example errors)and correct the errors using RSRV tcode.
    Thanks & Regards,
    Aswini.

    Hello Aswini,
    For further details on RSRV go through the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/92/1d733b73a8f706e10000000a11402f/frameset.htm
    Hope it helps
    Cheers
    SRS

  • How do I fix error code 1406 when downloading Adobe Reader

    How do I fix error code 1406 when trying to download Adobe Reader, using Windows 7 Pro, 64 Bit.

    Hi ldpowell44
    Plesse refer the below Document : http://helpx.adobe.com/acrobat/kb/error-1402-error-1406-acrobat.html

  • TS3297 How do I resolve error code 8003 when I try to empty the trash?

    How do I resolve error code 8003 when I try to empty the trash?

    Try this Discussion from the More Like This  section...
    https://discussions.apple.com/message/18549254#18549254

Maybe you are looking for

  • Problem in triggering the code for CO02 User Exit

    Hi, I am using the code for the Tcode CO02 (User Exit) and i am facing a problem that when i am using the code as a normal program it is executing fine and displaying the pop up window and showing the data in it. But when i am using that code in the

  • Condition types for Insurance and Duties - Export sales

    Hi Friends, Please let me know the condition types i can make use of for capturing the Insurance and duties paid during export salesand also the condition type for capturing the commission. Thanks Ivy

  • Regarding "Friend Function" in Object oriented Abap.

    Hi! Every Body, I need to know about this friend function in ooabap. 1. Clear Definition. 2. i need program too. 3. What is the use Of friend function? 4. wht is the difference from java and ooabap using this function. if any body replies for my quer

  • Looking for Standard BAPI's

    Hi All, 1. If I give Sold-to,should return Payer, Bill-to and Ship-to Party...Can anyone please let me know is there any standard BAPI ? 2.If I give Sold-to, Should return the Shipping Instruction text and so-on (Go to Sales Area data tab for a custo

  • Dataguard - Backing up the Standby Server

    I'm running a standby and primary 10gr2 database in a dataguard configuration. Is it possible to backup the standby database and have all the same data and funcationality as the primary?