Application upgrade to sqlplus in the "Runtime environment".

Hello

We have a production server to top "Runtime environment" installed 4.0.2. It wasn't a problem to import our application for the first time in SQLplus by running the sql export script. But when we try to update already installed the application in SQLplus with a new version, we get an error:

SQL > @c:\f101.sql;
REQUEST 101 - test.xxx
Set credentials...
Check the compatibility...
Last API extended: 20100513
Your current Version: 20100513
This import is compatible with the version: 20100513
COMPATIBLE (you should be able to perform this import without problem).
Set Application ID...
Start
*
ERROR on line 1:
ORA-20001: 101 Application has not been deleted. Import will not be attempted.
ORA-06512: at "APEX_040000.WWV_FLOW_API", line 327
ORA-06512: at line 4 level

How we solve this problem?

NOTE:
(1) We MUST import the application with the same app ID,
(2) we cannot use SQL Developer or Web management interface (this is installation of Runtime Environment) - the SQLplus is one option

Many thanks in advance,
Alexander

OK, nevermind, I think I know what the problem is. I tried it in the sql workshop and that's why it worked for me.

To do it (with the name of your workspace):

DECLARE
l_ws NUMBER: = apex_util.find_security_group_id('NAMEOFYOURWORKSPACE');
BEGIN
wwv_flow_api.set_security_group_id (l_ws);
wwv_flow_api.remove_flow (101);
END;

Tags: Database

