Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] XML-Export: Config not found

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] XML-Export: Config not found


Chronological Thread 
  • From: Loris Bennett <>
  • To: "" <>
  • Subject: Re: [grouper-users] XML-Export: Config not found
  • Date: Fri, 04 Jul 2008 10:14:43 +0000

OK, I have found what was causing the trouble. The following was written
to grouper_error.log:

2008-07-04 10:47:05,274: unable to export to xml: No results:
searchSubject searchValue: 332279

Something, probably my fiddling around with sources.xml, had invalidated
some IDs used by search subject. I found several groups, the members of
which could not be displayed, and deleted these. After that the export
worked.

However, this error situation causes the write-operation to fail at a
seemingly random point:

...
<internalAttributes>
<internalAttribute
name='parentStem'>TestFolder:subfolder</internalAttribute>
<internalAttribute name='createSubject'>
<subject id='GrouperSystem' type='application'
source='g:isa'/>
</internalAttribute>
<internalAttribute
name='createTime'>1212134050347</internalAttribute> <!-- Fri May 30
09:54:10 CEST 2008 -->
<internalAttribute name='modifySubject'>
<subject id='GrouperSystem' type='application'
source='g:isa'/>
</internalAttri
(EOF)

which is obviously not desirable. Perhaps somebody can look into this
scenario. I shall try to find what actually caused the IDs to become
invalidated.

Loris

On Tue, 2008-07-01 at 15:00 +0200, Loris Bennett wrote:
> Hi Gary,
>
> The rest of the log file is:
>
> 2008-07-01 14:15:31,343: Could not find configuration
> [edu.internet2.middleware.grouper.internal.dao.hib3.Hib3FieldDAO];
> using defaults.
> 2008-07-01 14:15:31,700:
>
> [16d64100-0bbf-4bed-a2c9-cc72dc25b0a3,'GrouperSystem','application']
> session: start (72ms)
> 2008-07-01 14:15:31,848:
>
> [06901901-4a0f-4fa7-b17f-7bd413d1e428,'GrouperSystem','application']
> session: start (7ms)
> 2008-07-01 14:15:31,961:
>
> [afc110ff-d5dd-489b-b9fa-ee22cdc0d5e8,'GrouperSystem','application']
> session: start (43ms)
> 2008-07-01 14:15:32,064:
>
> [2d2f605e-cdfb-49ae-835e-1699508b988e,'GrouperSystem','application']
> session: start (6ms)
> 2008-07-01 14:15:32,835: unable to export to xml: No results:
> searchSubject searchValue: 332279
>
> I had assumed that the last line meant that no output was produced.
> However, an XML file, albeit an invalid one, is generated. The file ends
> with
>
> <!-- 'TestFolder:xxx' -->
> <stem extension='TestFolder'
> displayExtension='Test Folder'
> name='TestFolder'
> displayName='Test Folder'
> id='188f1725-946b-4475-91e7-d89c3c5ce6d1'
> >
> <description>test folder</description>
> <internalAttributes>
> <internalAttribute
> name='parentStem'></internalAttribute>
> <internalAttribute name='createSubject'>
> <subject id='GrouperSystem' type='application'
> source='g:isa'/>
> </internalAttribute>
> <internalAttribute
> name='createTime'>1211805253490</internalAttribute> <!-- Mon May
> 26 14:34:13 CEST 2008 -->
> <internalAttribute name='modifySubject'>
> <subject id='GrouperSystem' type='application'
> source='g:isa'/>
> </internalAttribute>
> <internalAttribute
> name='modifyTime'>1211805253682</internalAttribute> <!-- Mon May
> 26 14:34:13 CEST 2008 -->
> </internalAttributes>
>
>
> <privileges type='stem'>
> </privileges> <!-- stem -->
>
> <privileges type='create'>
> </privileges> <!-- create -->
>
> <!-- 'TestFolder:xxx' -->
> <stem extension='xxx'
> displayExtension='xxx'
> name='TestFolder:xxx'
> displayName='Test Folder:xxx'
> id='f8f35556-c4e8-4a87-a590-6041bb655de6'
> >
>
> (EOF)
>
> The preceding <stem> node for etc:wheel group is exported correctly.
>
> Thanks for your help,
>
> Loris
>
> On Tue, 2008-07-01 at 13:45 +0100, GW Brown, Information Systems and
> Computing wrote:
> > Hi Loris,
> >
> > I think 'Could not find configuration' is normal or at least I still got
> > that when I successfully exported the QuickStart database.
> >
> > Were there any other errors? If so please post them to me and I'll see if
> > they indicate what is happening.
> >
> > Gary
> >
> > --On 01 July 2008 12:20 +0000 Loris Bennett
> > <>
> > wrote:
> >
> > > Hi,
> > >
> > > I am using Grouper 1.3.0 and running XML-Export with the following
> > >
> > > ant xml-export -Dcmd="GrouperSystem
> > > out.xml ./conf/export.properties"
> > >
> > > I get the error
> > >
> > > BUILD FAILED
> > > /home/xxxxxxxx/grouper-qs-1.3.0/grouper/build.xml:949: The
> > > following error occurred while executing this line:
> > > /home/xxxxxxxx/grouper-qs-1.3.0/grouper/build.xml:907: Java
> > > returned: 1
> > >
> > > In the logfile I find:
> > >
> > > 2008-07-01 14:03:44,874: Could not find configuration
> > >
> > > [edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO]; using
> > > defaults. 2008-07-01 14:03:44,977: Could not find configuration
> > >
> > > [edu.internet2.middleware.grouper.internal.dao.hib3.Hib3RegistrySubjectAt
> > > tributeDAO]; using defaults. 2008-07-01 14:03:44,979: Could not
> > > find configuration
> > >
> > > [edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO];
> > > using defaults. 2008-07-01 14:03:44,988: Could not find
> > > configuration
> > >
> > > [edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeDAO];
> > > using defaults. ...
> > >
> > > What configuration file is not being found and where do I specify it?
> > >
> > > Thanks
> > >
> > > Loris
> > >
> > > --
> > > Dr. Loris Bennett
> > > Freie Universität Berlin
> > > Computer Centre
> > >
> >
> >
> >
> > ----------------------
> > GW Brown, Information Systems and Computing
> >
--
Dr. Loris Bennett
Freie Universität Berlin
Computer Centre




Archive powered by MHonArc 2.6.16.

Top of Page