Skip to Content.
Sympa Menu

grouper-users - [grouper-users] AW: Error output from groovysh

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] AW: Error output from groovysh


Chronological Thread 
  • From: "Biernath, Jutta" <>
  • To: "Waldbieser, Carl" <>, "Wessel, Keith" <>
  • Cc: "" <>
  • Subject: [grouper-users] AW: Error output from groovysh
  • Date: Fri, 07 Apr 2017 09:38:10 +0200
  • Accept-language: de-DE, en-US
  • Ironport-phdr: 9a23:3wxM6RPv6ShHl2DImJwl6mtUPXoX/o7sNwtQ0KIMzox0K/z4ocbcNUDSrc9gkEXOFd2CrakV1ayO7uu5AzNIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbJ/IA+qoQjRucUanJVuJ6QswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKLCAy/n3JhcNsjaJbuBOhqAJ5w47Ie4GeKf5ycrrAcd8GWWZNW8BcXDFDDIyhdYsCF+oPM/hFoYnhpFUOoxmxChWjCuzgxDFIh2T73bEh3OklDQ3KwBAsEtAIvX/JrNv1LqASUeWtwaXG0DjDbu1Z2S376IfSbhAhoemAVq90f8rM1UkvCxnKgluNooHiPTOVy/gNs3SB4OZ6Tu2vinAoqxt3oje12scsipLEhowIylzd7ip23pw1Jdm5SE59e9KrDYVfujicOoBrTM0iRGRotzw7yr0AoZO7ZzQKx447yB7cbPyHbZaH4gjtVOaVJjd5imhpd664hxa36USgxPD8WtCv31lUtCpFltjMtnYX2xPO9MeKTOZ28ES52TuXygze5P1ILVopmafVJZMt2LE9moAXvEnDBiP6hUv7gLOMekk59OWl5f7rbqjkq5OALYN4lB3yPrk2lsCiD+k0LhICU3WV9OmyzrHv4E/0TKlQgvErnKTVrJbXLtkBqKGjGQ9ayIMj5g6/Dzi41NQYmmEKLFVYeBKbl4jpPErOIOz8APulglWjjipkyOraPrH7DJXNM2HPn6z/crZn705cyQwzwcpC6J1KEr0BIfTzVVHttNHAExM0PRC4z/z6BNhz2I4SQ22CDrWdPa7SqVOI4/ggI+iIZI8bojb9LP0l6ubsjX8khV8dYbOm0YEMZ3C5APtmOUOZbmDwgtcBCmoKsBc+QPXxh1KcSz5TY3eyX6Qm6j4mFo2qFZ3DSZy1gLydwCe7GYVbZm9cClCLDHfob5uLW+0VZCKPOc9ujCYEVaO6Ro8l1BGurxP6y6F5IubO+y0Ys47j28Zv5+3Vix4y6SJ4A96D3G6QUmEn1l8PEnUJ1aRzq01w0VqZleBTiuZcX5QH+PpNXg07OJX0y+V0AsH/Rh7MONqFVQDiCp+ZDCoqQ9Z1i/wDYlp9UZ32jQ/OxDGnB5cUk7iKAps16eTR02WndOhnzHOTnoMggkMgS9dPcSWEm7Jj/kKbU4zUj1mQ0ayreL4a1TLN3GmeiGCDpkVZVkh8XPOWDjgkekLKoIGhtQv5RLi0BOFia1MZxA==

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



Archive powered by MHonArc 2.6.19.

Top of Page