Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF Application - users sometimes can and sometimes cannot login

user586004Jul 19 2007 — edited Jul 23 2007
Hello,

I have an JSF application deployed on a OAS 10.1.3.1.0 server.

From the main page users click on the link that opens a new browser where the user is supposed to input username/password in order to login into the application he/she selected.

As this page is loaded, the AM is initialized and the connection is established to the DB.

Application works, but sometimes, when users select an application, the new browser page is opened but the user never gets to the username/login screen. The page just hangs without the result being displayed and eventually the standard error is displayed. Effectively users cannot login and use the application. Usually after trying several times, they are finally able to get to the login screen and login.

Also, not sure this is related to one other problem.
The application has a timeout after which the user is logged out if he/she was idle on the page longer then a specified amount of time.
If user clicks on any contents on the page (link, button) after that timeout, he/she is supposed to be re-directed to the login page.
However It happens that the user is not redirected to the login page, but rather page hangs as well and eventually standard error is displayed. After this occurs, sometimes similar problem occurs as described above (users cannot even get to the login page).

I am monitoring V$SESSIONs on the database in order to try to catch possibly hanging database connection but so far I could find nothing that points to this as a problem.
Also, I tried thread dump of OC4J container at the time the problem occurs and still cannot find anything that would point to the problem.

I don't even know where to look in order to determine what is causing this problem so any pointers are appreciated.

Thanks
Dejan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2007
Added on Jul 19 2007
6 comments
787 views