Hi, We are currently trying to update from orbeon 3.6 to orbeon 3.8 and I keep on seeing the following error in my logs Tee state was cleared and re-read for output: instance I did not have this problem with the previous orbeon version. What we are doing is the following:
The code looks like this: public void generateData(PipelineContext context, ContentHandler contentHandler) throws Exception {
Can you please tell me what I am doing wrong? Thanks, Antoine -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Antoine,
This probably means you have a processor which reads its input multiple times during the same pipeline execution. This is not allowed by the pipeline engine and the internal Tee processor enforces that rule. Since you have a custom processor this is a red flag. Can you see any way this can happen in your system? -Erik On Thu, Nov 18, 2010 at 5:44 PM, <[hidden email]> wrote: > Hi, > > We are currently trying to update from orbeon 3.6 to orbeon 3.8 and I keep > on seeing the following error in my logs > > Tee state was cleared and re-read for output: instance > > I did not have this problem with the previous orbeon version. > > What we are doing is the following: > We have some custom processor we wrote in java, in this processor we take > the input, unmarshal the xml to objects, tranform those and the marshal them > back to xml to return to orbeon. > > The code looks like this: > > public void generateData(PipelineContext context, ContentHandler > contentHandler) throws Exception { > DocumentResult docResult = new DocumentResult(); > Document instance = readInputAsDOM4J(context, "instance"); > ... > //here the proposalModelResult object is generated, then > marshalled to xml using jaxb > > MarshallerFactory.getProposalMarshaller().marshal(proposalModelResult, > docResult); > Document xmlDocument = docResult.getDocument(); > LocationSAXWriter saxWriter = new LocationSAXWriter(); > saxWriter.setContentHandler(contentHandler); > saxWriter.write(xmlDocument); > } > > Can you please tell me what I am doing wrong? > > Thanks, > > Antoine > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Eric,
Indeed I don't have this with all my processors. I'll search in that direction. Thanks, Antoine -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Tuesday, November 23, 2010 12:34 AM To: [hidden email] Subject: [ops-users] Re: Error in TeeProcessor Antoine, This probably means you have a processor which reads its input multiple times during the same pipeline execution. This is not allowed by the pipeline engine and the internal Tee processor enforces that rule. Since you have a custom processor this is a red flag. Can you see any way this can happen in your system? -Erik On Thu, Nov 18, 2010 at 5:44 PM, <[hidden email]> wrote: > Hi, > > We are currently trying to update from orbeon 3.6 to orbeon 3.8 and I keep > on seeing the following error in my logs > > Tee state was cleared and re-read for output: instance > > I did not have this problem with the previous orbeon version. > > What we are doing is the following: > We have some custom processor we wrote in java, in this processor we take > the input, unmarshal the xml to objects, tranform those and the marshal them > back to xml to return to orbeon. > > The code looks like this: > > public void generateData(PipelineContext context, ContentHandler > contentHandler) throws Exception { > DocumentResult docResult = new DocumentResult(); > Document instance = readInputAsDOM4J(context, "instance"); > ... > //here the proposalModelResult object is generated, then > marshalled to xml using jaxb > > MarshallerFactory.getProposalMarshaller().marshal(proposalModelResult, > docResult); > Document xmlDocument = docResult.getDocument(); > LocationSAXWriter saxWriter = new LocationSAXWriter(); > saxWriter.setContentHandler(contentHandler); > saxWriter.write(xmlDocument); > } > > Can you please tell me what I am doing wrong? > > Thanks, > > Antoine > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |