grouper-users - [grouper-users] Hibernate errors when Quartz Runs (Ver 2.1.3)
Subject: Grouper Users - Open Discussion List
List archive
- From: "Bryan E. Wooten" <>
- To: "" <>
- Subject: [grouper-users] Hibernate errors when Quartz Runs (Ver 2.1.3)
- Date: Fri, 15 Feb 2013 17:37:12 +0000
- Accept-language: en-US
- Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none
I have configured my PspChangeLogConsumer to run every minute in my psp.xml. #specify the consumers here. specify the consumer name after the changeLog.consumer. part. This example is "psp" #but it could be changeLog.consumer.myConsumerName.class #the class must extend edu.internet2.middleware.grouper.changeLog.ChangeLogConsumerBase changeLog.consumer.psp.class = edu.internet2.middleware.psp.grouper.PspChangeLogConsumer #the quartz cron is a cron-like string. it defaults to every minute on the minute (since the temp to change log job runs #at 10 seconds to each minute). it defaults to this: 0 * * * * ? #though it will stagger each one by 2 seconds # http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger changeLog.consumer.psp.quartzCron = 0 * * * * ? When I add a member to a group I see this in mys logs. Note the member does get provisioned to my ldap server. Any idea what is causing this exception? Thank, Bryan 2013-02-15 10:32:00,514: [DefaultQuartzScheduler_Worker-7] INFO BaseSpmlProvider.execute(382) - - Target 'ldap' - Modify XML: <modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='success' requestID='2013/02/15-10:32:00.500'> <pso> <psoID ID='cn=group7Id,ou=utah,ou=groups,ou=grouper,o=utah.edu' targetID='ldap'/> </pso> </modifyResponse> 2013-02-15 10:32:00,515: [DefaultQuartzScheduler_Worker-7] INFO BaseSpmlProvider.execute(380) - - Target 'psp' - Modify ModifyResponse[pso=PSO[psoID=PSOIdentifier[id='cn=group7Id,ou=utah,ou=groups,ou=grouper,o=utah.edu',targetID=ldap,containerID=<null>]],status=success,requestID=2013/02/15-10:32:00.500] 2013-02-15 10:32:00,516: [DefaultQuartzScheduler_Worker-7] INFO BaseSpmlProvider.execute(382) - - Target 'psp' - Modify XML: <modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='success' requestID='2013/02/15-10:32:00.500'> <pso> <psoID ID='cn=group7Id,ou=utah,ou=groups,ou=grouper,o=utah.edu' targetID='ldap'/> </pso> </modifyResponse> 2013-02-15 10:32:00,518: [DefaultQuartzScheduler_Worker-7] INFO PspChangeLogConsumer.executeModifyRequests(253) - - PSP Consumer 'psp' - Change log entry 'ChangeLogEntry[timestamp=2013-02-15 10:31:44.243,sequence=9159,category=membership,actionname=addMembership,contextId=9e00419ee50b41cc87fb519e198c3bc1]'
Modify 'ModifyResponse[pso=PSO[psoID=PSOIdentifier[id='cn=group7Id,ou=utah,ou=groups,ou=grouper,o=utah.edu',targetID=ldap,containerID=<null>]],status=success,requestID=2013/02/15-10:32:00.500]' 2013-02-15 10:32:00,519: [DefaultQuartzScheduler_Worker-7] INFO PspChangeLogConsumer.processChangeLogEntry(573) - - PSP Consumer 'psp' - Change log entry 'ChangeLogEntry[timestamp=2013-02-15 10:31:44.243,sequence=9159,category=membership,actionname=addMembership,contextId=9e00419ee50b41cc87fb519e198c3bc1]'
Finished processing. Elapsed time 0:00:00.303 2013-02-15 10:32:00,536: [DefaultQuartzScheduler_Worker-7] ERROR GrouperLoaderType$4.runJob(596) - - Problem with change log consumer: psp edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException: Problem in HibernateSession: HibernateSession: isNew: true, isReadonly: false, grouperTransactionType: READ_WRITE_NEW at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:491) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:581) at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveOrUpdate(ByObjectStatic.java:354) at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3ChangeLogConsumerDAO.saveOrUpdate(Hib3ChangeLogConsumerDAO.java:41) at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:258) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:589) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:398) at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:300) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) |
- [grouper-users] Hibernate errors when Quartz Runs (Ver 2.1.3), Bryan E. Wooten, 02/15/2013
- <Possible follow-up(s)>
- RE: [grouper-users] Hibernate errors when Quartz Runs (Ver 2.1.3), Gagné Sébastien, 02/15/2013
- RE: [grouper-users] Hibernate errors when Quartz Runs (Ver 2.1.3), Bryan E. Wooten, 02/15/2013
Archive powered by MHonArc 2.6.16.