After the upgrade to Tomcat 8 I read the documentation more carefully and found out about some interesting logging-options. Sometimes queries to a slow DB-Server fail and the logs state an interesting message:
It's quite interesting to to see a ClientConnectionId. I tried to find some information about it and but most Forum-Entries were just related to Tomcat-Logs. Does any one have some information if and how there are possibilities to obtain this ID in Java?
I'll move this to the JDBC forum, since it's related to JDBC connections, not JSP.
posted 1 year ago
and calling this method.
Seems to be interesting, yet due to the policies of Microsoft the implementation it's not so easy to actually use it.
I'm having a Maven-Project using Tomcat's data-source - so actually working with a SQLServerConnection-Object is tricky.
But I assume that's the only possible way. Many thanks for your research, I assume this problem is solved
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads