Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!

 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting

OrionCMTConnection not closed, check your code! Logical connection not closed, check your code! (Use -Djdbc.connection.debug=true

error while i execute my application from LIVE container, i am using oracle oc4j container to deploy and execute my application.

I am not getting this error when i run my application locally, i am using jdeveloper and oc4j container locally.


 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Use -Djdbc.connection.debug=true " is a hint that Oracle gives you.

They propose you to run the application with debug flag set.
You will receive a more detailed error log (the stack trace, pointing to the source line where the error occurs) if you follow the advise.

Regards, Jan
 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks, i resolved this error setting -Djdbc.connection.debug=true, i was able to get complete stack trace for the error.

However, i found that connections were not closed properly in some part of the code, using stack trace error info, i traced the line number from my source code and closed connections properly..

Thanks all for your help...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic