SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
Inleiding
Dit verslag beschrijft de installatie van Apex 4.0 in een Oracle 11 database op een Windows 7
PC op de C:-schijf. De installatie van de Oracle 11 database dient al gedaan te zijn. De
databasenaam is ORCL.

Dowload
Java
http://www.java.com/nl/download/windows_ie.jsp?locale=nl&host=www.java.com
Installeren in: C:Program FilesJava

Apex
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
Extract de Zip-file naar C:Apex

Apex Listener
http://www.oracle.com/technetwork/developer-tools/apex-listener/downloads/index.html
Extract de Zip-file naar C:ApexListener

OC4J
http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
Extract de Zip-file naar C:OC4J

Installatie APEX 4
Gebruikte handleiding:
http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/toc.htm

Staat ook op:
C:Apexwelcome.html

Maak een shortcut naar SQL Plus 11 met als naam: Apex SQL Plus 11 en als working
directory C:Apex en als argument /nolog

Start Apex SQL Plus 11

CONNECT SYS as SYSDBA

@apexins SYSAUX SYSAUX TEMP /i/

Start om 20:10 uur
Klaar om 20:25 uur

In de log file staat:
The structure of the link to the Application Express administration services is as
follows:
http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)
http://host:port/apex/apex_admin (Oracle XML DB HTTP listener with the
embedded PL/SQL gateway)
The structure of the link to the Application Express development interface is as
follows:
http://host:port/pls/apex (Oracle HTTP Server with mod_plsql)
http://host:port/apex (Oracle XML DB HTTP listener with the embedded PL/SQL
gateway)

Change the Password for the ADMIN Account

Start Apex SQL Plus 11

CONNECT SYS as SYSDBA

@apxchpwd

Geef een wachtwoord.

ALTER USER APEX_040000 PROFILE MONITORING_PROFILE ACCOUNT UNLOCK;

Changing the Password for the APEX_PUBLIC_USER Account

ALTER USER APEX_PUBLIC_USER IDENTIFIED BY <wachtwoord> PROFILE
MONITORING_PROFILE ACCOUNT UNLOCK;

OC4J
Om de application server control op te starten is de directory
C:oracleproduct11.2.0dbhome_1oc4jj2eehomeconfig renamed naar: config.sav en
C:oc4jj2eehomeconfig van de stand alone installatie gekopieerd naar
C:oradbproduct11.2.0dbhome_1oc4jj2eehome

Om alles aan de praat te krijgen, moet je eerst de Java van de Oracle database home gebruiken
omdat deze een java compiler heeft.

Start de oc4j:
c:
cd oracleproduct11.2.0dbhome_1oc4jbin
set JAVA_HOME=C:Oracleproduct11.2.0dbhome_1jdk
set ORACLE_HOME=oracleproduct11.2.0dbhome_1oc4j
oc4j –start

Wacht tot de OC4J gestart is.

Stop OC4J met control-C

Hierna kan je de OC4J starten met de java versie 6 uit program files

Start de oc4j:
c:
cd oracleproduct11.2.0dbhome_1oc4jbin
set JAVA_HOME=C:Program FilesJavajre6
set ORACLE_HOME=oracleproduct11.2.0dbhome_1oc4j
oc4j –start

Installing APEX 4 with Oracle Containers for J2EE (OC4J)
Gebruikte handleiding:
http://www.oracle.com/technology/products/database/application_express/apex_listener/APE
X_Listener_v1.pdf

Copy Oracle Application Express Images
1. Create folder i in C:Apex j2eehomedefault-web-app

cmd
C:
mkdir oradbproduct11.2.0dbhome_1oc4jj2eehomedefault-web-appi

2. Copy all files and its folders from Oracle Application Express images directory C:Apex
images to C:oradbproduct11.2.0dbhome_1oc4jj2eehomedefault-web-appi.

xcopy /e C:Apeximages C:oracleproduct11.2.0dbhome_1oc4jj2eehomedefault-web-
appi

http://localhost:8888/em

Login met: oc4jadmin/<wachtwoord>

Create Roles
1. On the OC4J Home page, click on the Administration tab.
2. Expand Security node.
3. Click on the Security Providers Go To Task.
4. Click on the Instance Level Security button. The Instance Security Level page is displayed.
5. Click on the Realms tab.
6. Use an existing realm (jazn.com).
7. Click on the selected realm’s Roles number. The Roles page is displayed.
8. Click on the Create button. On the Name field enter Admin. Click OK.
9. Click on the Create button. On the Name field enter Manager. Click OK.
10. On the top page, click on the Instance Security Level link.

