What EBS release are you using?
We use 12.1.3
Somebody any idea?
Why are you using the custom jsp solution? In ebs r12 there is an easier solution. Do note that NEITHER solution will provide an out-of-the-box automatic apex login functionality, they're both simply redirect-to-apex-enabling methods. Try following the newer whitepaper for r12 to redirect to apex. For auto login, you can find a solution to that in the older r11 whitepaper by Rod West, which basically uses a process on the login page to check for an ebs session through the ebs icx cookies.
Thanks I will look into that!
Sorry but where can I find the older r11 whitepaper by Rod West?
Thanks in advanged
But I have already tried this paper.
So why do you flag it as the correct answer? ... Makes me wonder why I bother sometimes.
I know you've tried the paper, but you should only use the relevant pieces of it. The r12 ebs-apex whitepaper shows you how to set up the redirect to apex without having to resort to creating a custom jsp, but the r11 whitepaper has techniques that help you setting up authentication and an auto-login mechanism. It's pick and choose. Note I'm actually refering to a NON-SSO setup, which should be sufficiently described in the r12 whitepaper.
For example, the relevant code in the r11 document would be
- authentication: page 3 and 4, "Using the E-Business Suite Username and Password to logon", and the part of "Linking directly to APEX Forms and Reports from E-Business Suite Menus" until the 3rd paragraph on page 5. Ignore the parts about the custom jsp after that.
- Page 7: this has code that deals with automatic login. Note that the packages from p3-4 are being used here. In figure 10 you find all the code you need. The whitepaper also mentions where to place this code:
> The form function can then be added to the E-Business Suite menu to link the item in the menu to
> an APEX application and page, and if necessary pre-load the page with some item values. In the
> APEX application a ‘before header’ process for the logon page (page 101) can be used to read the
> ICX cookie and log the user in. This process should be conditional; only be run if the login page is
> processing the APPS request entered into the URL by the form function.
The request value can be skipped but that is up to you. I simply checked if a session is active and if yes, auto login, instead of working with request. Up to you to decide.
It's really just comprehensive reading and understanding what's occuring and has to occur.
Hi Tom Petrus,
Thanks for your answer. I will look into it next week and will update soon. I know the error is global..
I can login in APEX with the APPS users.. but the redirection is not working