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 (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:899)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
at _AppsLocalLogin._jspService(_AppsLocalLogin.java:303)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:37 )
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)


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.

8 comments:

Arnoud Roth said...

Hi Bas,
Did you recompile your JSPs already?

$ cd $FND_TOP/patch/115/bin
$ perl ojspCompile.pl --compile --flush -p 2

Other things to verify is whether all of your services in AS are up and running (opmnctl status).

I read about this problem related to a timeout issue on the startup of the Application Server components. Doc ID 564536.1 has information on how to increase the timeout accordingly.

HTH;-)
Regards,
Arnoud

Event Lighting Services Los Angeles said...

I found this informative and interesting blog, so I think so it’s very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me. I really thought that blog is spreading its wings rapidly...


Event Lighting Services Los Angeles

DraxZaster said...

@Arnoud Roth - this helped me immensely. Oracle MOS and some other blogs tried to get me to make a lot of memory config changes for the java. I would add that the applications need to be shut down before recompiling the JSPs. Thanks for the assist.

Akil said...

Great post.Very good explanation.

Online Java Training From India |Java Training in Chennai |Online Java Training

Anna said...

Great and Nice Article

Online Java Training | Java Training in Chennai

Satya Kotapati said...

most of the cases when we see the below error it could be the issue at tablespace level.

javax.servlet.ServletException: java.lang.RuntimeException: Unable to create user session. Please contact your System Administrator.

Regards,
Satya.
Akamai.

Unknown said...

Hi no one is able to login to the main production instance and no errors are found when the instance is bounced.

Tents Suppliers Nigeria said...

Al Fares International Tents and Marquees are rented for the purpose of accommodating indoor and outdoor events, such as Exhibition, Tradeshows, Wedding celebrations, Concerts, Music Festivals, Carnivals, Defense Exhibitions, Sporting Events, etc. We are also engaged in other services such as Field Hospitals, Drive Through or Screening Tents, Cooling Solutions, Commercial, and Industrial Mobile Halls. Tents Suppliers UAE | Tents Rental UAE