Building idp.war fails on version 3.4.0

Lipscomb, Gary glipscomb at csu.edu.au
Wed Oct 17 05:21:48 EDT 2018


Hi Rod, Nate
We basically do a clean install using Puppet and reapply all our settings to the unpacked tar file.

I won't be back into work until Monday but may be able to check sooner.
We symlink /opt/shibboleth-idp/ to /opt/shibboleth-identityprovider-3.4.0/,  going on memory here,

Regards
Gary

________________________________________
From: users [users-bounces at shibboleth.net] on behalf of Rod Widdowson [rdw at steadingsoftware.com]
Sent: Wednesday, 17 October 2018 7:30 PM
To: 'Shib Users'
Subject: RE: Building idp.war fails on version 3.4.0

> BUILD FAILED
> /opt/shibboleth-idp/bin/build.xml:6: The following error occurred while executing this line:
> jar:file:/opt/shibboleth-identity-provider-3.4.0/bin/lib/idp-installer-3.4.0.jar!/net/shibboleth/idp/installer/ant.xml:7: taskdef
A class needed
> by class net.shibboleth.idp.installer.ant.impl.MetadataGeneratorTask cannot be found:
> org/springframework/context/ApplicationContextInitializer
>  using the classloader AntClassLoader[]

Reading that gave me a nasty turn but I couldn't reproduce it on windows and Nate cannot on Linux (thanks Nate).

This looks like a failed install and a missing file, but if the IdP was running then that's weird.

Can you check

- That there is no directory called /opt/shibboleth-identity-provider-3.4.0/webapp
- That inside the directory /opt/shibboleth-identity-provider-3.4.0/dist/webapp/WEB-INF/lib/ there are files called

        spring-context-4.3.19.RELEASE.jar  and
        spring-context-support-4.3.19.RELEASE.jar

If the both are true you probably need to check that /opt/shibboleth-identity-provider-3.4.0/bin/ant.sh matches the one on the
distribution.

Was the IdP Installed or updated (and if so, what from?)

Rod



--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list