Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] PSP - LDAP to Grouper Provisioning

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] PSP - LDAP to Grouper Provisioning


Chronological Thread 
  • From: Tom Zeller <>
  • To: "Bryan E. Wooten" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] PSP - LDAP to Grouper Provisioning
  • Date: Wed, 16 Jan 2013 15:13:45 -0600

Apologies for the hassle.

The xml parsing error could probably be resolved by looking at the psp
xsd. However, could you post your config files somewhere so I can take
a look ? That might be fastest.

On Wed, Jan 16, 2013 at 3:06 PM, Bryan E. Wooten
<>
wrote:
> Hi all,
>
> I still can't get the LDAP to Grouper Provisioning to work as described
> here:
>
> https://spaces.internet2.edu/display/Grouper/Grouper+Provisioning#GrouperProvisioning-ConfigurationExample%3ALDAPtoGrouper
>
> When I run this command:
>
> ./gsh.sh -psp -calc utah.edu:group
>
> I get the following errors ( i have upped the logging to debug per the
> instructions but I can't find where this logging is going):
>
>
> Caused by: org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 44;
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'identifier'. One of
> '{"http://grouper.internet2.edu/psp":alternateIdentifier,
> "http://grouper.internet2.edu/psp":attribute,
> "http://grouper.internet2.edu/psp":references}' is expected.
>
> I have poured over the documentation and checked and re-checked my xml
> configuration and just can't find my error.
>
> Any help appreciated.
>
> Thanks,
>
> Bryan
>
>
>
> More complete trace:
>
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:214)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
> ... 2 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'psp': Invocation of init method failed; nested
> exception is
> edu.internet2.middleware.shibboleth.common.service.ServiceException:
> Configuration was not loaded for psp service, error creating components.
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java: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:429)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
> at
> edu.internet2.middleware.psp.util.PSPUtil.createSpringContext(PSPUtil.java:92)
> at edu.internet2.middleware.psp.Psp.getPSP(Psp.java:174)
> at edu.internet2.middleware.psp.PspCLI.<init>(PspCLI.java:110)
> at edu.internet2.middleware.psp.PspCLI.main(PspCLI.java:81)
> ... 7 more
> Caused by:
> edu.internet2.middleware.shibboleth.common.service.ServiceException:
> Configuration was not loaded for psp service, error creating components.
> at
> edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(BaseService.java:192)
> at
> edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.initialize(BaseReloadableService.java:148)
> at edu.internet2.middleware.psp.Psp.initialize(Psp.java:2116)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
> ... 23 more
> Caused by: org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 44;
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'identifier'. One of
> '{"http://grouper.internet2.edu/psp":alternateIdentifier,
> "http://grouper.internet2.edu/psp":attribute,
> "http://grouper.internet2.edu/psp":references}' is expected.
> at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
> at
> org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
> Source)
> at
> org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown
> Source)
> at
> org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
> Source)
> at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at
> edu.internet2.middleware.shibboleth.common.config.SpringDocumentLoader.loadDocument(SpringDocumentLoader.java:56)
> at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB



Archive powered by MHonArc 2.6.16.

Top of Page