Friday, December 04, 2009

Login problems R12

On our R12 eBS environment we are facing a problem when loggin in. It does not happen all the time, because we use more then one web node (loadbalancer), but when trying to acces the login page the following error is shown...

"Unable to generate forwarding URL. Exception: oracle.apps.fnd.cache.CacheException"

or a blank page is shown instead of the login page. In the applications.log file ($INST_TOP/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1), I found the following error :

09/11/10 08:04:38.130 html: chain failed
javax.servlet.ServletException: java.lang.RuntimeException: Unable to create user session. Please contact your System Administrator.
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.EvermindPageContext.handlePageThrowable(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.EvermindPageContext.handlePageException(
at _AppsLocalLogin._jspService(
at com.orionserver[Oracle Containers for J2EE 10g ( ].http.OrionHttpJspPage.service(
at oracle.jsp.runtimev2.JspPageTable.service(
at oracle.jsp.runtimev2.JspServlet.internalService(
at oracle.jsp.runtimev2.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.ResourceFilterChain.doFilter(
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.EvermindFilterChain.doFilter(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.ServletRequestDispatcher.invoke(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.ServletRequestDispatcher.forwardInternal( )
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.HttpRequestHandler.doProcessRequest(
at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.HttpRequestHandler.processRequest(
at com.evermind[Oracle Containers for J2EE 10g ( ]
at com.evermind[Oracle Containers for J2EE 10g ( ]
at com.evermind[Oracle Containers for J2EE 10g ( ].util.ReleasableResourcePooledExecutor$

Searching Metalink did not solve this. I could only find something about APPS_TS_ARCHIVE tablespace being full...
What could cause this problem in R12 ??

It seems it is unable to create a user session at that moment.

Tuesday, August 25, 2009

Missing AppsLogin.jsp...

I am still facing the same problem with my R12 upgrade.
When running the post install checks using Rapidwiz , only the JSP and the Login page show errors.
For jsp I see 'JSP not responding, waiting 15 seconds and retesting'
and the Login Page shows 'RW-50016: Error. -{0} was not created. File= {1}'

The strange thing is that all other checks are oke. Even the /OA_HTML/help check !
So, the problem is not in the /OA_HTML/ part I think. But when trying to open the help or AppsLogin.jsp in a browser shows me the same error. '/OA_HTML/AppsLogin.jsp not found on this server'

To be continued...

Sunday, August 23, 2009

R12 upgrade

I Finally upgraded my environment to R12.
I followed the steps mentioned in the different upgrade guides. What do I have runing right now ?

- Oracle eBS 12.0.6
- Oracle database
- Oracle tech stack (old ora directory)
- Oracle tech stack (old iAS directory)

So, having no problems during the upgrade proces, I finished starting al services. When trying to login my new upgraded eBS I recieved an error saying the /OA_HTML/AppsLogin.sjp could not be found on this server...

At first I thought some config must be missing, but before looking at those conifg files I first checked if the file AppsLogin.jsp was in the $OA_HTML directory. I was suprised to see the jsp was not in the $OA_HTML ??? Were is the jsp ? And why is it not in this directory ?
I used the same stage area before to perform an fresh install of R12, and the AppsLogin.jsp was always in the right place !

So, this is the stage I am in at this moment. Upgrade finished with no errors od problems o nthe way. But my AppsLogin.jsp is missing !

To be continued...

Monday, August 03, 2009

R12 upgrade

Finally I started my owm R12 uprgade last week.
I installed on Oracle Linux 5, so I could upgrade this environment to R12.
At this moment I am installing the upgrade pacth for R12.

After installing the vision environment 11i, I used the rapidwiz to create the R12 environment on that same machine.
I will post al the upgrade steps when I am finished upgrading...

Thursday, June 25, 2009

Removing Credentials from a Cloned EBS Database

During the post clone actions, changing the apps pasword went wrong. Because of that the applsys and apps password were not the same anymore. Trying to fix the problem using FNDCPASS was useless, FNDCPASS was not working anymore.
We saw 'APP-FND-02704: Unable to alter user APPS to change password.' in the log file. After trying it again, 'APP-FND-02704: Unable to alter user APPLSYS to change password.' appeared in the logfile. At t his moment both passwords could not be changed anymore using FNDCPASS.

The first thing we tried was restoring FND_USER and FND_ORACLE_USERID from our production database. Exporting the data from both tables and importing it in the cloned database did not solve the problem. This should work normally, but not if you have already run autoconfig....and we did before the passwords became out of sync.
Note 419475.1 from Metalink solved the problem. Resetting all passwords in the database (eBS and non eBS database users), did solve this !

Wednesday, April 29, 2009

OEM problem solved...

The OEM problem with the http server not startign is solved. We solved the problem by installing an older version of the package (for Suse 10 install older version of 1_db).
After this the http server started and I was able to continue the install.

At the end of the install again a http error...

[Wed Apr 22 11:41:33 2009] [error] mod_ossl: Unknown error
[Wed Apr 22 11:41:37 2009] [error] mod_ossl: Init: Server SSL setup failed: call to nzos_RetrievePersonaCopy returned error 28788
[Wed Apr 22 11:41:37 2009] [error] mod_ossl: Unknown error

I could not remember seeing this error before, but I found a sollution anyway. I solved it by adjusting the httpd_em.conf and changing the SSLWallet file and passsword. These values must be the same as in the ssl.conf file.

So, after some problemns I managed to install the OEM on Suse 10 linux.
After this , I upgraded to OEM (certified on Suse 10) and I upgraded the OEM repository to
Now, the different targets can be configured for monitoring.

Monday, April 20, 2009

OEM10gR2 install on Suse linux 10

I am facing a problem....
Again I am trying to install OEM10gR2 on SUSE LINUX 10.
I know it's not certified by Oracle, but I have to install it anyway. Everything seems to go fine, but when the installer wants to start the opmn returns an error.
The HTTP_SERVER is not starting, the following error is in the logfile..

Cannot load /opt/oracle/product/oem/oms10g/Apache/Apache/libexec/ into server: /opt/oracle/product/oem/oms10g/Apache/Apache/libexec/ undefined symbol: dbm_fetch

Monday, February 09, 2009

Tracing web session in eBS

Because of a problem in Oracle Emailcenter I had to create a trace file of my web session.
Here are the steps taken :

This process can be used to trace any action, anywhere in Oracle Applications and be very useful for the Self-Service Web Applications as there is no utility defined like in the Forms.

a. First make sure the necessary profile has the proper permissions.
1. Log onto the Applications Forms with the Application Developer Responsibility
2. Navigate to the Profile menu
3. Query up the profile name "FND_INIT_SQL"
4. In the bottom block of the form, make sure that ALL checkboxes are checked Typically, you will have to enable the checkboxes under "User Access" to make it "Visible" and "Updatable".

b. Now switch to the System Administrator Responsibility
1. Navigate to - Profile - System
2. On the "Find System Profile Values" form, make sure the checkboxes for "User" and "Profiles with no Values" are checked
3. Beside the "User" checkbox, use the LOV to select the user who's activity you need to trace
4. In the "Profile" field, enter the following profile and click the button: 'Initialization SQL Statement - Custom'
5. In the "System Profile Values" form, enter the following in the User Field: (This is one line and all single quotes)

begin fnd_ctl.fnd_sess_ctl('','','TRUE','TRUE','LOG','ALTER SESSION SET EVENTS=''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'' tracefile_identifier=''bklaassen'' max_dump_file_size=''unlimited'''); end;


7. In another browser window, login as the user you are going to trace and prepare to reproduce the problem
8. Once you are ready to reproduce the problem, go back to the Applications Forms and Save the profile change
9. Reproduce the problem
10. Back in the Applications form, set profile to null so it does not trace anymore and Save the change
11. The trace will be located in the user_dump_dest. To find location run the following in SQL*Plus: select value from v$parameter where name = 'user_dump_dest';
12. The trace file will have current date/time and can be identified with the word bklaassen in it.

Note : for an example with screenshots of eBS follow this link :)

Tuesday, January 13, 2009

Oracle eBS and SOA session...

It is still two months ahead us, but I already signed up for this session. Amis is presenting the EBS and SOA session on 19 March. The session is located in Nieuwegein and is in dutch.
So, if you are living in the Netherlands and interested in eBS and SOA, check the Amis site !!