grouper-dev - [grouper-dev] grouper patching
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: "" <>
- Subject: [grouper-dev] grouper patching
- Date: Thu, 18 Dec 2014 19:37:58 +0000
- Accept-language: en-US
I have a first pass at a utility that will patch a grouper installation. Here is a wiki: https://spaces.internet2.edu/display/Grouper/Grouper+patching To try this out I have a grouperInstaller jar named grouperInstallerTemp.jar in Grouper 2.2.1. (see yellow below) This will patch a 2.2.1, install a new 2.2.1 including patches, or upgrade to 2.2.1 including patches. It can give patch status or revert patches as well. If you have a chance to give it a shot, let me know how it goes
J Thanks, Chris Here is an example: [mchyzer@i2mibuild installer]$
wget http://software.internet2.edu/grouper/release/2.2.1/grouperInstallerTemp.jar --2014-12-18 19:26:11-- http://software.internet2.edu/grouper/release/2.2.1/grouperInstallerTemp.jar Resolving software.internet2.edu... 207.75.164.151, 2001:48a8:68fe::151 Connecting to software.internet2.edu|207.75.164.151|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1710516 (1.6M) [application/x-java-archive] Saving to: `grouperInstallerTemp.jar' 100%[==========================================================================================>] 1,710,516 --.-K/s in 0.02s
2014-12-18 19:26:11 (80.8 MB/s) - `grouperInstallerTemp.jar' saved [1710516/1710516] [mchyzer@i2mibuild installer]$
java -jar grouperInstallerTemp.jar
Do you want to 'install'
a new
installation of grouper, 'upgrade'
an existing installation or 'patch'
an existing installation (enter: 'install', 'upgrade', 'patch'
or blank for
the default) [install]: patch Enter in a Grouper temp directory to download tarballs (note: better if
no spaces or special chars) [C:\app\grouperInstallerTarballDir]: What do
you want to patch? api, ui, ws, or psp? [psp]: ui Where is the grouper UI installed? [C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper]: What do
you want to do
with patches (install, revert, status)? [install]: ################ Checking patch grouper_v2_2_1_api_patch_0 Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_api_patch_0.tar.gz to file: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar.gz Unzipping: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar.gz Expanding: C:\app\grouperInstallerTarballDir\grouper_v2_2_1_api_patch_0.tar Patch grouper_v2_2_1_api_patch_0 is low risk, is not a security patch This patch fixes GRP-1095: hibernate exception handling masked original exception if
roll Would you like to install patch grouper_v2_2_1_api_patch_0 (t|f)? [t]: - added to end of property file: grouper_v2_2_1_api_patch_0.date = 2014/12/18
09:32:08 This patch requires all processes that user Grouper to be stopped. Please stop these processes if
they are running and press <enter> to continue... Applying file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\hibernate\HibernateSession.class Applying file: C:\app\grouper_2_2_1_installer\grouper.ui-2.2.1\dist\grouper\WEB-INF\classes\edu\internet2\middleware\grouper\hibernate\HibernateSession.java Patch successfully applied: grouper_v2_2_1_api_patch_0 - added to end of property file: grouper_v2_2_1_api_patch_0.state = applied … |
- [grouper-dev] grouper patching, Chris Hyzer, 12/18/2014
Archive powered by MHonArc 2.6.16.