Welcome 微信登录

首页 / 数据库 / MySQL / 启用Oracle 11g中的Apex

Oracle 的信息生命周期管理工具ILMA的使用前提是Apex.
Apex在oracle 11g Release 2版本中是默认安装的。但安装后没有启用。可以使用下面方法启用它。
SQL> show user
USER is "SYS"
SQL> spool apex
查看安装的Apex详情。
SQL> select * from dba_registry where comp_id = "APEX";APEX
Oracle Application Express
3.2.1.00.10                    VALID       02-APR-2010 14:20:27
SERVER                         SYS
APEX_030200
VALIDATE_APEXFLOWS_FILES
SQL>
SQL> @%oracle_home%RDBMSADMINepgstat.sql
+--------------------------------------+
| XDB protocol ports:                  |
|  XDB is listening for the protocol   |
|  when the protocol port is non-zero. |
+--------------------------------------+        0        01 row selected.+---------------------------+
| DAD virtual-path mappings |
+---------------------------+/apex/*                          APEX1 row selected.+----------------+
| DAD attributes |
+----------------+APEX         database-username        ANONYMOUS
             default-page             apex
             document-table-name      wwv_flow_file_objects$
             request-validation-funct wwv_flow_epg_include_modules.authorize
             ion             document-procedure       wwv_flow_file_mgr.process_download
             nls-language             american_america.al32utf8
             document-path            docs7 rows selected.+---------------------------------------------------+
| DAD authorization:                                |
|  To use static authentication of a user in a DAD, |
|  the DAD must be authorized for the user.         |
+---------------------------------------------------+no rows selected+----------------------------+
| DAD authentication schemes |
+----------------------------+APEX                 ANONYMOUS                        Anonymous1 row selected.+--------------------------------------------------------+
| ANONYMOUS user status:                                 |
|  To use static or anonymous authentication in any DAD, |
|  the ANONYMOUS account must be unlocked.               |
+--------------------------------------------------------+ANONYMOUS       EXPIRED & LOCKED1 row selected.+-------------------------------------------------------------------+
| ANONYMOUS access to XDB repository:                               |
|  To allow public access to XDB repository without authentication, |
|  ANONYMOUS access to the repository must be allowed.              |
+-------------------------------------------------------------------+false1 row selected.SQL>
查看HTTP所使用的port,其中0表示没有开启。
SQL> select dbms_xdb.getHTTPPort from dual;          01 row selected.SQL>
设置port并查看。
SQL> begin
  2    dbms_xdb.setHTTPPort(8080);
  3    commit;
  4  end;
  5  /PL/SQL procedure successfully completed.SQL>
SQL> select dbms_xdb.getHTTPPort from dual;       80801 row selected.
启用匿名帐号。
SQL> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
修改密码:
SQL> @%Oracle_home%apexapxchpwd.sql
Enter a value below for the password for the Application Express ADMIN user.
Enter a password for the ADMIN user              []Session altered....changing password for ADMINPL/SQL procedure successfully completed.
Commit complete.User altered.SQL>
SQL>
修改访问权限:
SQL> begin
  2    DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
  3  end;
  4  /PL/SQL procedure successfully completed.
通过下面链接访问Apex.http://localhost:8080/apex/apex_admin一个空格导致的ORA-12516错误Oracle 的信息生命周期管理工具(ILM assistant)相关资讯      Oracle基础教程 
  • Oracle块编程返回结果集详解  (11/10/2013 10:45:58)
  • Oracle基础教程之设置系统全局区  (08/22/2013 14:24:00)
  • Oracle基础教程知识点总结  (06/18/2013 07:43:32)
  • Oracle基础教程之tkprof程序详解  (10/22/2013 11:49:50)
  • Oracle基础教程之sqlplus汉字乱码  (07/18/2013 16:30:00)
  • Oracle 管理之 Linux 网络基础  (02/16/2013 18:37:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数