This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes OrionCMTConnection not closed, check your code! Logical connection not closed, check your code! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!" Watch "OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!" New topic
Author

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

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
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.



Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

"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


OCUP UML fundamental and ITIL foundation
youtube channel
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!