grouper-users - [grouper-users] RE: Error output from groovysh
Subject: Grouper Users - Open Discussion List
List archive
- From: "Wessel, Keith" <>
- To: "" <>
- Subject: [grouper-users] RE: Error output from groovysh
- Date: Fri, 7 Apr 2017 15:57:55 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:yGfFPxNYrW+gxHLxcn8l6mtUPXoX/o7sNwtQ0KIMzox0I//8rarrMEGX3/hxlliBBdydsKMazbKI+PCwEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT68bL9oMBm7rArdu8oVjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksx+grxGrhK9qRJxwIDUb4OUNPVica3ScsgXRXZaUcpNSyBNHp+wYokJAuEcPehYtY79p14WoBewBQajGvjvyiRWiX/yxaExzuEvHh/H3Aw8H9ICvmnfodL2NKYcT++117LIwivHb/5N2Df97IzIchEnofGLXLJwatDdxlcyGAPYl1idr5HuMT2S1uQIqWeb7uxgWPq0i247sQ5+vjuvxsAyiobXnIIVxFTE9SJ3wYovOdK4T0t7bcaqEJtNri2VLJV5QtkmQ2FpviY20KAJtoC9cSMXy5on3wbSZ+GDfoSW+B7vSeScLS17iX57Yr6yhQq+/VChx+DzTMW4zkhGojBYntTPqnwBzQHf58iJR/dl8EeuxzWC2xzW5+xBIE07iKvWJIUkz7ItiJYcq0rOEyrrlEj2kaCZaEAp9+m25+v6ebrroIKXOZVuhQHkKKsun9SyAeQmPQgKWGiW4fy81KX4/UHlTrhGlOE5kqjFsJ/EPsQXvK+5AwtR0oYi7Ra/CDam0M8CkXYZMV1FZQqLj4nvO17QPPD1FeqzjlCynDtx2vzLPKftD5bTInTZkrrtYa5x60tGxwoyydBf6YhUCrYEIP/rWU/wusLXDgQiMwOqx+bqE9R91ocaWWKOBK+ZN6LSsUSS6u0xPuaMeZcZuCzhJPg9+/7ukXg5lEcSfamz2psXdWi4Eep8I0mAfHrsmckOEX0RvgclSOzqiUaCUSJIZ3qsRa485zc7CJ64AofZQICinqCB0DmhEpJIe29GFwPELXC9PYqeXOoUZTjXP9RsiCcsVL69RpUn2A308gL21vAveuXO/TAAuIimycN4/fb7lBcu+CZyAtjHlWyBUjcnsHkPQmp8461kukF5jh+g3Klkg7YQQd9M6uhSXwMSNJrYzup9Csu0Vw7cKITaAG26S8mrVGliBuk6xMUDNh5w
Well, that's an easy fix. Unless this needs any custom jars, it makes sense,
too.
And, without extensive testing, it seems to work. The errors are gone.
Carl, no, no xerces jars in the groovy lib dir. But is there any problem with
just removing grouper's lib/custom from the classpath for groovysh?
Thanks!
Keith
-----Original Message-----
From: Biernath, Jutta
[mailto:]
Sent: Friday, April 07, 2017 2:38 AM
To: Waldbieser, Carl
<>;
Wessel, Keith
<>
Cc:
Subject: AW: Error output from groovysh
Hi, Keith,
I had the same problem. In our case it was because there are incompatible
versions of xercesxxxx.jar and xmlParserAPIxxx.jar used. The reason for this
can be that there are old versions of these jars on java classpath. In our
environment however it was the xercesImpl-2.10.0.jar and
xmlParserAPIs-2.6.2.jar used by grouper itself. They come in the custom
directory.
I could solve this by commenting out the following line in bin/gsh.groovy:
# GROUPER_CP=${GROUPER_CP}:${GROUPER_HOME}/lib/custom/*
Nice tool though!
Regards,
Jutta
--------------------
Freie Universität Berlin
Zentraleinrichtung Datenverarbeitung
FU Directory and Identity Service
Fabeckstr. 32
14195 Berlin, Germany
Telefon +49 30 838-58385
https://www.zedat.fu-berlin.de/FUDIS
-----Ursprüngliche Nachricht-----
Von:
[mailto:]
Im Auftrag von Waldbieser, Carl
Gesendet: Freitag, 7. April 2017 03:24
An: Wessel, Keith
<>
Cc:
Betreff: Re: [grouper-users] Error output from groovysh
Keith,
The problem sounds like this one outlined on SO [1].
I'm no Java expert, but I'm going to guess it might be related to your Groovy
installation.
Can you see if there are xerces jars in your Groovy lib directory? I'm
guessing they are causing some kind of type compatibility issue with jars
bundled with Grouper.
Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College
[1]
http://stackoverflow.com/questions/11677572/dealing-with-xerces-hell-in-java-maven
----- Original Message -----
From: "Wessel, Keith"
<>
To:
Sent: Thursday, April 6, 2017 4:01:09 PM
Subject: [grouper-users] Error output from groovysh
All, but probably Bill Thompson,
We installed groovysh yesterday. Very nifty! Unfortunately, every minute or
so we get an error like the following sent to console when we're running the
shell:
Apr 06, 2017 2:55:27 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException:
java lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
This is with the Groovy version of the shell.
Any suggestions how we'd fix that?
Thanks,
Keith
- [grouper-users] Error output from groovysh, Wessel, Keith, 04/06/2017
- Re: [grouper-users] Error output from groovysh, Waldbieser, Carl, 04/07/2017
- [grouper-users] AW: Error output from groovysh, Biernath, Jutta, 04/07/2017
- [grouper-users] RE: Error output from groovysh, Wessel, Keith, 04/07/2017
- [grouper-users] AW: Error output from groovysh, Biernath, Jutta, 04/07/2017
- Re: [grouper-users] Error output from groovysh, Waldbieser, Carl, 04/07/2017
Archive powered by MHonArc 2.6.19.