Hi @JonathanMe12 ,
Your JDBC connection with integratedSecurity=true is failing because AEM Forms JEE (running on JBoss/WildFly) cannot load the Microsoft SQL Server authentication DLL (mssql-jdbc_auth.dll) that is required when you use Windows Authentication.
SQL login works because it doesn’t need the native DLL.
Service account (Integrated Security) fails because the JDBC driver needs to call Windows libraries to authenticate.
Just putting the JDBC driver JAR (mssql-jdbc-13.2.0.jre11.jar) in the bin or system32 is not enough – you must also add the correct version of mssql-jdbc_auth-<version>-x64.dll.
1. Download the same version of the JDBC auth DLL that matches your JDBC driver (13.2.0 and JRE11, x64).
You’ll find it inside the Microsoft JDBC driver package (sqljdbc_<version>_enu.zip).
Example: mssql-jdbc_auth-13.2.0.x64.dll.
2. Copy the DLL into a folder that is in the Windows PATH or into:
<AEM Forms JEE>\jboss\bin
or C:\Windows\System32 (if JBoss runs as a service).
3. Ensure the JBoss service is running under the same Windows service account that has DB access.
4. Restart JBoss/WildFly.
After this, the integrated security connection should succeed, EARs will deploy, and AdminUI will load.
The error isn’t with your connection string It’s because the JDBC driver needs the auth DLL, which isn’t being found by JBoss. Add the correct DLL to the PATH and restart, and it will work
Hrishikesh Kagane