Solved

Oracle "timeout" problem

Posted on 2007-11-19
2
3,365 Views
Last Modified: 2008-02-01
I am supporting an n-tiered application. The front end is an Eclipse plug in. The eclipse plug in sends XML messages to a middleware layer that connects to an Oracle database and returns an XML message.  At one site, a "timeout" has been set for security reasons. As a result, the middleware is losing connectivity to the database after 30 minutes and subsequent queries fail.

I have been told that the timeout has been set at  the database level, but cannot figure out what may have been done exactly.

My goal:  to reproduce this timeout error on my own system (I do not have an error message handy, but it was a standard "not connected to oracle" message - will post it if I can get it).  

Thanks
0
Comment
Question by:AaronAbend
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 20317858
It could be a sqlnet.ora option on the middle tier

It could also be a profile set in the database

select * from dba_profiles where resource_name in ('IDLE_TIME','CONNECT_TIME')    --  use this to find what the parameters are set to

select username, profile from dba_users   -- use this to see what profile is assigned to the middle tier's account.
0
 
LVL 10

Author Comment

by:AaronAbend
ID: 20322695
Thanks - I think it was the resource_limit that is set at this site.  the last step was to set resource_limit=true at the database level (alter system set resource_limit=true) since without that setting resource limits are not applied.

Premature congratulations on making guru - looksl like you are only a few points away.  These should help!

Best,

Aaron
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question