Hello,

I have an application that is configured to use Windows integrated security
to connect to a SQL Server database.  This is a Grails application--I don't
know if that is a factor or not.  The application is packaged as a WAR file. 
I can deploy this application and it works as expected.  However, I am not
able to undeploy and subsequently redeploy the application.


When I undeploy, I see an error message like



Feb 1, 2010 5:09:10 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC 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.


When I try to deploy again, I see



Feb 1, 2010 5:19:39 PM com.microsoft.sqlserver.jdbc.AuthenticationJNI 
WARNING: Failed to load the sqljdbc_auth.dll


and finally an exception like this one:



com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not
configured for integrated authentication.
        at
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:170)
        (etc...)


(Note that the driver is correctly configured, as the initial deployment
works without problems.)


Since I'm seeing this with the combination of Grails, Tomcat, and SQL
Server, I'm not sure where the problem may be.  I do not have this problem
when the driver is configured to use SQL authentication.


This is with Windows Server 2008/SQL Server 2008/MS JDBC drivers 2.0/Tomcat
6.0.24.


Thank you,

Eric Fikus
-- 
View this message in context: 
http://old.nabble.com/Trouble-redeploying-WAR-that-uses-SQL-Server-integrated-authentication-tp27414392p27414392.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

Reply via email to