Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Rules daemon(s) not running?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Rules daemon(s) not running?


Chronological Thread 
  • From: Julio Polo <>
  • To:
  • Subject: [grouper-users] Rules daemon(s) not running?
  • Date: Mon, 17 Oct 2011 13:52:27 -1000

The rules I've defined only work when I execute these from gsh:

edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName(grouperSession,
"CHANGE_LOG_changeLogTempToChangeLog");

edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName(grouperSession,
"CHANGE_LOG_consumer_grouperRules");

My grouper-loader.properties file has these values:

---------------------------------

changeLog.changeLogTempToChangeLog.enable = true

changeLog.changeLogTempToChangeLog.quartz.cron = 50 * * * * ?

changeLog.consumer.grouperRules.class =
edu.internet2.middleware.grouper.changeLog.esb.consumer.RuleConsumer

changeLog.consumer.grouperRules.quartzCron = 0 * * * * ?

rules.quartz.cron = 0 39 12 * * ?

---------------------------------

and I've done the usual reconfiguration and restarting after 12:39 pm,
just in case rules.quartz.cron had to run first:

---------------------------------

# edit the grouper-loaded.properties file here

cd ~/grouper/grouper-ui/
ant war

cd ~/grouper/grouper-ws/grouper-ws
ant dist

# stop grouper here

cd ~grouper
rm -rf ./tomcat/webapps/grouper*
rm -rf ./tomcat/work/Catalina/localhost
cp ./grouper/grouper-ui/dist/grouper.war ./tomcat/webapps/
cp ./grouper/grouper-ws/grouper-ws/build/dist/grouper-ws.war ./tomcat/webapps/

# start grouper here

---------------------------------

and I still get no email after deleting someone. It's supposed to be
2-4 minutes according to above properties. I decided to run the above
gsh commands, and that's the only thing that triggers the email. That
tells me the daemons aren't really running. What am I missing? Does
the database need to be restarted? How do you check if the daemons
are running?

Thanks!

Julio Polo
University of Hawaii



Archive powered by MHonArc 2.6.16.

Top of Page