Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: ESB exception

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: ESB exception


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Bryan E. Wooten" <>, "" <>
  • Subject: [grouper-users] RE: ESB exception
  • Date: Thu, 6 Feb 2014 18:07:24 +0000
  • Accept-language: en-US

I think you are missing a quote:

 

FROM:

 

changeLog.consumer.httpTestGroup.elfilter = event.eventType eq 'MEMBERSHIP_DELETE' || event.eventType eq 'MEMBERSHIP_ADD || event.eventType eq 'GROUP_DELETE' || event.eventType eq 'GROUP_ADD'

 

TO:


changeLog.consumer.httpTestGroup.elfilter = event.eventType eq 'MEMBERSHIP_DELETE' || event.eventType eq 'MEMBERSHIP_ADD' || event.eventType eq 'GROUP_DELETE' || event.eventType eq 'GROUP_ADD'

 

 

From: [mailto:] On Behalf Of Bryan E. Wooten
Sent: Thursday, February 06, 2014 12:14 PM
To:
Subject: [grouper-users] ESB exception

 

So I turn on the ESB change log consumer:

 

#UofU test ESB

changeLog.consumer.httpTestGroup.class = edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer

changeLog.consumer.httpTestGroup.elfilter = event.eventType eq 'MEMBERSHIP_DELETE' || event.eventType eq 'MEMBERSHIP_ADD || event.eventType eq 'GROUP_DELETE' || event.eventType eq 'GROUP_ADD'

changeLog.consumer.httpTestGroup.publisher.class = edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbHttpPublisher

changeLog.consumer.httpTestGroup.publisher.url = " http://grouper02-test.idm.utah.edu:8080

changeLog.consumer.httpTestGroup.quartzCrom = 48 * * * * ?

 

But I get this in grouper_err.log:

 

2014-02-06 09:58:02,269: [DefaultQuartzScheduler_Worker-10] ERROR EsbConsumer.processChangeLogEntries(569) -  - problem

org.apache.commons.jexl2.JexlException: parsing failed

        at org.apache.commons.jexl2.JexlEngine.parse(JexlEngine.java:814)

        at org.apache.commons.jexl2.JexlEngine.createExpression(JexlEngine.java:384)

        at org.apache.commons.jexl2.JexlEngine.createExpression(JexlEngine.java:368)

        at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.matchesFilter(EsbConsumer.java:649)

        at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.processChangeLogEntries(EsbConsumer.java:523)

        at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:242)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:588)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:413)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:315)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

Caused by: org.apache.commons.jexl2.parser.ParseException: Ambiguous statement @1:101, missing ';' between expressions

        at org.apache.commons.jexl2.parser.Parser.jjtreeCloseNodeScope(Parser.java:41)

        at org.apache.commons.jexl2.parser.Parser.ExpressionStatement(Parser.java:280)

        at org.apache.commons.jexl2.parser.Parser.Statement(Parser.java:154)

        at org.apache.commons.jexl2.parser.Parser.JexlScript(Parser.java:86)

        at org.apache.commons.jexl2.parser.Parser.parse(Parser.java:24)

        at org.apache.commons.jexl2.JexlEngine.parse(JexlEngine.java:807)

        ... 10 more

2014-02-06 09:58:02,310: [DefaultQuartzScheduler_Worker-10] ERROR ChangeLogHelper.processRecords(271) -  - Error: Error processing record 383873, sequenceNumber: 383873, org.apache.commons.jexl2.JexlException: parsing failed

        at org.apache.commons.jexl2.JexlEngine.parse(JexlEngine.java:814)

        at org.apache.commons.jexl2.JexlEngine.createExpression(JexlEngine.java:384)

        at org.apache.commons.jexl2.JexlEngine.createExpression(JexlEngine.java:368)

        at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.matchesFilter(EsbConsumer.java:649)

        at edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer.processChangeLogEntries(EsbConsumer.java:523)

        at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:242)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:588)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:413)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:315)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

Caused by: org.apache.commons.jexl2.parser.ParseException: Ambiguous statement @1:101, missing ';' between expressions

        at org.apache.commons.jexl2.parser.Parser.jjtreeCloseNodeScope(Parser.java:41)

        at org.apache.commons.jexl2.parser.Parser.ExpressionStatement(Parser.java:280)

        at org.apache.commons.jexl2.parser.Parser.Statement(Parser.java:154)

        at org.apache.commons.jexl2.parser.Parser.JexlScript(Parser.java:86)

        at org.apache.commons.jexl2.parser.Parser.parse(Parser.java:24)

        at org.apache.commons.jexl2.JexlEngine.parse(JexlEngine.java:807)

        ... 10 more

 

Any ideas?

 

-Bryan




Archive powered by MHonArc 2.6.16.

Top of Page