Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Error initializing SourceManager.

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Error initializing SourceManager.


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Sanjay Vivek <>,
  • Subject: Re: [grouper-users] Error initializing SourceManager.
  • Date: Fri, 09 Nov 2007 16:24:15 +0000

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




Archive powered by MHonArc 2.6.16.

Top of Page