Create Users
You will need to create users and assign roles to access the APEX Listener Administration
page and Status page.
1. In the Instance Security Level page, click on jazn.com’s Users number. The Users page is
displayed.
2. Click on the Create button.
3. On the Name field enter adminlistener and specify its password. (admin2)
4. Select Admin for the Selected Roles. Click OK.
5. Click on the Create button.
6. On the Name field enter managerlistener and specify its password. (manager2)
7. Select Manager for the Selected Roles. Click OK.
8. On the top page, click on OC4J:home link.

Deployment
1. On the OC4J Home page, click on the Applications tab. The Applications page is
displayed.
2. Click on the Deploy button. The Deploy: Select Archive page is displayed.
3. Select Archive is present on local host. Upload the archive to the server where Application
Server Control is running.
4. Specify the file location of the apex.war file: C:ApexListenerapex.war
Click Next.
6. The Deploy: Application Attributes page is displayed. In the Application Name field, enter
apex.
7. Click Next.
8. The Deploy: Deployment Settings is displayed. In the Deployment Tasks, click on
Configure Class Loading’s Go To Task.
9. The Deployment Settings: Configure Class Loading page is displayed.
a. In the Import Shared Libraries, uncheck the box for Inherit parent application’s shared
library imports. The APEX Listener contains its own libraries in the apex.war file and does
not use the OC4J Shared Libraries. Also, verify that the Import column checkboxes for all the
Shared Library is unchecked (not selected).
b. Click OK.
10. Click on the Deploy button.
11. The Confirmation page is displayed. A message should display a success message:
The Application “apex” has been successfully deployed.
12. Click on the Return button which returns you to the Applications page.
13. Verify that the apex is listed on the Applications and the Status displays a green up-arrow
indicating that it is Active (Up).

http://localhost:8888/apex/listenerConfigure

Wachtwoord van apex_public_user opgegeven en toegang via TNS Alias orcl.world en TNS
Directory: C:Oracleproduct11.2.0dbhome_1networkadmin

http://localhost:8888/apex/apex_admin

Nieuw wachtwoord voor admin instellen

Maak workspace met naam: WS1
Administrator Username: ADMIN_WS1
Administrator Password: <wachtwoord>

http://localhost:8888/apex/apex

Ingelogd op workspace WS1 als ADMIN_WS1

The password for this account must be changed.

Nieuw wachtwoord: <wachtwoord>
Password changed.

Mais conteúdo relacionado

Mais procurados

#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"Agile Testing Alliance
 
Creating selenium remote control tests
Creating selenium remote control testsCreating selenium remote control tests
Creating selenium remote control testsDang Nguyen
 
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsPVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsAndrey Karpov
 
First steps with selenium rc
First steps with selenium rcFirst steps with selenium rc
First steps with selenium rcDang Nguyen
 
ESM 6.9.1c Patch1 Release Notes
	ESM 6.9.1c Patch1 Release Notes 	ESM 6.9.1c Patch1 Release Notes
ESM 6.9.1c Patch1 Release Notes Protect724tk
 
dylibencapsulation
dylibencapsulationdylibencapsulation
dylibencapsulationCole Herzog
 
Learn SELENIUM at ASIT
Learn SELENIUM at ASITLearn SELENIUM at ASIT
Learn SELENIUM at ASITASIT
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation frameworkdoai tran
 
Architecting the Future: Abstractions and Metadata - KCDC
Architecting the Future: Abstractions and Metadata - KCDCArchitecting the Future: Abstractions and Metadata - KCDC
Architecting the Future: Abstractions and Metadata - KCDCDaniel Barker
 
Install spark on_windows10
Install spark on_windows10Install spark on_windows10
Install spark on_windows10Ajay Ohri
 
OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7Guy Tel-Zur
 
Source pack installation of OpenFOAM.4.0 into RHL
Source pack installation of OpenFOAM.4.0 into RHLSource pack installation of OpenFOAM.4.0 into RHL
Source pack installation of OpenFOAM.4.0 into RHLmmer547
 

Mais procurados (15)

#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"
 
