Hi,
Deployed Grouper2 to tomcat/linux and included ldappcng in the build. The Admin UI and gsh are working fine. But when I try to run ldapcng I get the exception below. It seems like a DOM error – does anyone know why?
Thanks,
Lawrence
./gsh.sh -ldappcng -diff etc:sysadmingroup
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:198)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188)
... 2 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldappc': Invocation of init method fail ed; nested exception is edu.internet2.middleware.shibboleth.common.service.ServiceException: Configuration was not loaded for ldappc servi ce, error creating components.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory. java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.ja va:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java :380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:4 29)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java: 728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at edu.internet2.middleware.ldappc.util.PSPUtil.createSpringContext(PSPUtil.java:78)
at edu.internet2.middleware.ldappc.spml.PSP.getPSP(PSP.java:139)
at edu.internet2.middleware.ldappc.spml.PSPCLI.<init>(PSPCLI.java:116)
at edu.internet2.middleware.ldappc.spml.PSPCLI.main(PSPCLI.java:87)
... 7 more
Caused by: edu.internet2.middleware.shibboleth.common.service.ServiceException: Configuration was not loaded for ldappc service, error cre ating components.
at edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:191)
at edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.initialize(BaseReloadableService.java:147)
at edu.internet2.middleware.ldappc.spml.PSP.initialize(PSP.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBean Factory.java:1414)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFacto ry.java:1375)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory. java:1335)
... 23 more
Caused by: org.w3c.dom.DOMException: FEATURE_NOT_SUPPORTED: The parameter format-pretty-print is recognized but the requested value cannot be set.
at org.apache.xml.serialize.DOMSerializerImpl.setParameter(Unknown Source)
at org.opensaml.xml.util.XMLHelper.getLSSerializer(XMLHelper.java:979)
at org.opensaml.xml.util.XMLHelper.writeNode(XMLHelper.java:905)
at org.opensaml.xml.util.XMLHelper.prettyPrintXML(XMLHelper.java:865)
at edu.internet2.middleware.ldappc.spml.config.ConfigBeanDefinitionParser.rewriteConfig(ConfigBeanDefinitionParser.java:72)
at edu.internet2.middleware.ldappc.spml.config.ConfigBeanDefinitionParser.parse(ConfigBeanDefinitionParser.java:46)
at edu.internet2.middleware.shibboleth.common.config.BaseSpringNamespaceHandler.parse(BaseSpringNamespaceHandler.java:91)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentRea der.java:141)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocument Reader.java:92)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:14 3)
at edu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils.populateRegistry(SpringConfigurationUtils.java:84)
at edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:169)
... 32 more
Lawrence Klug
UCLA Middleware Services
Office: 310 825-2061
Cell: 818 667-2386