搜尋
首頁資料庫mysql教程在Oracle 10g 上安装 Apex 4.0

本文主要介绍在Oracle 10g 上安装 Oracle Apex 4.0以及如何安装语言包。一、环境Oracle 10g 10.2.0.4 Apex 4.0.1 Apex Listener

摘要:

本文主要介绍在Oracle 10g 上安装 Oracle Apex 4.0以及如何安装语言包。

一、环境

Oracle 10g  10.2.0.4
Apex 4.0.1
Apex Listener 1.0.2
Window 2003
JDK 6 update22
J2EE 6
GlassfishV3 3.0.1
      Oracle 10g需要安装下面的组件

Oracle XML DB
Oracle Text 

二、步骤

1、安装 JDK

2、安装Apex 4.0.1

解压缩

将目录变更到 apex跟目录 /apex_4.0.1/apex/下

使用 Oracle 的sys用户登陆sqlplus,

@apexins tablespace_apex tablespace_files tablespace_temp images

Where:

– tablespace_apex is the name of the tablespace for the Oracle

Application Express application user.

– tablespace_files is the name of the tablespace for the Oracle

Application Express files user.

– tablespace_temp is the name of the temporary tablespace.

– images is the virtual directory for Oracle Application Express images. To

support future Oracle Application Express upgrades, define the virtual

image directory as /i/.

Example:

@apexins SYSAUX SYSAUX TEMP /i/

sys用户重新登陆sqlplus

设置Admin密码

@apxchpwd

Configure APEX_PUBLIC_USER Account

Unlocking the APEX_PUBLIC_USER Account

ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK

Changing the Password for the APEX_PUBLIC_USER Account

ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password

3、安装 GlassfishV3

按照安装文件提示安装。

To Start the Default Domain

as-install/bin/asadmin start-domain

Copy Oracle Application Express Images

1. Create folder i in /domains//docroot .

2. Copy all files and its folders from Oracle Application Express images directory /images to /domains//docroot/i .

To start the Administration Console, type the URL in your browser.

The default URL for the Administration Console is:

:4848

如果admin console 加载缓慢的话,执行下面步骤。执行缓慢的原因,glassfish要更新,下面步骤是去掉更新模块。

参考 in OGS 3.0.1 Admin Console very slow

停止glassfish的默认Dmain

* cd glassfishv3/glassfish

* mv modules/console-updatecenter-plugin.jar modules/console-updatecenter-plugin.jar.ORIG

* rm -r domains/domain1/osgi-cache

* rm -r domains/domain1/generated

4、部署 Apex Listener 1.0.2

Administration Console

1. To start the Administration Console, type the URL in your browser.

The default URL for the Administration Console is:

:4848

2. If prompted, log in to the Administration Console.

You will be prompted to log in if you chose to require an administration password at the time GlassFish server was installed.

 

Users and Roles

The APEX Listener requires users to be assigned roles to access the Application Express Listener Administration. For additional information on Security Realms, Users, Group List, Roles, refer to the Sun GlassFish Enterprise Server documentation.

Create Roles

The APEX Listener requires roles to be assigned to the users to access the Application Express Listener Administration. The two types of roles are: Admin

The user with an APEX Listener Admin role has permission to access the APEX Listener Administration Page. Manager

The user with an APEX Listener Manager role has permission to access the APEX Listener Status Information Page.

You can enable a default principal-to-role mapping on the Application Server using the Admin Console if the group list names is defined the same as the role names.

1. On the navigation tree, select Configuration, then Security. The Security page is displayed.

2. Click on the checkbox next to Default Principal to Role Mapping to enable this option.

3. Click on the Save button.

Note: Enabling the Default Principal to Role requires the Group List to be the same as the role name as described below when creating the user.

Create Users

You will need to create users to access the APEX Listener Administration page and Status page.

1. In the navigation tree, expand the Configuration node.

2. Expand the Security node.

3. Expand the Realms node.

4. Select the realm to add your user (e.g., file)

5. The Edit Realm page opens.

6. On the Edit Realm page, click the Manage Users button.

7. The File Users page opens.

8. On the File Users page, click New.

9. The New File Realm User page opens.

10. In the User ID field, type the name of the APEX Listener administrator: adminlistener

