APEX listener returns blank login page

APEX 4.2.2
APEX listener 2.0.2
Glassfish 3.1.2.2
Platform is 32bit Linux, Amazon EC2
I am reasonably certain that I have deployed apex.war and i.war correctly to Glassfish, and defined a virtual path and a database connection correctly.
When running Firefox on the EC2 machine, browsing to
http://localhost:8080/apex/dad1/
returns a login page no problem. But browsing to the external, publicly visible, address (I have to obscure the actual address, I'll use a.b.c.d) either from the hosting machine or across the net returns an empty page:
http://a.b.c.d:8080/apex/dad1/
This succeeds:
http://a.b.c.d:8080
I get the standard Glassfish page so I know Glassfish is listening on that address.
I have also tried starting the listener standalone, and I get the same effect: it returns a login screen when browsing to the localhost, but going to the external address I get a blank page.
The pages really are blank, nothing shows in the page source and this is all Firebug returns:
<html>
<head> 
<link title="Wrap Long Lines" href="resource://gre-resources/plaintext.css" type="text/css" rel="alternate stylesheet"> 
</head>
<body> 
<pre></pre> 
</body>
</html>
I have been trying to enable tracing of the request on the server side, but I haven't yet found a way to produce the equivalent of an access.log. Searching the forum did produce a couple of references to "routing rules" but I have been unable to find what and where these might be.
As the listener works perfectly when going to localhost, I cannot believe that rthis is the common problem of not finding imges, or an issue with url mapping. But I am of course open to any suggestions!
Any insight will be welcome.
Thank you for your time.

Fixed. Finally tracked it down, a redirection problem fixed with patch 16760897.
Thank you to anyone who looked at this, sorry to have wasted your time, hope posting the solution will assist someone else.

Similar Messages

  • Apex Listener return blank pages with no configuration errors!

    - I set up an Apex Listener "Version:1.1.3.243.11.40" at "10.0.114.11" in standalone mode.
    - I configured Apex Listener via http://10.0.114.11:8585/apex/listenerConfigure and return with no errors.
    - I get http://10.0.114.11:8585/apex/listenerStatus, it returned this:
    Current Time:     Tue Dec 13 17:06:32 ICT 2011
    Server Uptime:     0 Days 01:10:14.101
    Total Accesses:     38.0
    Total Traffic:     161.34K
    Total Errors:     0
    Total File Downloads:     0
    Total Processing Time:     0 Days 00:00:09.354
    Processing Time in milliseconds:     Minimum: 20 Average: 246 Median: 64 Maximum: 3062
    Database Time in milliseconds:     Minimum: 14 Average: 61 Median: 50 Maximum: 204
    Active Requests:     0
    Connections in the pool apex:
    Active: 0 Available: 1
    But when I go to "http://10.0.114.11:8585/apex" or "http://10.0.114.11:8585/apex/apex_admin", I got blank pages.
    The page displays "Application Express Login" or "Application Express Administration Services" in the tab at the top of IE, but nothing else. Anyone have any ideas what could be happening here ?
    thanks so much,

    Hi Udo!
    I run apex_listener with this below command and the output is that:
    java -Dapex.home=/tmp/apex -Dapex.images=/tmp/apex/apex/images -Dapex.port=8585 -Dapex.erase -jar /source_install/apex_listener.1.1.3.243.11.40/apex.war
    INFO: Starting: /source_install/apex_listener.1.1.3.243.11.40/apex.war
    See: 'java -jar apex.war --help' for full range of configuration options
    INFO: Extracting to: /tmp/apex
    INFO: Using classpath: file:/tmp/apex/apex/____embedded/start.jar:file:/tmp/apex/apex/WEB-INF/lib/poi-3.6-20091214.jar:file:/tmp/apex/apex/WEB-INF/lib/commons-fileupload-1.2.1.jar:file:/tmp/apex/apex/WEB-INF/lib/je-4.0.103.jar:file:/tmp/apex/apex/WEB-INF/lib/apex.jar:file:/tmp/apex/apex/WEB-INF/lib/ojmisc.jar:file:/tmp/apex/apex/WEB-INF/lib/ucp.jar:file:/tmp/apex/apex/WEB-INF/lib/xdb-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/xmlparserv2-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/ojdbc6.jar:
    INFO: Starting Embedded Web Container in: /tmp/apex
    Dec 13, 2011 6:40:22 PM ____bootstrap.Deployer deploy
    INFO: Will deploy application path=/tmp/apex/apex/WEB-INF/web.xml
    Dec 13, 2011 6:40:22 PM ____bootstrap.Deployer deploy
    INFO: deployed application path=/tmp/apex/apex/WEB-INF/web.xml
    Using config file: /tmp/apex/apex-config.xml
    -- listing properties --
    PropertyCheckInterval=60
    ValidateConnection=true
    MinLimit=1
    MaxLimit=10
    InitialLimit=3
    AbandonedConnectionTimeout=900
    MaxStatementsLimit=10
    InactivityTimeout=1800
    MaxConnectionReuseCount=1000
    APEX Listener version : 1.1.3.243.11.40
    APEX Listener server info: Grizzly/1.9.18-o
    Dec 13, 2011 6:40:23 PM com.sun.grizzly.Controller logVersion
    INFO: Starting Grizzly Framework 1.9.18-o - Tue Dec 13 18:40:23 ICT 2011
    INFO: http://localhost:8585/apex started.
    Using JDBC driver: Oracle JDBC driver version: 11.2.0.2.0
    I don't know how to "could you please check if you configured the directory for the static contents ("images") correctly"
    because the Installation Guide of Oracle about Install Apex in standalone mode do not tell me to configure images any more. I just run apex listener with above command "java -Dapex.home=/tmp/apex -Dapex.images=/tmp/apex/apex/images -Dapex.port=8585 -Dapex.erase -jar /source_install/apex_listener.1.1.3.243.11.40/apex.war".
    Thank you for your reply,Udo!

  • Firefox keeps remembering a website and won't allow me to log out and will not return to login page. been to cookies, saved passord options, nothing helps

    firefox keeps remembering a website and won't allow me to log out and will not return to login page. been to cookies, saved password options, says no password is saved but it is. nothing helps

    It might be that you are logged in with HTTP authentication (either basic or digest). This authentication is arranged by the browser, so you would have seen a pop-up dialog asking for a user name and password while logging in. It seems that these are cached by the browser and it requires you to restart the browser to log out...
    http://en.wikipedia.org/wiki/Basic_access_authentication
    http://www.tolaris.com/2009/09/08/logging-out-of-http-auth-with-firefox/
    Because I found that having to restart the browser quite annoying I stumbled on this question and also on the HTTP Logout add-on that allows you to log out without restarting your browser. Not many sites use HTTP Authentication, but you might give it a try.
    https://addons.mozilla.org/en-US/firefox/addon/http-logout/

  • Blank Login Page after Upgrade from 4.0.2 to 4.1

    Greetings,
    I just upgraded one of my Apex environments from 4.0.2 to 4.1. After the upgrade, I tried to access the login url and I get a blank page. Nothing on it, just a white page. However, if I do a View Source, all the html code is there. I wonder if it somehow lost where the Image, CSS and Javascript files are located. I am using the Apex Listener running under Weblogic 10.3.3. The Apex Listener was just a standard install with the image location being '/i/'. I am not sure how to debug this. Any help would be appreciated. Here is a snippit of code from the View Source.
    <!DOCTYPE html>
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com">
    <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      <title>Application Express Login</title>
      <link rel="icon" href="/i/favicon.ico" type="image/x-icon" />
      <link rel="shortcut icon" href="/i/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/i/css/apex_4_1.min.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_4_1.css" type="text/css" /><![endif]-->
    <link rel="stylesheet" href="/i/libraries/jquery-ui/1.8.14/themes/base/jquery-ui.min.css" type="text/css" />
    <link rel="stylesheet" href="/i/css/apex_builder_4_1.min.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_builder_ie_4_1.min.css" type="text/css" /><![endif]-->
    <!--[if IE 6]><link rel="stylesheet" href="/i/css/apex_builder_ie6_4_1.min.css" type="text/css" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="/i/css/apex_builder_ie7_4_1.min.css" type="text/css" /><![endif]-->
    <script type="text/javascript">var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;</script><script src="/i/javascript/apex_4_1.min.js" type="text/javascript"></script>
    <style> html {visibility:hidden;} </style><script type="text/javascript">apex.security.framebreaker("D");</script><script src="/i/javascript/apex_builder_4_1.min.js" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <!-- http_user_agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET4.0C; .NET4.0E) -->
    </head>
    <body >
    <noscript></noscript>
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm" autocomplete="off">
    <input type="hidden" name="p_flow_id" value="4550" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="1" id="pFlowStepId" /><input type="hidden" name="p_instance" value="1490118592031170" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="1900109790928053" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
    <a name="PAGETOP"></a><div class="htmldbBodyMargin">
      <div></div>
      <div style="width:798px; padding:20px 0 0 0; margin-left:auto; margin-right:auto;">
        <div class="rounded-corner-region" style="float:left;  width:798px;">
          <div class="rc-darkblue-top">
            <div class="rc-darkblue-top-r">
              <div style="float:left;"><h1><img src="/i/apex/builder/apex-logo-white.gif" width="300" height="30" alt="Application Express" /></h1></div>
              <div style="float:right; display: inline; margin: 2px 20px 0 0;"></div>
            </div>
          </div>
          <div class="rc-body">
            <div class="rc-body-r">
              <div class="rc-content-login">
                <div id="htmldbMessageHolder"><a name="SkipRepNav"></a></div>Thanks

    I had the same behavior using apache mod/plsql the solution is:
    a) shutdown apache (opmnctl stop)
    b) unzip the APEX install file in a directory on the machine where apache is installed
    c) correct in the dads.conf the virtual dir /i/ to the "images" directory of the unzipped file
    d) restart apache (opmnctl start)
    bye
    Franco Galante

  • Ebusiness suite R12 Blank login page

    Hello
    I have just installed ebs r12 on Windows XP via VMware but cannot get the e-business login page to come up. When I type "http://<host name>.<domain name>:<HTTP port>/OA_HTML/AppsLogin" I get a page cannot be displayed. But if I add .jsp at the end then I simply get nothing, not even the page cannot be displayed message comes up. I can connect to the DB using SQl Developer.
    The installation completed without any errors. I am very new to this but would really appreciate if someone can give me some direction on what to do. I come from an applicaiton support background and find this whole product quite a minefield to navigate around but if someone can also point out some learning materials then that would great too.
    Thanks
    K Hussain

    Hi Hussain
    You can check below links..
    Metalink Note : After Upgrade to R12 Login Displays a Blank Page [ID 832568.1]
    login page appears blank
    Thanks
    AJ

  • BT Sport Online Player - Blank Login Page

    Logged in, click BT Sports 1, 2 and ESPN but the page goes blank and the tab at the top flickers from "login page" to "connecting" and back again. But the main page remains completely white blank.
    I'm on a Mac if that makes any difference.
    Why no work?

    On a Mac, are you using Safari (with Silverlight plug-in) or Chrome browser? Chrome is not supported.
    See http://bt.custhelp.com/app/answers/detail/a_id/45893/c/348,6466

  • APEX Listener , Trying to logging in apex_admin, forbidden message.

    Hi,
    i am using the listener 1.1
    I have installed apex listener.
    trying to login apex_admin. http://localhost:8085/apex/apex_admin
    After entring the admin/password getting frobidden message..
    like this..
    http://localhost:8085/apex/wwv_flow.accept
    HTTP-403 forbidden..
    Can u tel the cause ofthis error, how can i fix this..

    Hi,
    you shouldn't get 403 for the apex_admin page, but the regular login page with message "Invalid Login Credentials".
    Questions that might be helpful for troubleshooting:
    Are you able to call a regular APEX page, e.g. login to an existing workspace or login to an application different from the APEX administration?
    Is there any entry on the APEX Listeners application log/console output that is generated during your login attempt?
    Are you using the APEX Listener in standalone mode or deployed on a J2EE container (WLS, GlassFish, OC4j, ...)? If the latter, which is it (including version)?
    Which database user did you configure your Listener to use for connecting to your APEX instance for?
    Is this user unlocked and is the password still valid and the same you entered when you configured the Listener?
    -Udo

  • HT2602 how to have a blank login screen

    how do i get a blank login page where it shows no user name or password just the area where to fill it in? i previously had it then all of a sudden it changed into where it shows the picture in the circle with the guest account next to it. i would like to go back into filling those in. thanks for the help.

    Hello, try this...
    System Preferences>Accounts>Unlock the lock, Login Options>display Login Window as...

  • Setting Default Login Page

    I am working on an existing application updating it to use custom authentication. When I changed the active authentication scheme APEX created a new login page (121). Why? How do I set it back to the login page I was using previously which I ahve customized somewhat?
    Thanks,
    Mark

    Hi,
    Check the the value of
    Edit application properties - User interfaces - User interfaces - Login URL
    and set the URL to your login page
    Regards
    Bas

  • Browser error on APEX Login Page

    Good morning,
    Version Information:
    - APEX 3.1.1
    - Database 11.1.0.6.0
    - Application Server: 10.1.3
    I'm using the APACHE install on my APP server to connect to APEX.
    When I connect to the APEX_ADMIN login page, after filling in the blanks, I get a browser error message, not an APEX error. The "caution" icon pops up on the status bar at the bottom of the browser window. When I look at the message, it says:
    Line: 34
    Char: 1
    Error: Object expected
    Code: 0
    URL: http://<myservername>:7778/pls/apex/f?p=4550:10:7817059686490562
    That URL, of course is the login page.
    When I checked the status, the install completed successfully. I am listening on port 7778 mainly because those that came before me configured the app server's http.conf with 7778.
    What am I missing?
    Thanks,
    Don.

    Thank you for your responses,
    Yes, I'm pretty sure that my image alias is correct (see my DADS.CONF listing below).
    I am NOT upgrading from 3.0, this is a new, clean install. I'm still checking other possible causes. Not sure where to go next.
    # ============================================================================ # mod_plsql DAD Configuration File # ============================================================================ # 1. Please refer to dads.README for a description of this file # ============================================================================ # Note: This file should typically be included in your plsql.conf file with # the "include" directive. # Hint: You can look at some sample DADs in the dads.README file # ============================================================================
    Alias /i/ "D:\oracle\AppServ\Apache\Apache\images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDocumentPath docs
    PlsqlDatabaseConnectString <myservername>:portno:<servicename> ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword <apexpassword>
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>

  • Limit access to Apex login page

    Hi,
    We are deploying an application to our users. I need to limit access to Apex login page f?p=4550 to some predefined Ip adresses. Any ideas on this?
    Best regards,
    Onur.

    How exactly the APEX engine forces a '404' to be returned, I am not entirely sure. Perhaps it sends back the Response with the Header Status set to 404 ?Yes, with this process on the login page.
    begin
      if not #OWNER#.wwv_flow_security.ip_check then
          #OWNER#.wwv_flow.g_unrecoverable_error := true;
          sys.owa_util.status_line(404, 'Page Not Found');
          sys.owa_util.http_header_close;
      end if;
    end;Scott

  • APEX listener - empty page ??

    Hi,
    I have installed tomcat / APEX listener on Oracle Enterprise Linux 5 (with 11gR2 database)
    The configuration seems to be done ... but the page: http://oel52server:8080/apex/apex give me an empty page ?
    do you know what's wrong ?
    Cyryl

    Thanks for the answers.
    I have a similar problem-- but I believe it may not be because of JDK ver. (becaue I already use ver. 6.0).
    Although I am able to see the Apex login page. http://localhost:8888/apex/, but no images are displayed. Moreover it asks for Workspace, Username, Password which I am unaware of (it did not ask for any such information while installing apex). It looks like none of the buttons/links are active. Did I do anything wrong while installing apex?
    This is how I installed Apex.
    1. Downloaded and installed tomcat application server and Apex Listener as per the instructions given in the link:
    http://www.oracle.com/technology/products/database/application_express/html/apex_listener_install_web.html
    (section B. Installing with Apache Tomcat in the installation )
    2. The images are copied to the following location (as given in the instruction):
    C:\apache-tomcat-6.0.24\webapps\ROOT\images
    3. Started both oracle db server and tomcat app. server
    4. Opened the page http://localhost:8888/apex/Config
    at this point I get the login page with no images and inactive links/buttons.
    Appreciate any help.
    Thank you,
    Pravy

  • Need help on customizing a login page in APEX 3.0

    I am new to APEX 3.0 and I am trying to add another field to the standard login page. Basically, I would like to keep the username password field and add a PIN number and/or challenge question to the login 101 page. The user would enter a PIN # and/or response to a challenge question in addition to the username password and have it all processed to allow a login. In addition, if the user enters the correct PIN# and/or Challenge, I want to execute this code " EXECUTE IMMEDIATE DBMS_SESSION.SET_IDENTIFIER (':p101_client_id'). P_101_client_id being the item name I 've added to the login 101 page which should be initialized to the value entered as the PIN# Can anyone help me? Thanks!

    Thanks for your response. I have an FGAC policy defined on a particular table to allow/disallow access to the table data. The policy in place is similar to this function:
    BEGIN
    IF (SYS_CONTEXT('USERENV','OS_USER')='ODS-SV1\George Jucan' AND
    -- SYS_CONTEXT('USERENV','IP_ADDRESS')='192.168.0.2' AND
    SYS_CONTEXT('USERENV','SESSION_USER')='APPSVR' AND
    SYS_CONTEXT('USERENV','TERMINAL')='ODS-SV1')
    OR
    (SYS_CONTEXT('USERENV','SESSION_USER') = 'SHIP2004' AND
    SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER')='Administrator')
    THEN
         cond := ' CARD_NO IS NOT NULL';
    ELSE
         cond := ' CARD_NO IS NULL';
    END IF;
    RETURN (cond);
    END sec_predicate ;
    With this in place, I can not see the data I need for a report I have created. Which is expected behavior. What I want to do is upon logon to my APEX application add a third box i.e. PIN#, in addition to the standard username password and have this pin number processed as the SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER')='Administrator') ('Administrator' being the correct "PIN"). If I go through SQL Plus and I have the correct login information mentioned in the above function, I can issue the dbms_session procedure initialized to 'Administrator' and gain access to the data. I do not want every database session to have acces to this data only the person(s) that meet the FGAC predicate. If not then you can not view this data. Other data can be visible. I am not sure how to implement this so my APEX interface can make use of my FGAC policy. Can you have a restriction on a particular page and/or page item that requests a "PIN" before you are allowed to view the page and/or item? I hope this provides more detail.

  • Third party system login page instead of apex login page

    Hello,
    One of my customers wants to login into an apex application using their intranet page. This page has two text fields:
    username and
    password
    and a login button.
    There is no validation done at their side. The goal is to pass this information to apex and apex needs to check if this information is correct (checking against own user tables) and let the user into the application or refuse an access. I am thinking about the best way to do that. Is there anyone out there with some similar experience?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

    Have a look SOLVED: Automatic Login but only if a user is an Oracle User
    Well I effectively do this with our Java application calling an APEX reporting application.
    The trick is to get apex to automatically submit the login page without the user having to pressing the login button.
    Once this works, the rest is fairly straightforward.
    Effectively what happens is our java application calls a procedure which populates a table with
    a username, encrypted password and a checkvalue (randomly generated), and returns the checkvalue to the calling procedure.
    We also have the bones of the URL in a properties file.
    The login page reads the value of the checkvalue from the URL in teh html header using various bits of javascript.
    We have a before header process on the apex login page which reads the information from the table
    table (and deletes it as soon as it reads it).
    It then uses the username, and password obtained from the table and just passes these values to the wwv_flow_custom_auth_std.login procedure.
    I can email you the code if you want.

  • Apex 4.1 Login Page 101 Branching Issue

    Branching Issue from P101 based upon P101_USERNAME value entered..Please Help!
    I'm having the following code on Page101 main 'login' process. The goal is to go to page 100 if the user is a normal V_USER or go to page 200 if the user is V_ADMIN. For the P101_USERNAME value, I'm determining whether the user or admin variable in my login process. However, I'm NOT branching correctly to the expected page.
    The function calls to determine whether V_USER or V_ADMIN work correctly in my tests outside of APEX.
    To prove the following, I hard-coded the page no. to either 100 or 200 and both of them direct to the right page, upon login, in such instances. However, when I'm determining the branching path with the below function call, the branching fails and Always goes to Page 100..I'm totally perplexed. Please help.
    The thread on the forums was helpful but the user who potentially got his answer didn't show the final example as to how it worked for him.
    Re: Apex 4.1 Redirect after login
    My login process on P101 main apex login page..
    --Page101 'login' process
    DECLARE
    v_path VARCHAR2(40);
    v_role VARCHAR2(200);
    FUNCTION getUserRole RETURN VARCHAR2
    IS
    v_ret VARCHAR2(40);
    v_user VARCHAR2(40);
    BEGIN
    IF v_ret IS NULL THEN
    BEGIN
    v_user := LTRIM(RTRIM(HTF.ESCAPE_SC(v('P101_USERNAME'))));
    --//Tested these calls outside of apex and work as expected perfectly.
              IF (my_pkg.is_user(v_user) = 'Y' AND my_pkg.is_admin(v_user) = 'N') THEN
    v_ret := 'V_USER';
    ELSIF (my_pkg.is_user(v_user) = 'N' AND my_pkg.is_admin(v_user) = 'Y') THEN
    v_ret := 'V_ADMIN';
    END IF;
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    END IF;
    RETURN (v_ret);
    EXCEPTION WHEN OTHERS THEN RETURN v_ret;
    END getUserRole;
    BEGIN
    --//Set page path for user/admin. if not use default page 100
    v_role := getUserRole;
    --//Hardcoding works as expected. but the above line getUserRole doesn't compute properly
    --//The my_pkg.is_user, my_pkg.is_admin work and return values as expectd.
    --//I'm not sure whether P101_USERNAME value is available or not in this main 'login' procedure on P101
    --//v_role := 'V_ADMIN';
    if v_role = 'V_ADMIN' then
    v_path := ':200';
    :APPVAR_ROLE := 'V_ADMIN';
    :APPVAR_LOGIN_BRANCH := '200';
    :FSP_AFTER_LOGIN_URL := NULL;
         wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||v_path);
    elsif v_role = 'V_USER' then
    v_path := ':100';
    :APPVAR_ROLE := 'V_USER';
    :APPVAR_LOGIN_BRANCH := '100';
    :FSP_AFTER_LOGIN_URL := NULL;
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||v_path);
    end if;
    end;
    --------------------

    There is a simpler method to accomplish this.
    On your home page (typically page 1) create a branch with the branch point "on load before header"
    Set the action to your desired target page.
    Create a condition based on your user's role .
    Which I see are similar instructions to those suggested in your linked message.
    Scott

Maybe you are looking for