grouper-users - Re: [grouper-users] Error initializing SourceManager.
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Barton <>
- To: Sanjay Vivek <>
- Cc:
- Subject: Re: [grouper-users] Error initializing SourceManager.
- Date: Fri, 09 Nov 2007 12:44:19 -0600
The classpath may be the culprit indeed. I see that you are not running the bootstrap by means of "ant eg.bootstrap". One of the things that ant invocation does is to build the appropriate classpath for this task. If you're doing it by hand, you'll need to pull in
${GROUPER_HOME}/dist/lib/grouper.jar
${GROUPER_HOME}/lib/*.jar
${GROUPER_HOME}/conf/
GW Brown, Information Systems and Computing wrote:
Hi Sanjay,
I think the error is due to an issue with sources.xml - or may be it can't find sources.xml on the classpath?
Before Grouper can start a session it has to have a Subject which requires initialisation of the Subject API implementation - and this is failing.
Gary
--On 09 November 2007 16:13 +0000 Sanjay Vivek <> wrote:
Hi everyone,
I'm attempting to run
/usr/local/sanjay/grouper-api-1.2.0/src/grouper/edu/internet2/middleware
/grouper/eg/Bootstrap.java but I'm getting the following error:
[root@pod
grouper]# java
-Djava.ext.dirs=/usr/local/sanjay/grouper-api-1.2.0/lib
edu.internet2.middleware.grouper.eg.Bootstrap
Exception in thread "main" java.lang.ExceptionInInitializerError
at
edu.internet2.middleware.grouper.eg.Bootstrap.findGrouperSystem(Bootstra
p.java:228)
at
edu.internet2.middleware.grouper.eg.Bootstrap.main(Bootstrap.java:174)
Caused by: edu.internet2.middleware.grouper.GrouperRuntimeException:
failed to initialize source manager: Error initializing SourceManager
at
edu.internet2.middleware.grouper.SubjectFinder.<clinit>(SubjectFinder.ja
va:87)
... 2 more
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(Unkn
own Source)
at
edu.internet2.middleware.grouper.SubjectFinder.<clinit>(SubjectFinder.ja
va:53)
... 2 more
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt
ity(XMLEntityManager.java:968)
at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV
ersion(XMLVersionDetector.java:184)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:798)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)
at
org.apache.commons.digester.Digester.parse(Digester.java:1666)
at
edu.internet2.middleware.subject.provider.SourceManager.parseConfig(Unkn
own Source)
... 6 more
Am I getting this error because a Grouper session is not being
initialized? Any help would be appreciated. Cheers.
Regards
--------------
Sanjay Vivek
Middleware Team
ISS
University of Newcastle Upon Tyne
----------------------
GW Brown, Information Systems and Computing
- Error initializing SourceManager., Sanjay Vivek, 11/09/2007
- Re: [grouper-users] Error initializing SourceManager., GW Brown, Information Systems and Computing, 11/09/2007
- Re: [grouper-users] Error initializing SourceManager., Tom Barton, 11/09/2007
- Re: [grouper-users] Error initializing SourceManager., GW Brown, Information Systems and Computing, 11/09/2007
Archive powered by MHonArc 2.6.16.