Similar Questions

  • Run the Application in the runtime environment

    Good afternoon

    I installed the full development and the APEX runtime environment and created an application. Now, I'm trying to figure out how to launch the application in the runtime environment...

    I searched the forum, but I did find something similar to this request... Or I ask the wrong question... Any help that can be provided will be greatly appreciated!

    Thank you in advance.

    Donald

    End users don't see that. You will see if you are connected to the development environment in the same browser session.

    Scott

  • Tables in the schema APEX_050000 not granted to the PUBLIC in the runtime environment

    Hi all

    I compare development and Runtime environment APEX_050000 property schema and subsidies.  I have no error in two newspaper plants

    Select count (*) in the dba_tab_privs where owner = 'APEX_050000' and recipient = "PUBLIC";

    In development, count = 270, at runtime, count = 109

    Select count (*) in the dba_synonyms where owner = 'PUBLIC' and table_owner = 'APEX_050000. '

    To = 293, runtime development County, County = 270

    Is this a bug?  I'm running on DB 11.2.0.4

    Any script available in APEX I can run to grant so many pictures?

    Thank you, Dorothy

    Dorothy salvation,

    a single runtime system has intentionally less public synonyms and subsidies, because we do not install all the packages that are needed for a dev environment. But see wwv_flow.accept null off the coast of the element leader through the runtime environment to find the declaration of re - create these synonyms/grants.

    Concerning

    Patrick

  • page apex_admin not display for the runtime environment and application deployment using command-line

    Hello

    I installed APEX 4.2.6 EPG on Windows 7 Professional (32 bit) with Intel Core i3 processor.  Oracle XE 11.2 Win-32 DB.

    All the installation steps followed according to the Installation guide for the Apex.  It is a fresh and new installation.

    img1.png

    Install the log shows below -.

    Thank you for the installation of Oracle Application Express.

    Oracle Application Express is installed in the APEX_040200 schema.

    SQL > SELECT DBMS_XDB. GETHTTPPORT FROM DUAL;

    GETHTTPPORT

    -----------

           8082

    I did only the installation of runtime using apxrtins.

    ' Step ' grant of privileges of connection "according to the document was smooth without any problems.

    SQL > ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope = both;

    Modified system.

    SQL > ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE = BOTH;

    Modified system.

       

    I played "Creating a workspace manually" and met above question.  For installation of runtime, is this unnecessary step?  Or any other step I'm missing?  Help, please.

    Thank you and best regards,

    -Anand

    Hi Anand,

    anand_gp wrote:

    All the steps I did in my development environment and no problem following the steps.  And there is no question of the problem of the EPG or a bad image of loading because the other workspaces and applications out there are working well.  My question was, when I tried to copy an application via command line in an another 'new space and work with some new application ID', wheather my steps were correct?  If so, then why does not using the URL of the application.  And since it is in full flight development environment, where other workspace / applications work fine, how to connect to the new workspace I created using the command line?  If you look at my steps, I did provide any user name and password associated with this workspace all in creation.  When all this is going very well, so I will try in my new machine that has only run-time environment.

    Thank you

    -Anand

    I think you missed the validation part. You're going to make after the installation of the application as well as the addition of workspace

    commit;

    Hope that solves your problem.

    Kind regards

    Jitendra

  • Backward compatibility of the runtime environment (RTE)?

    Hey all,.

    Until I go post this on the exchange of ideas, I just wanted to make sure that it it is indeed true that RTE 2012 is not compatible with the TEN 2010 (or any other previous RTEs also).

    Thank you

    It is true.  You need the TEN corresponding to the version of LabVIEW in which you have compiled your application.  I am looking for the exchange of ideas, because I think I've seen that idea before and he was shot, by NEITHER.

  • Creating Cloud applications does not open in the business environment

    same question as in creative cloud & authentication proxy? #39. I created the file with the collector logging tool ('AdobeLogs-20052015-1159 - f0135n_0.zip'). How can I provide archive collection of the newspaper? I can't find a way to contact support instead of this forum. Thank you!

    Hi Andreas,

    Please see the below help document to solve the firewall problem:

    https://helpx.Adobe.com/creative-cloud/Packager/creative-cloud-Packager.html (Site/port information)

    In addition, please refer to the link below to contact support by calling/chat:

    Contact the customer service

    Kind regards

    Sheena

  • Front view without installing runtime environment remote

    Hi all

    I have a question about the LabView software.

    I am currently using LabView 2014 to develop applications that the user can access distance front panels (from the executable applications).

    In view of the concerns of the customers IT department, now I'm looking for a way to provide access to applications without having to install the runtime environment.

    I found some documents about this issue, but there is only a mention of the internet plugins explorer (which is not enough to display the Panel before correcly).

    What is necessary for the execution of the façade remotely within a window of internet explore?

    Best wishes

    Andrei

    Remote façade panels requires both the plugin for the browser you are using and also require the appropriate version of the LabVIEW run-time engine.

    You can have a look at the WebSockets link in my signature - we had a lot of success to create signs at base of remote web for our software using WebSockets. There is a presentation and an example here: https://decibel.ni.com/content/docs/DOC-41778. With the help of my library allows you to create your own UI using html/css/javascript and communicate with a LabVIEW application.

    You should also check out LabSocket - this is a replacement for the outside from facades of WebSockets so it should save you having to create the user interface yourself, because it uses the front panel of your VI.

  • APEX 3.2 error upgrading of Runtime Environment

    After successfully after improved our development of 3.1.2 to 3.2 environment did us a upgrade of our production environment where only a runtime environment is installed.
    The statement was made following the documentation for installation/upgrade of the APEX
    SELECT * 
      FROM apex_030200.wwv_flow_upgrade_progress
     WHERE upgrade_error IS NOT NULL
    ;
    The result was the following:
    UPGRADE_ID UPGRADE_ UPGRADE_SEQUENCE UPGRADE ACTION UPGRADE_ERROR                                                         UPGRADE_COMMAND
    ---------- -------- ---------------- -------------- --------------------------------------------------------------------- ------------------------------------------------------------------
             1 19.03.09              704 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_PROJECTS to public
             1 19.03.09              705 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_ACC_PROJECTS to public
             1 19.03.09              706 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_ACC_TABLES to public
             1 19.03.09              707 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_ACC_FORMS to public
             1 19.03.09              708 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_ACC_RPTS to public
             1 19.03.09              709 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_ACC_QUERIES to public
             1 19.03.09              710 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_REV_FORMS to public
             1 19.03.09              711 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_REV_RPTS to public
             1 19.03.09              712 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_REV_QUERIES to public
             1 19.03.09              713 error on grant ORA-04042: procedure,function,package, or package body does not exist grant execute on APEX_030200.APEX_MIGRATION_REV_TABLES to public
    Since there was no error in the table when we went to our development environment, I have reviewed the install scripts.
    The first glance the ORA is a bit confusing because the objects are procedures, functions, packages or package bodies but views.
    These views are created only during the installation/upgrade a development environment.

    After you have selected the dba_registry
    SELECT version
         , status 
      FROM DBA_REGISTRY
     WHERE comp_id = 'APEX'
    ;
    the view of the dictionary said a valid installation of APEX. So I guess it's just a small bug with the runtime environment upgrade that could be ignored.

    Anyone have the same experiences during the upgrade of its execution environment?

    Big names

    Andreas

    Hi Andreas,

    Thank you for bringing This problem to our attention. As you said, this is a minor bug with an upgrade of the runtime environment and errors can be ignored.

    Mistakes refer to views that are not created during the installation/upgrade a runtime environment. The point of view of the Migration of applications are not part of a runtime installation, and that's why these errors should not be in the APEX_030200.wwv_flow_upgrade_progress table. Bug 8351256 has been noted to follow up this issue.

    Kind regards
    Hilary

  • wwv_flow. Accept null off the coast of the element leader through the execution environment

    Hi all

    I use APEX 5.0 running on ADR and Tomcat.  Element browse file uses the type of storage APEX_APPLICATION_TEMP_FILE.

    In development env, I create a simple form with a selection list, item file browse and view the field to display the value of the item when click on the "submit" button.  It is the result of the tests in run mode

    I export and import the script execution environment and you can see he has selected file

    The result in Runtime Environment prompt filename must have a certain value because it is obligatory validation and display field is empty.  Perform a validation system at wwv_flow.accept

    Below the log tool Chrome Developer collected

    < / select > < / div > < / div > < div class = "Form-t-fieldContainer-rel - col" id = "P1_FILENAME_CONTAINER" > < div class = "Form-t-labelContainer col col-null" >

    < label ID = "P1_FILENAME" = "P1_FILENAME_LABEL" class = 't-forms-labels' > Filename < span class = "u-VisuallyHidden" >(Value Required) </span > < / label > < span class = "t-form-required" > < span class = "Icon-icon-asterisk" > < / span > < / span >

    < / div > < div class = "t-Form-inputContainer col col-null" > < input type = "hidden" name = "p_arg_names" value = "18666865580678664" / > < input type = "file" id = "P1_FILENAME" name = "p_t02" needed aria-required = "true" class = "file & #x 20; Apex-page-point-error"size ="50"/ > < span class = 't-form-error' > Filename must have a value. < / span > < / div > < / div > < div class = "t-Form-fieldContainer-rel - col" id = "P1_DISPLAY_FILENAME_CONTAINER" > < div class = "t-Form-labelContainer col col-null" >

    < label = "P1_DISPLAY_FILENAME" ID = "P1_DISPLAY_FILENAME_LABEL" class = 't-forms-labels' > view the name of the file < / label >

    < / div >

    Anyone this encounter in the runtime environment?  Any special action to import what item type to browse file?  What is the possibility of this issue?

    Thank you, Dorothy

    Dorothy salvation,

    have you ever tried to turn the logging/debugging in ADR? See https://cdivilly.wordpress.com/2013/03/08/configuring-logging-in-oracle-application-express-listener-2-0-1/

    (This will work also in ADR 3).

    When I started ADR mode autonomous and presents a page with a downloaded file (named kirschbaumhaus.txt), I see the following output in the console of ADR window. You see a similar output when you try with your single runtime system. I think that your question is not in the APEX (because we never see the file name), instead, it could be that ADR is not able to store the file in the WWV_FLOW_FILES.

    {p_page_submission_id=939808037044, p_request=New, p_flow_id=104, p_instance=16677270668553, p_flow_step_id=2, p_arg_names=1932112550244117}
    p_request=New
    FILE: kirschbaumhaus.txt
    TYPE: text/plain
    UNZIP:false
    {p_page_submission_id=939808037044, p_request=New, p_flow_id=104, p_instance=16677270668553, p_flow_step_id=2, p_arg_names=1932112550244117}
    p_flow_id=104
    {p_page_submission_id=939808037044, p_request=New, p_flow_id=104, p_instance=16677270668553, p_flow_step_id=2, p_arg_names=1932112550244117}
    p_flow_step_id=2
    {p_page_submission_id=939808037044, p_request=New, p_flow_id=104, p_instance=16677270668553, p_flow_step_id=2, p_arg_names=1932112550244117}
    p_instance=16677270668553
    {p_page_submission_id=939808037044, p_request=New, p_flow_id=104, p_instance=16677270668553, p_flow_step_id=2, p_arg_names=1932112550244117}
    p_request=New
    request parameter: p_t01=1940850026051534/kirschbaumhaus.txt
    Form field: p_md5_checksum with value:  detected.
    request parameter: p_md5_checksum=
    

    You can also try to recreate your grants and public synonyms, because I saw you another thread with a different number of grants... I guess that the file upload fails due to a missing grant/synonym.

    $ sqlplus /nolog
    SQL> CONNECT SYS as SYSDBA
    Enter password: SYS_password
    
    ALTER SESSION SET CURRENT_SCHEMA = APEX_050000;
    exec wwv_flow_upgrade.recreate_public_synonyms('APEX_050000');
    
    select * from wwv_flow_upgrade_progress;
    ALTER SESSION SET CURRENT_SCHEMA = SYS;
    

    Concerning

    Patrick

  • Steps to APEX Dev to Prod runtime environment

    Hi all

    I use 5 APEX with ADR running on Tomcat.

    This is the first time I deploy APEX.  I have finished my development environment and would prod ports over which is the execution environment.

    1. I am confused with APEX_APPLICATION_INSTALL and APEX_APPLICATION_ADMIN.

    Refer to

    (YABAOAE) yet another Blog about Oracle Application Express

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    Thank you, Dorothy

    Dorothy salvation,

    Congratulations at the end of your first application!

    As the PROD has no workspace configuration, if the option workspace_id to apex_workspaces, there is no workspace in PROD.  This means that I have to run

    APEX_INSTANCE_ADMIN. ADD_WORKSPACE ('11234444', 'Nom_espace_de_travail', 'SCHEMA_NAME', null);

    Instead of

    apex_application_install.set_workspace_id (n_workspace_id);

    In fact as a Setup for your PROD, I suggest that you export your existing workspace of DEV and import in the PROD. This has the advantage that the ID of the workspace will remain the same, which will make easier the installation of applications. You run the import script of the workspace as SYS. The export of the workspace can be created via the Admin Instance INTERFACE.

    2 If the DEV and PROD must have the same schema and application id, that means I just run the script that I export application after the fixed workspace and the schema. for example, f101.sql?

    If you are creating the workspace with the export script you will not have to do anything before @101.sql running (you'd connected via the schema of your workspace or as SYS)

    3. I have import E2Collections plugin, how do I import this plugin in the runtime environment?

    The plug-in is part of your export app. No further action necessary installation.

    Concerning

    Patrick

    ---

    Member of the APEX development team

  • steps to update of application in the development environment runtime environment

    Hello

    I have APEX 4.2.6 development environment and same version runtime environment.  There is little change, which happened in the forms and the underlying objects in the DB (developing approx.).  Help me please in the list of the steps needed to apply these changes to the runtime approx.  To my knowledge, I should 1st sync DB objects and then take application export development and import at run time.

    Can you let me know how to synchronize objects DB?  Dump export and import is not possible because "runtime" environment has the most recent data changes.  Otherway is to make changes to the DB object individually and manually.  Is it possible that this can be done using scripts/tools?

    And what about import application?  Is it just connect to the 'runtime' DVRs. SQLPLUS and run @f110.sql?  Please let me know the exact steps.

    Thank you and best regards,

    -Anand

    Hi anand_gp,

    You mean (for the import of application), I need to execute all the steps below to update the existing application (get the workspace ID, approx. set ID, etc.,)?

    And thank you to provide links on how to modify objects in the DB.  I'll go through them.

    Yes, and it will create a new application in your workspace.

    If you want to have the same id of the application (whether it is your production application), you can delete the existing application using APEX_INSTANCE_ADMIN. REMOVE_APPLICATION (remember to commit after each step) and then import with above in the light of the steps.

    If you want to have both the old and the new application in your production work space, you can use the alias of the application while publishing the URL.

    When you deploy a new version of the application, simply change the alias of the application, so that it becomes your current application.

    I hope this helps!

    Kind regards

    Kiran

  • Possible to set the availability of applications in a runtime environment only?

    Hello
    I use apex 4.1.1.00.23.
    I wonder if it is possible to 'freeze' a production application APEX in an installation of runtime only, during an upgrade. I want to prevent strange behavior for logged in users. In the application builder, you can set the availability of the application. I thought antinutritionnel the application during the upgrade. Is this possible in a single TERM env? How? Or (better) alternatives?
    Thanks in advance.
    JB

    Hello

    Try this statement:

    begin
       wwv_flow_api.set_security_group_id(apex_util.find_security_group_id(''));
       wwv_flow_api.set_flow_status(, 'UNAVAILABLE');
    end;
    

    Kind regards
    Erik-jan

  • Different Options for EBS Applications R12 upgrade and the technological environment

    Hi all

    Upgrade to 11.5.10.2 to R12.1.x requirement

    I'm looking for a few good documents on the subject covering the pos and cons on the following topic:

    Different upgrade Options for

    (1) EBS R12 Applications and
    (2) the technological environment


    Could someone please share on experience encountered previously.

    Thanks for your time!

    Kind regards

    Amit,

    You can find these options in the manuals ' Setup Oracle E-Business Suite Guide: using quick installation "and"Oracle E-Business Suite Concepts"- http://docs.oracle.com/cd/B53825_08/current/html/docset.html

    Thank you
    Hussein

  • How can I remove J2SE Runtime Environment 5.0 update 11. Application of transformation error when you use Add/Remove programs

    Cannot remove J2SE Runtime Environment 5.0 update 11 or Java or Java 2 Runtime Environment SEv1.4.2_6.

    Add/Remove Programs DOES NOT WORK.  Message received when you try to remove programs is, "error application of transformations".

    Java (TM) 6 Update 21 is installed on my computer.

    Please let know us the step by step procedure to remove the old Java programs.  Thank you.

    E-mail address is removed from the privacy *.

    use revo uninstaller

  • Old ID is constantly on the phone and I can't change it: try to upgrade of storage, but the old ID happens and I can't change it.  In settings/applications

    Old ID is constantly on the phone and I can't change it: try to upgrade of storage, but the old ID happens and I can't change it.  In settings/applications & iTunes the correct ID is set but not in the settings/iCloud

    Is this a separate id, or you have successfully updated the primary e-mail address on the account? You can disconnect an account iCloud through settings > iCloud > Sign Out, and then log back from the other/updated id to update

    If you have updated the main email address: what to do when you have changed your Apple ID email address or password - Apple support

Maybe you are looking for

  • How can I delete a specific cookie, not all, Safari 9.0.3?

    How can I delete a specific cookie, not all, Safari 9.0.3? I'm running Safari on El Capitan, 10.11.3 on a late 2008 macbook pro.

  • NEITHER USB 6008

    Dear all! I'm looking for help on the NI USB-6008 case. I'm putting in place 4 K thermocouples using this USB-6008 4-channels. I made an express VI in the Labview 8.5 and I have installed all these 4 channels in this VI. The VI is attached for your r

  • I have to hold down the fn key to type

    I just bought this computer 5 days ago its an Acer laptop Aspire One and I pressed the fn key to type for example if I want to hit j then number 1 appears. Also if I want uppercase I have to hold down the FN key and shift at the same time key to get

  • TimeoutException when Simulator start

    I use the Eclipse plugin for developing and sometimes became the Java error "org.eclipse.jdi.TimeoutException" when I run the Simulator. This happens with the Curve 8310 simulators and 9000 "BOLD". The Simulator appears, but it seems that the debugge

  • Cisco MDS 9 k series

    Hello I'm new to this switch. I want to configure SMTP alerts every time that a failure of port / hardware problem happens on the switch. Kindly help, how we can set this up. Thank you