Hello!
I have been trying unsuccessfully for some time to use
Ldappc to provision my Grouper data into my LDAP directory. I am new to
this whole process so I was hoping to get some advice about how to
proceed. When I try to run the ldappc script as follows:
./ldappc –subject celiacheung –groups
I get the following error message:
2008-10-09 12:12:03,267 ERROR ErrorLog:
[edu.internet2.middleware.ldappc.GrouperSessionControl] Failed to find
GrouperSession for subjectId: 'celiacheung', edu.internet2.middleware.grouper.GrouperRuntimeException:
unable to get SourceManager: Error initializing SourceManager
at edu.internet2.middleware.grouper.subj.SubjectResolverFactory.getInstance(SubjectResolverFactory.java:51)
at edu.internet2.middleware.grouper.SubjectFinder.getResolver(SubjectFinder.java:308)
at edu.internet2.middleware.grouper.SubjectFinder.findById(SubjectFinder.java:67)
at edu.internet2.middleware.ldappc.GrouperSubjectRetriever.findSubjectById(GrouperSubjectRetriever.java:52)
at edu.internet2.middleware.ldappc.GrouperSessionControl.startSession(GrouperSessionControl.java:72)
at edu.internet2.middleware.ldappc.GrouperProvisioner.provision(GrouperProvisioner.java:154)
at edu.internet2.middleware.ldappc.LdappcGrouperProvisioner.provisionGroups(LdappcGrouperProvisioner.java:134)
at edu.internet2.middleware.ldappc.LdappcProvisionControl.run(LdappcProvisionControl.java:98)
at edu.internet2.middleware.ldappc.Ldappc.main(Ldappc.java:96)
Caused by: java.lang.Exception: Error initializing SourceManager
at edu.internet2.middleware.subject.provider.SourceManager.init(Unknown
Source)
at edu.internet2.middleware.subject.provider.SourceManager.<init>(Unknown
Source)
at edu.internet2.middleware.subject.provider.SourceManager.getInstance(Unknown
Source)
at edu.internet2.middleware.grouper.subj.SubjectResolverFactory.getInstance(SubjectResolverFactory.java:44)
... 8 more
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(Unknown
Source)
at java.net.URL.<init>(Unknown
Source)
at java.net.URL.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1765)
at edu.internet2.middleware.subject.provider.SourceManager.parseConfig(Unknown
Source)
... 12 more
2008-10-09 12:12:03,268 FATAL ErrorLog: [edu.internet2.middleware.ldappc.LdappcGrouperProvisioner]
Grouper Provision Failed: null
A FATAL ERROR occurred when running Ldappc.
Check error log file, correct the problem, and resubmit.
Any ideas on why this may be occurring? Any advice
would be greatly appreciated. Thanks so much!
Celia Cheung
P.S. Sorry if this is a duplicate post – I tried
submitting earlier but it didn’t show up, so I wasn’t sure if the
message went through.