Installer Issue

Aaron Howell aaron.howell at deakin.edu.au
Mon May 9 01:26:34 EDT 2016


I was attempting to trial the "idp.property.file" on our Dev IdP server. However I didn't want to overwrite the work we already have going on in Dev - so was installing to a temporary location.

However it appears something is still hardcoded to /opt/shibboleth-idp (which the installer user does not currently have read access to) - and stops the installer in it's tracks.

metadata-gen:
Skipping /tmp/shibboleth-idp/metadata because it already exists.
2016-05-09 14:55:07.486 [ WARN] : net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer: Unable to load properties from resource 'file [/opt/shibboleth-idp/conf/idp.properties]'
java.io.FileNotFoundException: /opt/shibboleth-idp/conf/idp.properties (Permission denied)
        at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_71]
        at java.io.FileInputStream.open(FileInputStream.java:195) ~[na:1.8.0_71]
        at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[na:1.8.0_71]
        at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:115) ~[spring-core-4.2.3.RELEASE.jar:4.2.3.RELEASE]
        at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:132) ~[spring-core-4.2.3.RELEASE.jar:4.2.3.RELEASE]
        at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.loadProperties(IdPPropertiesApplicationContextInitializer.java:195) [idp-core-3.2.1.jar:na]
        at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.initialize(IdPPropertiesApplicationContextInitializer.java:98) [idp-core-3.2.1.jar:na]
        at net.shibboleth.ext.spring.util.SpringSupport.newContext(SpringSupport.java:129) [spring-extensions-5.2.0.jar:na]
        at net.shibboleth.idp.installer.ant.MetadataGeneratorTask.execute(MetadataGeneratorTask.java:204) [idp-installer-3.2.1.jar:na]
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) [ant-1.9.4.jar:1.9.4]
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71]
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ant-1.9.4.jar:na]
        at org.apache.tools.ant.Task.perform(Task.java:348) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Target.execute(Target.java:435) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Target.performTasks(Target.java:456) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [ant-1.9.4.jar:na]
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Main.runBuild(Main.java:851) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Main.startAnt(Main.java:235) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Main.start(Main.java:198) [ant-1.9.4.jar:1.9.4]
        at org.apache.tools.ant.Main.main(Main.java:286) [ant-1.9.4.jar:1.9.4]
2016-05-09 14:55:07.490 [ERROR] : net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer: Unable to load properties from resource 'file [/opt/shibboleth-idp/conf/idp.properties]'
Build failed

BUILD FAILED
/tmp/shibboleth-identity-provider-3.2.1/bin/build.xml:490: net.shibboleth.utilities.java.support.logic.ConstraintViolationException: Unable to load properties from resource
        at net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.initialize(IdPPropertiesApplicationContextInitializer.java:102)
        at net.shibboleth.ext.spring.util.SpringSupport.newContext(SpringSupport.java:129)
        at net.shibboleth.idp.installer.ant.MetadataGeneratorTask.execute(MetadataGeneratorTask.java:204)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.Main.runBuild(Main.java:851)
        at org.apache.tools.ant.Main.startAnt(Main.java:235)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:286)

Cheers,
Aaron

Important Notice: The contents of this email are intended solely for the named addressee and are confidential; any unauthorised use, reproduction or storage of the contents is expressly prohibited. If you have received this email in error, please delete it and any attachments immediately and advise the sender by return email or telephone.

Deakin University does not warrant that this email and any attachments are error or virus free.


More information about the users mailing list