This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread 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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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: 391
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: 2350

"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
ITIL foundation
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 391
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!
 
Similar Threads
Strange problem with IBATIS framework and OC4J container
OrionCMTConnection not closed, check your code! Logical connection not closed, check your code!
org.apache.struts.action.RequestProcessor processException
DriverManagerConnectionPool
Using DataSource with Oracle 10g Application Server results in error