0

I got the job to make run a project that usually runs at OpenShift, on WebLogic 12.1.3.0, i changed many things, make mvn build a .war, added weblogic.xml, I had to set at application.properties the connection data that is located at OpenShift's environment variables.

Now, when I deploy at WebLogic my app, I have this problem:

Login failed for user 'user'. ClientConnectionId... and this: SQL Error: 18456, SQLState: S0001

So now I added at my springdatasource.url the integrated security;

...integratedSecurity=true;

With this last change, I got another problem at deploy, the next:

java.lang.UnsatisfiedLinkError: no sqljdbc_auth in java.library.path

and the weblogic logs:

SQL Error: 18456, SQLState: S0001

Hope anybody can help me to finally deploy the app, I set the connection data at weblogic's datasources, I tested it and worked, so I know credentials are OK.

Dale K
  • 25,246
  • 15
  • 42
  • 71
  • Have you tried these already : https://stackoverflow.com/questions/23949890/java-lang-unsatisfiedlinkerror-no-sqljdbc-auth-in-java-library-path – souser Sep 06 '19 at 23:17
  • See also: [no sqljdbc_auth in java.library.path](https://stackoverflow.com/a/36596844/390122). – AlwaysLearning Sep 07 '19 at 23:37
  • Sory for the late guys, i added the .dll to my jre/bin like it says at that link. And now im getting this problem at deploy: `Native Library C:\Program Files\Java\jdk1.8.0_221\jre\bin\sqljdbc_auth.dll already loaded in another classloader` So, first says that i have no .dll, and now it says that is tooking it from 2 sides wtf – Nicolas Villacorta Sep 09 '19 at 14:02

0 Answers0