SQL Recipes
A FREE cookbook for SQL queries and examples
Register FAQ Search Today's Posts Mark Forums Read

SQL - Questions and Answers Have a SQL question? Post it here. First do a search to see if someone hasn't already answered it.

Go Back   SQL Recipes a FREE cookbook of SQL queries and examples > SQL queries and examples > SQL - Questions and Answers

Reply
 
LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 07-03-2007, 02:33 PM
ali_hammad ali_hammad is offline
Junior Member
 
Join Date: Jun 2007
Posts: 2
ali_hammad is on a distinguished road
Default ANY dialect question:

ORA-01000: maximum open cursors exceeded


I know why this exception is generated, but I can not go through all the code and figure out where the connections, statements and resultsets are not properly closed because I had been given a task to figure out some one else's problem and the code is composed of 736 jsp and couple of hundred servlets , so it is almost impossible to go through all the statements..


Please tell me some trick or tip by which i could fix this bug with minimum navigation....


your help will be greatly appreciated...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

ANSWER(S):

  #2 (permalink)  
Old 08-02-2007, 03:20 PM
Boopathi
 
Posts: n/a
Default ANY answer. Re: ORA-01000: maximum open cursors exceeded

Quote:
Originally Posted by ali_hammad View Post
I know why this exception is generated, but I can not go through all the code and figure out where the connections, statements and resultsets are not properly closed because I had been given a task to figure out some one else's problem and the code is composed of 736 jsp and couple of hundred servlets , so it is almost impossible to go through all the statements..


Please tell me some trick or tip by which i could fix this bug with minimum navigation....


your help will be greatly appreciated...

Answer:


Cause : A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursor per user.

Action:
Modify the program to use fewer cursors. if this errors occur offen ,shutdown Oracle,increase the value of OPEN_CURSORS, and then restarted Oracle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-02-2007, 03:22 PM
BOOPATHI
 
Posts: n/a
Default ANY answer. Re: ORA-01000: maximum open cursors exceeded

Answer:


Cause : A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursor per user.

Action:
Modify the program to use fewer cursors. if this errors occur offen ,shutdown Oracle,increase the value of OPEN_CURSORS, and then restarted Oracle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-05-2008, 10:18 AM
saounkine
 
Posts: n/a
Default ANY answer. Re: ORA-01000: maximum open cursors exceeded

Quote:
Originally Posted by ali_hammad View Post
I know why this exception is generated, but I can not go through all the code and figure out where the connections, statements and resultsets are not properly closed because I had been given a task to figure out some one else's problem and the code is composed of 736 jsp and couple of hundred servlets , so it is almost impossible to go through all the statements..


Please tell me some trick or tip by which i could fix this bug with minimum navigation....


your help will be greatly appreciated...
besides increasing the open_cursors value, try to use business components, like hibernate of adf bc, for your sql statements. it makes your code more object-oriented
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Copyright (c) 2006-2008 SQL Recipes

1 2 3 4 5 6 7 8