upgrade from 3.2 to 4.1 - error handling for the unavailable database links

Hello

I have a 3.2-> upgrade problem 4.1 associated with error handling for the damaged database links.

I have a conditional button Exists on a page that contains a SQL query to related tables. However, for 10 minutes every day where the target of the link database becomes a cold backup, the query fails. In the apex 3.2 old, I just had an error within the region where the button is located but otherwise, the page was still visible:

"Is not valid/not exists condition: ORA-02068: following a serious error of MYDBLINK ORA-01034: ORACLE not available ORA-27101: there is no shared memory realm."

However, in the apex 4.1.0.00.32 I get the following unhandled error and click 'OK' brings me to the edit page when logged in as a developer.

that is, the page cannot run at all so that the links to the database fail to this one area.

Treatment of error condition.
ORA-12518: TNS:listener could not hand off client connection
Technical information (only visible for developers):
is_internal_error: true
apex_error_code: APEX. CONDITION. UNHANDLED_ERROR
ora_sqlcode:-12518
ora_sqlerrm: ORA-12518: TNS:listener could not hand off client connection
Component.type: APEX_APPLICATION_PAGE_REGIONS
Component.ID: 4
Component.Name: alerts today
error_backtrace:
ORA-06512: at "SYS." WWV_DBMS_SQL', line 1041
ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 687
ORA-06512: at "APEX_040100.WWV_FLOW_CONDITIONS", line 272

Users generally see this:

Treatment of error condition.
ORA-01034: ORACLE not available ORA-02063: preceding the line of MYDBLINK

by clicking on 'OK' takes the user to another page, don't know how the Summit decides that, but not a concern at the moment.

I did a search and read the http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/ page, but the new apex error handling is not clear to me, and I don't know if the apex_error_handling_example provided on this page would be applicable to this situation.

Hello

