my dog learned polymorphism*
The moose likes JDBC and the fly likes no sqljdbc_auth in java.library.path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "no sqljdbc_auth in java.library.path" Watch "no sqljdbc_auth in java.library.path" New topic
Author

no sqljdbc_auth in java.library.path

Nick Hase
Greenhorn

Joined: Jul 29, 2012
Posts: 4
I have a JEE web App which connects to sqlServer 2008.
I dont have any problem connecting and retrieving to all my tables except one of them!!!
the error in tomcat log is this: WARNING: Failed to load the sqljdbc_auth.dll cause :- no sqljdbc_auth in java.library.path please help
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

The sqljdbc_auth.dll file is necessary only to support logging in automatically with your Windows account. If you only have one table that is causing the problem, missing this DLL shouldn't be the cause. It's displayed as a warning, not an error. Can you show us the error you get when accessing this table?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Nick Hase
Greenhorn

Joined: Jul 29, 2012
Posts: 4
No error returns but no data are shown too!!!
and in Tomcat log there is no error except this warning
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Are you sure there actually is data inside the table? Isn't it just empty?
Nick Hase
Greenhorn

Joined: Jul 29, 2012
Posts: 4
Not only the table is not empty, but also no row added to the table!!
 
jQuery in Action, 2nd edition
 
subject: no sqljdbc_auth in java.library.path
 
Similar Threads
ocijdbc10 driver
PATH ...
What is java.library.path?
no sqljdbc_auth in java.library.path
Linkage Error -JNI - system.library.path