Creating selenium remote control tests
Creating selenium remote control testsCreating selenium remote control tests
Creating selenium remote control tests
 
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsPVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
 
Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
First steps with selenium rc
First steps with selenium rcFirst steps with selenium rc
First steps with selenium rc
 
Sel
SelSel
Sel
 
ESM 6.9.1c Patch1 Release Notes
	ESM 6.9.1c Patch1 Release Notes 	ESM 6.9.1c Patch1 Release Notes
ESM 6.9.1c Patch1 Release Notes
 
dylibencapsulation
dylibencapsulationdylibencapsulation
dylibencapsulation
 
Learn SELENIUM at ASIT
Learn SELENIUM at ASITLearn SELENIUM at ASIT
Learn SELENIUM at ASIT
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Architecting the Future: Abstractions and Metadata - KCDC
Architecting the Future: Abstractions and Metadata - KCDCArchitecting the Future: Abstractions and Metadata - KCDC
Architecting the Future: Abstractions and Metadata - KCDC
 
Install spark on_windows10
Install spark on_windows10Install spark on_windows10
Install spark on_windows10
 
OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7
 
Selenium
SeleniumSelenium
Selenium
 
Source pack installation of OpenFOAM.4.0 into RHL
Source pack installation of OpenFOAM.4.0 into RHLSource pack installation of OpenFOAM.4.0 into RHL
Source pack installation of OpenFOAM.4.0 into RHL
 

Destaque

Jacksons Resume_21March16
Jacksons Resume_21March16Jacksons Resume_21March16
Jacksons Resume_21March16Robert Jackson
 
IIS Hot Jobs January 2012
IIS Hot Jobs January 2012IIS Hot Jobs January 2012
IIS Hot Jobs January 2012Toni Havlik
 
Cynthia o Brown resume 2016
Cynthia o  Brown resume 2016Cynthia o  Brown resume 2016
Cynthia o Brown resume 2016Cynthia O. Brown
 
Waleed Abdelkebir Cv En 2009
Waleed Abdelkebir  Cv En 2009Waleed Abdelkebir  Cv En 2009
Waleed Abdelkebir Cv En 2009abcwalid
 
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...Michael Kinsel
 
Katia frye resume 2016 no address
Katia frye resume 2016   no addressKatia frye resume 2016   no address
Katia frye resume 2016 no addressKatia Frye
 
Vuk Djukich_Resume
Vuk Djukich_ResumeVuk Djukich_Resume
Vuk Djukich_ResumeVuk Dukic
 

Destaque (10)

Jacksons Resume_21March16
Jacksons Resume_21March16Jacksons Resume_21March16
Jacksons Resume_21March16
 
IIS Hot Jobs January 2012
IIS Hot Jobs January 2012IIS Hot Jobs January 2012
IIS Hot Jobs January 2012
 
Cynthia o Brown resume 2016
Cynthia o  Brown resume 2016Cynthia o  Brown resume 2016
Cynthia o Brown resume 2016
 
Waleed Abdelkebir Cv En 2009
Waleed Abdelkebir  Cv En 2009Waleed Abdelkebir  Cv En 2009
Waleed Abdelkebir Cv En 2009
 
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...
Michael kinsel resume (ts sci - ssbi)_march 2013 - current certifications - l...
 
Katia frye resume 2016 no address
Katia frye resume 2016   no addressKatia frye resume 2016   no address
Katia frye resume 2016 no address
 
TS SCI Positions 4.9.10
TS SCI Positions 4.9.10TS SCI Positions 4.9.10
TS SCI Positions 4.9.10
 
Supriya Pandeti Resume
Supriya Pandeti ResumeSupriya Pandeti Resume
Supriya Pandeti Resume
 
Job
JobJob
Job
 
Vuk Djukich_Resume
Vuk Djukich_ResumeVuk Djukich_Resume
Vuk Djukich_Resume
 

Semelhante a Installatieverslag Oracle Apex 4.0

Spring hibernate tutorial
Spring hibernate tutorialSpring hibernate tutorial
Spring hibernate tutorialRohit Jagtap
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11gOracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11guzzal basak
 
OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)Jooho Lee
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Taoufik AIT HSAIN
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migrationMlx Le
 
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)sheriframadan18
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee applicationKumar
 
APEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurierenAPEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurierenOliver Lemm
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverhunghtc83
 