It was my fault, I forgot that the code will be compiled on the fly which already fails if the table/view of deletion is not accessible. Nice that you found yourself workaround.

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • I'm trying to upgrade from windows vista to windows 7. whenever I start the upgrade, that he told me that count it needs to restart to allow changes to the file system.

    I'm trying to upgrade from windows vista to windows 7. whenever I start the upgrade, that he told me that count it needs to restart to allow changes to the file system. I restarted several times now and get the same message. What should I do to ensure that this computer can be upgraded?

    Hello

    Run the windows Upgrade Advisor 7

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=1b544e90-7659-4BD9-9e51-2497c146af15

    and repost in the windows forums OK 7

    Here is the vista forums

    Windows 7 forums on the link below

    http://answers.Microsoft.com/en-us/Windows/default.aspx#tab=2

    Answers by topic

  • Is it possible to upgrade from version Extended CS6 13.0 x 64 to the latest version?

    Is it possible to upgrade from version Extended CS6 13.0 x 64 to the latest version?

    Not sure what you mean by there. Cs6 is the "last" standalone version. For anything else you need to register for creative cloud and at best your existing license will be good for a discount on the first year. The rest is irrelevant by all means.

    Mylenium

  • ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool'.  Check your error messages for the cause of the error. (= < POINTER >)

    Dear team,

    We have for instance R12.

    DB - 11.2.0.3

    12.1.2 - application

    in this concurrent instance depressed frequently when checking of log file showing the error as

    List of errors encountered:

    .............................................................................

    _ 1 _

    Systematic FDPCRQ met an ORACLE error. ORA-04031: unable to

    allocate 32 bytes of shared memory ('shared pool'.

    Check your error messages for the cause of the error. (= < POINTER >)

    .............................................................................

    APP-FND-01388: cannot read the value for the profile FND_MGR_STRTUP_THRES_TIME option in the routine, and routine.

    List of errors encountered:

    .............................................................................

    _ 1 _

    Routine AFPCAL has received the code of failure while running or analysis of your

    simultaneous program CPMGR


    Examine your log file of concurrent application for more information.

    Make sure that you pass arguments in the correct format.

    Post: WARNING: mail_queue_enter: create file maildrop / 379309.437: permission denied

    Please guide me to solve this problem.

    Concerning

    Kumar V

    Dear Kumar,

    I suggest you to check the FND_NODES table

    1) connect to SQLPLUS as the APPS user and execute the following statement:

    Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';

    (2) If you have found that FND_NODES table with entries incorrect node (old node from the Source Instance), and then run the query to clean below

    EXEC FND_CONC_CLONE. SETUP_CLEAN;
    COMMIT;

    (3) then run AutoConfig on all stages, firstly on the DB layer then APPS and webtiers levels to repopulate the necessary system tables,

    and make sure that you are now able to see the correct entries in the FND_NODES table and start the application services.

    Kind regards

    S27

  • A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error

    Hi all


    I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
    tnsnames.ora file:
    ...
    DGPAPROD.WORLD = 
         (DESCRIPTION = 
           (ADDRESS_LIST = 
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
             ) 
           )
           (CONNECT_DATA = (SID = DGPAPROD))
        )
    ...
    Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:
    $ sqlplus username/[email protected]
    It works pretty well and the connection is established without any problem.

    Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
    the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205

    This is why I run the following to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
    Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this query
    (myenterprise is the name of a table in the remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    What causes this problem?

    Thanks in advance,


    Kind regards
    Dariyoosh

    You must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.

  • During startup, I get an error message that the registry database cannot find a file and modify registry to delete the reference to the file in the registry. How can I do this?

    Original title: Registery Error Message

    During startup, I get an error message that the registry database cannot find a file and modify registry to delete the reference to the file in the registry.  How can I do this?

    Hello

    • What were the changes made before the problem occurred?

    I recommend you perform the clean boot.
     
    Configuration of your system in a clean boot state helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.
     
    See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:
     
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135 
     
    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • HOW CAN I FIX THE ERROR: "REGISTRATION FOR THE SERVICE IS MISSING OR DAMAGED?

    HOW CAN I FIX THE ERROR: "REGISTRATION FOR THE SERVICE IS MISSING OR DAMAGED?

    When you see this error message?

    IF its all in trying to make an update, then:

    Make sure that the following services are listed and started. in "search programs and files" type "services" (without the quotes). In the results, click on 'services' and the services window should open.

    Make sure that the following is listed and started:

    Background Intelligent Transfer Service

    The base filtering engine

    Cryptography Service

    DCOM Process Launcher service

    Remote procedure call (RPC)

    RPC end point mapper

    Windows Modules Installer

    Windows Update

    IF it's trying to make an update and the foregoing is listed and running, then try this fixit - https://support.microsoft.com/en-us/kb/971058 to see if it helps.

    PS - if one of the services above are not listed, or is listed but not start, then see if you can update your antivirus program and run a scan full to see if it detects malicious software. Then, run the fixit above.

  • error R32762: # Error: error looking for the specification of resources.  Need to 'resource' or 'type '.

    I properly wore some of my CS5 developments. I used the following procedure:

    -create new project using dollyX

    -Add the source code

    -fix errors

    But now I encountered an error that I can't understand.

    Error 1 error R32762: # Error: error looking for the specification of resources.  Need to 'resource' or 'type '. C:\Program Files\Adobe\CS5\InDesign product SDK\source\public\interfaces\architecture\IPMUnknown.h 47

    Any suggestions?

    Im running a machine windows7, visual studio 2008

    Hello Pectora:

    Have you checked to make sure that your file .FR is get compiled with the #defines suitable for the appropriate build (i.e. debugging to debug, etc.), and that all agree resource files names (like the generation pre and post and the resources)?

  • upgrade from 5.1 to 6.0 vCenter fails with the error

    Hello together!

    We wanted to do an upgrade of vCenterServer 5.1 to 6.0.

    But we get an error after that I have to enter the vCenter Server credentials.

    It is the following error message:

    Error: IP address: xxx.xxx.xxx.xxx is present in the certificate subject names alt but under DNS key.

    This ip address cannot be used for installation.

    Resolution: use a dns name or ip address that is present in the subject of certificate alt names or regenerate the ssl certificate for the SSO before continuing.

    I don't know what to do.

    I think that Yes, that's what he meant.

    Quick question: have you checked with HCL before the upgrade?

    VMware Compatibility Guide: System search

  • Upgrade from Indesign CS5.5 not install error "update is not applicable.

    Updated to Yosemite, reinstalled legit CS5 InDesign successfully, need to download the upgrade to 5.5 for the most part "shared content" plugin... the update will not install error 'update is not applicable' w no request an activation code, just moved. InDesign 5.0 was working fine, I just need a few extensions

    You can update cs5: http://www.adobe.com/downloads/updates/

    but you can't upgrade to cs5.5.

    You can upgrade to cc or cs6 (money).

  • On Windows 7 upgrade from vista 64 bit stops after that it says the settings and files of collection

    I am tring to install Windows 7 upgrade from vista 64-bit.  I'm to the point where it says collect files and settings, and it stops running, and then in the details it shows 3 files located in the c: users\my name\appdata\local\temp\WER followed by numbers.tmp, then version, appcompat or mdmp. (example: wer5090.tmp.version.txt)  He said that these files are the reason. Any ideas how to solve this problem?

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    If the upgrade continues to fail, you might want to consider doing a custom installation:

    Boot from the Windows 7 DVD
    Click Install now
    Accept the license agreement
    When the option is displayed to select a type of installation, click (Custom advanced)

    Select the disk partition where you want to install Windows 7 click Next.

    You will receive the following warning:

    The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.

    (At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK

    The installation program will now begin installation. During installation, your computer will be restarted several times.

    Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.

    You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.

    http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-Windows-old-folder/

  • vSAN upgrade from 5.5 to 6.0 - Timeout to complete the operation

    Hi all

    I've been running a 5.5 vSAN configuration identical to William Lam to the virtual Ghetto (a killer custom installation of Apple Mac Mini running VSAN | virtuallyGhetto) for some time and the only reason not to upgrade more far was because of wanting to maintain a configuration of 5.x Horizon view inherited who needs vCenter 5.5. I've now decided this should not dictate my whole environment then after a successful move to 6.0 on the hosts and VCSA, I thought I would upgrade to vSAN 6 to take advantage of the improvements it brings, not to mention to remove the nagging alerts on the vSAN update available.

    After running through the prerequisites this fact compensation involved in a number of vswp files inaccessible, vSAN reported a good state of health and so I started with the upgrade online, be sure to include - allow-reduced -redundancy I have a 3-node cluster.

    When running and after about 20 minutes of nail biting (by accepting the fact that his machines of laboratory accommodation only, their fate can be determined by the success of failure of the upgrade), I received the following in the TVR: -.

    : Deletion of this VSAN disk group failed

    : A general error occurred: could not evacuate data for disk uuid 52da00fa-c8f2-fdb8-924c-3007d480ac4d with error: timeout to complete the operation

    : Cannot delete the VSAN disk, leaving group.

    : Upgrade tool stopped due to the error, please address reported the problem and run the tool again to complete the upgrade

    Someone at - it guidance on how to approach the time-out, or he could escape that I would understand rather the root cause that blindly blow to remove all of the configuration and reboot.

    Thanks for your help!

    All the best


    Andrew

    Hi Duncan,.

    I managed to work around the problem in the end, in a weird way. I ended up changing the default vSAN FTT from 0 to 1 storage policy and reapplied to redistribute the data or the light evenly on the hosts as expected to the compliance of the report. After a few hours, I then changed the default vSAN strategy towards an FTT of 0 and again applied. By running the TVR command with the parameter - allow_reduced_redundancy again by the failed sequel, but a quick check on the vSAN has shown that the majority of data consumption was now on the hosts 2 and 3 with a tiny 3 GB of use reported against the disk of the host of the first group. At that time, I've been manually the disk group on host 1 (choose not to evacuate the small amount of data that has been left). After you re-create the disk on the host group, it automatically came back in as v2 and I repeated the process described above in the other two hosts effectively the content of vSAN brewing between the hosts and drop what I believe has been corrupted/no valid data on the host group could not be evacuated by the upgrade process.

    At the end of it, all my virtual machines survived the upgrade of vSAN.

    See you soon

    Andrew

  • Upgrade from 11.2.0.4 to 12.1.0.2.0 database

    I've updated the 11.2.0.4 Oracle database (standard) 12.1.0.2.0 (company) in a server/sand test using DBUA box. After the upgrade when I run a query to see if the database was created as the CBD or not (by selecting CBD in v$ database), I had the 'NO' as an answer to the database. The version of the database shows correct (12.1.0.2.0), but it seems that the option of database container is not available. Please let me know what I am doing wrong.

    FYI... I downloaded 12 c (12.1.0.2.0) Oracle on redhat Linux 6.0 to see the different options in 12 c before going for the issuance of permits.

    Thank you.

    This is perfect, thanks Omar Faruq & Agnes Collette.

  • Error handling and the basic flow data

    Hello

    I'm learning the basic error data and flow management. The seal is a simple VI to implement this.

    How do I implement this code to display an error.

    Thank you.

    You must assign a value of your choice for the cluster of error - in errors generated by the LabVIEW functions, error is already assigned/etc, but to find user customized errors, the user must assign values.  Just make sure you do not use the same error values that LabVIEW uses for predefined errors. If you do a search for error codes, you will be able to find this error varies from code - so pick something that is not already used.

    And Yes - using an error handler would be a simple way to accomplish what you're trying to do. This error handler will appear a message error only if your feature will remain smooth.

    -DP

    BatchTest Corp.

    NEITHER Alliance Partner

  • Error messages for the following updates several times?

    Update of security for Microsoft Office Access 2003 (KB981716)

    Update for the junk e-mail in Outlook 2003 (KB2202122) filter

    Update of security for Microsoft Office Outlook 2003 (KB980373)

    They are updated numbers you are quoting, not error codes!

    http://support.Microsoft.com/kb/2258121/en-AU

    You receive the error code 0 x 80070646 or 646 error code when you try to install Microsoft Office updates

    http://www.Microsoft.com/downloads/en/default.aspx

    Put the KB numbers in the search at the above link > download them manually.

    If the above does not solve it:

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon

    Mick Murphy - Microsoft partner

Maybe you are looking for