Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Converting sources.xml to subject.properties

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Converting sources.xml to subject.properties


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Coleman, Erik C" <>, "" <>
  • Subject: [grouper-users] RE: Converting sources.xml to subject.properties
  • Date: Fri, 9 Mar 2018 16:07:24 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:TYDL+x8HdC7qd/9uRHKM819IXTAuvvDOBiVQ1KB22+ocTK2v8tzYMVDF4r011RmVBd6ds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+55Pebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRh/2hikaKz43/mLZisJyg6JavB2uqAdyzJTIbI2JLvdyYr/Rcc0cSGFcXshRTStBAoakYocBDeQAPedZoJfnp1cWsBCzGwmsBPnuyj9TiHP9wKo30+E9HgHG3A0hHswBsG7PodX0L6cdTfq5zLTQzTrdafNW3y3x55bVfRA8uPyBW697f8TWyUkqDQzFj1OQpJTkPzOTyuQCrXKb7+x+WuKzlWIrsR9+rSWyxsoql4LHhZoVx0ja+SlkwYs5P9O1RFBhbdK5E5ZcqzuWOotqTs86Xm1ltjo2xqcCtJKmZiQG1okryhrFZ/CacYWF4wrvVOiPLjp7mH5ofbeyihmy/EWh0eLxU8253EhUoidHl9TBuW0B2Abc58WCUfRw8Fut1DKJ2gvO8O9LO1o0mrDeK5M5wr4/iJ4TsUPbEyHuhEj4i7Oae0s99uW16evrfKzqppiHOIBqkA3+NbkumtCkDuQ/LwgOWXWU9f6k1L35+k35XKtFgeEqkqnYt5DaI94XpqmkAw9J1oYj7BG/DzS83NsEmnkHKUpJeBOBj4f3J1HDOO70Aeq+jli2njpn2erKMqDiD5nRNHTOkKvtca5460FGyQozyd5f54hTCrEEOP/zX1P+tNzYDx44LQO02f3qCNRm1owCQ26PH7eZP73UsV+O/O4gPfSDZJINtDbnN/cl/+LujWM+mVIFcqmpx5wXaG2gHvt4OUWVeGfsgswfHmcQpQozV+jqiFyZUT5PfHa+Qbgw5jA9CIK6E4jDXIatj6Kd3CulBJFZeH1JCk3fWUvvIs+vXPMBbSuUZodMiD0HHZPrA9ss3hqGtQv+yrxgL/GS9yEF49arntdv4PDLmAt36Cd5Fd+10meRQntyk39SATI6weo39UNnzUqb3LI9nudVD8d75vVVXx08OIKGieF2FoahdBjGe4LDaEe0T8/iSRoxVNMqiZdaZk19CsevlDjCxCHsHqcYkbrNCZAppPGPl0PtLtpwni6VnJIqiEMrF5NC
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

This wiki says you need the absolute path of the sources.xml, but the parent directory…

 

https://spaces.internet2.edu/display/Grouper/Grouper+sources.xml+conversion+to+subject.properties

 

try this:

 

Enter location of the sources.xml file: /services/iam-grouper/opt/grouper/conf/sources.xml

 

Otherwise please send along the full error.  And confirm you tried with the latest grouperInstaller.jar

 

Thanks

Chris

 

From: [mailto:] On Behalf Of Coleman, Erik C
Sent: Thursday, March 08, 2018 3:37 PM
To:
Subject: [grouper-users] Converting sources.xml to subject.properties

 

Hello,

 

I’m trying to do something so embarrassingly simple, but I can’t get it to work! I’m wanting to finally convert our sources.xml to the new subject.properties format. It seems straightforward, here’s what I’ve done:

 

# Java –jar grouperInstaller.jar

I selected the following:

‘admin’

‘upgradeTask’

‘convertSourcesXmlToProperties’

 

Enter location of the sources.xml file: /services/iam-grouper/opt/grouper/conf

Enter the location of the subject.base.properties file [/services/iam-grouper/opt/grouper/subject.properties]:   (I leave this blank to accept the default)

 

It promptly fails with:

 

[Fatal Error] :1:1: Content is not allowed in prolog.

Exception in thread "main" java.lang.RuntimeException: Problem evaluating xpath: , _expression_: '/sources/source',

 

 

I’ve verified API Patch 40 is installed, the location of sources.xml and confirmed I have no errant or pre-existing subject.properties or subject.base.properties to get in the way.  Any ideas what I’m doing wrong here?

 

I suppose I can set out to manually craft the subject.properties file, but thought this would be easier.

 

Thanks,

 

Erik Coleman

University of Illinois at Urbana-Champaign

 




Archive powered by MHonArc 2.6.19.

Top of Page