11. In the Group List field, type the role to which the user belongs: Admin

12. In the Password field, type a unique password.

13. In the Confirm New Password field, type the user password again.

14. Click OK.

15. Create another user for the APEX Listener manager:

a. User ID: managerlistener

b. Group List: Manager

c. Click OK when you are done.

 

Deployment

Before You Begin

The Application Express Listener file, apex.war, must be available before you start this task.

1. On the navigation tree, click on Application node. The Applications page is displayed.

2. Click the Deploy button. The Deploy Applications or Modules page is displayed.

3. Select Packaged File to be Uploaded to the Server, and click Browse.

4. Navigate to the location of the apex.war file, select the file, and click Open. You are returned to the Deploy Applications or Modules page.

5. Specify and select the following:

a. Type: Web Application

b. Context Root: apex

c. Application Name: apex

d. Status: Enabled

e. Description: Application Express Listener

f. Accept all other default settings, and click OK.

 

You are returned to the Applications page. If a check mark does not appear in the Enabled field for apex, then select the check box next to the apex application and click the Enable button.

APEX Listener Administration

1. On your browser, specify :port/apex/listenerConfigure to display the Oracle Application Express Listener Administration. Refer to the Configuration section for detailed information.

登陆Apex Administration ,配置用户和workspace

创建第一个用户 和工作空间

5、安装中文语言包

中文Shell

Set NLS_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8

日文Shell

Set NLS_LANG=JAPANESE_JAPAN.AL32UTF8

Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For example:
Bourne or Korn shell:
NLS_LANG=American_America.AL32UTF8
export NLS_LANG
C shell:
setenv NLS_LANG American_America.AL32UTF8
For Windows based systems:
set NLS_LANG=American_America.AL32UTF8
Navigate to the directory under apex/builder based on the language you need to install. For example for German, navigate to apex/builder/de. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example:
On Windows:
SYSTEM_DRIVE:\ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password
On UNIX and Linux:
$ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password
Execute the following statement:
ALTER SESSION SET CURRENT_SCHEMA = APEX_040000;
Execute the appropriate language specific script. For example:
@load_lang.sql

linux

陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
MySQL的位置:數據庫和編程MySQL的位置:數據庫和編程Apr 13, 2025 am 12:18 AM

MySQL在數據庫和編程中的地位非常重要,它是一個開源的關係型數據庫管理系統,廣泛應用於各種應用場景。 1)MySQL提供高效的數據存儲、組織和檢索功能,支持Web、移動和企業級系統。 2)它使用客戶端-服務器架構,支持多種存儲引擎和索引優化。 3)基本用法包括創建表和插入數據,高級用法涉及多表JOIN和復雜查詢。 4)常見問題如SQL語法錯誤和性能問題可以通過EXPLAIN命令和慢查詢日誌調試。 5)性能優化方法包括合理使用索引、優化查詢和使用緩存,最佳實踐包括使用事務和PreparedStatemen

MySQL:從小型企業到大型企業MySQL:從小型企業到大型企業Apr 13, 2025 am 12:17 AM

MySQL適合小型和大型企業。 1)小型企業可使用MySQL進行基本數據管理,如存儲客戶信息。 2)大型企業可利用MySQL處理海量數據和復雜業務邏輯,優化查詢性能和事務處理。

幻影是什麼讀取的,InnoDB如何阻止它們(下一個鍵鎖定)?幻影是什麼讀取的,InnoDB如何阻止它們(下一個鍵鎖定)?Apr 13, 2025 am 12:16 AM

InnoDB通過Next-KeyLocking機制有效防止幻讀。 1)Next-KeyLocking結合行鎖和間隙鎖,鎖定記錄及其間隙,防止新記錄插入。 2)在實際應用中,通過優化查詢和調整隔離級別,可以減少鎖競爭,提高並發性能。

mysql:不是編程語言,而是...mysql:不是編程語言,而是...Apr 13, 2025 am 12:03 AM

MySQL不是一門編程語言,但其查詢語言SQL具備編程語言的特性:1.SQL支持條件判斷、循環和變量操作;2.通過存儲過程、觸發器和函數,用戶可以在數據庫中執行複雜邏輯操作。

