Monday, June 17, 2013

java.lang.IllegalStateException: No match found when installing Shibboleth

Have you ever encountered following error when installing Shibboleth.


Updating property file: IDP_HOME/shibboleth-identityprovider-2.4.0/src/installer/resources/install.properties
Created dir: IDP_HOME/bin
Created dir: IDP_HOME/conf
Created dir: IDP_HOME/credentials
Created dir: IDP_HOME/lib
Created dir: IDP_HOME/lib/endorsed
Created dir: IDP_HOME/logs
Created dir: IDP_HOME/metadata
Created dir: IDP_HOME/war

BUILD FAILED
IDP_HOME/shibboleth-identityprovider-2.4.0/src/installer/resources/build.xml:70: java.lang.IllegalStateException: No match found

It's because you've not provided a fully qualified hostname during installation.
e.g It should exactly match the format suggested by shibboleth. i.e. idp.example.org

If you specify localhost, example.org, etc.. then you'll encounter above error.