Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
9 subscribers
Views
2783 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am facing a issue while calling a stored procedure using execute stored proced
sunnya527
A Score Level 2
over 10 years ago
I am facing a issue while calling a stored procedure using execute stored procedure smart service.
It is giving me an alert as
There is a problem with task “xxxxx" in the process “yyyyyy”. [An error occured: $ORA-01000: maximum open cursors exceeded ORA-06512: at line 22 ]
any idea on this ?
OriginalPostID-141818
OriginalPostID-141818
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
Make sure you are handling your resultset and statements properly and that you are closing them:
stackoverflow.com/.../ora-01000-maximum-open-cursors-exceeded-java-code-fails
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim Nguyen
Appian Employee
over 10 years ago
Are you using the latest version of the Execute Stored Procedure plugin? There was a change made on version 1.0.8 that resolved a case where an error would stop the database connection being returned to the pool which will result in the connection pool maxing out.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim Nguyen
Appian Employee
over 10 years ago
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sunnya527
A Score Level 2
over 10 years ago
Hi Tim, We are using version 1.0.8 for Execute stored procedure node but still facing the issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim Nguyen
Appian Employee
over 10 years ago
Version 1.0.8 has a fix that prevents an edge case where the connections are not properly returning and causing the connection pools to eventually run out and reach max open cursors limit. However, in order to remedy the "ORA-01000: maximum open cursors exceeded" error, a restart of the application server is necessary to free up the connection cursors.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Umesh Patel
over 10 years ago
Hi Tim, if this issue is occurring frequently than its not good to restart application server every time. Is there any pointer where problem can exists? If we analyse the scenario which Sunny has mentioned, following comes into picture:
1. Smart Service
2. Stored Procedure in DB.
where this leak can be?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim Nguyen
Appian Employee
over 10 years ago
Please check all custom plugins to insure that connections are are being properly handled.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel