Skip to Content.
Sympa Menu

grouper-users - AW: [grouper-users] SourceAdapter Issue with Grouper 2.2.2

Subject: Grouper Users - Open Discussion List

List archive

AW: [grouper-users] SourceAdapter Issue with Grouper 2.2.2


Chronological Thread 
  • From: "Biernath, Jutta" <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: AW: [grouper-users] SourceAdapter Issue with Grouper 2.2.2
  • Date: Mon, 15 Aug 2016 09:54:35 +0200
  • Accept-language: de-DE, en-US
  • Ironport-phdr: 9a23:wt9hERSENsyV6QH1hBEhAC5jJtpsv+yvbD5Q0YIujvd0So/mwa64YReN2/xhgRfzUJnB7Loc0qyN7PCmBDdLuMvJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV2sfTZyc67VC5zflYD//OCo+oaZK1FNjzqsc75oBBStpkPMrsQQh81vJrtnjlODrWFPZvxb3yZ1Pl+JhD794Nu95phu734Wtv48vYYUXr/9Yrw1V/lFFzk8KEg04tHmrx/OUVHJ63cBBDY4iB1NVkLv7RzgWJ7tsm+ylPdhxCDQdZn0UKwoUHKo7qpxThb0iA8JKnsz/XvTi8o2gK8N80HpnAB234OBONLdD/F5ZK6IJd4=

Hi, Chris,

thanks a lot for your response. With the subject.jar from the link you've
given me it worked.

Before I had downloaded the files from
http://software.internet2.edu/grouper/release/2.2.2/. I've taken another
look: the initParams-method is missing there in subject.jar. With Patch 2
this method seems to be used in GrouperSourceAdapter.java.


Thank you,

Jutta

--------------------
Jutta Biernath
Freie Universität Berlin
Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Identity Management, FUDIS
Fabeckstr. 32
14195 Berlin
Tel. +49 30 838-75090
Fax +49 30 838-475090

-----Ursprüngliche Nachricht-----
Von: Hyzer, Chris
[mailto:]

Gesendet: Freitag, 12. August 2016 17:01
An: Biernath, Jutta
<>;


Betreff: RE: [grouper-users] SourceAdapter Issue with Grouper 2.2.2

I see initParams() here:

https://github.com/Internet2/grouper/blob/GROUPER_2_2_BRANCH/grouper/lib/grouper/subject.jar

This class extends that class:

https://github.com/Internet2/grouper/blob/GROUPER_2_2_BRANCH/grouper/src/grouper/edu/internet2/middleware/grouper/GrouperSourceAdapter.java

Which doesn’t need that method. But something is compiled thinking it is
there in that class?

Are you installing grouper for the first time? Did it used to work? Can you
give more info? Any chance you can use Grouper 2.3.0?

Thanks
chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Jutta Biernath
Sent: Friday, August 12, 2016 10:50 AM
To:

Subject: [grouper-users] SourceAdapter Issue with Grouper 2.2.2

Hi,

I try to have Grouper 2.2.2 run on a VM with Jessie, Openjdk7 and Tomcat 8,
and I am facing an odd problem. After the installation the GrouperShell runs
without any problem, but as soon as I copy the war-file into the tomcat
webapps folder I get a severe error saying

....
java.lang.NoSuchMethodError:
edu.internet2.middleware.grouper.GrouperSourceAdapter.initParams()Ljava/util/P
roperties;
at
edu.internet2.middleware.grouper.GrouperSourceAdapter.init(GrouperSourceAdapte
r.java:420)
at
edu.internet2.middleware.subject.provider.SourceManager.loadSource(SourceManag
er.java:347)
.....

This error occurs whenever Tomcat tries an auto deploy of the war file.

After many many hours of searching I found out the following:

GrouperSourceAdapter extends BaseSourceAdapter; the above named method
"initParams()" is a method which is declared in BaseSourceAdapter.java, right?

Not necessaril: It is declared in a newer version of BaseSourceAdapter.java,
which is built within grouper.jar. But: BaseSourceAdapter.java is also used in
subject.jar, which comes along with Grouper 2.2.2, but this time in the old
version *without* the method "initParams()".

Having no other explanation for my problem I think that Tomcat 8 reads for any
reason first the old version of BaseSourceAdapter in subject.jar, then is read
GrouperSourceAdapter in grouper.jar - oops, no initParams-Method found, so an
error is thrown.

Can you confirm this behaviour? If no: Do you have an idea what else could
cause this problem? If yes: Could you provide another subject.jar with an
updated BaseSourceAdapter?

Thank you,

Jutta Biernath
Freie Universität Berlin



Archive powered by MHonArc 2.6.19.

Top of Page