Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper loader error

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper loader error


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Klug, Lawrence" <>, "" <>
  • Subject: [grouper-users] RE: Grouper loader error
  • Date: Wed, 26 Sep 2012 18:34:17 +0000
  • Accept-language: en-US

The change log consumer runs from the loader.  Where do you run the loader from?  If the answer is UI, then put the class in the UI, if WS (like Penn does now), then put it in the WS, if it is a standalone Grouper API (might be most common), then put it there.  Example on *nix:

 

nohup gsh –loader &

 

Thanks,

Chris

 

From: Klug, Lawrence [mailto:]
Sent: Wednesday, September 26, 2012 2:30 PM
To: Chris Hyzer;
Subject: RE: Grouper loader error

 

Chris,

 

If I deploy a ChangeLogConsumer class and bundle it into the Admin UI webapp, will it run when the Grouper webapp is deployed?  How do I get it to send log entries and which log file will it appear in? 

 

Thanks,

 

Lawrence

 

From: Chris Hyzer []
Sent: Wednesday, September 26, 2012 10:54 AM
To: Klug, Lawrence;
Subject: RE: Grouper loader error

 

It checks the example properties to see if all the properties are in the non example properties correctly.  Can you make sure the grouper-loader.example.properties is on the classpath?

 

Thanks,

Chris

 

 

From: On Behalf Of Klug, Lawrence
Sent: Wednesday, September 26, 2012 1:51 PM
To:
Subject: [grouper-users] Grouper loader error

 

Getting this error when running “gsh –loader”  command.  ( Problem with resource: 'grouper-loader.example.properties' ) – what does this mean and how can I fix it?

 

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java :214)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.jav

a:31)

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java

:204)

        ... 2 more

Caused by: java.lang.RuntimeException: Problem with resource: 'grouper-loader.example.properties'

        at edu.internet2.middleware.grouper.util.GrouperUtil.propertiesFromResourceName(GrouperUtil.

java:7174)

        at edu.internet2.middleware.grouper.util.GrouperUtil.propertiesFromResourceName(GrouperUtil.

java:6954)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfigProperties(GrouperChe

ckConfig.java:1470)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoader.main(GrouperLoader.java:96)

        ... 7 more

Caused by: java.lang.NullPointerException

        at edu.internet2.middleware.grouper.util.GrouperUtil.propertiesFromResourceName(GrouperUtil.

java:7170)

        ... 10 more

 

Lawrence Klug

IMS Platform Development

310 825-2061

ext 52061

 




Archive powered by MHonArc 2.6.16.

Top of Page