<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am testing the metadata aggregator command line. I tried the eduGAIN « packaged » version and the basic version (both aggregator-cli-0.8.0).</div><div class="">I tested different tasks (XML config files) with the basic version and the eduGAIN one and I always end up with an incomprehensible error:</div><div class=""><br class=""></div><div class="">[main] ERROR net.shibboleth.metadata.cli.SimpleCommandLine - Unable to initialize Spring context<br class="">org.springframework.beans.factory.BeanCreationException: Error creating bean with name '<b class="">validateSignature</b>' defined in URL [file:/opt/aggregator-cli-0.8.0/../eduGAIN-Metadata-Processing/config/UKsimpleConfig.xml]: Cannot create inner bean 'net.shibboleth.ext.spring.factory.X509CertificateFactoryBean#491cc5c9' of type [net.shibboleth.ext.spring.factory.X509CertificateFactoryBean] while setting bean property 'verificationCertificate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.ext.spring.factory.X509CertificateFactoryBean#491cc5c9' defined in URL [file:/opt/aggregator-cli-0.8.0/../eduGAIN-Metadata-Processing/config/UKsimpleConfig.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:282)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:121)<br class="">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.ext.spring.factory.X509CertificateFactoryBean#491cc5c9' defined in URL [file:/opt/aggregator-cli-0.8.0/../eduGAIN-Metadata-Processing/config/UKsimpleConfig.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:532)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)<br class="">Caused by: java.lang.IllegalArgumentException: null<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.asm.ClassReader.<init><b class="">(Unknown Source)</b><br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.asm.ClassReader.<init><b class="">(Unknown Source)</b></div><div class=""><br class=""></div><div class="">If I comment out that <b class="">signature</b> Bean I will get:</div><div class=""><br class=""></div><div class="">[main] ERROR net.shibboleth.metadata.cli.SimpleCommandLine - Unable to initialize Spring context<br class="">org.springframework.beans.factory.BeanCreationException: Error creating bean with name '<b class="">serialize</b>' defined in URL [file:/opt/aggregator-cli-0.8.0/../eduGAIN-Metadata-Processing/config/UKsimpleConfig.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:532)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)<br class="">Caused by: java.lang.IllegalArgumentException: null<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.asm.ClassReader.<init>(<b class="">Unknown Source</b>)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.asm.ClassReader.<init>(<b class="">Unknown Source</b>)</div><div class=""><br class=""></div><div class="">If I comment out the <b class="">serialize bean</b> It looks like it is working but I have no output to check that and indeed the aggregator do not perform « interesting » things then.</div><div class=""><br class=""></div><div class="">So, lets focus on the basic aggregator client. I run it as root with the command:</div><div class=""># JMVOPTS=-Xmx256M ./mda.sh --logConfig /opt/eduGAIN-Metadata-Processing/config/logback.xml /opt/eduGAIN-Metadata-Processing/config/UKsimpleConfig.xml main</div><div class=""><br class=""></div><div class="">The latter file is attached.</div><div class=""><br class=""></div><div class="">I have enabled the verbose and the log file outputs but have no other elements.</div><div class="">I have checked the URLs, the rights on file system, the paths, the files names and their existence...</div><div class="">I have started simple and added some Beans progressively. It looks like it is related to reading (key/cert) and writing (outputs) things on the filesystem...</div><div class=""><br class=""></div><div class="">Any help or insight would be really appreciated.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></body></html>