Building idp.war fails on version 3.4.0
Lipscomb, Gary
glipscomb at csu.edu.au
Wed Oct 24 17:20:38 EDT 2018
Just following up on this issue I re-downloaded the tar.gz files for v3.4.0 and v3.3.3
Should there be a dist directory in the v3.4.0 download as there is in the v3.3.3
Download idp v3.4.0 from https://shibboleth.net/downloads/identity-provider/3.4.0/ and unpacked
Regards
Gary
Directory of D:\Users\glipscom\Downloads\shibboleth_idp3\shibboleth-identity-provider-3.4.0.tar\shibboleth-identity-provider-3.4.0\shibboleth-identity-provider-3.4.0
25/10/2018 08:12 <DIR> .
25/10/2018 08:12 <DIR> ..
25/10/2018 08:12 <DIR> bin
25/10/2018 08:12 <DIR> conf
25/10/2018 08:12 <DIR> credentials
25/10/2018 08:12 <DIR> doc
25/10/2018 08:12 <DIR> flows
10/10/2018 10:36 11,357 LICENSE.txt
25/10/2018 08:12 <DIR> logs
25/10/2018 08:12 <DIR> messages
10/10/2018 10:36 <DIR> metadata
25/10/2018 08:12 <DIR> system
25/10/2018 08:12 <DIR> views
25/10/2018 08:12 <DIR> webapp
And then version 3.3.3 from https://shibboleth.net/downloads/identity-provider/3.3.3/
Directory of D:\Users\glipscom\Downloads\shibboleth_idp3\shibboleth-identity-provider-3.3.3.tar\shibboleth-identity-provider-3.3.3\shibboleth-identity-provider-3.3.3
25/10/2018 08:13 <DIR> .
25/10/2018 08:13 <DIR> ..
25/10/2018 08:13 <DIR> bin
25/10/2018 08:13 <DIR> conf
25/10/2018 08:13 <DIR> credentials
25/10/2018 08:13 <DIR> dist
25/10/2018 08:13 <DIR> doc
25/10/2018 08:13 <DIR> flows
15/05/2018 14:49 11,357 LICENSE.txt
25/10/2018 08:13 <DIR> logs
25/10/2018 08:13 <DIR> messages
15/05/2018 14:49 <DIR> metadata
25/10/2018 08:13 <DIR> system
25/10/2018 08:13 <DIR> views
25/10/2018 08:13 <DIR> webapp
1 File(s) 11,357 bytes
14 Dir(s) 182,819,344,384 bytes free
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod Widdowson
Sent: Wednesday, 17 October 2018 19:30
To: 'Shib Users' <users at shibboleth.net>
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