Sabtu, 25 April 2015

New Development Environment: Oracle 12c, APEX 4.2.6, APEX 5, ORDS 3.0 and Tomcat 8

APEX 5 now release into production with big impact and wow features, as part of continuous learning process, now I am preparing new development environment on my laptop (Windows 8.1 SL).
Oracle Database 12c enable to create separated environment with multiple APEX version in a single db instance. APEX 4.2.6 is my recent stable applications and APEX 5 as new learning development.

Dev Environment:
  • APEX 4.2.6 on PDB426
  • APEX 5 on PDB500


Installation
  • Create 2 PDB : PDB426 and PDB500
  • Uninstall apex on CDB
  • Install APEX 4.2.6 on PDB426 with images /i/
  • Install APEX 5 on PDB500 with images /i5/
  • Setup ORDS as APEX4 for APEX 4.2.6 container => change ords.war to apex4.war
  • Setup ORDS as APEX5 for APEX 5 container => change ords.war to apex5.war
ORDS installation Tomcat 8 :
  • Unzip Ords into temp directory : C:\temp\apex4 and C:\temp\apex5

  • Create separated config directory for each apex version : C:\Tomcat\apex4-config and C:\Tomcat\apex5-config.

  • Install ords for each version
  • Copy apex4.war and apex5.war to \tomcat-home\webapps

  • Copy APEX images to  \tomcat-home\webapps\ROOT don't forget to change images into i and i5 folder

  • Run Tomcat and enjoy :D
Now you have 2 APEX version in single instance
  • APEX 4.2.6 : http://localhost:8080/apex4/f?p=4550:1

  • APEX 5 : http://localhost:8080/apex5/f?p=4550:1