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
Similar Messages
-
Problem closing Skillbuilders modal page when using Login page 101
Trying to setup website with the Login page opening in a modal window instead of normal Apex window.
Have a Global Page (0) which has a Login button defined - that has a dynamic action defined on it
Login Clicked
True
SkillBuilders Modal Page(2.0.0) [Plug-in]
Fire When Event Result is True
Dialog Title: Login
URL Location: Statically Defined
Static URL: f?p=&APP_ID.:101:&APP_SESSION.:::1:::
Auto-close On Element Selector: div#success-message
Created a branch page 102 called Close Modal
Have tried putting the following javascripts into Page 102 and also without - but cannot get the modal window to close out.
Dynamic Action on page 102 Close Modal Window - Event is On Page Load. No condition set
Execute Javascript Code
Fire When Event Result is True
Fire On Page Load - checked
Code:
javascript:parent.$(parent.document).apex_modal_page('close');
Any ideas which might help ?
Thanks - JonathanI can't say. I have not successfully tried this in any version of Apex (until just now).
Ignore my suggestions regarding page 0 from earlier.
If the user is on a page in your application and they have an invalid session, when they get that valid session in the login page how are you going to pass along that information to the parent/calling page? This just doesn't seem to be only about the authentication scheme.
A simple test I set up right now has me at page 1. I click a button and I get the login page modal. I login and the modal window displays a logged in version of page 1. But if I manually close that modal window and then refresh page 1 in the main parent window, I am still not logged in. A little further digging and I see it is in part due to the URL and the session id within.
If my URL is http://apex.oracle.com/pls/apex/apex/f?p=18025:1 then this refresh will not work.
If my URL is http://apex.oracle.com/pls/apex/apex/f?p=18025:1:123456 and 123456 is not a valid session then this refresh will not work.
You'd need to follow Jorge's suggestion to use some javascript like top.location.href="&FSP_AFTER_LOGIN_URL." to set the parent window to use the correct url containing the session id.
You would have to control when that code is placed on a page. I have a working example now at the above URL that uses a dynamic action on page 0.
Event = Page Load
Condition = Page != 101
Action = Execute Javascript Code
JS Code =
if (window.location != window.parent.location)
parent.location.href="&FSP_AFTER_LOGIN_URL."
So if I am loading page 101 do nothing. If I am loading another page, check if the parent and iframe are different source locations (indicating this is an iframe because even a non-iframe window will have a value for parent.location) and if so then set the parent page location to that of the iframe. In effect the redirect that happens in the modal is transferred to the parent.
This will break any other modal page instances you use though. But you could add them to the condition of the dynamic action on page 0 so you have something like "page not in 101, 1020, etc."
It seems to work but it feels like a hack to me. Perhaps a specific template for the modal window with some version of this javascript would at least keep you from running this script on every page load.
Greg -
Creating Login Pages - Server Behavior Issues
Hello,
I been trying to find a solution to this problem for this
past week.
I'm having issues with creating a login page. First, I get
the page created with a username text box, password text box, save
username checkbox, etc. Next, I add the server behavior for 'User
Auth' - 'Login User'. Now..here's the problem. When I complete
that, I get this error (SEE BELOW). Somehow the server behavior
duplicates. I can't go on until I make one of them unique from the
other. I tried every which way to delete it, but I can't. Any
suggestions?
SERVER BEHAVIOR ERROR
"The server behavior panel cannot determine whether "Log In
User" or "Log In User" is applied to your page. Please select Edit
Server Behaviors and change one of the 2 behaviors to ensure that
each is uniquely identifiable."
NOTE: By using the "-" sign above the panel, I can't remove
the duplicate.
Also, when I create a login page, I do need to insert a form
first("form1") and then place the username, password, checkbox
inside that "form1" form I just created, correct?
Thanks for all your help!
CraigGD WebDev wrote:
> Hi,
>
> I have set-up up a database based upon username,
password and security access
> level, the access level contains 3 types of groups.
group 1, group 2 and group
> 3.
>
> I've used the dreamweaver login user server behavior.
Looking at this it only
> allows you to go to one succeed page.
> Because i have got three user access levels, i'm looking
for it to send each
> set of users from each access level to three different
succeed pages.
> In other words, group 1 is sent to one succeed page,
group 2 is sent to a
> different and group 3 to another.
>
> Is there away of doing this?
>
You could do a redirect on the page that they do land on once
succeeded.
My personal preference would be to make one page, and only
show the user
groups parts of the page that they are allowed to see.
Steve -
OAM and Oracle Apps R12.1.1. Integration : Login page re-direction issue
Iam facing redirection issue when I tried accessing the URL http://hostname:port/context/OAMLogin.jsp and its going to the page http://hostname:port/access/oblix/apps/webgate/bin/webgate.so but its not logging into the application
Please help me in this issue.
Thanks,
Rajendra.Overlooked that you have already mentioned the version.
Then your issue is same as pretty much everyone facing it.
When Accessgate is deployed with script SSO_SERVER_RELEASE gets set to 10 in PLan.xml.
And as per the design if the SSO_SERVER_RELEASE is 10, then SSO_SERVER_URL will be hardcoded as /access/oblix/apps/webgate/bin/webgate.cgi.
If SSO_SERVER_RELEASE is 11, then SSO_SERVER_URL should be of format http://myoamserver.example.com:14100/oam/server/auth_cred_submit
So technically with v11 in our cases, it should not even go to webgate.so
So only option left is to deploy accessgate manually
let me know if you need more information with this
IK -
Maintaining login page session id
I have a login page 101 that has some webservice calls in it and saves returned data into collections. I am using the standard login pkg :
wwv_flow_custom_auth_std.login(
P_UNAME => :P1_USERNAME,
P_PASSWORD => :P1_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':100'
I noticed that afer login and going to home page ( page 100 here ) it changes the session id , which results in wiping out my collections! Is there a way to maintain the same sessionID for the login page and use it through the application ? I thought that P_SESSION_ID => v('APP_SESSION') is supposed to do that but it actually does not !
Any hints ?
Thanks,
SamScott,
I would love to upload my app to apex.oracle.com, but I can not actually do that for many reasons including the amount of work/time it may take.
But I can provide you with an overview of what I am doing there:
1- page 101 is my login page
- I have a process before submit that is basically a secure web service call (( and I think this is causing the issue but am not sure yet))
- On submit, I have a login process that basically calls a custom auth. scheme that looks like the built in auth scheme except in that it checks for users in some users table I defined and checks the role for the user to redirect to the appropriate page ... 1,2,3.....
my_sec_pkg.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID
);and my sec_pkg.login calls the standard login function:
--check for user in my users table and check the role, and finally sets the go_to_page, then
wwv_flow_custom_auth_std.login(
P_UNAME => :P1_USERNAME,
P_PASSWORD => :P1_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':'||go_to_page
);and I also have a valid_user function in this package that simply returns true if user is valid and is set to be my current auth. scheme
Now when I login to Apex >> my app >> run for the first time (user in session state is my apex_user)>> login works fine
If I log out , user in session state becomes no body and if I try to login with correct user/pwd is gives the error I reported in my first post
Another way to reproduce this error is to run the app directly in a browser , i.e type in "....../pls/apex/f?p=100:101 " , here I also will see the "nobody" user and same problem.
I am suspecious that this has to do with my web service call, since I never had such an issue before ( where I never used web services).
Another note about changing the session id in the home page ( right after I login) , I checked the session value passed to the auth. pkg, and it is the correct session id for the login page, but I don't know why it changes it in the home page ! which causes me to loose the collection that saves the web service call return!
P.S: here is my logout URL :
wwv_flow_custom_auth_std.logout?p_this_flow=&APP_ID.&p_next_flow_page_sess=&APP_ID.:101Sorry for the time this may consume , but I tried to provide as much useful details as possible.
Thanks,
Sam -
Apex homepage with login and new user registration
Hello there folks,
I m building an application on Apex 4.2.1
Our login page (default login page 101 from Cloudy 24 theme) has a login for existing users, works perfect.
On the same page, I want to add a new region for new users to register.
So we add a Button, named REGISTER NEW USER that points to a new form that a user inputs his data.
But unfortunetely the button doesn't go to the new page and our bet is that it's because of authentication issues.
How can we move to the new form, without needing login credentials?socrates wrote:
Hello there folks,
I m building an application on Apex 4.2.1
Our login page (default login page 101 from Cloudy 24 theme) has a login for existing users, works perfect.
On the same page, I want to add a new region for new users to register.
So we add a Button, named REGISTER NEW USER that points to a new form that a user inputs his data.
But unfortunetely the button doesn't go to the new page and our bet is that it's because of authentication issues.
How can we move to the new form, without needing login credentials?In the Security settings of the new page, set the Authentication property to Page Is Public. -
Login error in the login page ...
Hi all,
I have a few applications in my work space but one of the application I can not run, when try to run getting this error message -
ORA-06550: line 1, column 10: PLS-00201: identifier 'RATIS_USER.IS_ADMIN' must be declared ORA-06550: line 1, >column 7: PL/SQL: Statement ignoredIn the debug section, it shows the following -
0.02:0.02: S H O W: application="37206" page="101" workspace="" request="" session="3410044959524885"
0.03: alter session set nls_language="ENGLISH"
0.03: alter session set nls_territory="UNITED KINGDOM"
0.03: NLS: CSV charset=WE8MSWIN1252
0.03: ...NLS: Set Decimal separator="."
0.03: ...NLS: Set NLS Group separator=","
0.03: ...NLS: Set date format="DD-MON-RR"
0.03: ...Setting session time_zone to -05:00
0.03: NLS: Language=en-gb
0.03: Application 37206, Authentication: CUSTOM2, Page Template: 5425767280642058915
0.03: ...Session ID 3410044959524885 can be used
0.03: ...New Instance Detected - :4500:4350:4000:50843
0.03: ...Application session: 3410044959524885, user=TAJUDDIN335
0.03: ...Determine if user "TAJUDDIN335" workspace "2617034107818392993" can develop application "37206" in workspace "2617034107818392993"
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 37206, page 101
0.03: Fetch session state from database
0.03: Branch point: BEFORE_HEADER
0.03: Authorization Check: "5474429220436784237" User: "TAJUDDIN335" Component: "APPLICATION"
0.03: Fetch application meta data
0.04: Computation point: ON_NEW_INSTANCE
0.04: ...Perform computation of item: F102_APP, type=STATIC_ASSIGNMENT
0.04: ...Performing static computation
0.04: ...Session State: Save "F102_APP" - saving same value: "RATIS - Recreation And Tourism Information System "
0.04: ...New Session = True
0.04: Processing point: AFTER_AUTHENTICATION
0.04: ...Process "set_is_admin": PLSQL (AFTER_AUTHENTICATION) IF ratis_user.is_admin(:APP_USER) THEN :F102_IS_ADMIN := 'TRUE'; ELSE :F102_IS_ADMIN := 'FALSE'; END IF;
0.04: Encountered unhandled exception in process type PLSQL
0.04: Show ERROR page...
0.04: Performing rollback...
0.05: Processing point: AFTER_ERROR_HEADER
>
I could not find anything in the login page 101, I had one custom_authentication package which I have removed but still the same error. Any ideas ....!!!
Thanks in advance,
TajuddinLooks like you have an on-new instance application process that calls a non-existent function "ratis_user.is_admin".
Scott -
Remote user Authentication in customize login page
Hi all,
I would like to make sincere request to all you that I am not able authenticate my users based on tables. I start to learn HTML DB before 20 days and created simple application.
Requirement:
1: Created new login page P16 other than inbuilt login page 101.
2: created table “trx_employee_login” which will keep track of user information
3: after giving URL to user if user enters usr/passwd then it should take username and password (remote ) and validate in “trx_employee_login” table and if it exist then open some (page 34) page
in the current application.
Approach:
1: written authentication function as
CREATE OR REPLACE FUNCTION custom_auth (
p_username IN VARCHAR2,
p_password IN VARCHAR2
RETURN BOOLEAN
IS
l_password VARCHAR2 (4000);
l_stored_password VARCHAR2 (4000);
l_count NUMBER;
BEGIN
SELECT COUNT (*)
INTO l_count
FROM trx_employee_login
WHERE user_name LIKE p_username;
IF l_count > 0
THEN
SELECT PASSWORD
INTO l_stored_password
FROM trx_employee_login
WHERE user_name LIKE p_username;
IF l_password = l_stored_password
THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
ELSE
RETURN FALSE;
END IF;
END;
2: created authentication scheme and entered
return custom_auth;
in authentication function.
3: same like I created Set Username cookie :
begin
owa_util.mime_header('text/html', FALSE);
owa_cookie.send(
name=>'LOGIN_USERNAME_COOKIE',
value=>lower(:P16_USERNAME));
exception when others then null;
end;
and other process to like 101 page
but I m not able to get the result showing always message “Invalid Login Credentials”
Please it will be great help if any one will help me. I m trying from the last 5 days but not able to do. I love to do myself first and if not possible then like to ask others. So please need help. Any other approach will be appreciated.
Thanks && Regards
RaviThanks Scott very Much,
I changed but still I am not getting showing invalid credetial.
Any how I got some hope by you. Can you have look on this please again.I am very new in HTML so after six days trying I am bit tensed.Here is what I am doing
1: Created new login page Page 16.
2: In page rendering process I created a “Before Header process named Get cookie Name ” just like inbuilt login Page :
declare
v varchar2(255) := null;
c owa_cookie.cookie;
begin
c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
:P16_USERNAME := c.vals(1);
exception when others then null;
end;
Incase of :P101_USERNAMR I change it as :P101_USERNAMR .
3: In page rendering I created “Clear Cache for all Items on Pages (PageID,PageID,PageID)”
process for page 16.
4: In Page processing I created a process named “Set Username Cookie” type After computation and Validation.
5: In page processing I ceated process Login just like page 101 and changed as
wwv_flow_custom_auth_std.login(
P_UNAME => v('P16_USERNAME'),
P_PASSWORD => :P16_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
6: created one branch “On submit after processing to go to page 1 my welcome page”
7: Created Authorisation scheme function returning Boolean:
DECLARE
l_count NUMBER;
BEGIN
SELECT COUNT (*)
INTO l_count
FROM trx_employee_login
WHERE user_name = :p16_username AND PASSWORD = :p16_password;
IF l_count > 0
THEN
RETURN TRUE;
ELSE
:p16_username := NULL;
:p16_password := NULL;
RETURN FALSE;
END IF;
END;
8: I modified the function and make it UPPER case comparison as :
CREATE OR REPLACE FUNCTION custom_auth (
p_username IN VARCHAR2,
p_password IN VARCHAR2
RETURN BOOLEAN
IS
l_password VARCHAR2 (4000);
l_stored_password VARCHAR2 (4000);
l_count NUMBER;
BEGIN
-- First, check to see if the user is in the user table
SELECT COUNT (*)
INTO l_count
FROM trx_employee_login
WHERE UPPER (user_name) = UPPER (p_username);
IF l_count > 0
THEN
-- First, we fetch the stored hashed password & expire date
SELECT PASSWORD
INTO l_stored_password
FROM trx_employee_login
WHERE UPPER (user_name) = UPPER (p_username);
-- Finally, we compare them to see if they are the same and return
-- either TRUE or FALSE
IF l_password = l_stored_password
THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
ELSE
RETURN FALSE;
END IF;
END;
In case of point 5 I mentioned how should I call my custom_auth function.
I m not getting if I am changing it as
custom_auth_ (
P_UNAME => v('P16_USERNAME'),
P_PASSWORD => :P16_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
then showing error and if
custom_auth_ (
P_UNAME => v('P16_USERNAME'),
P_PASSWORD => :P16_PASSWORD
then wroung number of argument showing .
That’s what I am doing. I know I am doing some blunder but not getting where.
Can u please take a look and tell me what changes I should made to work this code.
Thanks && Regards. -
How to make login page navigate to last visited page?
Hi,
In our application, there are many public pages. In certain page, users need to login and then add or edit something. But login page will navigate to page 1 by default. Uses need to click some times to locate the last visited page.
I defined a new applicate item "LASTPAGE", and a new application process "setpage":
begin
if :APP_PAGE_ID!=101 then
select :APP_PAGE_ID into :LASTPAGE from dual;
else
select 1 into :LASTPAGE from dual;
end if;
end;
"setpage"'s process point is "On Load: Before Header(page template header)"
In login page 101, log in process is like following:
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||':'||:LASTPAGE
But the thing is it does not work. Log in page still go to page 1.
Best regards,
Qiang.
Message was edited by:
user535779Hi Scott,
I would like to branch at the page that I am trying to get to from page 101.
Let say page 12 Requires Authentication
When I am not logged in , and I try to access Page 12 , I get branched to page 101 (login page).
Now , from page 101 , I would like to branch to the page I was trying to access , in this case Page 12
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||:APP_PAGE_ID
The problem is that APP_PAGE_ID contains 101 and not 12
Francis. -
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. -
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. -
Login page Apex 3.1.1 very slow with remote access
I've recently installed Oracle Database 11.1.0.6.0. and upgraded Apex 3.0 to Apex 3.1.1
I've also configured the Embedded PL/SQL Gateway on port 7779.
When I browse locally to http://<host-name>:7779/apex everything goes fine, but when I browse to the same URL (with host-name OR IP adress) it takes up to 5min to load the login page. Once I can login, browsing through Apex is as fast as locally.
Is this a new security feature of Oracle 11G ?
Please adviceThe issue was already solved and you are right. It was an DNS issue. We are using a proxy server and with the proxy server enabled the login page of APEX takes a while to load. When disabling the Proxy Server, it goes like hell.
I was not familiar with the phenomenon, but finally I found. thanks a lot...
Kindly regards -
Adding Banner in page 101 (login page)
Hi all,
I'm using theme 10-Sand in Apex.
I placed a banner in de application by uploading the banner in the Shared Components> Images.
The problem is that i can see the banner in the other pages of my application except in the login page (page 101).
Can anyone assist?
Kind Regards,
Reena.Found it,
Thanks Varad, i tried something with which i thought was the Logo substitution string.
In the Edit page of the login, i put this piece of code in the body:
*<tr>*
*<td id="t10Logo" valign="top" width="100%">#LOGO#
#REGION_POSITION_06#</td>*
*<td id="t10HeaderMiddle" valign="top" width="100%">#REGION_POSITION_07#
</td>*
*</tr>*
And it worked.
Kind Regards,
Reena -
APEX 'Application Express Login' shows Blank Page
Hi,
I have just installed 11gr2 and APEX 4.1 with 'Apex Listener' on windows 7 64bit. Database is Up Listener is running but still i am getting Blank Login page.
http://127.0.0.1:8080/apex/f?p=4550:1:6450419446175836
Can any one please guide me how to troubleshoot the issue.
Regards,
Usman.Hi,
Yes, I have configured 'APEX Listener' .
Let mw tell you the step i am doing
1. Start the 11gr2 database.
2. Run the following command
E:\apex_listener>"%ABC%\jre6\bin\java" -jar apex.war
INFO: Starting: E:\apex_listener\apex.war
See: 'java -jar apex.war --help' for full range of configuration options
INFO: Extracting to: C:\Users\USMANM~1\AppData\Local\Temp\apex
INFO: Using classpath: file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/____
embedded/start.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/
lib/apex.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/lib/co
mmons-fileupload-1.2.1.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/
WEB-INF/lib/je-4.0.103.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/
WEB-INF/lib/ojdbc6.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-
INF/lib/ojmisc.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/
lib/poi-3.6-20091214.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WE
B-INF/lib/ucp.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/l
ib/xdb-11.2.0.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/l
ib/xmlparserv2-11.2.0.jar:
INFO: Starting Embedded Web Container in: C:\Users\USMANM~1\AppData\Local\Temp\a
pex
Oct 1, 2011 10:13:30 AM ____bootstrap.Deployer deploy
INFO: Will deploy application path=C:\Users\USMANM~1\AppData\Local\Temp\apex\ape
x\WEB-INF\web.xml
Oct 1, 2011 10:13:31 AM ____bootstrap.Deployer deploy
INFO: deployed application path=C:\Users\USMANM~1\AppData\Local\Temp\apex\apex\W
EB-INF\web.xml
Using config file: C:\Users\USMANM~1\AppData\Local\Temp\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
Oct 1, 2011 10:13:32 AM com.sun.grizzly.Controller logVersion
INFO: Starting Grizzly Framework 1.9.18-o - Sat Oct 01 10:13:32 PKT 2011
INFO: http://localhost:8080/apex started.
3. Try to access the page at "http://localhost:8080/apex"
Returns with BLANK PAGE
Kindly guide me.
Regards,
Usman. -
Issue with adding a new value to the Default Login Page
Hopefully this is an easy one guys, I've added a select list item to the standard login page (P101) to allow the user to select a DOMAIN as well as entering their username and password.
When the next page is displayed and I try to retrieve the value held in the new field it has been cleared, but the values entered into items
P101_USERNAME and P101_PASSWORD are still present.
I can't figure out why the values held in items P101_USERNAME and P101_PASSWORD are still present but P101_DOMAIN has been cleared.
I've tried creating a value on page zero and writing the domain value to it using pl/sql and javascript but as soon as the next page is requested the value is cleared.
Any Ideas how to get around this????
Thanks in advanceI suppose your login page contains a process like this:
BEGIN
wwv_flow_custom_auth_std.login (p_uname => v ('P101_USERNAME'),
p_password => :p101_password,
p_session_id => v ('APP_SESSION'),
p_flow_page => :app_id || ':1'
:t_random_number := :p101_random_number; /* this is something I added to my code */
END;Now, if you go to this page:
http://apex.oracle.com/pls/otn/f?p=31517:1
please note the random number assigned to you. Once you login, the same number will appear on the page 1 (near to the top).
So, that is how you could solve your problem.
:t_random_numberis an application item.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------
Maybe you are looking for
-
Flash app disconnects from FMS after an hour
I have developed a Flash chat for a client using FMS2. The application is used by goups of 5-15 people, who will use it for up to 2 or 3 hours in one session, sometimes even longer. Many of our users are complaining that they consistently get disconn
-
Color flickering on exported QT video
When I export video from FCP using Quicktime Conversion, my videos come out with this weird flickering color at odd places in the video. For example, you can see this weird flickering at about 42 seconds into this video: http://www.stonehomephoto.com
-
Before doing a fresh install of Leopard, I backed up my data files using pax. This is referenced at the following URL. http://developer.apple.com/macosx/backuponmacosx.html I had trouble restoring the files. I limited the archive volume size to 2gb b
-
PicDelete ohne Rückfrage???
Habe folgendes Problem: Erstelle mir zu meinen einzelnen Kanalgruppen je ein Layout und speicher es als tdr-File. Nun will ich beim Erzeugen eines gemeinschaftlichen ( also alle Layouts in einer pdf-Datei) die Seiten mit Seitennummern versehen... Hie
-
MDM Server doesn't start after upgrade to SP 5
hi, i'm not used to sap services on windows hosts. After the Update from 7.1.04 to 7.1.05 the mdm server doesn't start. I found only a few logs (unter c:/usr/sap/SID/MDS00/work). Most of them from sapcpe (without errors or warnings). Only the sapstar