MySQL:世界上最受歡迎的數據庫的簡介MySQL:世界上最受歡迎的數據庫的簡介Apr 12, 2025 am 12:18 AM

MySQL是一種開源的關係型數據庫管理系統,主要用於快速、可靠地存儲和檢索數據。其工作原理包括客戶端請求、查詢解析、執行查詢和返回結果。使用示例包括創建表、插入和查詢數據,以及高級功能如JOIN操作。常見錯誤涉及SQL語法、數據類型和權限問題,優化建議包括使用索引、優化查詢和分錶分區。

MySQL的重要性:數據存儲和管理MySQL的重要性:數據存儲和管理Apr 12, 2025 am 12:18 AM

MySQL是一個開源的關係型數據庫管理系統,適用於數據存儲、管理、查詢和安全。 1.它支持多種操作系統,廣泛應用於Web應用等領域。 2.通過客戶端-服務器架構和不同存儲引擎,MySQL高效處理數據。 3.基本用法包括創建數據庫和表,插入、查詢和更新數據。 4.高級用法涉及復雜查詢和存儲過程。 5.常見錯誤可通過EXPLAIN語句調試。 6.性能優化包括合理使用索引和優化查詢語句。

為什麼要使用mysql?利益和優勢為什麼要使用mysql?利益和優勢Apr 12, 2025 am 12:17 AM

選擇MySQL的原因是其性能、可靠性、易用性和社區支持。 1.MySQL提供高效的數據存儲和檢索功能,支持多種數據類型和高級查詢操作。 2.採用客戶端-服務器架構和多種存儲引擎,支持事務和查詢優化。 3.易於使用,支持多種操作系統和編程語言。 4.擁有強大的社區支持,提供豐富的資源和解決方案。

描述InnoDB鎖定機制(共享鎖,獨家鎖,意向鎖,記錄鎖,間隙鎖,下一鍵鎖)。描述InnoDB鎖定機制(共享鎖,獨家鎖,意向鎖,記錄鎖,間隙鎖,下一鍵鎖)。Apr 12, 2025 am 12:16 AM

InnoDB的鎖機制包括共享鎖、排他鎖、意向鎖、記錄鎖、間隙鎖和下一個鍵鎖。 1.共享鎖允許事務讀取數據而不阻止其他事務讀取。 2.排他鎖阻止其他事務讀取和修改數據。 3.意向鎖優化鎖效率。 4.記錄鎖鎖定索引記錄。 5.間隙鎖鎖定索引記錄間隙。 6.下一個鍵鎖是記錄鎖和間隙鎖的組合,確保數據一致性。

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳圖形設置
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您聽不到任何人,如何修復音頻
3 週前By尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解鎖Myrise中的所有內容
4 週前By尊渡假赌尊渡假赌尊渡假赌

熱工具

mPDF

mPDF

mPDF是一個PHP庫,可以從UTF-8編碼的HTML產生PDF檔案。原作者Ian Back編寫mPDF以從他的網站上「即時」輸出PDF文件,並處理不同的語言。與原始腳本如HTML2FPDF相比,它的速度較慢,並且在使用Unicode字體時產生的檔案較大,但支援CSS樣式等,並進行了大量增強。支援幾乎所有語言,包括RTL(阿拉伯語和希伯來語)和CJK(中日韓)。支援嵌套的區塊級元素(如P、DIV),

SecLists

SecLists

SecLists是最終安全測試人員的伙伴。它是一個包含各種類型清單的集合,這些清單在安全評估過程中經常使用,而且都在一個地方。 SecLists透過方便地提供安全測試人員可能需要的所有列表,幫助提高安全測試的效率和生產力。清單類型包括使用者名稱、密碼、URL、模糊測試有效載荷、敏感資料模式、Web shell等等。測試人員只需將此儲存庫拉到新的測試機上,他就可以存取所需的每種類型的清單。

EditPlus 中文破解版

EditPlus 中文破解版

體積小,語法高亮,不支援程式碼提示功能

SublimeText3 Linux新版

SublimeText3 Linux新版

SublimeText3 Linux最新版

Dreamweaver Mac版

Dreamweaver Mac版

視覺化網頁開發工具