Page Sentry Setup - Oracle ApEx 4.1.1

Hi,
Hoping someone can please assist or point me in the right direction but I am creating a new Page Sentry setup in Oracle ApEx 4 based on the following link:
Updating Page Sentry for APEX 4.0 Upgrade:
http://zetetic.net/blog/2010/12/10/updating-page-sentry-for-apex-40-upgrade.html
I have pretty much just used what has been provided from this link with a few minor changes but my question that I cannot figure out why it is happening is that in MS IE8, when I fire up my app, it all starts up fine and and sets up my APP_USER and APP_SESSION fine but what I have found that, when I go to a new tab in IE8 and start up another session for this very same APP_ID, it is assigning the same APP_SESSION as the previous session, which is not what I am after from the Page Sentry.
Could someone please assist with what I need to change this pl/sql code, so that a new session id is always generated when starting up a new IE8 tab in the same browser window.
Thanks.
Tony.

Hi Tony,
If you are using OAM, why would you want each tab to have a different session?
(OTN PDF on OAM - http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-oam-integration-1375333.pdf )
If I'm not mistaken . . . your problem with Apex 3 is now solved in Apex 4 (unless you implemented a broken page sentry function), because the session id in the url is backed by a cookie. If the session id in the url doesn't match the credentials in the cookie, it cancels the session.
At the same time, since browsers share cookies between different tabs, the database can't distinguish between page calls from one tab from page calls from another tab - because they pass the same cookie. This is a browser issue, not an apex limitation. I don't think its possible to have each tab be treated as a separate session, unless you disable the cookie, and that leaves you open to the problems you had with Apex 3.
I keep saying "if I'm not mistaken", and that's because I've got 0 applications under my belt (well, I have a websheet, but that doesn't count). I've been studying page sentry functions on-and-off since November 2011, and got nowhere. Fortunately, I discovered how to do what I wanted to do without using a page sentry function.
Here are the most helpful links I found - most of the code are variations on a theme, and they reference functions that are not well documented.
I found Christian Neumueller's second post on this page very enlightening - Re: APEX 4.1 Login page kills existing session cookie
I might implement this - http://www.oracle.com/technetwork/issue-archive/2009/09-may/o39security-101079.html
You've probably seen Joel Kallman's post - http://joelkallman.blogspot.co.uk/2010/10/custom-authentication-scheme-for-oracle.html
Here's one about NTLM, which isn't what you're looking for, but its another example of a page sentry function - http://jastraub.blogspot.co.uk/2008_03_01_archive.html
There is a little bit about session management and the login process in this pdf - http://www.sumneva.com/c/sumneva/presentations/APEX%20Behind%20the%20Scenes.pdf - all of which is very interesting.
Tak

Similar Messages

  • How to create page zero in oracle apex 4.0?

    Hi All,
    How to create page zero in oracle apex 4.0?
    Regards
    Mani

    Hi,
    Home > Application Builder > Application xxx > Create Page
    At bottom center on wizard there is Page Zero
    Regards,
    Jari
    Edited by: jarola on Aug 25, 2010 7:28 PM
    And here is chapter about in documentation
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/ui.htm#BGBFFFGH

  • Oracle Apex conditional field display

    Hi,
    I have created two page wizard in Oracle Apex.
    I have item and item_detail table. For item1, I have one detail record and for item2, I have two detail record.
    On Step 1: Choose item which will be drop down from item table.
    On Step 2: Based on item detail record count, I want to display text fields on step 2. If item1 is selected in step 1 thenl display, textdisplay1 and textfield1 in step2. If item2 is selected step ` will display textdisplay1, textfield1, textdisplay2, textfield2 in step2.
    sql/pl/sql condition will be: select count(*) from item_detail where item_id in (select item_id from item where item_name='one provided in step 1'
    I want this dynamic ability to display fields or atleast to hide textdisplay2,textfield2 based on sql/plsql condition.
    Thanks,

    984019,
    How are you coming with this?
    Since I'm a newbie, here's how I'd try to approach this.
    1) So we have the Selection List, say, :P1_SList
    2) Then I'd create a Dynamic Action (DA) triggered on a change to :P1_SList.
    3) The DA would have a PL/SQL procedure in the DA that computed (:P1_Disaplay_Number) 1 for text1, 2 for text2, ...
    4) Then I'd have a display Condition -- a PL/SQL Function Body Returning a Boolean -- on each item (text1, text2, ...), something like, say for text3, ...
    BEGIN
              IF :P1_Display_Number <= 3 THEN
                   RETURN TRUE;
               ELSE
                   RETURN FALSE;
                END IF;
    END;And so forth -- I hope my syntax is correct! So the item Condition determines whether the item displays.
    5) You could set :P1_Display_Number to 0 initially, so no items display until the selection is made and the DA triggered.
    (I hope you don't have more than 10-15 of these text1 ... text15.)
    Is what I have described what you are trying to achieve?
    Best regards,
    Howard

  • Oracle APEX Integration with Oracle EBS

    Was wondering if HTML Pages developed using Oracle APEX can be registered as functions in R12 Oracle Apps using Application Developer Responsibility?
    Else, what is the standard/recommended way of integrating APEX developed HTML Pages/Forms to R12? Does APEX support SSO?

    Hi user779995,
    in R12 it's not so straightforward to define a function to launch an apex application like it was in 11i.
    We had to develop a JSP page that does a redirection to the Apex server to get it working properly:
    http://oraclehrms.blogspot.com/2009/04/apps-apex-on-r12.html
    but we will prepare more extensive documentation in the near future as time permits. In the meantime you can try to request more information at the email address mentioned here:
    https://sites.google.com/a/popay.be/apex-on-apps/misc
    Thanks,
    Paolo

  • Updating Page Sentry for APEX 4.0

    Hi there,
    I've found this forum and the regular posters and mods to be extremely helpful, so this post is more of a give-back, I hope. We recently upgraded a dev system of apex 3.0.x to 4.0.2 and ran into some issues where our use of some Page Sentry auth code that's been floating around a long time became a problem for us in terms of properly managing session state, URL forwarding, and acceptance of URL parameters for setting the value of page items in session.
    I've posted [an article on our blog|http://zetetic.net/blog/2010/12/10/updating-page-sentry-for-apex-4-0-upgrade/] explaining the whole thing in what is probably very boring detail over here, and if you're so inclined, we'd love your feedback. But just so there's no need to go anywhere, here's the page sentry we ended up implementing, which makes some pretty significant mods to the old page sentry to account for what we perceived as changes in APEX's behavior somewhere in our move from 3.0 all the way up to 4.0.2.
    You can view the following function nicely formatted [at this gist|https://gist.github.com/736369] :
    <pre><code>
    CREATE OR REPLACE function PASSPORT.oamPageSentry ( p_apex_user in varchar2 default 'APEX_PUBLIC_USER' )
    return boolean
    as
    l_cgi_var_name varchar2(100) := 'REMOTE_USER';
    l_authenticated_username varchar2(256) := upper(owa_util.get_cgi_env(l_cgi_var_name));
    l_current_sid number;
    l_url_sid varchar2(4000);
    l_url varchar2(4000);
    l_app_page varchar2(4000);
    begin
    -- check to ensure that we are running as the correct database user
    if user != upper(p_apex_user) then
    return false;
    end if;
    if l_authenticated_username is null then
    return false;
    end if;
    l_current_sid := apex_custom_auth.get_session_id_from_cookie;
    l_url := wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING'));
    wwv_flow.debug('oamPageSentry: request from ' || l_authenticated_username || ' (sid=' || l_current_sid || ') for ' || l_url);
    -- split on zero or more non-colon characters, and extract the URL session ID if it is present
    l_url_sid := REGEXP_SUBSTR(l_url, '[^:]*', 1, 5);
    wwv_flow.debug('oamPageSentry: extracted current sid from url as ' || l_url_sid);
    -- the post_login call at the end of this function will blindly append the session ID to the URL, even if it is
    -- a deep link. Detect this condition, strip the duplicate session identifier, and redirect.
    if REGEXP_SUBSTR(l_url, '^.*:' || l_current_sid || ':.+:' || l_current_sid || '$') IS NOT NULL then
    l_url := REGEXP_REPLACE(l_url, ':' || l_current_sid || '$', '');
    wwv_flow.debug('oamPageSentry: identified duplicate session id on URL, stripping and redirecting to ' || l_url);
    owa_util.redirect_url('f?'|| l_url);
    return false;
    end if;
    -- apex 4.0 appears to have problems setting session variables (possibly due to new session validation)
    -- if the Session identifier present in the URL does not agree with the session identifier in the cookie
    -- detect this condition, and replace the invalid URL session identifier in the URL with the valid
    -- ID in from the cookie and redirect to the fixed URL
    if owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' AND l_current_sid <> TO_NUMBER(l_url_sid) then
    l_url := REGEXP_REPLACE(l_url, '^(p=.+?:.+?):\d*(.*)$', '\1:' || l_current_sid || '\2');
    wwv_flow.debug('oamPageSentry: current sid ' ||l_current_sid || ' is diferent from url sid ' || l_url_sid || ', redirecting to url' || l_url);
    owa_util.redirect_url('f?'|| l_url);
    return false;
    end if;
    -- 1. If the session is valid and the usernames match then allow the request
    -- 2. If the session is valide but the usernames do not match, there may be session tampering going on. log the session out
    -- 3. If the session id is not valid, generate a new session, and register it with apex
    if apex_custom_auth.is_session_valid then
    apex_application.g_instance := l_current_sid;
    wwv_flow.debug('oamPageSentry: current sid ' || l_current_sid || ' with username ' || apex_custom_auth.get_username || ' is valid');
    if l_authenticated_username = apex_custom_auth.get_username then
    wwv_flow.debug('oamPageSentry: current session username ' || apex_custom_auth.get_username || ' equal to header username ' || l_authenticated_username);
    apex_custom_auth.define_user_session(
    p_user=>l_authenticated_username,
    p_session_id=>l_current_sid);
    return true;
    else
    wwv_flow.debug('oamPageSentry: username ' || apex_custom_auth.get_username || ' mismatch with ' || l_authenticated_username || ' loggout');
    apex_custom_auth.logout(
    p_this_app=>v('APP_ID'),
    p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
    apex_application.g_unrecoverable_error := true; -- tell apex engine to quit
    return false;
    end if;
    else -- application session cookie not valid; we need a new apex session
    wwv_flow.debug('oamPageSentry: current session ' || l_current_sid || ' is not valid');
    l_current_sid := apex_custom_auth.get_next_session_id;
    wwv_flow.debug('oamPageSentry: generated new session id ' || l_current_sid);
    apex_custom_auth.define_user_session(
    p_user=>l_authenticated_username,
    p_session_id=> l_current_sid );
    apex_application.g_unrecoverable_error := true; -- tell apex engine to quit
    if owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' then
    wwv_flow.debug('oamPageSentry: GET request, remembering deep link ' || l_url);
    wwv_flow_custom_auth.remember_deep_link(p_url => 'f?'|| l_url );
    else
    l_url := 'f?p='||
    to_char(apex_application.g_flow_id)||':'||
    to_char(nvl(apex_application.g_flow_step_id,0))||':'||
    to_char(apex_application.g_instance);
    wwv_flow.debug('oamPageSentry: POST request, remembering deep link ' || l_url);
    wwv_flow_custom_auth.remember_deep_link(p_url=> l_url );
    end if;
    -- in previous versions of apex the remember_deep_link call would actually work and cause
    -- post_login to redirect to the target URL. This doesnt work any more in 4.0. Instead,
    -- we'll pass the target page in to the post_login call directly. Post login will blindly
    -- append the session ID to the end of p_app_page when it redirects, but we
    -- clean that up with the first cleanup redirect at the beginning of the function
    l_app_page := SUBSTR(l_url, 3, LENGTH(l_url) - 2);
    wwv_flow.debug('oamPageSentry: post_login for ' || l_authenticated_username || ' app_page ' || l_app_page );
    apex_custom_auth.post_login(
    p_uname => l_authenticated_username,
    p_session_id => nv('APP_SESSION'),
    p_app_page => l_app_page
    return false;
    end if;
    end oamPageSentry;
    </code></pre>

    Billy,
    Thanks a lot for this great info. It seems to have solved the problem I have been having with an NTLM page sentry function for the last 2 or 3 days. Very difficult stuff to debug what is going on inside these functions when they (obviously) behave differently once you have logged in etc.
    As I said, your solution seems to solve my problem - but I have a couple of questions :
    1. Is this related to 10347091 which is mentioned on http://www.oracle.com/technetwork/developer-tools/apex/downloads/apex402knownissues-189793.html ?
    If yes, did you try the patch?
    2. Have you logged a bug or had any feedback (externally or within the forum) from Oracle people on this issue?
    I was about to log a bug regarding the deep linking and FSP_AFTER_LOGIN_URL not behaving correctly when I noticed the known issues and now your valuable work. I was going to try the patch, but I'd rather not apply it unless I know it will solve my problem.
    Please let me know.
    Thanks
    Glen

  • Apex Custom Authentication Schema Page Sentry Error

    Hi,
    I am using Application Express 4.0.0. I am struggling with a strange problem while trying to implement custom authentication schema.
    I declare a page sentry function 'page_sentry' which returns TRUE or FALSE based on certain conditions. My page_sentry is as follows:
    FUNCTION PAGE_SENTRY RETURN BOOLEAN
    IS
    l_username VARCHAR2(512);
    l_session_id NUMBER;
    BEGIN
    IF USER != 'APEX_PUBLIC_USER' THEN
    RETURN false;
    END IF;
    l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie;
    -- check application session cookie.
    IF wwv_flow_custom_auth_std.is_session_valid THEN
    apex_application.g_instance := l_session_id;
    l_username := wwv_flow_custom_auth_std.get_username;
    wwv_flow_custom_auth.define_user_session(
    p_user => l_username, p_session_id => l_session_id);
    RETURN true;
    ELSE
    --redirect to login page using OWA_UTIL.REDIRECT_URL
    END IF;
    RETURN false;
    END page_sentry;
    And Cookie Name : _AUTH
    At first, It always returned FALSE. I wasn't getting any error. However, even after forcibly returning TRUE from the page_sentry function the redirect was still not happening. I tried to look into what cookies were being set for the same and I found this:
    Name:     ApexLibErrorStack1
    Content:     page%3D1%3Cbr%20%2F%3EERR-1201%20session%20ID%20not%20set%20on%20custom%20authentication
    I couldn't find any relevant help for this. Worst of it is I cannot set any cookie from the page_sentry function at all. Please help!

    Hi all.
    Can someone please help me out with the above issue. I am not sure if things are wrong at my end or is this an apex bug.
    --Update:
    The source of my problem perhaps lies in the manner in which I have configured my Oracle HTTP Server. When I disable port HTTP server on port 80 and run apex without it on default port 8080, the custom authentication schema cookie gets set.
    Executing the following with Oracle HTTP Server:
    OWA_UTIL.PRINT_CGI_ENV;
    gives:
    HTTP_COOKIE = ApexLibErrorStack1=page%3D1%3Cbr%20%2F%3EERR-1201%20session%20ID%20not%20set%20on%20custom%20authentication.; ORA_WWV_R1=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R3=%23ALL
    And without HTTP Server:
    gives:
    HTTP_COOKIE = WWV_CUSTOM-F_1420403886791332_100=9625AAC49B9951D8;......
    Did I miss something in my HTTP server configuration ?
    Edited by: pc on Jan 2, 2012 3:15 AM

  • How to get the class name of a page in oracle apex

    Hi All,
    Can anyone please let me know how we can get the class name of a page or region in oracle apex? I would also like to know how we get the DOM object ID for particular item.
    I appreciate any help on this.
    Regards
    Raj

    RajEndiran wrote:
    Can anyone please let me know how we can get the class name of a page or region in oracle apex?What do you mean with class name? The name of the template (e.g. the css style class name)?
    I would also like to know how we get the DOM object ID for particular item.Use firebug or inspect the source code of the rendered page to see the object IDs. Other then then, the typical ID of page items is the name of the item. For regions you can set your own ID.

  • Integrating Google Maps in Oracle Apex and 404 Not found error page

    Currently using APEX version 3.2.0.00.27 installed in OracleXE version 10.2.0.1.0. Have been attempting to recreate some examples of Google Maps within APEX. Found a nice set of examples here that build up to what I'm looking to ultimately do by incorporating google maps into APEX:
    http://blog.whitehorses.nl/2009/10/04/integrating-google-maps-in-oracle-apex/
    Unfortunatly, I'm getting the "404 Not Found, Not found, The requested URL /apex/wwv_flow.accept was not found on this server" page when I try to recreate the "Map with Search" example. I'd like to see if this really works using the html input and button tags in the body/region source versus creating APEX items to pass the address values to the javascript in the html header of the apex page. I'm thinking it's just an html thing within APEX that you have to do it a certain way, but I haven't managed to hit that magic combination. have gone to the google maps api v2 and looked at the html they use (it's what these examples with apex are based on) and tried that just to see. Same 404 result.
    I've seen suggestions at this forum and elsewhere that the 404 error is due to a bug. have been to metalink, and really haven't seen anything that spells out what the bug is and how to patch it or work around it. May be I just haven't found the right note/doc yet. have seen suggestions to change something associated with the Anonymous account that APEX uses. Have turned on authentication in the application to use an APEX user account with a logon page to the application. Still get the 404. Although, I have not adjusted anything elsewhere, like a DADS config file, because the apex/xe configuration is using the plsql gateway. Not sure of any procedure for changing settings on anonymous account when using plsql gateway.
    Open to suggestions. APEX 3.2 is customer version, so going to 4 may not be an option yet. XE, on the other hand, can certainly be swapped for an 11g version standard or enterprise edition if need be. I don't think this is a db version problem though. I think it's more on the APEX side of things.
    Anyway, any help or suggestions are appreciated.
    thanks
    rtp
    Edited by: RTP on Jun 24, 2011 10:30 AM

    Hi I have the same problem.... if you found the solution, please put it here to see it... I need a solution to this its urgent!!
    Thanks!!

  • Oracle Apex - when I open a page the sql query runs

    What do I need to change to stop the sql query running when a page is opened in Apex
    the page accepts a value to search a table for relevant data. I have set a default value
    every time I open the page it runs the sql query using the default value

    Does it need a default value?  Why I am asking is, you could add a conditional display to your report region that would not show the report until the item has a value entered by the user..
    Thank you,
    Tony Miller
    LuvMuffin Software
    Salt Lake City, UT

  • How to Show custom image  on Google Map Oracle Apex 4.1 page

    Hi.. All,
    Need to show custom Image (From Database Table which is a BLOB Column) as Marker on Google Map with fixed size if we zoom in or zoom out.
    I am using Apex 4.1 and oracle11g r2.
    Thanks in Advance

    Hello,
    This plugin Does Exactly What You Need.
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
    Please read the comments on the plugin, in case you come across problem in running the plugin....
    Best Regards,
    Fateh
    If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all

  • SSO for Oracle Apex application

    Hi All,
    I am working on the requirement where the client want to implement the SSO for the apex application which are in different workspaces.
    But not using oracle SSO server :(
    The Microsoft active directory is used for authentication.
    Please give me some idea how to implement SSO for these apex applications.
    Thanks & Regards,
    Prutha

    Hi,
    I am trying to implement Single-Sign On for my Apex applications. Below are the requirement steps:
    This is working fine within same WORKSPACE and on single DB, but I need to implement SSO across DB with different workspaces.
    1. I have *2 Databases* DB-1 and DB-2. Both are different and running on different machines.
    2. On Both DB's Apex is configured.
    3. I have to deploy an app which uses internal Application Express account credentials for Login on DB-1
    4. From DB-1, after login, I have to provide a link to open another Apex App deployed on DB-2
    5. All Apex Apps on both DB's are using same Authentication Schemes.
    6. In both DB's I have PAGE SENTRY function for session validation.
    Can we configure Apex only once on both DB servers like RAC. Do we have any admin setting in Apex by which we can achieve th motive.
    Please help me to implement such functionality using only Apex across different DB's and different Workspaces.
    Thanks,
    Ismail
    Edited by: user9536278 on Mar 27, 2012 4:18 AM

  • Error on upgrade from 3.2 to 4 [Unable to run page sentry in application 45

    Hi Folks,
    To upgrade from 3.2 to Apex 4, I logged-in as sys and ran
    apexins SYSAUX SYSAUX TEMP /i/
    After installation when I tried accessing apex in browser, I am getting following error message
    * ORA-06508: PL/SQL: could not find program unit being called*
    * Unable to run page sentry in application 4500.*
    * Return to application.*
    * Application Express 4.0.0.00.46*
    * Workspace: User: *
    * Language: en | Copyright © 1999, 2010, Oracle. All rights reserved.*
    This statement is returning INVALID status
    SELECT STATUS FROM DBA_REGISTRY
    WHERE COMP_ID = 'APEX'
    The log is showing errors
    Errors for PACKAGE BODY SYS.WWV_DBMS_SQL:
    LINE/COL ERROR
    218/5 PL/SQL: Statement ignored
    218/5 PLS-00306: wrong number or types of arguments in call to
    'PARSE_AS_USER'
    256/5 PL/SQL: Statement ignored
    256/5 PLS-00306: wrong number or types of arguments in call to
    'PARSE_AS_USER'
    574/6 PL/SQL: Statement ignored
    574/6 PLS-00306: wrong number or types of arguments in call to
    'PARSE_AS_USER'
    Can someone here guide me how to resolve this? Shall I reinstalled APEX 4 or rollback to 3.2 or do I need to run any other file.
    Thanks in advance
    Aali

    Hi.
    I have the same problem too.
    i found this:
    http://forums.oracle.com/forums/thread.jspa?messageID=4390780
    The problem is by the oracle version. (al least in my case)
    apex 4.0 needs 10.2.0.3 and i have 10.2.0.1
    I'm going to deinstall, upgrade 10g and reinstall...
    Edited by: Andres Vilallave on 02-jul-2010 11:36

  • Oracle Apex Authentication with EBS

    Hello ,
    My name is Ramiz.
    I have Oracle Applications EBS suite with 10g and Oracle Apex on seperate 10g.
    Now, I am trying to use same user-id and password of EBS to login into Oracle Apex. I have performed following steps from this url.
    (http://skrajend.blogspot.com/2007/06/htmldb-authentication-with-oracle.html)
    1. I have dblink between two database nodes (i.e. EBS database and Apex database )
    2. I have created following function as well on EBS database.
    ====
    SQL> create or replace function ebiz_suite_auth (p_username IN VARCHAR2, p_password IN VARCHAR2)
    return boolean
    as
    begin
    if fnd_web_sec.validate_login(p_username, p_password) = 'Y' then
    return true;
    else
    return false;
    end if;
    end;
    ====
    2. Now in second step from above url , Author is granting execute priv to
    user "HTMLDB" like following
    SQL> grant execute on ebiz_suite_auth to htmldb;
    But , my question is that Apex is installed on different 10g so in above
    execute statement which user should I give execute to ? Do I have to create same user of Apex in EBS database and give exec priv ? but than how does it going to talk to EBS database ?
    3. I have created the Authentication Scheme as the steps described in the above url.
    =================
    2nd approach which is same as above except but here user is not giving
    any exec priv
    ===============
    create auth function ( as above)
    Create a new Authentication Scheme
    •Select From Scratch
    •Enter a Name
    •Leave Sentry Functionempty
    •Leave Session Verification Functionempty
    •Set Invalid Session Target= ApExBuilt in Login Page
    •Leave Pre-Authentication Processempty
    Select Use my custom function to authenticatefor
    the Credentials Authentication Method and enter
    return custom_ebiz_suite_auth;
    for the Authentication Function
    •Leave the Post-Authentication Processempty
    •Leave all Cookie Informationempty
    •Enter
    wwv_flow_custom_auth_std.logout?p_this_flo
    w=&APP_ID.&p_next_flow_page_sess=&APP_ID.:
    1:&SESSION.
    for the Logout URL(all on one line)
    •Create & Activate your Authentication Scheme
    I performed 2nd approach too but it doesn't work for me because
    my Apex is installed in seperate 10g and EBS is in sperate 10g. 2nd approach is from a perosn name SCOTT.

    Hi I have followed steps given
    in http://balajiabhi.blogspot.com/2009/03/integrating-apex-in-r12-with-oracle.html
    i.e I followed R12 direct installing not installed separate OHS....
    I have installed Apex in Datbase and them modified dads.conf located on 10.1.3 home of R12 ebusiness suite with following
    <Location pls/apex_R12>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString usncx053:1536:edge
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword admin
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>
    And tried to access using url ...http://usncx054.diebold.com:8015/pls/apex_r12/apex_admin

  • XE database home page link goes to APEX home page after 3.2 upgrade

    Hi - I had Oracle XE running on Win XP all OK.
    Taking the Database home page link took me to http://127.0.0.1:8080/apex/f?p=4550: etc etc BUT it took me to the XE login page which we use for system administration - all good so far.
    I then upgraded (sucessfully) the installed APEX (V2.1) which comes with XE to the new V3.2 version.
    All went well BUT the url above takes me to APEX login page and I can't get to XE adminstration.
    Any ideas or clues how I should upgrade to keep both login pages available ?
    Regards Dave Lee

    davejlee wrote:
    All went well BUT the url above takes me to APEX login page and I can't get to XE adminstration.
    I'm not sure what you mean with this?
    In APEX Upgrade guide are listed 'Database Management Differences between Oracle APEX 2.1 and 3.2'
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html

  • Newbi Question:  How does one create a similar page to this using APEX 3.1?

    Hi,
    I am trying to create a help document with screen shoots inside our APEX web application and I am hamstrung by the type of Region and Item objects available to me. When I tried to create HTML region I was limited to how much html characters I can put in the source. When I look into the item menu nothing seems to allow me to stick in large chunk of HTML code either.
    A little searching on this forum and I came across this page: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm#t
    It is exactly the type of page I want to create with lots of text and screen shots and I presume that it is built within APEX? So my questions is: How did they do this? Did they use tools available within APEX or some external tool? Was all this outputted using BLOB and Htp("") and PL/SQL? I am trying hard to avoid having to do that.
    I was also unable to stick in an in image into my page using instruction from http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/ui.htm#CBBHGJCH which left me pretty frustrated. (external amazon gif worked).
    Thanks for any help,
    Wayne

    Wayne,
    I am glad that you got images to display. I am not sure what kind of html report you want to display, there is a limit of number of characters in a region its 32767 characters, so if you want to display large html file you can create html region with no template and limit each region to 30,000 characters and create as many region as you want.
    If you want to display data from any table ( as per the first url) you can create SQL reports, something like
    select ename
         , deptno
         , sal
         , case
              when ename = 'SCOTT' then '<img src="#WORKSPACE_IMAGES#us_flag.gif" alt="Image Title">'
              when ename = 'SMITH'  then '<img src="#WORKSPACE_IMAGES#chants.gif" alt="Image Title">'
              when ename = 'MARTIN' then '<img src="#WORKSPACE_IMAGES#cloche.gif" alt="Image Title">'
              when ename = 'MILLER' then '<img src="#WORKSPACE_IMAGES#chandelles.gif" alt="Image Title">'
              when ename = 'JONES' then  '<img src="#WORKSPACE_IMAGES#shoe.gif" alt="Image Title">'
              else '<img src="#WORKSPACE_IMAGES#hallo.gif" alt="Image Title">'
         end  image
    from empThanks,
    Manish

Maybe you are looking for