Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle "timeout" problem

Posted on 2007-11-19
2
Medium Priority
?
3,387 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
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses

916 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