Failure: Enable Integrated Security in the JDBC Connection
Hi,
Using AEM forms JEE 6.5 service pack 23 installer, connecting to SQL Server 2023 when enabling integrated security we get the following error:
Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/IDP_DS
Adminui not able to be access and EAR files failed to deploy.
System works with SQL login account but not with Microsoft service account.
We have:
JBoss service login changed with new Windows account
Placed mssql-jdbc-13.2.0.jre11 file in Windows, system32, adobe\bin folders.
Edit Turnkey file with:<datasources>
<datasource jta="true" jndi-name="java:/IDP_DS" pool-name="IDP_DS" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
<connection-url>jdbc:sqlserver://XXXX:65000;DatabaseName=XXXX;integratedSecurity=true;encrypt=false</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<driver>sqlserver</driver>
JBoss service is running but having this error message in the Server log file:
WFLYEJB0034: Jakarta Enterprise Beans Invocation failed on component EjbTransactionCMTAdapter for method public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doRequiresNew(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException: javax.ejb.TransactionRolledbackLocalException: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/IDP_DS.
Running Netstat command we see Established connection with port 65000
and we were able to connect data base with this service account but looks like is failing when its trying to deploy the files in the data base.
We are using mssql-jdbc-13.2.0.jre11
Microsoft SQL data base 23