SSB Cannot Verify Application

Which IIQ version are you inquiring about?

Version 8.4

Share all details related to your problem, including any error messages you may have received.

I am currently on version 8.4, trying to build a war file from my SSB. When I go to build the war, I get the following error:

"D:\ssb-v7\scripts\build.config.xml:492: Could not validate document D:\ssb-v7\build\extract\WEB-INF\config\custom\Application\ActiveDirectoryInternal.xml"

I have tried documents with enviornment-specific information as well as non-environment specific information and it seems to always get stuck with this. Does anyone know a solution?

To debug this easily first you can try to remove the file from your repo. and execute the build, if you still get the same error on another file, then probably there is an issue with the build script and not the file.

Hi Alyson,

The error indicates the file (after substitutions of the environment-specific target properties) is not a correctly XML file. The file does not 100% follow the XML specs.

Most likely there is a mention of a target property which is not in the <environment>.target.properties file.

Can you open the file with a text editor?
(file D:\ssb-v7\scripts\build.config.xml:492: Could not validate document D:\ssb-v7\build\extract\WEB-INF\config\custom\Application\ActiveDirectoryInternal.xml)
Look (search) for any %% in the file and see if you can find the target property.

An other option is to import this file into a running IIQ instance using debug (not via import from File).

  • Goto debug
  • Select object type: Application
  • Select Action: New
  • Copy/paste the content of the file mentioned above
  • Save

This would give an error and when looking in the sailpoint log file, you will get a more detailed error message (compared to ‘Could not validate document’).

– Remold

2 Likes

When importing this into debug, I get the error "Uncaught JAX-RS exception.
I did verify that all %% values are in the .target.properties.

I did get it to a point where I can import the application XML in debug with no errors. However, still getting the same error of
“Cannot Validate Document”

So it is clear the XML still is not 100% following the XML spec or does not follow the DTD spec of IdentityIQ.

What happens if you validate the file using: XML Validator

To get the DTD for your IdentityIQ version follow the steps in: How do I get a copy of SailPoint.dtd? - Compass
There are multiple XML tools to validate an XML with a DTD. Almost every IDE (like Eclipse, IntelliJ & VSCode) can validate your file :slight_smile:

As ultimate solution you can attach the file to your reply to this post and we can validate it for you :slight_smile:

– Remold

1 Like

Turns out it was a Java issue. We were able to go to Java 11 and that cleared the errors.
I went through the validators and they did not have any errors.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.