Attempting to start Identity Manager fails and the IM Server log shows the following:
2024-11-15 08:01:26,767 INFO [ims.Main] (ServerService Thread Pool -- 128) * Startup Step 1 : Attempting to start ServiceLocator.
2024-11-15 08:01:27,039 ERROR [ims.Main] (ServerService Thread Pool -- 128) The IAM FW Startup was not successful
2024-11-15 08:01:27,040 ERROR [ims.Main] (ServerService Thread Pool -- 128) java.lang.RuntimeException: WFLYSEC0007: Runtime Exception:
Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /wildfly-23.0.2/modules/com/ca/iam/log4j2/api/main/module.xml
Caused by: org.jboss.modules.xml.XmlPullParserException: start tag unexpected character ? (position: START_DOCUMENT seen <xml version="1.0" encoding="UTF-8"?... @1:36)
All Identity Manager
When checking the /wildfly-23.0.2/modules/com/ca/iam/log4j2/api/main/module.xml file we can see that the first line reads as:
<xml version="1.0" encoding="UTF-8"?>
But is missing the question mark near the front of the line as it should instead be:
<?xml version="1.0" encoding="UTF-8"?>
Edit the /wildfly-23.0.2/modules/com/ca/iam/log4j2/api/main/module.xml file in order to fix the first line to be proper as it should read as:
<?xml version="1.0" encoding="UTF-8"?>