Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Improve GSH

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Improve GSH


Chronological Thread 
  • From: Shilen Patel <>
  • To: Jeffrey Crawford <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Improve GSH
  • Date: Tue, 27 Mar 2018 17:46:10 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:Cx7DfhO9dOxry70g/Ysl6mtUPXoX/o7sNwtQ0KIMzox0I/n9rarrMEGX3/hxlliBBdydt6ofzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlGiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+hXr4jhqFQBthaxHxWgBOb1xzNUnHL736s32PkhHwHc2wwgGsoDvmnUrNX0MKcdT+a1x7TSwzrZc/NZxzP945XPfxA6ofGMXLZwftTXyUQ0CgzFk1aQppL/MzyLy+sNrnGW4ux9XuyhjG4nrht+ojmpxso0hYnJnIUVyk3c9Spn2oY5P8e3SFZjYdK8EZtQsT2aOJVsQsMkXW5opDg2xqcYtpGmYSgG0IwnxwTYa/yAfYiI+hXjVOeXITdknn5qZLW/hxOq/Uihz+38TtO00FFUriVbi9XAqGsC1xPI6siHTPZ240Sv2S6X2gzO6uxIP1o4mKTBJ5I8wbM9koAfvVrNEyL4gEn6ka+bels+9uWm8ejqbLrrqoWSOoNshAHxLKcjltC6DOk9MQUCQ3OU9OC52bDh+UD2XLRHg/grnqXEsZ3WO8EWqbC3DgNIzIou7Qu0AS2839QCh3YHKUpIeBKZgIjtPFHDOPX4Au2+g1SoiTtryP7HMqT9DpjPNHTDl7bhfapn50FB1Qozzs5Q64hKBb4cPfL/Qk7xtNrGAR8lKwG43ubqBMtn2o4QQ26DH6yUPafIvVOW6O8iLfGAZIoPtzb8L/gl6eTujXg8mVIFZqmp3ZoXaHSmEfRgOEiWfGfsgtQfHmsQoAUxUfHqhEWYUTFPf3ayQ7485jYjBYKpF4fDQZ2tgKSf0yehB5FWe3tGBU6WEXfzbIiEX/YMaDmOIs96jDAIT7mhS4k91R6wrg/6zaRoLvbK9iECq53sycV1tKXvkkQQ+DJ6FcmMm0qXRn56mXkED2s00a5xu0FswX+e2rNzxfFUCIoAyelOV1IBNZ/YwuoyM9nuVwaJKsyJSVKrRP2qHDI8CN893oldMA5GB9y+g0WbjGKRCLgPmunOXcRs/w==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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:

 

 

Let us know if you have any comments or questions.

 

Thanks!

 

- Shilen

 




Archive powered by MHonArc 2.6.19.

Top of Page