How to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_frameworkHow to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_frameworkHarshad Ingle
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationSreenivasa Setty
 
APEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfAPEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfRichard Martens
 
Creating a Web Application with JavaScript + jQuery
Creating a Web Application with JavaScript + jQueryCreating a Web Application with JavaScript + jQuery
Creating a Web Application with JavaScript + jQueryMintJams Inc.
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsJonathan Bloom
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And InterviewsRahul Jain
 

Semelhante a Installatieverslag Oracle Apex 4.0 (20)

Spring hibernate tutorial
Spring hibernate tutorialSpring hibernate tutorial
Spring hibernate tutorial
 
Phalcon - Giant Killer
Phalcon - Giant KillerPhalcon - Giant Killer
Phalcon - Giant Killer
 
Oracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11gOracle business intelligence enterprise edition 11g
Oracle business intelligence enterprise edition 11g
 
OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)OpenSCAP Overview(security scanning for docker image and container)
OpenSCAP Overview(security scanning for docker image and container)
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
 
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
 
Java part 1
Java part 1Java part 1
Java part 1
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
APEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurierenAPEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurieren
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+server
 
How to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_frameworkHow to use_cucumber_rest-assured_api_framework
How to use_cucumber_rest-assured_api_framework
 
OFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation DemonstrationOFM SOA Suite 11gR1 – Installation Demonstration
OFM SOA Suite 11gR1 – Installation Demonstration
 
APEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdfAPEX Application Lifecycle and Deployment 20220714.pdf
APEX Application Lifecycle and Deployment 20220714.pdf
 
Creating a Web Application with JavaScript + jQuery
Creating a Web Application with JavaScript + jQueryCreating a Web Application with JavaScript + jQuery
Creating a Web Application with JavaScript + jQuery
 
Obia with odi
Obia with odiObia with odi
Obia with odi
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for Windows
 
PHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-onPHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-on
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviews
 

