-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephan,
On 3/10/2009 5:07 AM, Stephan Steiner wrote: > The first application to make a connection to the database succeeds in doing > so and it will have access to the DB until I stop it (or stop tomcat). The > second app to try and access the database can never connect and gets the > error you get when sqljdbc_auth.dll is not in the path. If you're using a native library (sqljdbc_auth.dll), you must be using a Java wrapper that loads the library and then puts calls through to it. I wonder if you are putting the JNI wrapper in your webapp's lib directory and that's trying to double-initialize the DLL. The DLL file should have come with a JAR file, too. Where do you have that JAR file installed? If you have it once per webapp, your problem is probably double-init. Try moving the JAR file that came with the DLL into Tomcat's lib directory (that is, $CATALINA_BASE/lib). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkm6aU0ACgkQ9CaO5/Lv0PACsgCfTw4K6KHIYYRMZbjidgQksBgm KP8AoIwTqUipDW/Sc37/BZONVzxANzPB =Q5BK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org