After upgrading AIP Console to 1.26 from 1.24.3, it is observed that the AIP Console service is not starting.
Error stack is as shown below -
11:17:27.448 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema with Spring Security 5.4. Please update your schema declarations to the 5.4 schema.
Offending resource: URL [file:C:/ProgramData/CAST/AipConsole/AipConsole/application-security-local.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal(FailFastProblemReporter.java:62) ~[spring-beans-5.3.9.jar!/:5.3.9]
at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:90) ~[spring-beans-5.3.9.jar!/:5.3.9]
at org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:68) ~[spring-beans-5.3.9.jar!/:5.3.9]
Release | Yes/No |
---|---|
1.15x-1.26x |
RDBMS | Yes/No |
---|---|
Oracle Server | N/A |
Microsoft SQL Server | N/A |
CSS3 | N/A |
CSS2 | N/A |
- Migrate AIP Console from a lower version to a higher version as per the documentation here - Upgrade process
- Try to start the Console service.
The issue occurs because the version of spring-security-x.x. is not updated in the AIP Console file - <Console Installation>/AipConsole/application-security-local.xml
To solve the issue, Perform the below actions
- Open the file - <Console Installation>/AipConsole/application-security-local.xml
- Change the value of spring-security-5.3.xsd to spring-security-5.4.xsd
- You can start your AIP Console service after this.
- If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input for CAST Technical Support to carry out further investigations.
Relevant input
- CAST AIP Console Logs CAST Management Studio - Information - How to find logs
- Detail of specific steps done
- Any applicable screenshots
Ticket # 32805