I have two Java applications on a server run by Tomcat 8.5 with two WAR files. These two Java applications must connect to a database. I use the file sqljdbc_auth.dll so that it can connect automatically with JDBC.
Putting the command -Djava.library.path=C:\JDBC
in Tomcat Java option, but the database access doesn't work with the two WARs at the same time and I don't know why.
Any solution to solve the problem and make my two WARs able to connect to db at the same time? I tried to deactivate one of the WARs so that db access works for the other WAR.