Installatieverslag Oracle Apex 4.0
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Installatieverslag Oracle Apex 4.0

  • 1,860 views
Uploaded on

Dit verslag beschrijft de installatie van Apex 4.0 in een Oracle 11 database op een Windows 7 PC

Dit verslag beschrijft de installatie van Apex 4.0 in een Oracle 11 database op een Windows 7 PC

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,860
On Slideshare
1,853
From Embeds
7
Number of Embeds
1

Actions

Shares
Downloads
11
Comments
0
Likes
0

Embeds 7

http://www.linkedin.com 7

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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.