grouper-users - Re: [grouper-users] Improve GSH
Subject: Grouper Users - Open Discussion List
List archive
- From: Jared Hoffman <>
- To: Shilen Patel <>
- Cc: , Gouper Users <>, Carter Schoenfeld <>
- Subject: Re: [grouper-users] Improve GSH
- Date: Mon, 3 Sep 2018 11:16:45 -0400
- Ironport-phdr: 9a23:+vU2qxWR2aKWx4fHjQ5PfG70OnbV8LGtZVwlr6E/grcLSJyIuqrYbBOOt8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZDYy8YYkAAeoPM+hbsofzuUcBoxSlCAmwHePi0CNEimPq0aA41ekqDAHI3BYnH9ILqHnaqM/6NL0MXu+o0aLGzzLDb/1Y2Tf48ofIdA0qrPaMXbJ3f8rRx0wvGBnDjlWSsoHlPC2a1uINsmic6epsT/yghHM6qwxopDWk28kiio7Mho0Py1DE8z10wIkvJd2/VU57ecCrEIFKuy6AL4t2WtsuQ2BuuCYm1LIGo5i7czYWyJg53RLQdeGIc5WO7xn+V+iROS91iGxkdb6jhRu/9Eagx+7nWcWo1VtHoTZJnsXRun0IyxPf9smKR/5480u/xzqAzAbe4fxeL08uj6rUMZshz6YwlpUNtUTDGTf7mEDsg6+XckUo4+mo6+P7brn/qZ6QKZF4hRrkPqQhncy/Bus4MgwQUGSB5eu807jj8VX4QLVMkPI2jrHUvI7bKMgHpKO0BgFV34U45BqjCjqr38gUkWUaIF9AZB2Lk4nkNlTLLfzmE/uwmEygkDJxyPDHOr3hDI/NLn/GkLr5fbZ97EBcyAQ2zd9F4ZJUCKoMIPHtVU/3tN3YCRk5PxaqzOn6FdVxzpkeVn6XAq+FLKPStkeF5u01I+mLeY8VoCjyK+I86/7zln82h0UdfbKy0JsTaXC4BehmI16HbXb2g9cBF3sKsRQkTOzsllKCTSBfa2ysUK0h+zFoQL6hWLzDR4SghvS51Tu2GtUCfWBHDl2KOXv1dIjCVvsRPnG8OMhkxx4NT7WtA68m2x+rvQmyn7pgIOTR8ysanZHu0sly4avemQxkpm88NNiUz2zYFzI8pWgPXTJjmfkn+UE=
I just patched our API to current and tried the updated GSH with
Groovy. We get the same error as Jeffrey. Adding "gsh.useLegacy =
true" to grouper.properties fixed the error and GSH is loading.
On Tue, Mar 27, 2018 at 2:46 PM Shilen Patel
<>
wrote:
>
> It’s supposed to be using the beta version. groovy-all-2.5.0-beta-2.jar
>
>
>
> Is the 2.4.11 version only in your lib directory or are they both there? I
> think it was supposed to have been replaced in patch 83.
>
>
>
> Thanks!
>
>
>
> - Shilen
>
>
>
> From: Jeffrey Crawford
> <>
> Date: Tuesday, March 27, 2018 at 1:13 PM
> To: Shilen Patel
> <>
> Cc:
> ""
>
> <>
> Subject: Re: [grouper-users] Improve GSH
>
>
>
> 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
>
> ^ ^
>
> / \ ^ / \ ^
>
> / \/ \ / \ / \
>
> / \/ \/ \
>
> / \
>
>
>
> 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:
>
>
>
> https://spaces.internet2.edu/display/Grouper/Improve+GSH
>
>
>
> Let us know if you have any comments or questions.
>
>
>
> Thanks!
>
>
>
> - Shilen
>
>
--
Jared Hoffman • Associate Director for Enterprise Infrastructure
Information Technology Services • LBIS • Kenyon College
• 740.427.5948
- Re: [grouper-users] Improve GSH, Jared Hoffman, 09/03/2018
- Re: [grouper-users] Improve GSH, Shilen Patel, 09/04/2018
Archive powered by MHonArc 2.6.19.