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.

2 comments:

  1. Not sure my last was posted or not so reposting
    ------------------------------------------------------------------
    Thanks for this post. it saved my day.
    One question:- Do i need to set my hostname to idp.xxxxx.com ?
    My hostname is currently set to xxxxx.com.

    Thanks for the help.

    ReplyDelete
  2. Thank you Pavithra for this workaround! Even though by default localhost is suggested, Shibboleth should have suggested something like idp.localhost.com.

    ReplyDelete