grouper-users - Re: [grouper-users] Improve GSH
Subject: Grouper Users - Open Discussion List
List archive
- From: Jeffrey Crawford <>
- To: Shilen Patel <>
- Cc: "" <>
- Subject: Re: [grouper-users] Improve GSH
- Date: Tue, 27 Mar 2018 10:13:01 -0700
- Ironport-phdr: 9a23:AKdNjxKvoFMTDaUBKdmcpTZWNBhigK39O0sv0rFitYgfKf7xwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJDUcZfVyJPDICyYZYRAeUdJutXtZXxqkEUoBeiGQWhBuXiwSJIiH/s2q061vwsHwXY0wwuEdIOqmrbrdXoP6oMS+C61qfJzTvEb/NMxDj29Y/FchI/rvGCU7Jwa9TeyEkzGA7ek1WftZflMC+P2usTrmeb8vNtWOSygGAprAFxpyKgxsYqioTRiYIV0FfE9ThhwIkrP920UlR0Yca8EJdItiGaMZd2Td04Q2Fupik61qMKtYSlcycX1ZQr3wbfa+aAc4iP7BLjTOGRITZ+hHJ5Yr6wmxGy8U24xu39U8m0yExKri1bktbSr3wByQfc6secSvt9+EqqxDWB1xjL5+1aIE04iajWJpsvwrMzjZUfrUHOEyDqlEnqgqKbc1kr9vSm6+niZ7jquJGROo5yhwrjKKohgNa/Dv49MgUWX2iU5+C81Lr78E38WrpKj/k2nrDesJDGOcgXv6G4DxFb34si8Rq/ADCm0NMXnXkDMl1JYg6Ij4/sO13WIfD4C+mwg0i0nTt1xv3KIr/sD5DDLnXAi7jtYbNw5kFAxAYvw91S4o5bBq0PIP/2X0L9qtLVAx4hPwyx2ennCdF91o0EWWKIB6+UKKHSvkGG5uIhOemDeo8UtyrmJvg4+/HulmM2lUUDcqa0wJsbcGq4Eeh+I0WFfXrshc8MEWgQvgo5UezqkEONUSRKa3avRKIz+Cs7CJm9AIfHR4Ctm6CB3DylEpFMZ2BGDEyMHmnyd4WCRfgMdDyeLtV/nTMZSLjyA7MmgCqutQv3zfJfJ/bZ/mVMrpLi0NVzz+HOlhx0+DBpWZezyWaIGkN5kG0SSi5+97p2vkJ60FvLhap1jfJCGM1Yz+5CSQx8OJLBmb8pQ+vuUx7MK4/aAG2tRc+rVHRoFoo8
We just patched our system and it looks like our shell broke, I was able to get it working again by adding gsh.useLegacy = true to the grouoper.properties file, below is what we see when we remove that workaround:
-------------------------------------------------------------
Grouper warning: jarfile mismatch, expecting name: 'groovy-all-2.5.0-beta-2.jar' size: LinkedHashSet size: 1: [0]: 7715312
manifest version: 2.5.0-beta-2. However the jar detected is: /opt/app/grouper/grouper.apiBinary/lib/grouper/groovy-all-2.4.11.jar, name: groovy-all-2.4.11.jar size: 7031748 manifest version: 2.4.11
Type help() for instructions
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:66)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:87)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:239)
at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:69)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:288)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:167)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.11 and you are trying to load version 2.5.0-beta-2
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$DefaultModuleListener.onModule(MetaClassRegistryImpl.java:513)
at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromProperties(ExtensionModuleScanner.java:80)
at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromMetaInf(ExtensionModuleScanner.java:74)
at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanClasspathModules(ExtensionModuleScanner.java:56)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:113)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:74)
at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:36)
... 9 more
Did we get some sort of beta version of groovy?
Thanks
Jeffrey E. Crawford
Enterprise Service Team
Enterprise Service Team
^ ^
/ \ ^ / \ ^
/ \/ \ / \ / \
/ \/ \/ \
/ \
You have been assigned this mountain to prove to others that it *can* be moved.
On Wed, Aug 9, 2017 at 10:25 AM, Shilen Patel <> wrote:
This is now available in API patch 72. Note that once the patch is applied, GSH will be using Groovy instead of BeanShell by default (although it is configurable). If you run into issues, please let us know.
Thanks!
- Shilen
From: Shilen Patel <>
Date: Tuesday, June 6, 2017 at 9:58 AM
To: "" <>
Subject: [grouper-users] Improve GSH
Here's our plan for how to improve GSH:
Let us know if you have any comments or questions.
Thanks!
- Shilen
- Re: [grouper-users] Improve GSH, Jeffrey Crawford, 03/27/2018
- Re: [grouper-users] Improve GSH, Shilen Patel, 03/27/2018
Archive powered by MHonArc 2.6.19.