JDBC - SQL Server driver

4
I'm developing using SQL Server and when using the modeller everything is fine, but if I try to start the XAS server in the Eclipse debugger it refuses to start the SQL connection and tells me this: 19-Oct-2009 10:36:16 com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit> WARNING: Failed to load the sqljdbc_auth.dll Does someone know please what driver to use and how to specify it?
asked
1 answers
5

You have to link the library sqljdbc_auth.dll to your project.

  1. Go to the properties of your project (right-click on the project in the Package Explorer, choose Properties)
  2. Choose Java Build Path
  3. On the Source tab page, expand the node of your project in the box 'Source folders on build path'.
  4. Click the item 'Native library location'.
  5. Click Edit.
  6. Choose via Workspace or External Folder the location of the folder of the library. In most cases, the library is located in the WEB-INF\lib folder of your project.

It is also possible to add the following JVM parameter to the execution path (Eclipse: Run Configuration):

-Djava.library.path=WEB-INF\lib
answered