On 2/12/2015 9:06 AM, Wirth, Kevin wrote:
I keep getting these weird tomcat errors on shutdown on a newly built system using tomcat 7.0.57 on a windows 2012 server with jdk 1.7 that I can't figure out. This is the catalina log: Feb 12, 2015 8:54:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/identityiq] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Feb 12, 2015 8:54:31 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/identityiq] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
I ran into this a while back, and it means exactly what it says: the db driver is being registered (loaded), but not being unloaded. I fixed it by putting the db driver unload commands in a contextDestroyed method.
The jdbc driver I am using is in the folder identityiq under the webapps directory in tomcat. It is the sqljdbc4.jar driver. This driver is not in the tomcat\lib directory. Please help because I am getting no help from the vender. Thank you. Kevin Wirth Sr. Systems Engineer Information Services Astoria Bank * (516) 327-7762 | * kwi...@astoriabank.com<mailto:kwi...@astoriabank.com> Astoria Federal Savings is now Astoria Bank. We can now be contacted at our new email addresses @astoriabank.com. This e-mail and any attachments that accompany it are confidential and may be legally privileged. It is intended solely for the use of the individual(s) to whom it was intended to be addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, please immediately return the e-mail to the sender and delete the original and any copy from your computer. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to its intended recipient, you are herewith notified that any dissemination, distribution, copying or retention of this communication or the information contained herein is strictly prohibited.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org