Installatieverslag Oracle Apex 4.0

  • 1. Inleiding Dit verslag beschrijft de installatie van Apex 4.0 in een Oracle 11 database op een Windows 7 PC op de C:-schijf. De installatie van de Oracle 11 database dient al gedaan te zijn. De databasenaam is ORCL. Dowload Java http://www.java.com/nl/download/windows_ie.jsp?locale=nl&host=www.java.com Installeren in: C:Program FilesJava Apex http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html Extract de Zip-file naar C:Apex Apex Listener http://www.oracle.com/technetwork/developer-tools/apex-listener/downloads/index.html Extract de Zip-file naar C:ApexListener OC4J http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html Extract de Zip-file naar C:OC4J Installatie APEX 4 Gebruikte handleiding: http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/toc.htm Staat ook op: C:Apexwelcome.html Maak een shortcut naar SQL Plus 11 met als naam: Apex SQL Plus 11 en als working directory C:Apex en als argument /nolog Start Apex SQL Plus 11 CONNECT SYS as SYSDBA @apexins SYSAUX SYSAUX TEMP /i/ Start om 20:10 uur Klaar om 20:25 uur In de log file staat: The structure of the link to the Application Express administration services is as follows: http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql) http://host:port/apex/apex_admin (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)
  • 2. The structure of the link to the Application Express development interface is as follows: http://host:port/pls/apex (Oracle HTTP Server with mod_plsql) http://host:port/apex (Oracle XML DB HTTP listener with the embedded PL/SQL gateway) Change the Password for the ADMIN Account Start Apex SQL Plus 11 CONNECT SYS as SYSDBA @apxchpwd Geef een wachtwoord. ALTER USER APEX_040000 PROFILE MONITORING_PROFILE ACCOUNT UNLOCK; Changing the Password for the APEX_PUBLIC_USER Account ALTER USER APEX_PUBLIC_USER IDENTIFIED BY <wachtwoord> PROFILE MONITORING_PROFILE ACCOUNT UNLOCK; OC4J Om de application server control op te starten is de directory C:oracleproduct11.2.0dbhome_1oc4jj2eehomeconfig renamed naar: config.sav en C:oc4jj2eehomeconfig van de stand alone installatie gekopieerd naar C:oradbproduct11.2.0dbhome_1oc4jj2eehome Om alles aan de praat te krijgen, moet je eerst de Java van de Oracle database home gebruiken omdat deze een java compiler heeft. Start de oc4j: c: cd oracleproduct11.2.0dbhome_1oc4jbin set JAVA_HOME=C:Oracleproduct11.2.0dbhome_1jdk set ORACLE_HOME=oracleproduct11.2.0dbhome_1oc4j oc4j –start Wacht tot de OC4J gestart is. Stop OC4J met control-C Hierna kan je de OC4J starten met de java versie 6 uit program files Start de oc4j: c: cd oracleproduct11.2.0dbhome_1oc4jbin
  • 3. set JAVA_HOME=C:Program FilesJavajre6 set ORACLE_HOME=oracleproduct11.2.0dbhome_1oc4j oc4j –start Installing APEX 4 with Oracle Containers for J2EE (OC4J) Gebruikte handleiding: http://www.oracle.com/technology/products/database/application_express/apex_listener/APE X_Listener_v1.pdf Copy Oracle Application Express Images 1. Create folder i in C:Apex j2eehomedefault-web-app cmd C: mkdir oradbproduct11.2.0dbhome_1oc4jj2eehomedefault-web-appi 2. Copy all files and its folders from Oracle Application Express images directory C:Apex images to C:oradbproduct11.2.0dbhome_1oc4jj2eehomedefault-web-appi. xcopy /e C:Apeximages C:oracleproduct11.2.0dbhome_1oc4jj2eehomedefault-web- appi http://localhost:8888/em Login met: oc4jadmin/<wachtwoord> Create Roles 1. On the OC4J Home page, click on the Administration tab. 2. Expand Security node. 3. Click on the Security Providers Go To Task. 4. Click on the Instance Level Security button. The Instance Security Level page is displayed. 5. Click on the Realms tab. 6. Use an existing realm (jazn.com). 7. Click on the selected realm’s Roles number. The Roles page is displayed. 8. Click on the Create button. On the Name field enter Admin. Click OK. 9. Click on the Create button. On the Name field enter Manager. Click OK. 10. On the top page, click on the Instance Security Level link. Create Users You will need to create users and assign roles to access the APEX Listener Administration page and Status page. 1. In the Instance Security Level page, click on jazn.com’s Users number. The Users page is displayed. 2. Click on the Create button. 3. On the Name field enter adminlistener and specify its password. (admin2) 4. Select Admin for the Selected Roles. Click OK. 5. Click on the Create button. 6. On the Name field enter managerlistener and specify its password. (manager2) 7. Select Manager for the Selected Roles. Click OK.
  • 4. 8. On the top page, click on OC4J:home link. Deployment 1. On the OC4J Home page, click on the Applications tab. The Applications page is displayed. 2. Click on the Deploy button. The Deploy: Select Archive page is displayed. 3. Select Archive is present on local host. Upload the archive to the server where Application Server Control is running. 4. Specify the file location of the apex.war file: C:ApexListenerapex.war Click Next. 6. The Deploy: Application Attributes page is displayed. In the Application Name field, enter apex. 7. Click Next. 8. The Deploy: Deployment Settings is displayed. In the Deployment Tasks, click on Configure Class Loading’s Go To Task. 9. The Deployment Settings: Configure Class Loading page is displayed. a. In the Import Shared Libraries, uncheck the box for Inherit parent application’s shared library imports. The APEX Listener contains its own libraries in the apex.war file and does not use the OC4J Shared Libraries. Also, verify that the Import column checkboxes for all the Shared Library is unchecked (not selected). b. Click OK. 10. Click on the Deploy button. 11. The Confirmation page is displayed. A message should display a success message: The Application “apex” has been successfully deployed. 12. Click on the Return button which returns you to the Applications page. 13. Verify that the apex is listed on the Applications and the Status displays a green up-arrow indicating that it is Active (Up). http://localhost:8888/apex/listenerConfigure Wachtwoord van apex_public_user opgegeven en toegang via TNS Alias orcl.world en TNS Directory: C:Oracleproduct11.2.0dbhome_1networkadmin http://localhost:8888/apex/apex_admin Nieuw wachtwoord voor admin instellen Maak workspace met naam: WS1 Administrator Username: ADMIN_WS1 Administrator Password: <wachtwoord> http://localhost:8888/apex/apex Ingelogd op workspace WS1 als ADMIN_WS1 The password for this account must be changed. Nieuw wachtwoord: <wachtwoord> Password changed.