Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper 1.6 with shibboleth authentication

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper 1.6 with shibboleth authentication


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Wang, Simon" <>
  • Cc: "" <>
  • Subject: [grouper-users] RE: Grouper 1.6 with shibboleth authentication
  • Date: Fri, 18 Mar 2011 01:07:29 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

This is the second report of tmp dir problems, so we need something in the API to address it.  Can you get latest on the 1.6 branch of the Grouper API, build it, and put that into your UI?  Let me know if you need help with that part.

 

https://bugs.internet2.edu/jira/browse/GRP-580

 

You can set this in the grouper.properties:

 

# tmp dir to use, will set this to the env var for tmp dir during cache operations...

# note, if you are using a backslash, you need to escape it with another, e.g. c:\\temp

# see the temp dir in logs with this in log4j.properties

# log4j.logger.edu.internet2.middleware.grouper.util.GrouperUtil = INFO

grouper.tmp.dir =

 

This will set the java env var so that things are more likely to work. Make sure the tomcat user or whatever user is running the jvm can write to that dir. Also, if you have multiple JVMs on one machine, might want to set a different one for each jvm, especially if you have problems not doing that.

 

Also, if the dir is blank, and nothing configured in the grouper.properties, an error will be reported which means you should set that property in the grouper.properties.

 

Regards,

Chris

 

 

 

From: Chris Hyzer [mailto:]
Sent: Wednesday, March 16, 2011 1:06 PM
To: Wang, Simon;
Subject: RE: Grouper 1.6 with shibboleth authentication

 

This is the line where the error is:

 

                tempDir = new File(System.getProperty("java.io.tmpdir"));

 

so it means your temp dir is not set.  That is either because it wasn’t set, or Grouper messes with it, and maybe messed it up.

 

What app server are you using?  Tomcat?  One that you downloaded and unzipped, or one built in to the OS?  Which OS?  Maybe they to set some start params of a dir that is writable by the tomcat user, and see if you can fix it.  Im sure you will have more problems besides this if you don’t fix it.  I bet it is fixed in other envs because those do have a temp dir…

 

Thanks,

Chris

 

From: Wang, Simon [mailto:]
Sent: Wednesday, March 16, 2011 3:12 PM
To: Chris Hyzer;
Subject: RE: Grouper 1.6 with shibboleth authentication

 

Hi Chris,

 

Please find attached the grouper-error.log and the screenshot.

 

 

Thanks,

Simon

 

From: [mailto:] On Behalf Of Chris Hyzer
Sent: Tuesday, March 15, 2011 6:51 PM
To: Wang, Simon;
Subject: [grouper-users] RE: Grouper 1.6 with shibboleth authentication

 

Do you have more info?  E.g. log entries, etc?

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Wang, Simon
Sent: Tuesday, March 15, 2011 6:36 PM
To:
Subject: [grouper-users] Grouper 1.6 with shibboleth authentication

 

Hello,

 

We have two VM servers running Grouper grouper1/2.eadverf.ubc.ca

 

On grouper1.eadverf.ubc.ca we use shibboleth 2.4 SP and connecting to shibboleth 1.3 IDP. We upgraded Grouper from 1.5 to 1.6. In this environment, Grouper 1.6 reported error intermittently when we tried to change the display of direct/indirect members.

 

On grouper2.eadverf.ubc.ca, we used the same code, but shibboleth 2.4.2 SP and shibboleth 2.4.2 IDP, the issue did not occur.

 

After we switched grouper2.eadverf.ubc.ca to using shibboleth 1.3 IDP, we could not re-produce the issue occurred on grouper1.eadverf.ubc.ca.

 

Can anyone give some suggestions what caused the problem?

 

Best regards,

 

Simon




Archive powered by MHonArc 2.6.16.

Top of Page