Apex 4: Upgrading Apex within Oracle XE

Hi,
This post is directed to Apex team .
Is it possible that instructions to upgrade Apex to XE found from below link is updated to include step to upgrade OWA_UTIL ?
http://www.oracle.com/technetwork/developer-tools/apex/upgrade-apex-for-xe-154969.html
Regards,
Jari

Hi,
i am using APEX 4 on apex.oraclecorp.com and was hoping to install XE and APEX 4 on my laptop for easier development purposes.
I installed XE and the APEX 2.1 that comes with it login nicely and i can use it.
I then tried to upgrade the APEX to APEX 4.
Used the following steps for the upgrade
1. sqlplus system/password as sysdba
2. @apexins SYSAUX SYSAUX TEMP /i/
3. @apxldimg.sql D:\util\oraclexe
4. @apxxepwd.sql password
I went back to the XE login page, it has the upgraded look and i tried to login but nothing happens!
I tried changing the password again using @apxchpwd
I then tried to login via http://localhost:8080/apex/apex_admin and the XE login page
Did i do something wrong?
Pls Advise and thanks in advance for any help.
NOTE : found the error, i didnt use the correct image directory.
Regards
Kian Chye
Edited by: Seow Kian Chye on Nov 1, 2010 6:14 PM

Similar Messages

  • Problems met when upgrading APEX within Oracle XE to APEX 4.0

    Hi,
    When I tried to upgrade APEX within Oracle XE to APEX4.0, I met problems.
    Here's how I did (I'm on windows 7):
    1. Downloaded the latest oracle xe database (based on 10.2.0.1)
    2. Installed it by running the setup.exe. The installation was success. And I can login to the database.
    3. Downloaded latest application express (4.0)
    4. Unzipped it into d:\
    *5. Run sqlplus as sysdba, and run the install script: '@d:\apex\apexins.sql SYSAUX SYSAUX TEMP /i/'*
    When doing this step, the sqlplus window closed quickly. I'm not sure whether this step is success as I can not find the log file in 'd:\apex' folder*
    *6. I continued to run sqlplus as sysdba again, and run the load images script: '@d:\apex\apxldimg.sql d:\'*
    When doing this step, some error messages in sqlplus window, saying:*
    SQL> @D:\apex\apxldimg.sql D:\
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'D:\/apex/images'
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    *+
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g onl
    *+
    ERROR at line 15:
    ORA-06550: line 15, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 15, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.29
    Directory dropped.
    SQL>
    *7. Then I kept on running the change password script: '@d:\apex\@apxchpwd.sql'*
    When doing this step, some error messages in sqlplus window, saying:*
    SQL> @D:\apex\apxchpwd.sql
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user              []
    ERROR:
    ORA-01435: user does not exist
    +...changing password for ADMIN+
    wwv_flow_security.g_security_group_id := 10;
    *+
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Could anybody help me on this problem ? Thanks a lot.

    Hi,
    I assume your install did fail.
    As you can not find log file I assume it is something relating folder permissions.
    I do not know folder these permissions work in Windows.
    But try give everybody read/write permission to your d:\apex.
    Then try again
    Regards,
    Jari
    Edited by: jarola on Mar 11, 2011 3:58 PM
    And change your working directory to d:\apex before you run scripts.
    Then you can run just
    @apexins SYSAUX SYSAUX TEMP /i/And see this guide
    http://www.oracle.com/technetwork/developer-tools/apex/upgrade-apex-for-xe-154969.html

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • How to upgrade APEX to 3.2 in Oracle 10g XE

    I installed the Oracle XE on my PC and it works fine for me. Now I want to upgrade APEX to version 3.2. After download the zip file online and unzip it, the file couldn't be run in Sql*Plus with error message "can't open file apexin.sql". My guess is I didn't change my working directory to the APEX fold which contains the unzipped files. But I have no idea how to do it?
    So any help or suggestion?
    Thanks!

    "can't open file apexin.sql" Is that a typo ? Correct name is apexins.sql.
    My guess is I didn't change my working directory to the APEX fold which contains the unzipped files. But I have no idea how to do it?Did you read the documentation ?

  • Upgrade Oracle database 10.2.1.0 to 11gR2 without upgrading APEX

    Hi,
    How can we upgrade Oracle database 10.2.1.0 to 11gR2 without upgrading APEX? We currently have APEX 3.0 running in our 10g databases and don't want these APEX schemas to be upgraded to APEX 3.2.x during the database upgrade. We'll want to test everything before upgrading these APEX schemas manually to 4.1.1 later.
    Thanks.
    Andy

    Pretty sure running the 11gR2 catalog upgrade won't touch your apex. Can't speak for using the upgrade utility, never used it.
    Windows? Or *nix hosts? On windows fixing the oradim setups are more of challenge.                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Clustered listener gets nothing back from APEX after upgrade to 4.1.1

    Hi,
    I'm not sure if that subject is entirely accurate, but that appears to be the effect we are experiencing. We have had an SR open for this since April and seem to have the engineers stumped. Maybe someone on here has some insight that may help...
    Environment: Seven APEX instances
    APEX 4.1.1 (problem started after upgrading from 4.0.x) running on an 11g RAC.
    Listener version 1.1.3.243.11.40 running on WebLogic 10.3.2.0
    Listeners are in 2x clusters on two different WebLogic domains spread over 4 different servers.
    Problem:
    In two of the apex instances, a couple of days after upgrading to 4.1.1, the listeners starting returning blank, empty pages to the browser. We went through all the usual debugging steps (/i/ directory, connectivity, etc) and nothing fixed the problem. Finally the only thing that fixes the problem is to shut down one of the two clustered WL managed servers running the listeners, reducing the listener to a single instance per APEX instance. Like clockwork, if the second managed server is brought back up, within minutes-to-hours, the listener starts returning blank pages to the browser. Just a couple of days ago, a third apex instance and its listeners has started to manifest the problem and had to be half shut down. We are beginning to think there is a bug in APEX 4.1.1 that deadlocks the listener (or something) when it is clustered...
    Other data points:
    The listenerAdmin and listenerStatus pages continue to work and report perfect health for all listeners involved.
    The APEX management console (p=4550:1) is also affected by the problem, not just apps.
    We ran the "apex_verify" script on all problem instances with no errors.
    We have hard rebooted all affected servers, with no change in the problem.
    This identical environment was running perfectly stable, clustered for many months on APEX 4.0 (and before).
    The only thing that keeps our APEX apps running is to run the listeners single instance (un-clustered).
    Thanks in advance for any help that anyone can provide on this very annoying problem!
    Brian
    Edited by: bpoarnet on Jun 12, 2012 12:51 PM

    Udo wrote:
    So it's somewhere within your WLS setup.Mmm... I won't discount anything, but I doubt it. If that were the case, how could this exact environment have managed to work flawlessly for the past 3 years on these clusters, the listener being upgraded several times through several versions of apex? Only directly after we upgraded apex (not the listener) to 4.1.1 did our troubles start. My suspicion is that there is a bug or a change in 4.1.1 (or maybe 4.1 as we applied 4.1.1 right after 4.1) that has manifested this problem for us.
    >
    They definitely are not being used equally, but none of them are being slammed. Usage is fairly light in all cases.... which sounds like if there is some kind of load balancing algorithm different from round robin in your scenario.Ahh, I misinterpreted your question. You were asking if the load is balanced fairly between nodes on the same cluster. I took you to be asking if our separate, unrelated apex instances get the same use. So, the answer then is "yes" hits to a single listener WLS cluster do appear to be getting assigned equally to the different nodes, and the clusters are installed as per the documentation with round-robin scheduling.
    ####<Jun 11, 2012 11:07:31 AM EDT> <Warning> <Socket> <hostname> <server-name> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <1339427251735> <BEA-000450> <Socket 5 internal data record unavailable (probable closure due idle timeout), event received 17>That could probably have a lot of reasons, but none of them is specific to APEX Listener. Google gives a lot of hits ranging from memory issues to missing classes, and ... duplicate configuration parameters, e.g. app names, jdbc pool names, etc.... and of course, I'm not convinced that this has much to do with the problem at hand. It just happened to be in the log at around the time that someone noticed the problem happening in one case.
    Could it be your APEX Listener is deployed multiple times on the same node using the same name?Good thought, but definitely no. We figured out that issue a couple of years ago, back when you had to hack the listener WAR file to make it use a non-temporary config.
    Lastly, I just want to thank you again Udo for patiently digging into this. We now have three SR's open with Oracle on this (RAC team, APEX team, and WebLogic team) and we have gotten nowhere yet with any of them...

  • Problems with charts after upgrading APEX from 3.2 to 4.1

    After upgrading apex from 3.2 to 4.1 the combination stacked bar/Stepline charts no longer works. Any help would be appreciated.
    Thanks.

    Hi "904055",
    I believe the reason your chart is no longer working is because you are attempting to generate a chart type that is not covered by our AnyChart Flash charts license i.e. Stepline charts are not one of our support chart types. We only support the chart types exposed via the Application Express UI i.e. the chart types listed in the Create wizards. If you wish to create other AnyChart chart types, you will need to contact AnyChart directly, in order to obtain a separate license and swf file.
    If you believe that your chart is only using chart types covered by our license, but are still experiencing issues, then please place a testcase on apex.oracle.com, post some login credentials, and I'd be happy to take a look.
    Regards,
    Hilary

  • Apex 3.1.2 with Oracle 11G - /i/ alias question

    I just recently installed Oracle 11G with Apex 3.0 and then upgraded Apex to 3.1.2. I am able to login and do most of the regular tasks. I built an application using custom flash components. When I used Apex with Oracle 10G, I can copy the SWF files to the directory mapped to /i/ alias and it worked fine.
    Same is not working with 11G. First of all I am not sure to what path the /i/ in 11G is mapped to. Any help is greatly appreciated. I used Embedded Pl/Sql gateway.
    Thanks
    Karthik
    Edited by: karthikm on Dec 30, 2008 4:40 PM
    Edited by: karthikm on Dec 30, 2008 4:40 PM

    Dingfei,
    You need to make sure that you have access to the "i" folder. Make sure that the alias defined in your dads.conf is properly configured.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • APEX newbie - upgrade to 3.2.1 issue

    Dear friends at the APEX forum:
    I'm glad to have decided for Oracle APEX as my new development environment and expect you guys and girls may help me solving some troubles I'm having while starting my journey with this tool.
    I have just tried to upgrade my APEX from the original version that comes with Oracle 10g XE to version 3.2.1.
    My machine is running Windows 7 and I used the (for Linux) upgrade tutorial in http://www.easyapex.com/index.php?p=101.
    Well, I know my fault was in using a "for Linux" upgrade tutorial. Anyway, here it goes (pls, see if you can help)...
    The issue:
    The upgrade aparently went OK and in theory it should work, I believe, but actualy when I call my Aplication Express Login page (http://127.0.0.1:8080/apex/f?p=4550:1:4405712711792727) it is loaded with errors and the APEX Logo image (http://127.0.0.1:8080/apex/4htmldb/apex_logo.gif) is not loaded.
    <script type="text/javascript">
    <!--
    first_field('F4550_P1_COMPANY'); //<------ the error comes up here: Line: 82 Character: 5 Error: Object expected
    //-->
    <
    So let me tell what I did differently from the tutorial:
    1. I had to upgrade my PL/SQL Web Toolkit to version 10.1.2.0.6:
    So I used what is described in PL/SQL Web Toolkit to Apex
    It went pretty well. No errors or warnings.
    1) Stop all applications using the database
    2) Navigate to the directory apex/owa
    3) Connect via SQL*Plus as the database user SYS
    4) Run the PL/SQL Web Toolkit installation script by issuing: @owainst.sql
    5) Review the output displayed from owainst.sql and ensure no errors were encountered.
    6) Confirm the PL/SQL Web Toolkit version is 10.1.2.0.6 or greater by connecting to the database
    as the SYS user and running the query:
    select owa_util.get_version from dual;
    7) Run the utlrp.sql script from the Oracle Database home to recompile all invalid PL/SQL
    packages now instead of when the packages are accessed for the first time. This step is
    optional but recommended. To run utlrp.sql, issue: @?/rdbms/admin/utlrp.sql
    2. I used blank (default value) for the images directory when running apexins.sql:
         @apexins.sql sysaux sysaux temp
         -- instead of --
         @apexins.sql users users temp /i/
    3. Then the script started and quickly asked something weird:
         F
         2
         Inform the value for 4:
         Well, just in case I informed 4. The script went straight to the end "without" errors.
    4. Without errors but has a log file. Should it be that way?
         I can send the log file under request as here at the forum I see no attachment option.
    5. Copied new images
         from (downloaded APEX location)
         C:\Users\PepeFifiNeca\Downloads\APEX 3.2.1\apex_3.2.1\apex\images
         to (supposed Web Server images folder)
         C:\app\PepeNeca\product\11.1.0\db_1\apex\images
         This was after some bad time trying to find out what kind of Web Server my APEX is using. So, that folder is a guess too. By the way, how do I find out if it is Oracle HTTP Server or PL/SQL Gateway?
    What now? Restore the backup? Start from scratch with a new Oracle XE?
    Thanks a lot for any tip, specially if I don't need to start from the beginning or restore backup.
    All the best,
    Pedro.
    Edited by: pedrokarneiro on 25/05/2010 21:24

    Hello Pedro,
    Welcome to Oracle APEX...
    Problems are always there and should not you down..At least someone said it once to me...
    I have couple of few links which you would find the useful
    [APEX Installation|http://www.liberidu.com/blog/?p=122]
    that blog will answer why you need:
    @apexins.sql admin SYSAUX SYSAUX TEMP /i/ NONE[Oracle APEX Installation Guide|http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/toc.htm#]
    try the Oracle Application Express trouble shooting section and will answer your question...
    i feel you are on the right road and there is no reason to worry...
    how do I find out if it is Oracle HTTP Server or PL/SQL Gateway?
    SELECT dbms_xdb.getHttpPort FROM DUAL
    SELECT dbms_xdb.getFtpPort FROM DUALwill tell you answer if vlaue is not 0 if it is some number like 8080 / 7272 then they are set...
    What now? Restore the backup? Start from scratch with a new Oracle XE?Reinstallation.. i feel no need but just load the images...
    No idea what is PL/SQL Web Toolkit.. Shed a light :-)
    Regards,
    Noel Alex Makumuli,
    Tanzania

  • Oracle 10g Apex 2.1 (demo) to Oracle 11g Enterprise full version

    I am migrating from Oracle 10g Apex 2.1 (demo) to Oracle 11g Enterprise full version:
    Does anyone know if this can be done: The platform is Linux Red Hat - HP Prolient DL380 G2 series:
    The demo version Oracle 10g apex 2.1 which was utilizined has a proof of concept...has now been approved to move forward with Oracle 11g Enterprise full version
    I was thinking: Do I export all the applications, tables,and data. Then un-install Oracle 10g and the install Oralce 11g. Then finaly, import the applications, tables,and data.
    OR .... can in be migrated....????

    Hello:
    It is possible to upgrade your 10gR2 database to 11g and have APEX upgraded to 3.0 at the same time.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/afterup.htm#sthref210
    Varad

  • Upgrade APEX 4 CentOS 5.5

    I'm trying to update my Oracle XE APEX(2.1) to APEX 4.I'm running CentOS.
    I'm connecting to the server via putty. I'm connected to the server as oracle user.
    I've followed the installation tutorial, and everything goes well untill i need to run:
    "@apexins SYSAUX SYSAUX TEMP /i/ "
    It shows error: ORA-01034: ORACLE not available.
    I've done: "startup;" and i think it's started since if i run this command again it says:
    "ORA-44410: XE edition single instance violation error"
    I think my variables are fine:
    PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/kerberos/sbin:...
    ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    ORACLE_SID=asdb
    Thank you very much!
    Kind Regards,
    Cearnau Dan

    Please can someone pop over to this post and comment if relevant?
    No - when you post in a forum you need to provide ALL of the infomation needed to help you. You can certainly reference other posts as needed but it is not appropriate to ask forum readers to read another thread to even find out what the issue is.
    If your thread is appropriate for the APEX forum then mark this current thread ANSWERED. If you want to continue in this new thread then mark the one in the APEX forum ANSWERED.
    I am an APEX developer using the Virtualbox 12c VM for development and prototyping.
    Recently, I upgraded APEX to the latest release and have a non APEX related issue to do with 12c (I think) and the DB now in restricted mode.
    A DB trigger does not seem to unrestrict this but I can do it manually which I do not wish to do each time the server is restarted.
    You should NOT be using a trigger to do that to begin with.
    A DB does not normally open in restricted mode so you should not normally need to force it to open normally.
    If your PDB is already open in restricted mode then shut it down normally. If there are no errors then a standard open should open it normally. That standard open would normally be executed when connected to the root container (the CDB) or by an AFTER STARTUP trigger that executes in the root container.

  • Down Time for  Installing APEX 4.2.1 and oracle HTTP server?

    Hi, all:
    I plan to install APEX 4.2.1 and oracle HTTP server on 10.2.0.4 database.
    Is there any down time required during installation?
    I mean during installation, do I need to block users from accessing the database?
    Can they do their normal data entry / inquiry?
    thanks,
    John
    ps. There will be server backup before installation.

    Hi,
    Documentation says
    >
    3.1 Recommended Pre-installation Tasks
    Before installing Oracle Application Express, Oracle recommends that you complete the following steps:
    Review and satisfy all Oracle Application Express installation requirements. See "Oracle Application Express Installation Requirements".
    Shut down with normal or immediate priority the Oracle Database instances where you plan to install Oracle Application Express. On Oracle Real Application Clusters (Oracle RAC) systems, shut down all instances on each node.
    An alternative to shutting down the database is to prevent all users from accessing Oracle Application Express when upgrading your installation from a previous release of Oracle Application Express. Oracle only recommends this option in high availability production environments where planned outages are not available. For all other scenarios, the database should be shut down.
    To disable access to Oracle Application Express when the existing installation is using the Application Express Listener, shut down the appropriate application server where the Application Express listener is deployed.
    To disable user access to Oracle Application Express when the existing installation is using the Oracle HTTP Server with mod_plsql, you should either shut down the Web server or disable the Application Express Database Access Descriptor of the Web server.
    For an existing installation using the embedded PL/SQL gateway, you should disable the Oracle XML DB Protocol Server by setting the HTTP port to 0. This can be accomplished by starting SQL*Plus, connecting as SYS to the database where Oracle Application Express is installed, and running:
    EXEC DBMS_XDB.SETHTTPPORT(0);
    Once you have prevented access from Oracle Application Express users, you should log into SQL*Plus as SYS, connecting to the database where Oracle Application Express is installed, and query V$SESSION to ensure there are no long running sessions which would interfere with the upgrade process.
    Back up the Oracle Database installation.
    Oracle recommends that you create a backup of the current Oracle Database installation before you install Oracle Application Express. You can use Oracle Database Recovery Manager, which is included in the Oracle Database installation, to perform the backup.
    See Also:
    Oracle Database Backup and Recovery User's Guide
    Start the Oracle Database instance that contains the target database.
    After backing up the system, you must start the Oracle instance that contains the target Oracle database. Do not start other processes such as a Web Listener. However, if you are performing a remote installation, make sure the database listener for the remote database has started.
    >
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to upgrade Apex 2.2 to Apex 3.1

    Dear all
    please Mention the Procedure for Upgrading Apex 2.2 to Apex 3.1
    I am using Apex 2.2 , Oracle 10g on Windows 2000 Server
    thanks Alot
    Edited by: khaja on Jan 18, 2009 11:09 AM

    Hi All,
    I am seeing a problem with the upgrade from 2.2 to 3.1. After the upgrade (with apexins.sql) I still see the following synonyms in PUBLIC:
    SQL> select synonym_name, table_name
    2 from dba_synonyms
    3 where owner='PUBLIC' and table_owner='FLOWS_020200';
    SYNONYM_NAME TABLE_NAME
    WWV_FLOW_LIST_OF_VALUES_DATA WWV_FLOW_LIST_OF_VALUES_DATA
    WWV_FLOW_LISTS_OF_VALUES$ WWV_FLOW_LISTS_OF_VALUES$
    WWV_FLOW_GENERIC WWV_FLOW_GENERIC
    WWV_FLOW_FIELD_TEMPLATES WWV_FLOW_FIELD_TEMPLATES
    APPLICATION_AUTHENTICATION APPLICATION_AUTHENTICATION
    WWV_CREATE_FORUM_DEMO_SCRIPT WWV_CREATE_FORUM_DEMO_SCRIPT
    WWV_FLOW_LOOKUP_TABLES WWV_FLOW_LOOKUP_TABLES
    WWV_FLOW_WEB_SERVICES WWV_FLOW_WEB_SERVICES
    WWV_FLOW_REWRITE_QUERY WWV_FLOW_REWRITE_QUERY
    9 rows selected.
    The user flows_020200 still exists with over 2000 objects.
    How can I drop this user FLOWS_020200 without causing any problems?
    Regards,

  • How to upgrade Apex 2.1 to 3.2.1

    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1
    plz tell me step by step i m new with this
    Edited by: user13342245 on Jan 6, 2011 11:36 PM

    You can find a complete installation guide here:
    http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/overview.htm#i46634
    Upgrading from a previous Apex installation:
    http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/overview.htm#CEGEFBFI
    Regards,
    Tuur

  • How to Upgrade apex 4.1.1 to 4.2 step by step ..

    Dear All
    good day
    step by step to upgrade apex to 4.2 without  any problems
    *1)-- download last version on : http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html*
    *2)-- unzip file to same directory where old apex directory on my computer was C:\ will ask you if you replace click yes to all .*
    *3)-- go to run > cmd > cd c:\ {change directory to drive where apex folder . then > cd apex will be like this C:\apex*
    *4)-- C:\apex splplus and press enter , must insert this >>*
    *5)-- username: sys as sysdba   and press enter must insert passward for Xe example : orcl this when istall application express edition 11g >*
    *6) SQL>@apexins.sql sysaux sysaux temp /i/  and press enter .*
    *7) Now wait for one hour and 7 mints to finsh.*
    *8)-- Now exit from black monitor (DOS) and open run > cmd > and change directory to C:\apex*
    *9)-- repeat steps number 4 , 5.*
    *10)-- SQL> @apxldimg.sql  C:\ and click enter , wait maybe 10 mints  Note: directory c  must be Capital .*
    *11)-- when finshed exit to folder C:\apex by commend exit .*
    *12)-- repeate steps 4 , 5.*
    *13)-- SQL> @apxchpwd.sql  and change your admin password Not: must be 6 character or more and must cotine Capital letter and - or ant signs and numbers.*
    *14)-- no go go work with last version apex 4.2 on : http://127.0.0.1:8080/apex/*
                   *good luck for all*
    Edited by: user12315805 on Oct 31, 2012 5:59 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Dear All
    good day
    step by step to upgrade apex to 4.2 without  any problems
    *1)-- download last version on : http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html*
    *2)-- unzip file to same directory where old apex directory on my computer was C:\ will ask you if you replace click yes to all .*
    *3)-- go to run > cmd > cd c:\ {change directory to drive where apex folder . then > cd apex will be like this C:\apex*
    *4)-- C:\apex splplus and press enter , must insert this >>*
    *5)-- username: sys as sysdba   and press enter must insert passward for Xe example : orcl this when istall application express edition 11g >*
    *6) SQL>@apexins.sql sysaux sysaux temp /i/  and press enter .*
    *7) Now wait for one hour and 7 mints to finsh.*
    *8)-- Now exit from black monitor (DOS) and open run > cmd > and change directory to C:\apex*
    *9)-- repeat steps number 4 , 5.*
    *10)-- SQL> @apxldimg.sql  C:\ and click enter , wait maybe 10 mints  Note: directory c  must be Capital .*
    *11)-- when finshed exit to folder C:\apex by commend exit .*
    *12)-- repeate steps 4 , 5.*
    *13)-- SQL> @apxchpwd.sql  and change your admin password Not: must be 6 character or more and must cotine Capital letter and - or ant signs and numbers.*
    *14)-- no go go work with last version apex 4.2 on : http://127.0.0.1:8080/apex/*
                   *good luck for all*
    Edited by: user12315805 on Oct 31, 2012 5:59 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for