Solved

Oracle "timeout" problem

Posted on 2007-11-19
2
3,345 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 73

Accepted Solution

by:
sdstuber earned 500 total points
Comment Utility
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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to recover a database from a user managed backup
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now