Installing oracle application express from the database with oracle 11g

Hi,
I installed oracle 11g release 1 and trying to install oracle APEX from the database with Embedded PL/SQL gateway. The installation guide require grant connect privilege to any host for the APEX_030200 database user, but this schema does not exist in the database...
How to continue the installation of APEX ?

Thanks Hari,
But I need to enable network services in my database (oracle 11g).
Do I have to replace in the PL/SQL script below apex_030200 by flows_030000 ?
DECLARE
ACL_PATH VARCHAR2(4000);
ACL_ID RAW(16);
BEGIN
-- Look for the ACL currently assigned to '*' and give APEX_030200
-- the "connect" privilege if APEX_030200 does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
-- Before checking the privilege, ensure that the ACL is valid
-- (for example, does not contain stale references to dropped users).
-- If it does, the following exception will be raised:
-- ORA-44416: Invalid ACL: Unresolved principal 'APEX_030200'
-- ORA-06512: at "XDB.DBMS_XDBZ", line ...
SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
FROM XDB.XDB$ACL A, PATH_VIEW P
WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
EQUALS_PATH(P.RES, ACL_PATH) = 1;
DBMS_XDBZ.ValidateACL(ACL_ID);
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_030200', 'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,'APEX_030200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to '*'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml','ACL that lets power users to connect to everywhere',
'APEX_030200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
COMMIT;
Regards

