Solved,

I mistakenly called infodev:ticket-set-status($ticket-id, "completed") at
the end of the process-file callback. Copy-paste error I guess..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: Geert Josten [mailto:[email protected]]
Verzonden: donderdag 26 januari 2012 23:47
Aan: General MarkLogic Developer Discussion
Onderwerp: Custom collector producing INFO-INACTIVETICKET errors

Hi,

I have a custom collector that uses the infodev:filesystem-walk
functionality in its start function to walk an input directory, and
process it with transactions. From there a process-file callback on the
collector is called, which splits the input file into multiple parts,
which are submitted for transactional processing themselves. The first
file processes successfully, including all of its fragments. But
subsequent files fail with some unexpected error, which again is caused by
an INFO-INACTIVETICKET that gets thrown somewhere from the info API.

I have the impression it might be caused by starting transactions while
inside one already. Could that be true?

Kind regards,
Geert

drs. G.P.H. (Geert) Josten
Senior Developer



Dayon B.V.
Delftechpark 37b
2628 XJ Delft

T +31 (0)88 26 82 570

[email protected]
www.dayon.nl

De informatie - verzonden in of met dit e-mailbericht - is afkomstig van
Dayon BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan
dit bericht kunnen geen rechten worden ontleend.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to