Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper Newbie Question

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper Newbie Question


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Louden, Rachel" <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Grouper Newbie Question
  • Date: Thu, 12 Nov 2015 17:31:24 +0000
  • Accept-language: en-US

Yes, that’s how java webapps generally work.  You could configure it so this is not the case (have one copy of grouper.hibernate.properties for all three envs) or you can just copy the changes to all the envs.

 

If you want the former, you could change grouper.hibernate.properties to have one property (this shouldn’t line wrap fyi), something like:

 

grouper.hibernate.config.hierarchy = classpath:grouper.hibernate.base.properties, classpath:grouper.hibernate.properties, file:/whatever/something/grouper.hibernate.uncc.properties

 

Then make sure all three envs have that in sync, then have /whatever/something/grouper.hibernate.uncc.properties

 

Which is the one copy for all envs… something like that.  The sources.xml doesn’t use the config overlay, but you can set this in subject.properties

 

subject.sources.xml.location = file:/whatever/something/sources.uncc.xml

 

Thanks,

Chris

 

From: Louden, Rachel [mailto:]
Sent: Thursday, November 12, 2015 12:12 PM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] Grouper Newbie Question

 

Hi


Thank you very much. I copied the sources.xml file over, bounced tomcat and it worked.

 

I am confused now. There seems to be three copies of the various configuration files on the server. An example follows. Should a change to one be reflected in the other two places? Should the config files differ? Should they always be in sync?

 

/home/SVC_Grouper/grouper/grouper.apiBinary-2.2.2/conf/grouper.hibernate.properties

/home/SVC_Grouper/grouper/grouper.ui-2.2.2/dist/grouper/WEB-INF/classes/grouper.hibernate.properties

/home/SVC_Grouper/grouper/grouper.ws-2.2.2/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.properties

 

Thanks


Rachel

 

 

On Thu, Nov 12, 2015 at 11:59 AM, Chris Hyzer <> wrote:

Edit the WEB-INF/classes/sources.xml (make same as one from GSH) and bounce the tomcat.  In the future you can run GSH from WEB-INF/bin/gsh and things will be in sync.  Each JVM process needs config files to be consistent.

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Louden, Rachel
Sent: Thursday, November 12, 2015 11:50 AM
To:
Subject: [grouper-users] Grouper Newbie Question

 

Hi

 

I am new to Grouper and working off the demo.

 

I built my own data source in sources.xml called myjdbc.

 

If I use gsh.sh, I can find the user that I added to that data source. So, the sources.xml file is not generating errors.

 

I have configured a grouper loader group. I have added the user from myjdbc to the grouper loader group. If I use gsh.sh, I can see the myjdbc user in my group.

 

When I click on the group in the Grouper UI I get the error,

 

Error: Cant find source with id: 'myjdbc', Possible source id's: 'g:gsa', 'grouperEntities', 'grouperExternal', 'jdbc', 'g:isa', , Problem calling method viewGroup on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group

 

If I search for members, my new data source does not appear in the list of searchable data sources.

 

I tried adding the following to the grouperUI.properties file. I just incremented the numbers to the next available sourceId..

 

grouperUi.screenLabel2.sourceId.4 = myjdbc

grouperUi.screenLabel2.screenEl.4 = ${subject.name}

grouperUi.subjectImg.sourceId.7 = myjdbc

 

How do I get the UI to pick up the new source? Is there documentation that I am missing for this?

 

Do I need to rerun the ant command somewhere?

 

Thank you in advance for your assistance. I am completely new to this.


Rachel

 

---------------------

 

UNC Charlotte

 

 




Archive powered by MHonArc 2.6.16.

Top of Page