Similar Messages

  • Can Oracle Application Express (APEX) be integrated with ADF applications?

    Hi All,
    Oracle Application Express (APEX) works on various supported databases. Can this tool be integrated with ADF for report publishing, in adf some of my result is coming from Business Components , so can these things be related to each other?
    Please provide a suitable forum to ask this question if this question doesn't fir in ambit of this forum.
    Thanks in advance.

    There are a couple of things you can do - a lot depends on what your application needs. Since you ask this in the JDeveloper forum, I'm going to address getting to ApEx from ADF, not to ADF from ApEx - but some of the same possibilities apply.
    Easiest thing to do is to jump into the ApEx application with a af:goLink or af:goCommand referencing the needed page's URL. By setting the target, you can control whether it opens in a new window or the same window. I'm not currently using ApEx, but I have a few reports written as PL/SQL Server Pages that I call exactly this way.
    You can also open the ApEx pages in an af:inlineFrame - and it will look like it is inside your ADF application - but use inline frames with a little caution - they don't work perfectly in all browsers, notably Mobile Safari.
    ApEx can't look inside your ADF BC objects, but of course, if your two applications are using the same database, you can communicate between them within the database. One possibility to look at is Advanced Queuing.
    Some ApEx functionality can be executed by executing the underlying PL/SQL procedures - do a search in this forum for how to call PL/SQL from an ADF BC Application Module.

  • How To Remove A Specific Application Name From The "Open With" Dialog

    When you right click on a file you are presented with the "Open With" menu item and you are also presented with a list of applications that could potentially be used to open that file.
    In my case, when I click on a file of type .mov I am presented with the name of an application that I want to remove from the list, because that application ( Miro.app (2.5.2) ) no longer exists on my system.
    What is the best way to remove that application name from the list?

    Ok, but how does one remove some of the applications that are appear in the context menu for a given file type? Is there an asc file which can be edited?
    For example, in my system a PDF can be opened with over 10 applications. I would like to see just the three ones I use: Acrobat, Skim and Preview.
    Thanks in advance.

  • How to install Pro*C apart from the database?

    I would like to know how one could Pro*C apart from the database. Thanks.

    Just unzip all Instant Client zip files in the same directory, they all have "instantclient_11_2" as first path element,
    so everything will end up in the right place in this directory.
    If your Instant Client directory has a different name, unzip the package somewhere and move all files and
    directories in it to your instant client directory.
    Yours,
    Laurenz Albe

  • Unable to login to the database with Oracle login ID from today

    I have an Oracle user (jjcdba) through which I login to the database.
    From today morning, I am unable to login to the database and I am getting this error.
    $=> id
    uid=123(jjcdba) gid=3203(jjcdba)
    [jjcdba@jjcprd04:/jjc/orasw10/oracle/product/10.2.4]
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:22:31 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:Could someone please tell me how to troubleshoot this issue. I need to get into the database urgently!

    Hi,
    jjcdba user should be the member of "dba" group to enjoy the OS authentication otherwise you would need to use the sys password to login to the database. Please make sure that "dba" os group exists and make this user member of this group.
    Salman

  • Starting of oracle application server from the console.

    D:\>cd or*
    D:\Oracle>cd j2*
    D:\Oracle\j2ee>cd home
    D:\Oracle\j2ee\home>java -jar oc4j.jar
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main" 2006-08-08 16:24:50.812 ERROR J2EE EJB3027 [system] A
    n error occured deploying EJB module: java.lang.InstantiationException: Error lo
    ading module file:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax error
    in source or compilation failed in: D:\Oracle\j2ee\home\application-deployments\
    admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main"
    06/08/08 16:24:50 WARNING: Application.setConfig Application: system is in faile
    d state as initialization failedjava.lang.InstantiationException: Error initiali
    zing ejb-modules: Error loading module file:/D:/Oracle/j2ee/home/applications/ad
    min_ejb.jar: Syntax error in source or compilation failed in: D:\Oracle\j2ee\hom
    e\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessi
    onBeanWrapper0.java
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main"
    Aug 8, 2006 4:24:50 PM com.evermind.server.Application setConfig
    WARNING: Application: system is in failed state as initialization failedjava.lan
    g.InstantiationException: Error initializing ejb-modules: Error loading module f
    ile:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax error in source or c
    ompilation failed in: D:\Oracle\j2ee\home\application-deployments\admin_ejb\gene
    rated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main"
    06/08/08 16:24:50 Error initializing server: Error initializing ejb-modules: Err
    or loading module file:/D:/Oracle/j2ee/home/applications/admin_ejb.jar: Syntax e
    rror in source or compilation failed in: D:\Oracle\j2ee\home\application-deploym
    ents\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main"
    06/08/08 16:24:50 Fatal error: server exiting
    D:\Oracle\j2ee\home>

    Have you also set the environment variable JAVA_HOME to your JDK 1.5 install dir ?
    BTW: In your OC4J install dir you will find the script oc4j.cmd in the directory bin. With the help of this script you can start OC4J in a DOS box with the command:
    oc4j -start
    And you can shutdown OC4J with the following command:
    oc4j -shutdown
    Before you can use this script, you have to set two environment variables:
    ORACLE_HOME to the OC4J installation dir
    JAVA_HOME to the JDK installation dir

  • Installing oracle application express

    hi,
    My administrators have installed oracle app server 10g and oracle http server is up and running on the linux server..
    Do i have to download and install oracle application express on the client machine(where i have to develop the applications) or download it to the server??
    Thanks

    The Apex installation is essentially two things -
    1) Installation of the Oracle HTTP Server (essentially Apache with the mod_plsql module installed, plus some other custom things)
    2) Installation of the packages/procedures/functions into the database (you do this by connecting to the DB and running a script).
    So, unless you are running the database on your laptop, you wouldn't be installing Apex on your laptop, you would be installing it from your laptop.
    You can install from your laptop if you can connect to the DB from it, personally I usually prefer to install from the actual server itself, for two reasons -
    1) It's generally faster since you don't need to send things across the network
    2) It minimizes the chance of any networking errors part way through the install (such as someone pulling the wrong network cable out of the patchbox for example).
    That's just a personal view however, you should be able to install from your laptop just fine.

  • Oracle Database10g Express Edition's compatibility with Forms/Reports 10g

    hi,
    I have a problem while connecting from Oracle Forms/Reports 10g to Oracle Database10g Express Edition.I have configured through the net configuration assistant and it shows the test is also successful. But while connecting from Oracle Forms/Reports 10g, an error is being displayed saying that the TNS could not resolve service name(ORA - 012154). I am able to connect to my database server normally. I got a doubt now regarding Oracle Database10g Express Edition's compatibility with Oracle Developer Suite 10g. Can I use Oracle Database10g Express Edition as backend for Forms/Reports 10g in a stand alone machine.
    Can anyone please give me a solution regarding my issue.
    Thanks in advance.
    RAKESH

    12154 means that the TNSNAMES.ora that reports is using does not understand what the '@XE' means.
    Check that you do not have several different TNSNAMES.ora files - there are probably several, and the one you are using probably does not point to XE. This is the most common cause I've seen.

  • Minimum resources for Oracle Application Express

    Hi,
    I'm new to the forum, and a bit confuse here trying to find an answer to what supposedly is a simple question:
    What kind of resources do I have to have to develop and deploy screens with Oracle Application Express?
    The scenario:
    I have this Oracle application all created in forms that we are planning to give to our customers in a web based.
    I'm looking for options to convert it and many forums are talking about how easy and inexpensive (free) the Oracle Applications Express is.
    Then, talking with my main developer, he told me that in order to use it, the client need to spend quite a while in IAS (Oracle's Internet Application Server) and/or have to have the Enterprise version.
    I'm looking for white papers on that and could not find any corroboration, but just texts telling that it's free and easy to use.
    Any one can point me to the right directions on this issue?
    Just want to know what exaclty do I need in order to use (creating and deploying) the Applications Express.
    Right now I have Standar Edition 10q as well as my client
    THank you

    If you want to develop an intranet web application, the HTTP server that comes with Standard Edition 10q would do. However, if you are thinking of it as an internet application then you better separate DB and web server. In that case you need to have either Oracle HTTP Server or Oracle Application Express Listener. Oracle HTTP server requires a license and usually bundled with DB or an Application Server. I believe Oracle Application Server is no longer being offered/available instead web logic server is made available. The basic edition of web logic would do as all you require is Oracle HTTP Server to broker the requestes between the web and the database. As far as I know, Oracle HTTP server is not being offered standalone. As mentioned above the other alternative is Oracle Application Express Listener but requires one of the J2EE complaint web servers like web logic, Glassfish, OC4J or TOMCAT.
    Hope this helps!
    Chandra Movva

  • Best beginner book for Oracle Application Express?

    Hello Dear members,
    I've got 12 years of experience developing Oracle applications using Oracle Forms and PL/SQL, that bit I'm an expert.
    But I'm torn between which book to buy to learn Oracle Application Express.
    The Expert Oracle Application Express vs Oracle Apex Cookbook is my main competition.
    I'm already doing the 2 day Developer guide, but want to go in a bit deeper.
    All of your suggestions welcome.
    Thanks
    Ravi

    Ravi,
    If you are not at all familiar with Application Express i would reccomend getting Beginning Oracle Application Express 4 because you will find that Pro Oracle Application Express 4, Second Edition, Expert Oracle Application Express and Oracle Apex Cookbook assume you have more of an unserstanding and some parts wont make sense. I had friend of mine get an advanced book and then immediately go back and get the beginner book because it just didnt have much meaning to him.
    Thanks,
    Tyson Jouglet

  • Failed to retrieve data from the database when adding jdbc datasource

    I'm having problems adding some tables to the selected tables list using the database expert.
    I get the error messages "Failed to retrieve data from the database" followed by "Unknown Database Connection Error".
    I thought it may be a permissions issue as it only affects some tables, but I can access the same tables fine using the same user through Oracle SQL Developer.
    The database is Oracle 10g Express Editions
    Crystal version is 12.0.0.683
    Running on Windows XP
    Any suggestions would be much appreciated.

    Hi Stuart
    Please refer SAP note 1218714 for this issue. The link to this article ia as follows:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733313334%7D.do
    You can search for this note on the SDN site.
    Hope this helps.
    Thanks!

  • Sending Mail Notification From the database server

    Hi All,
    I want to send the mail notification to any email id from the database server.
    I used the in built Package UTL_SMTP(pp_to,pp_from,pp_subject,pp_hostname) but i didn't got the success. Actually i dont know how and what parameters has to pass to this package .
    It will great help if some body helps with the an example.
    Thanks in Advance

    917574 wrote:
    I want to send the mail notification to any email id from the database server.Oracle version?
    The easiest is to use UTL_MAIL - available from 10g onwards. If you're on 11g, you also need an ACL (Access Control List) entry to allow PL/SQL code to step outside the database and connect to an external server.
    UTL_MAIL uses UTL_SMTP. You can use UTL_SMTP directly, but then you need to understand the SMTP protocol and how to correctly construct Multipurpose Internet Mail Extensions (MIME) e-mail bodies. Not difficult - but something that many developers seem insistent to remain ignorant about.

  • Is Oracle Application Express the same of Oracle Database Express Edition (

    Hi,
    perhaps a silly question.
    I've tried to download Oracle Application Express. Before of installing it, I've noticed that looking at the About the Create Application Manual it looks like the Application Builder that I already use with the web-based page for Oracle Database 10g XE (Express Edition). But thus is Oracle Application Express the same of using Application Builder of Oracle Database 10g XE? To me it seems so, but I'd like to be sure of that
    Thanks!

    oracle database XE 10g include APEX installed, version 2.... i don't remember exactly
    Oracle database sinde 11g includes APEX installed too
    Yes, APEX have a tab with application builder, there you create applications, but the version is very old, install Oracle DB XE 11g or upgrade APEX

  • Problem with apex listener install on Oracle Application Express 4.2.3

    I have installed Oracle Application Express 4.2.3
    Then i tried to install apex listener  Oracle APEX Listener 2.0.5
    but it dos not work.
    I ask
    It is possibile to install  WebLogic Server 12c or 11c
    and connect it to apex ??

    Hi;
    Please check Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1] and compare it wiht your steps
    Regard
    Helios

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

Maybe you are looking for