Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » sqljdbc_auth.dll already loaded in another classloader
sqljdbc_auth.dll already loaded in another classloader [message #1007532] Wed, 06 February 2013 10:46 Go to next message
Ville Kaukonen is currently offline Ville KaukonenFriend
Messages: 19
Registered: January 2011
Junior Member
com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit>
WARNING: Failed to load the sqljdbc_auth.dll cause : Native Library C:\apache-to
mcat-7.0.35\bin\sqljdbc_auth.dll already loaded in another classloader

I placed the files according to this http://stackoverflow.com/questions/10637585/native-library-sqljdbc-auth-dll-already-loaded-in-another-classloader

And I no longer had the issue I posted few days ago. Now I get error above and I'm very lost with the solution.

This suggests that I need to add the jar to shared lib and to have PATH variable to the dll http://wiki.apache.org/tomcat/HowTo#I.27m_encountering_classloader_problems_when_using_JNI_under_Tomcat

It did not solve issue either.

Viewer Version : 4.2.1
Engine Version: 4.2.1
JRE version: 1.7.0_13
apache-tomcat-7.0.35
Re: sqljdbc_auth.dll already loaded in another classloader [message #1007630 is a reply to message #1007532] Wed, 06 February 2013 19:30 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Have you seen this page? It has some info about that error.

blogs.msdn.com - JDBC Blog


Michael

Developer Evangelist, Silanis

[Updated on: Wed, 06 February 2013 19:31]

Report message to a moderator

Re: sqljdbc_auth.dll already loaded in another classloader [message #1007921 is a reply to message #1007630] Fri, 08 February 2013 08:25 Go to previous messageGo to next message
Ville Kaukonen is currently offline Ville KaukonenFriend
Messages: 19
Registered: January 2011
Junior Member
Hello,
Thanks for answering.

I tried a few thing mentioned on that page. I moved the sql_auth to new location. Also made sure there is only one versio of it and the driver in the machine.

After defining -Djava.library.path=C:\SharedDLL\

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\SharedDLL

I moved sqljdbc4.jar to Birts Lib folder hoping that nothing else would load it.

Still get

WARNING: Failed to load the sqljdbc_auth.dll cause : Native Library C:\SharedDLL
\sqljdbc_auth.dll already loaded in another classloader
Re: sqljdbc_auth.dll already loaded in another classloader [message #1007938 is a reply to message #1007921] Fri, 08 February 2013 10:34 Go to previous messageGo to next message
Ville Kaukonen is currently offline Ville KaukonenFriend
Messages: 19
Registered: January 2011
Junior Member
I don't know what is the issue with sqljdbc4 sqljdbc_auth combination. jTDS JDBC Driver works like charm.
Re: sqljdbc_auth.dll already loaded in another classloader [message #1008032 is a reply to message #1007938] Fri, 08 February 2013 15:36 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Did you make sure you had the correct version of sqljdbc4? x86 vs x64

Michael

Developer Evangelist, Silanis

[Updated on: Tue, 02 April 2013 16:48]

Report message to a moderator

Previous Topic:How to select 2 nodes in XML Dataset
Next Topic:Zoom Capability
Goto Forum:
  


Current Time: Mon Oct 25 15:03:14 GMT 2021

Powered by FUDForum. Page generated in 0.01787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top