grouper-users - RE: [grouper-users] SourceAdapter Issue with Grouper 2.2.2
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Jutta Biernath <>, "" <>
- Subject: RE: [grouper-users] SourceAdapter Issue with Grouper 2.2.2
- Date: Fri, 12 Aug 2016 15:00:57 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:bYLdchzUlagK7ofXCy+O+j09IxM/srCxBDY+r6Qd0e0UIJqq85mqBkHD//Il1AaPBtqLra8fwLOL+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6aijSI4DUTAhTyMxZubqSwQ9aKzpf/6+fn2YDPfwwArjuwe7V7MBX++QfMqtUfx4FjJ7w3wwfJinVVPu5b32dpIxSfkkC4ro2/5pl+6ylK/u86+tRbeaT8Y6kiS7FEVnIrP31/rJnkrx7eVQaVo2YHX38NuhtOHwXf6hzmBNH8vjas5cRn3yzPd+3nX70uHXyJ771qU1Wg3CIMNy8r/Xv/i9d7yr9DrRSn4RFz3tiHM8muKPNic/aFLpshTm1bU5MUDnQZDw==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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
- [grouper-users] SourceAdapter Issue with Grouper 2.2.2, Jutta Biernath, 08/12/2016
- RE: [grouper-users] SourceAdapter Issue with Grouper 2.2.2, Hyzer, Chris, 08/12/2016
- AW: [grouper-users] SourceAdapter Issue with Grouper 2.2.2, Biernath, Jutta, 08/15/2016
- RE: [grouper-users] SourceAdapter Issue with Grouper 2.2.2, Hyzer, Chris, 08/12/2016
Archive powered by MHonArc 2.6.19.