We are trying to set up a Sandbox environment with the following components: Java (openlogic-openjdk-jre-11.0.21+9-windows-x64), Apache Tomcat (apache-tomcat-9.0.89), and MS SQL Server 2012 for IdentityIQ 8.4. Now, we are trying to set up the IIQ console but encountering errors. Kindly assist how to resolve this error.
D:\Tomcat\webapps\identityiq\WEB-INF\bin>iiq console iiq.hostname : DSBWDSPT01-console 2024-07-23T01:24:56,613 WARN main springframework.context.support.ClassPathXmlApplicationContext:559 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk\MSSQLSERVER04:14331;databaseName=identityiq; org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk\MSSQLSERVER04:14331;databaseName=identityiq;
And in database when we run select * from identityiq.spt_database_version;
we are getting empty table.
Based on Matrix of iiq8.4 we are using below software:
Java (openlogic-openjdk-jre-11.0.21+9-windows-x64)
Apache Tomcat (apache-tomcat-9.0.89)
MS SQL Server 2022
Driver :mssql-jdbc-12.8.0.jre11
Port 14331 is correct. and I tried following command :
jdbc:sqlserver://DSBWDSPT01.dsb.dk:14331;databaseName=identityiq;
Error:
D:\Tomcat\webapps\identityiq\WEB-INF\bin>iiq console
iiq.hostname : DSBWDSPT01-console
2024-08-19T23:37:22,284 WARN main springframework.context.support.ClassPathXmlApplicationContext:559 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk:14331;databaseName=identityiq;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk:14331;databaseName=identityiq;
we have updated below line in all connection string: identityiq, identityiqPlugin & identityiqah, still facing the same issue.
encrypt=false;trustServerCertificate=false;
D:\Tomcat\webapps\identityiq\WEB-INF\bin>iiq console
iiq.hostname : DSBWDSPT01-console
2024-08-19T23:58:42,507 WARN main springframework.context.support.ClassPathXmlApplicationContext:559 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk:14331;databaseName=identityiq;encrypt=false;trustServerCertificate=false;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘versionChecker’ defined in class path resource [configBeans.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to check IdentityIQ database version: Unable to connect to: jdbc:sqlserver://DSBWDSPT01.dsb.dk:14331;databaseName=identityiq;encrypt=false;trustServerCertificate=false;
Connection parameters looks good in properties file. Please check the identityiq user name and password are correct. Quickly check the connectivity from your sandbox to DB server using ping or telnet.
can you check the upgrade script where we have update for this table and also identityiqah database table there is also database version table persent, also check insert query in our query script.