Apex is a great tool for rapid web applications based on Oracle Database. It’s free, and if you’re happy with Oracle XE’s limitations, then it’s perfect, you have the database free as well. I’ve been following APEX for long time ago, since it was called HTML DB, and wrote 2+ years ago a guide how to install APEX on XE.

Now APEX 4.0.1 is GA and most of the people would like to upgrade. It’s very simple.

1. Download APEX from OTN

2. Unzip it making sure you don’t change the name of the apex folder inside the zip.

unzip apex_4.0.1.zip /tmp/
cd /tmp/apex

3. Connect to your XE installation

sqlplus / as sysdba

4. Run the installation script

SQL> @apexins SYSAUX SYSAUX TEMP /i/

5. Wait 10-15 minutes then connect again as sysdba and import images

SQL>@apxldimg.sql /tmp

!do not put the “apex” folder in the path there

That’s it, no more unlock account, set password, set port, you already did this on the previous installation.

Enjoy!

Related posts:

  • Oracle APEX 3.1 installation on Oracle Database 10g XE
  • Install Oracle 10g XE on Ubuntu Server 9.04 Jaunty Jackalope
  • Disadvantages of using Oracle Database 10g XE (Express Edition)
  • Oracle Database 11g Release 2 available on Windows… finally
  • SQL Developer 2.1 EA1 available
  • Tags: , , , , , , , ,
    9 Responses to “Upgrade Oracle APEX 3.2.1 to 4.0.1 on Oracle Database 10g Express Edition (XE)”
    1. Bram Pintelon says:

      Hey,

      I just did a clean install of oracle 10g express edition and I also did a cleaan install of APEX 4. After installation I have to enter a workspace, user and password.

      I can’t login, because I never created a workspace…

      I already altered the admin password. Can you help me?

      Thx

    2. andreiash says:

      you should go first to /apex/apex_admin and there you’ll set the workspace and everything else.

    3. Ahmad says:

      Hey,

      I followed your instructions exactly then I open the browser to http://127.0.0.1:8080/apex/apex_admin and entered admin as the username and the password I set for the apex admin but nothing happened when I click the Login button. This webpage looks like a dead page where there is no response after clicking the Login button. Am I missing something?

    4. Dan Brody says:

      AWS ami-986f11ca image upgrade from Apex 3 to 4.0.3 issue upgrade ran but cannot get images to show up. I have run:

      1) SQL>@apxldimg.sql /tmp
      2) SQL>@apxldimg.sql /usr/lib/oracle/xe/app/oracle/product/10.2.0/server (ORACLE_HOME)

      but this does not work

      Any suggestions
      Thanks Dan

    5. nona says:

      why i need to upgrade to APEX 4.0
      please i need to know what’s th a advantages of Apex4

    6. Mahesh Bhaya says:

      Connect / as sysdba

      SQL>@apxchpwd

      When prompted enter a password for the ADMIN account.

      Then go to the apex admin URL
      /apex/apex_admin

      and login with your newly created password

    7. andreiash says:

      @nona: let me google this for you:
      http://www.google.com/search?q=apex+4+new+features
      … then click any link on the first page, it should answer your question

    8. andreiash says:

      @Ahmad: yes, it seems that, please recheck all the steps, especially the one with the images

    9. andreiash says:

      @Dan Brody: The path supplied is wrong. it seems you didn’t unzip apex into /tmp. Just search the folder where you unzipped APEX (the folder that have an “apex” subfolder inside) and provide that top folder as parameter.

    Leave a Reply