<!DOCTYPE HTML><html>
<head>
<meta name="Generator" content="Amazon WorkMail v3.0-4275">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RE: Building idp.war fails on version 3.4.0</title>
</head>
<body>
<p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Gary,</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">> <span style="background-color:#ffffff; color:#222222; font-family:arial,sans-serif; font-size:12.8px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">We symlink /opt/shibboleth-idp/ to /opt/shibboleth-</span><span style="background-color:#ffffff; color:#222222; font-family:arial,sans-serif; font-size:12.8px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">identityprovider-3.4.0/</span></p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Assuming that's literally the distribution directory, I wouldn't do that personally. I follow a similar strategy for e.g. Tomcat, but that's meant to run in place once unpacked. With Shibboleth, one of those folders is for distribution and installation and the other is for local configuration and modifications.</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">https://wiki.shibboleth.net/confluence/display/IDP30/Upgrading</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Apart from the logical distinction, I have no idea what might happen if idp.home references the distribution during installation. It smells loopy. I could easily imagine things going weird, and I could imagine a new feature in 3.4 choking on this even though 3.3.3 could apparently be deployed that way.</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">FWIW, I tried both a clean 3.4.0 install to /tmp and an upgrade of 3.3.3 in /opt/shibboleth-idp/ and both succeeded. There's no build automation in place, but that is almost certainly tangential to what I believe is more likely your core issue, which is that you need to treat the distribution directory as just that and have an idp.home that lives and breathes on its own.</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;"> </p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Thanks,</p><p style="margin: 0px; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: small;">Nate.</p><blockquote style="border-left:2px solid #b0b0b7; margin-left:5px; margin-right:0px; padding-left:5px">-----Original message-----<br /><strong>From:</strong> Lipscomb, Gary<br /><strong>Sent:</strong> Wednesday, October 17 2018, 3:22 am<br /><strong>To:</strong> Shib Users<br /><strong>Subject:</strong> RE: Building idp.war fails on version 3.4.0<br /> <pre style="white-space:pre-wrap; word-wrap:break-word">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 [<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a>] on behalf of Rod Widdowson [<a href="mailto:rdw@steadingsoftware.com">rdw@steadingsoftware.com</a>]
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 <a href="https://wiki.shibboleth.net/confluence/x/coFAAg">https://wiki.shibboleth.net/confluence/x/coFAAg</a>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a>
--
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg">https://wiki.shibboleth.net/confluence/x/coFAAg</a>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a>
</pre></blockquote>
</body>
</html>