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: Jared Hoffman <>
  • Cc: "" <>, Gouper Users <>, Carter Schoenfeld <>
  • Subject: Re: [grouper-users] Improve GSH
  • Date: Tue, 4 Sep 2018 11:08:41 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:ZFyz6hMHgClh964GhB8l6mtUPXoX/o7sNwtQ0KIMzox0IvXyrarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+hXr4jhqFUBohSzHhWsC/jqyjNUmnP7x6833uI8Gg/GxgwgGNcOvWzJotX1NacSVf66zK/VxjvZdfxWxSny6IzVeR0muvGMXbNwcc7PxkkpDA7Kk0iQqY/7MD+PyOsCrnWb4vNmWOmyhWAnrARxrSKuxscqkoTJiZgVylfZ9SVh3ok1P8e0R1RjYd68CJdQrzuaN4xxQsMsW2Fovyc6yrsauZKhYCcKz5EnyhjCYPKEa4iF+g/vWeaPLTtiin9pYq+zihW2/ES61OHxWde43E5XoidFjNXArH4A2wbd58WIUPdw8F+t2TiR2A3Q9u1JJEU5laTHJ5Mi3rI9k5oevErNHiDqnUj5kaubeVgk9+Wt9ujqYqvqq5mBPIFukA7+KL4hmsmnDOQ4LAcOW2+b9Py51LL5/E35RKxGjvI4k6XArZzXJN4Xpqm4Aw9JyIos9gu/DzS439gCg3YIMU9FdAqGj4jvJV7OPOj1Aeq/jliyijtmyerKMqDiD5jJNHTPjrjscahl505Z0gUzzNRf55xOCrEGJfL+QlTxtNzZDh89LQO0xf3qB8hg1oMdR22DGLGWP77PsVOQ/OIgP/GMZJMJuDb6M/Ul6OTujXgkmV8FY6apx4IbaG2jHvt4OUWZemHhgtMAEWcRogo+V/LmhEeDUT5Ve3a9Qbg85jclB4K6E4vPXJ6ij6Gc3HTzIpoDRGlcB1zEMXDmeYCNXb9YaCWcLMpolD4sVrWnWognkxyiqVmp5aBgK7/v+iwcuJSr7NFp6umbwQoy9Dh5CeyRzmKACWx4gzVbFHcNwKljrBklmR+42q9ijqkdTIQLvakbWxomNZPa0+1xAszzXQSEZNqSVVK6WYj6UzYwUpQ93twDJUtxBobH7HHYxyT/BbgTmvSQAYAstKfV3nz/PcF4nm3G1a0siXEqX8hCc2Cqm6M=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

The patch is supposed to delete the old jar and add the new. If somehow the
old one (2.4.11) isn’t getting deleted, you can manually remove it.

- Shilen

On 9/3/18, 11:17 AM, "Jared Hoffman"
<>
wrote:

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://urldefense.proofpoint.com/v2/url?u=https-3A__spaces.internet2.edu_display_Grouper_Improve-2BGSH&d=DwIFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=sWqutME58phurE0oO57Icg&m=HXpkFfakXUnKoLeN72Q4B2qJFjYZ00RZidtXFgaO7XY&s=5hkChsz7fRU-AsAX5rfX8S2dzLCMKjlZcbr1RUoWuuU&e=
>
>
>
> 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





Archive powered by MHonArc 2.6.19.

Top of Page