Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Phil Sanchez   on Sep 25 In Java Category.

  
Question Answered By: Carl Woods   on Sep 25


quick opinion here

1) I assume it would be a good practice to close the conn in finally part,
2) I assume you're opening and closing the conn in the right place, but I guess I've come across this problem when oracle  runs out of memory either on dynamic memory or physical(out of space) and it closes the connection  (hard to expect from oracle but it happens) it usually happens on expensive queries or those that return millions of rows which leads to revisiting the queries. check processes and run diagnostics on oracle itself to see what's the status of processes when this happens

does oracle log has anything more to say i.e. error  number? cause it would not close a conn without a legitimate error , check the log, it might give some guidance

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Need help on connection pooling in tomcat Or get search suggestion and latest updates.


Tagged: