grouper-users - RE: [grouper-users] upgrading to 2.4
Subject: Grouper Users - Open Discussion List
List archive
- From: "Redman, Chad" <>
- To: Ben Beecher <>, "Hyzer, Chris" <>
- Cc: " Mailing List" <>
- Subject: RE: [grouper-users] upgrading to 2.4
- Date: Tue, 16 Apr 2019 03:24:35 +0000
The immediate problem may be the build using source code from 2.3 but libraries from 2.4. The servlet api library was upgraded from 2.3 to 3.1 (so compatible with Tomcat 8), and it includes a few new abstract methods. In the grouper 2.4 code, those methods have been implemented, so you wouldn't have seen those errors.
But the bigger issue is probably going to be that the CAS contrib code is likely out of date. The struts code has been removed, so the web.xml settings won't be effective, and some URIs hardcoded in Java files will need to be adjusted.
I'm throwing together a quick cas demo server, and doing some quick tests to see what kind of shape 2.4 is in.
-Chad
From: [mailto:]
On Behalf Of Ben Beecher
Hi Chris, I upgraded those modules again with the full patch set and it's working now. Thanks for your help. After upgrading to Grouper 2.4 the CAS authentication is no longer working. I can only use Basic Auth to log in to Grouper 2.4. We have been using the Yale CAS Client (yale-cas-auth) following these instructions
I double checked the updates to these files /var/grouper/installGrouper2.3/grouper.ui-2.3.0/build.xml /var/grouper/installGrouper2.3/grouper.ui-2.3.0/contrib/yale-cas-auth/build.properties /var/grouper/installGrouper2.3/grouper.ui-2.3.0/webapp/WEB-INF/struts-config.xml /var/grouper/installGrouper2.3/grouper.apiBinary-2.3.0/conf/sources.xml
Everything looks ok there, sources.xml was replaced by subject.properties. I am not sure if I need to rebuild the war file as per the instructions. When I try to rebuild I get some errors:
$ ant war Buildfile: /var/grouper/installGrouper2.3/grouper.ui-2.3.0/build.xml
-compileGrouper: [mkdir] Created dir: /var/grouper/installGrouper2.3/grouper.ui-2.3.0/temp/jarBin [javac] /var/grouper/installGrouper2.3/grouper.ui-2.3.0/build.xml:452: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 324 source files to /var/grouper/installGrouper2.3/grouper.ui-2.3.0/temp/jarBin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /var/grouper/installGrouper2.3/grouper.ui-2.3.0/java/src/edu/internet2/middleware/grouper/j2ee/GenericServletResponseWrapper.java:35: error: GenericServletResponseWrapper is not abstract and does not override abstract method getHeaderNames() in HttpServletResponse [javac] public class GenericServletResponseWrapper extends ServletResponseWrapper implements HttpServletResponse { [javac] ^ [javac] /var/grouper/installGrouper2.3/grouper.ui-2.3.0/java/src/edu/internet2/middleware/grouper/ui/CaptureServletOutputStream.java:47: error: CaptureServletOutputStream is not abstract and does not override abstract method setWriteListener(WriteListener) in ServletOutputStream [javac] public class CaptureServletOutputStream extends ServletOutputStream { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 4 warnings
Any suggestions? Ben
On Wed, Apr 3, 2019 at 9:00 AM Hyzer, Chris <> wrote:
|
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/02/2019
- RE: [grouper-users] upgrading to 2.4, Hyzer, Chris, 04/03/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/15/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Baron Fujimoto, 04/16/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/25/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Baron Fujimoto, 04/16/2019
- RE: [grouper-users] upgrading to 2.4, Redman, Chad, 04/16/2019
- Re: [grouper-users] upgrading to 2.4, Ben Beecher, 04/15/2019
- RE: [grouper-users] upgrading to 2.4, Hyzer, Chris, 04/03/2019
Archive powered by MHonArc 2.6.19.