You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(2) |
Nov
(9) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Abhi G. <ag...@gm...> - 2006-05-09 17:39:24
|
All- I am trying to perform some market intelligence to understand what industries babeldoc has been successfully used. If you could please provid= e me a very brief description of where you used babeldoc on a project and wha= t industry it was used in, I would greatly appreciate it. Any client names would also be appreciated if you wish to share that information. Regards, Abhi Goel |
From: McDonald, B. <Bru...@ba...> - 2004-08-25 13:44:51
|
Ok, I see the problem - The journal is running and it is trying to write its journal files into the babeldoc_home directories because you have not configured it to write them somewhere else or you haven't turned them off. Look at the journal configuration and set the journal to dummy journal. Or just run babeldoc process with the -n flag. bruce. -----Original Message----- From: Aryeh M. Friedman [mailto:ar...@m-...] Sent: Tuesday, August 24, 2004 10:05 PM To: McDonald, Bruce Cc: bab...@li... Subject: Re: [Babeldoc-user] installing babledoc to a system dir [ Charset ISO-8859-1 unsupported, converting... ] > create a directory: > > /usr/local/babeldoc > > unpack babeldoc into that directory > > Now all you have to do is set the environment variables: > > BABELDOC_HOME=/usr/local/babeldoc > PATH=$PATH:/$BABELDOC_HOME/bin I tried that and I get massive permission denied's if I do not run it as root (who I installed it as)... in short as far I can tell it must be owned by the same user that calls it... if this is true it is a critical flaw from the unix point of view --Aryeh |
From: Aryeh M. F. <ar...@m-...> - 2004-08-25 02:02:54
|
[ Charset ISO-8859-1 unsupported, converting... ] > create a directory: > > /usr/local/babeldoc > > unpack babeldoc into that directory > > Now all you have to do is set the environment variables: > > BABELDOC_HOME=/usr/local/babeldoc > PATH=$PATH:/$BABELDOC_HOME/bin I tried that and I get massive permission denied's if I do not run it as root (who I installed it as)... in short as far I can tell it must be owned by the same user that calls it... if this is true it is a critical flaw from the unix point of view --Aryeh |
From: Aryeh M. F. <ar...@m-...> - 2004-08-25 02:01:15
|
Sorry for not making this a diff but I never figured out the "correct" way to do this outside of a SCM (Change Management System like Aegis). Add the final else if to the following (starting at line 151 of babeldoc-src-1.2.1/modules/xslfo/src/com/babeldoc/xslfo/pipeline/stage/XslFoTransformPipelineStage.j ava): if (outputTypeStr.equals("pdf")) { outputType = Driver.RENDER_PDF; binary = true; mimeType = "application/pdf"; } else if (outputTypeStr.equals("pcl")) { outputType = Driver.RENDER_PCL; binary = true; mimeType = "application/octet-stream"; } else if (outputTypeStr.equals("svg")) { outputType = Driver.RENDER_SVG; mimeType = "image/svg+xml"; } else if (outputTypeStr.equals("ps")) { outputType = Driver.RENDER_PS; mimeType = "application/postscript"; /* start of new code */ } else if (outputTypeStr.equals("text")) { outputType = Driver.RENDER_TXT; mimeType = "text/plain"; } /* end of new code */ Basically this allows the XslFo module to output plain text as a style. --Aryeh |
From: McDonald, B. <Bru...@ba...> - 2004-08-24 13:57:44
|
create a directory: /usr/local/babeldoc unpack babeldoc into that directory Now all you have to do is set the environment variables: BABELDOC_HOME=/usr/local/babeldoc PATH=$PATH:/$BABELDOC_HOME/bin -----Original Message----- From: bab...@li... [mailto:bab...@li...]On Behalf Of Aryeh M. Friedman Sent: Monday, August 23, 2004 8:42 PM To: bab...@li... Subject: [Babeldoc-user] installing babledoc to a system dir Now that I have successfully build BableDoc how do I install it in say /usr/local --Aryeh ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Babeldoc-user mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: Aryeh M. F. <ar...@m-...> - 2004-08-24 00:39:43
|
Now that I have successfully build BableDoc how do I install it in say /usr/local --Aryeh |
From: <ben...@id...> - 2004-05-25 10:42:11
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: easter <ea...@fr...> - 2004-05-12 16:01:13
|
Dave thanks for the pointer, but then I'll be stuck on how to get this SoapWriterResponse variable input to my writer code etc etc etc. I think I'm just going to write a little Axis module instead, it's going to be quicker for me than trying to wade through undocumented code with no examples. At least I can be confident in my Axis code, it's been running elsewhere for quite some time, and I think Axis is probably a better level for attacking web services than Soap. If anyone is interested I will check it into CVS. dg...@co... wrote: >I don't have my system in front of me, but I believe that setting the responseDoc to true will result in the soap response being placed into the document variable SoapWriterResponse. You will need to retrieve the response from there. > >Hope this helps, > >David Glick > > > >>From: easter <ea...@fr...> >>Date: 2004/05/12 Wed AM 11:32:24 EDT >>To: "McDonald, Bruce" <Bru...@ba...> >>CC: bab...@li... >>Subject: Re: suspect: [Babeldoc-user] Where to get the SoapWriter result? >> >>Ahh, my mistake - I was reading the description for the service : >>RESULT_STAGE : soap.103=URL for the SOAP service. >>This is also incorrect in the user guide. Damm copy-paste errors eh? >> >>So anyway, following your advice, I replaced it with my writer stage, >>and the writer is never called. >>In fact, I can put any text I want in the resultStage property, and no >>error is generated either. >>I've tried responseDoc=false as well, doesn't seem to affect anything. >> >>My pipeline is now : >>xip.nextStage=null >>xip.stageType=SoapWriter >>xip.soapAction=urn:xmethods-delayed-quotes#getQuote >>xip.soapUrl=http://66.28.98.121:9090/soap >>xip.resultStage=writer >>xip.responseDoc=true >>xip.username= >>xip.password= >> >>writer.nextStage=null >>writer.stageType=FileWriter >>writer.outputFile=${system.getProperty("user.dir")}/out/soap.xml >> >> >>In case it helps, here's what my input document looks like, I feed it >>using a directory scanner : >> >><?xml version="1.0" encoding="UTF-8"?> >><soap:Envelope >> xmlns:n="urn:xmethods-delayed-quotes" >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" >> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" >> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> <soap:Body >>soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> >> <n:getQuote> >> <symbol xsi:type="xs:string">SUNW</symbol> >> </n:getQuote> >> </soap:Body> >></soap:Envelope> >> >> >>Thanks if you can help me out. >> >>Cheers. >> >> >>McDonald, Bruce wrote: >> >> >> >>>You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. >>> >>> >>> >>> >>> >>>-----Original Message----- >>>From: bab...@li... >>>[mailto:bab...@li...]On Behalf Of easter >>>Sent: Wednesday, May 12, 2004 10:54 AM >>>To: bab...@li... >>>Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? >>> >>> >>>Hi all, >>> >>>I'm playing with the SoapWriter pipeline and cannot figure out how to >>>retrieve the result of the invocation. >>> >>>Here is an extract of my pipeline : >>> >>>... >>>xip.nextStage=writer >>>xip.stageType=SoapWriter >>>xip.soapAction=urn:xmethods-delayed-quotes#getQuote >>>xip.soapUrl=http://66.28.98.121:9090/soap >>>xip.resultStage=http://66.28.98.121:9090/soap >>>xip.responseDoc=true >>>xip.username= >>>xip.password= >>>writer.nextStage=null >>>writer.stageType=FileWriter >>>writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} >>>... >>> >>>But my writer stage always prints the original document I used as input >>>to the SoapWriter call. >>>What do I need to do to get the SoapResponse message from the web service? >>> >>>Thanks for any help. >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Sleepycat Software >>>Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >>>higher performing products faster, at low TCO. >>>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >>>_______________________________________________ >>>Babeldoc-user mailing list >>>Bab...@li... >>>https://lists.sourceforge.net/lists/listinfo/babeldoc-user >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Sleepycat Software >>>Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >>>higher performing products faster, at low TCO. >>>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >>>_______________________________________________ >>>Babeldoc-user mailing list >>>Bab...@li... >>>https://lists.sourceforge.net/lists/listinfo/babeldoc-user >>> >>> >>> >>> >>> >>> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by Sleepycat Software >>Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >>higher performing products faster, at low TCO. >>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >>_______________________________________________ >>Babeldoc-user mailing list >>Bab...@li... >>https://lists.sourceforge.net/lists/listinfo/babeldoc-user >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Babeldoc-user mailing list >Bab...@li... >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > > |
From: <dg...@co...> - 2004-05-12 15:53:30
|
I don't have my system in front of me, but I believe that setting the responseDoc to true will result in the soap response being placed into the document variable SoapWriterResponse. You will need to retrieve the response from there. Hope this helps, David Glick > > From: easter <ea...@fr...> > Date: 2004/05/12 Wed AM 11:32:24 EDT > To: "McDonald, Bruce" <Bru...@ba...> > CC: bab...@li... > Subject: Re: suspect: [Babeldoc-user] Where to get the SoapWriter result? > > Ahh, my mistake - I was reading the description for the service : > RESULT_STAGE : soap.103=URL for the SOAP service. > This is also incorrect in the user guide. Damm copy-paste errors eh? > > So anyway, following your advice, I replaced it with my writer stage, > and the writer is never called. > In fact, I can put any text I want in the resultStage property, and no > error is generated either. > I've tried responseDoc=false as well, doesn't seem to affect anything. > > My pipeline is now : > xip.nextStage=null > xip.stageType=SoapWriter > xip.soapAction=urn:xmethods-delayed-quotes#getQuote > xip.soapUrl=http://66.28.98.121:9090/soap > xip.resultStage=writer > xip.responseDoc=true > xip.username= > xip.password= > > writer.nextStage=null > writer.stageType=FileWriter > writer.outputFile=${system.getProperty("user.dir")}/out/soap.xml > > > In case it helps, here's what my input document looks like, I feed it > using a directory scanner : > > <?xml version="1.0" encoding="UTF-8"?> > <soap:Envelope > xmlns:n="urn:xmethods-delayed-quotes" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soap:Body > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > <n:getQuote> > <symbol xsi:type="xs:string">SUNW</symbol> > </n:getQuote> > </soap:Body> > </soap:Envelope> > > > Thanks if you can help me out. > > Cheers. > > > McDonald, Bruce wrote: > > >You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. > > > > > > > > >-----Original Message----- > >From: bab...@li... > >[mailto:bab...@li...]On Behalf Of easter > >Sent: Wednesday, May 12, 2004 10:54 AM > >To: bab...@li... > >Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? > > > > > >Hi all, > > > >I'm playing with the SoapWriter pipeline and cannot figure out how to > >retrieve the result of the invocation. > > > >Here is an extract of my pipeline : > > > >... > >xip.nextStage=writer > >xip.stageType=SoapWriter > >xip.soapAction=urn:xmethods-delayed-quotes#getQuote > >xip.soapUrl=http://66.28.98.121:9090/soap > >xip.resultStage=http://66.28.98.121:9090/soap > >xip.responseDoc=true > >xip.username= > >xip.password= > >writer.nextStage=null > >writer.stageType=FileWriter > >writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} > >... > > > >But my writer stage always prints the original document I used as input > >to the SoapWriter call. > >What do I need to do to get the SoapResponse message from the web service? > > > >Thanks for any help. > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Sleepycat Software > >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > >higher performing products faster, at low TCO. > >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > >_______________________________________________ > >Babeldoc-user mailing list > >Bab...@li... > >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Sleepycat Software > >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > >higher performing products faster, at low TCO. > >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > >_______________________________________________ > >Babeldoc-user mailing list > >Bab...@li... > >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user > |
From: easter <ea...@fr...> - 2004-05-12 15:31:56
|
Ahh, my mistake - I was reading the description for the service : RESULT_STAGE : soap.103=URL for the SOAP service. This is also incorrect in the user guide. Damm copy-paste errors eh? So anyway, following your advice, I replaced it with my writer stage, and the writer is never called. In fact, I can put any text I want in the resultStage property, and no error is generated either. I've tried responseDoc=false as well, doesn't seem to affect anything. My pipeline is now : xip.nextStage=null xip.stageType=SoapWriter xip.soapAction=urn:xmethods-delayed-quotes#getQuote xip.soapUrl=http://66.28.98.121:9090/soap xip.resultStage=writer xip.responseDoc=true xip.username= xip.password= writer.nextStage=null writer.stageType=FileWriter writer.outputFile=${system.getProperty("user.dir")}/out/soap.xml In case it helps, here's what my input document looks like, I feed it using a directory scanner : <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:n="urn:xmethods-delayed-quotes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <n:getQuote> <symbol xsi:type="xs:string">SUNW</symbol> </n:getQuote> </soap:Body> </soap:Envelope> Thanks if you can help me out. Cheers. McDonald, Bruce wrote: >You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. > > > >-----Original Message----- >From: bab...@li... >[mailto:bab...@li...]On Behalf Of easter >Sent: Wednesday, May 12, 2004 10:54 AM >To: bab...@li... >Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? > > >Hi all, > >I'm playing with the SoapWriter pipeline and cannot figure out how to >retrieve the result of the invocation. > >Here is an extract of my pipeline : > >... >xip.nextStage=writer >xip.stageType=SoapWriter >xip.soapAction=urn:xmethods-delayed-quotes#getQuote >xip.soapUrl=http://66.28.98.121:9090/soap >xip.resultStage=http://66.28.98.121:9090/soap >xip.responseDoc=true >xip.username= >xip.password= >writer.nextStage=null >writer.stageType=FileWriter >writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} >... > >But my writer stage always prints the original document I used as input >to the SoapWriter call. >What do I need to do to get the SoapResponse message from the web service? > >Thanks for any help. > > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Babeldoc-user mailing list >Bab...@li... >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Babeldoc-user mailing list >Bab...@li... >https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > > |
From: McDonald, B. <Bru...@ba...> - 2004-05-12 14:57:38
|
You want the result of the document to be sent to the file writer? If so then the resultStage should be writer. -----Original Message----- From: bab...@li... [mailto:bab...@li...]On Behalf Of easter Sent: Wednesday, May 12, 2004 10:54 AM To: bab...@li... Subject: suspect: [Babeldoc-user] Where to get the SoapWriter result? Hi all, I'm playing with the SoapWriter pipeline and cannot figure out how to retrieve the result of the invocation. Here is an extract of my pipeline : ... xip.nextStage=writer xip.stageType=SoapWriter xip.soapAction=urn:xmethods-delayed-quotes#getQuote xip.soapUrl=http://66.28.98.121:9090/soap xip.resultStage=http://66.28.98.121:9090/soap xip.responseDoc=true xip.username= xip.password= writer.nextStage=null writer.stageType=FileWriter writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} ... But my writer stage always prints the original document I used as input to the SoapWriter call. What do I need to do to get the SoapResponse message from the web service? Thanks for any help. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Babeldoc-user mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: easter <ea...@fr...> - 2004-05-12 14:53:37
|
Hi all, I'm playing with the SoapWriter pipeline and cannot figure out how to retrieve the result of the invocation. Here is an extract of my pipeline : ... xip.nextStage=writer xip.stageType=SoapWriter xip.soapAction=urn:xmethods-delayed-quotes#getQuote xip.soapUrl=http://66.28.98.121:9090/soap xip.resultStage=http://66.28.98.121:9090/soap xip.responseDoc=true xip.username= xip.password= writer.nextStage=null writer.stageType=FileWriter writer.outputFile=${system.getProperty("user.dir")}/out/${document.name} ... But my writer stage always prints the original document I used as input to the SoapWriter call. What do I need to do to get the SoapResponse message from the web service? Thanks for any help. |
From: Michael A. <mic...@ze...> - 2003-12-06 00:23:58
|
Hi, Bill, It's probably for the same reason that the JMX scanner has trouble reloading configuration. The configuration is cached in static members, which means that until the VM is killed (by stopping Tomcat) the caches don't clear, and the configuration is not refreshed. I've made a start on this in the 1.3 branch, but there is still quite a bit of work to do. For the moment, unless anybody else has another suggestion, I think you're stuck with restarting Tomcat. Does Tomcat have a way of restarting the classloader for a context? If you can get the classloader to restart without restarting Tomcat, then it should clear the config info (I'm assuming here that Tomcat gives different application contexts their own classloaders). Cheers... MikeA On Fri, 2003-12-05 at 21:34, Bill Harrelson wrote: > Hi all, > > I'm trying to get a pipeline running under Tomcat (as some of you > know from my request for help). > > > Is there any way to reload the pipeline for the SOAPListener (which I > have heavily modified) without having to stop and restart Tomcat? > > I tried reloading the servlet context with the Tomcat manager, but that > didn't seem to work. It's a bit of a pain having to stop and re-start all > the time and I can't offhand figure out why reloading the context > doesn't work. > > Thanks in advance. > > Bill > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: Bill H. <Bil...@Ac...> - 2003-12-05 21:36:03
|
Hi all, I'm trying to get a pipeline running under Tomcat (as some of you know from my request for help). Is there any way to reload the pipeline for the SOAPListener (which I have heavily modified) without having to stop and restart Tomcat? I tried reloading the servlet context with the Tomcat manager, but that didn't seem to work. It's a bit of a pain having to stop and re-start all the time and I can't offhand figure out why reloading the context doesn't work. Thanks in advance. Bill |
From: Michael A. <mic...@ze...> - 2003-12-02 03:27:12
|
Thanks, Bruce. On Mon, 2003-12-01 at 19:16, McDonald, Bruce wrote: > Michael, > > You use the babeldoc journal tool. This will allow you to view all the "tickets" in the system and to restart the processing of a document from a step. Each ticket step represents a pipeline stages processing on a document. Tickets can be forked - this generally occurs when a document is processed into a number of child documents. > > The journal allows for reprocessing but it is necessary to "persist" the document at some point prior to the point at which you want to restart processing. Obviously this is somewhat paradoxical since you don't know precisely where the failure can occur so you will need to decide which processing can be repeatable (transformations, etc, etc) and which is not repeatable (messaging, transactions) and persist the documents accordingly. > > The document is simply persisted by setting the pipeline stage configuration: > > XXXXX.tracked=true > > This will result in the document getting stored in the journal, however that is done according to the implementation. > > Now, there is no way to say exactly how this is stored, but the journal factories support a number of methods to support the viewing and querying of documents. > > Check it out. > > regards, > Bruce. > > > -----Original Message----- > From: Michael Ansley [mailto:mic...@ze...] > Sent: Monday, December 01, 2003 12:56 PM > To: bab...@li... > Subject: [Babeldoc-user] JFreeReports stage > > > Hi, > > Can anybody tell me how to restart processing of a document that was in > a pipeline when an abend occurred in the stage? I shut down the > babeldoc, fixed the pipeline stage, restarted babeldoc, and now need to > restart processing of the document. I presume it's still in there > somewhere, but I can't figure out how to restart it. > > Also, if there was a fault in the document that caused the fault in the > processing stage, and the document needs to be edited, how is this > performed? Where does the user go to to find the document, and how is > it re-introduced into the pipeline stage? > > Cheers... > > > MikeA > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: McDonald, B. <Bru...@ba...> - 2003-12-01 19:17:06
|
Michael, You use the babeldoc journal tool. This will allow you to view all the "tickets" in the system and to restart the processing of a document from a step. Each ticket step represents a pipeline stages processing on a document. Tickets can be forked - this generally occurs when a document is processed into a number of child documents. The journal allows for reprocessing but it is necessary to "persist" the document at some point prior to the point at which you want to restart processing. Obviously this is somewhat paradoxical since you don't know precisely where the failure can occur so you will need to decide which processing can be repeatable (transformations, etc, etc) and which is not repeatable (messaging, transactions) and persist the documents accordingly. The document is simply persisted by setting the pipeline stage configuration: XXXXX.tracked=true This will result in the document getting stored in the journal, however that is done according to the implementation. Now, there is no way to say exactly how this is stored, but the journal factories support a number of methods to support the viewing and querying of documents. Check it out. regards, Bruce. -----Original Message----- From: Michael Ansley [mailto:mic...@ze...] Sent: Monday, December 01, 2003 12:56 PM To: bab...@li... Subject: [Babeldoc-user] JFreeReports stage Hi, Can anybody tell me how to restart processing of a document that was in a pipeline when an abend occurred in the stage? I shut down the babeldoc, fixed the pipeline stage, restarted babeldoc, and now need to restart processing of the document. I presume it's still in there somewhere, but I can't figure out how to restart it. Also, if there was a fault in the document that caused the fault in the processing stage, and the document needs to be edited, how is this performed? Where does the user go to to find the document, and how is it re-introduced into the pipeline stage? Cheers... MikeA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Babeldoc-user mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: Michael A. <mic...@ze...> - 2003-12-01 17:55:38
|
Hi, Can anybody tell me how to restart processing of a document that was in a pipeline when an abend occurred in the stage? I shut down the babeldoc, fixed the pipeline stage, restarted babeldoc, and now need to restart processing of the document. I presume it's still in there somewhere, but I can't figure out how to restart it. Also, if there was a fault in the document that caused the fault in the processing stage, and the document needs to be edited, how is this performed? Where does the user go to to find the document, and how is it re-introduced into the pipeline stage? Cheers... MikeA |
From: David G. <dg...@co...> - 2003-11-21 15:38:21
|
Hi Bill, I've often seen this error when I don't correctly process the document in the previous stage(s), resulting in garbage or no document in the pipeline. If your stage is set to tracked = true, you may want to use one of the journal tools to examine the contents of your document for the stage in question. Hope this helps, David On Thursday 20 November 2003 12:56 pm, Bill Harrelson wrote: > I am finding an unusual situation. I have a pipeline that uses several > scripting stages. Two of the stages are identical except for the > parameters passed to the called classes. > > The pipeline works perfectly outside of the Tomcat environment. When I > start it (using a modified SOAPfeeder) in Tomcat, the first 32 stages > (including the first version of the stage in question) execute perfectly, > then the stage in question fails with a javascript error: > > core.pipeline.PipelineException: Script processing failed: JavaScript > Error: Internal Error: SyntaxError: missing ; before statement (<BABELDOC>; > ) > > the <BABELDOC>; is not part of my script, I assume that it is part of the > babeldoc interface to javascript in that stage. > > the script itself is very simple: \ > import(Packages.classname);\ > classname.methodcall(p1,p2,p3,p4,p5); > > (which works perfectly thanks to David). > > The stage specification is the same in both the working and non-working > one. The class imported and called is the same. (And the non-working one > works perfectly outside Tomcat). So, I looked at js.jar in > %babeldoc_home%\lib and %catalina_home\shared\lib and they are identical. > (basically this is just an https writer that writes headers, and a document > previously stored in files to a url, with an encoding). > > I hope someone has some ideas, as I'm hitting a dead end on my trials. > Thanks in advance. This group has been great about working me through > these problems. > > regards, > > Bill > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |
From: Bill H. <Bil...@Ac...> - 2003-11-20 20:57:45
|
I am finding an unusual situation. I have a pipeline that uses several scripting stages. Two of the stages are identical except for the parameters passed to the called classes. The pipeline works perfectly outside of the Tomcat environment. When I start it (using a modified SOAPfeeder) in Tomcat, the first 32 stages (including the first version of the stage in question) execute perfectly, then the stage in question fails with a javascript error: core.pipeline.PipelineException: Script processing failed: JavaScript Error: Internal Error: SyntaxError: missing ; before statement (<BABELDOC>; ) the <BABELDOC>; is not part of my script, I assume that it is part of the babeldoc interface to javascript in that stage. the script itself is very simple: \ import(Packages.classname);\ classname.methodcall(p1,p2,p3,p4,p5); (which works perfectly thanks to David). The stage specification is the same in both the working and non-working one. The class imported and called is the same. (And the non-working one works perfectly outside Tomcat). So, I looked at js.jar in %babeldoc_home%\lib and %catalina_home\shared\lib and they are identical. (basically this is just an https writer that writes headers, and a document previously stored in files to a url, with an encoding). I hope someone has some ideas, as I'm hitting a dead end on my trials. Thanks in advance. This group has been great about working me through these problems. regards, Bill |
From: David K. <dav...@al...> - 2003-11-18 15:01:45
|
Hi everybody, Just wanted to chime in here, since I appear to have a slightly different journal configuration, albeit with the same (or similar) intents as Bill seems to have. I have only one file regarding journal config, located in a journal subdirectory relative to my Babeldoc user directory. Its location: ============= journal/config.properties Its contents: ============= # Select your journal type here and set configuration journalType=simple simpleJournalDir=journal/entries simpleJournalLog=journal/journal.log logMaxSize=10000000 The above config results in all journal data ending up within the aforementioned journal subdirectory located in my Babeldoc user directory. (Note that "entries" is yet another subdirectory that I created due to a feed that produces quite a lot of documents...) Hope this helps. Regards, David (Kinnvall) |
From: David G. <dg...@co...> - 2003-11-18 14:21:59
|
Hi Bill, I haven't examined this part of the code before, but there seems to be a config file (modules/core/config/journal/simple/config.properties) that contains the path to the simple journal files and directories. It currently contains the following: simpleJournalDir=${system.getProperty("babeldoc.home")} simpleJournalLog=${system.getProperty("babeldoc.home")}/journal.log logMaxSize=10000000 It apparently uses the BABELDOC_HOME environment variable as the base. I'm guessing you can easily change it to babeldoc.user to redirect it to BABELDOC_USER. Hope this helps, David On Tuesday 18 November 2003 5:59 am, Bill Harrelson wrote: > Sorry for the re-post, but I haven't seen an answer, and I'm sure > somebody must have done this. I think I'm following the instructions > in the documentation pretty carefully, but... > > I have Babeldoc_User = c:\p > Babeldoc_Home = c:\b > > in c:/p/journal/config.properties, I have: > journal=simple > > in c:/p/journal/simple/config.properties, I have: > simpleJournalDir=journal > SimpleJournalLog=journal/journal.log > logMaxSize=1000000 > > > I would have guessed that this would direct logs and log files to > c:/p/journal. > > Instead, they end up in %Babeldoc_Home% (c:\b) > > I can't find the answer. Can someone tell me what I doing wrong? > > Thanks, > > Bill -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |
From: Bill H. <Bil...@Ac...> - 2003-11-18 14:01:13
|
Sorry for the re-post, but I haven't seen an answer, and I'm sure somebody must have done this. I think I'm following the instructions in the documentation pretty carefully, but... I have Babeldoc_User = c:\p Babeldoc_Home = c:\b in c:/p/journal/config.properties, I have: journal=simple in c:/p/journal/simple/config.properties, I have: simpleJournalDir=journal SimpleJournalLog=journal/journal.log logMaxSize=1000000 I would have guessed that this would direct logs and log files to c:/p/journal. Instead, they end up in %Babeldoc_Home% (c:\b) I can't find the answer. Can someone tell me what I doing wrong? Thanks, Bill -- William B. Harrelson President Accordare 13A Medford Street, Arlington, MA 02474 t:781-646-2241 f:781-646-2242 Bil...@Ac... |
From: Bill H. <Bil...@Ac...> - 2003-11-13 21:11:19
|
Hi all, I'm sure there's a simple answer, I just can't find it. I have babeldoc_user = directory p babeldoc_home = b in p/journal/config.properties, I have: journal=simple in p/journal/simple/config.properties, I have: simpleJournalDir=journal SimpleJournalLog=journal/journal.log logMaxSize=1000000 I would have guessed that this would direct logs and log files to p/journal. Instead, they end up in b. Can someone tell me what I doing wrong? Thanks, Bill |
From: Bill H. <Bil...@Ac...> - 2003-11-12 05:05:46
|
Bingo! Thank you very much. Bill On 11 Nov 2003 at 20:44, David Glick wrote: > Hi Bill, > > Do you have PostToReflector in a jar file in the Babeldoc lib > directory? Babeldoc ignores the classpath. > > > Hope this helps, > > David > > > On Tuesday 11 November 2003 7:40 pm, Bill Harrelson wrote: > > Hi all, > > > > I hope someone can help. > > > > I'm trying to get my scripting stage to work (similar to what Qin > > was trying to do a while ago.) and I am getting this error that I > > don't know what to do with. I'm on babeldoc 1.1.9, jdk 1.4.1_01. > > The script works just fine in Rhino, but not in Babeldoc. Same > > directory, same classpath. Here's the Rhino: (the class is local in > > the directory) > > > > C:\jakarta-tomcat-4.1.24\webapps_QIP\PipelineProcessorHome>java > > org.mozilla.javascript.tools.shell.M ain Rhino 1.5 release 4.1 2003 > > 04 21 js> importClass(Packages.PostToReflector); js> > > PostToReflector.Post(new java.io.FileInputStream("codelco.txt")); > > after creating InputSource from filename stdin [- diagnostic message > > from class] First 2k:<?xml version="1.0" encoding="iso-8859-1"?> > > [.... lots of output from the class.] > > > > Here's the Babeldoc pipeline: > > > > entryStage=filewrite > > > > filewrite.stageType=FileWriter > > filewrite.append=false > > filewrite.outputFile=file.txt > > filewrite.nextStage=sendAckHttp > > > > sendAckHttp.stageType=Scripting > > sendAckHttp.language=javascript > > sendAckHttp.script=\ > > importClass(Packages.PostToReflector); \ > > PostToReflector.PostToReflector(new > > java.io.FileInputStream("file.txt")); sendAckHttp.nextStage=null > > > > > > Here's the error thrown: > > > > <2003-11-11 22:33:23,992> INFO [main] : PipelineStage name: > > filewrite <2003-11-11 22:33:24,162> INFO [main] : PipelineStage > > name: sendAckHttp <2003-11-11 22:33:25,134> ERROR [main] : > > [DefaultPipelineStageErrorHandler.handlePipelineStageError > > ] PipelineStage name: sendAckHttp Error: > > com.babeldoc.core.pipeline.PipelineException: Script proces > > sing failed: JavaScript Error: Function importClass must be called > > with a class; had "[JavaPackage P ostToReflector]" instead. > > <2003-11-11 22:33:25,154> ERROR [main] : [PipelineFeeder.process] > > org.apache.bsf.BSFException: JavaScript Error: Function importClass > > must be called with a class; had > > "[JavaPackage PostToReflector]" instead. > > at > > org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unkno > > wn Source) at > > org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown > > Source) at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) > > at org.apache.bsf.BSFManager$6.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native > > Method) at org.apache.bsf.BSFManager.exec(Unknown Source) at > > com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unkn > > own Source) > > at > > com.babeldoc.core.pipeline.PipelineStage.processStage(Unknow > > n > > Source) at > > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.proc > > essPipe > >lineStage( Unkn > > own Source) > > at > > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.proc > > ess(Unk > >nown Source) > > ... more. > > > > Any idea what I should do? > > > > Thanks in advance, > > > > Bill > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > Babeldoc-user mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-user > > -- > David Glick > Transmit Consulting, Inc > 619-475-4052 > dg...@tr... > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user |
From: David G. <dg...@co...> - 2003-11-12 04:41:44
|
Hi Bill, Do you have PostToReflector in a jar file in the Babeldoc lib directory? Babeldoc ignores the classpath. Hope this helps, David On Tuesday 11 November 2003 7:40 pm, Bill Harrelson wrote: > Hi all, > > I hope someone can help. > > I'm trying to get my scripting stage to work (similar to what Qin was > trying to do a while ago.) and I am getting this error that I don't know > what to do with. I'm on babeldoc 1.1.9, jdk 1.4.1_01. The script works > just fine in Rhino, but not in Babeldoc. Same directory, same classpath. > Here's the Rhino: (the class is local in the directory) > > C:\jakarta-tomcat-4.1.24\webapps_QIP\PipelineProcessorHome>java > org.mozilla.javascript.tools.shell.M > ain > Rhino 1.5 release 4.1 2003 04 21 > js> importClass(Packages.PostToReflector); > js> PostToReflector.Post(new java.io.FileInputStream("codelco.txt")); > after creating InputSource from filename stdin [- diagnostic message from > class] First 2k:<?xml version="1.0" encoding="iso-8859-1"?> [.... lots of > output from the class.] > > Here's the Babeldoc pipeline: > > entryStage=filewrite > > filewrite.stageType=FileWriter > filewrite.append=false > filewrite.outputFile=file.txt > filewrite.nextStage=sendAckHttp > > sendAckHttp.stageType=Scripting > sendAckHttp.language=javascript > sendAckHttp.script=\ > importClass(Packages.PostToReflector); \ > PostToReflector.PostToReflector(new java.io.FileInputStream("file.txt")); > sendAckHttp.nextStage=null > > > Here's the error thrown: > > <2003-11-11 22:33:23,992> INFO [main] : PipelineStage name: filewrite > <2003-11-11 22:33:24,162> INFO [main] : PipelineStage name: sendAckHttp > <2003-11-11 22:33:25,134> ERROR [main] : > [DefaultPipelineStageErrorHandler.handlePipelineStageError > ] PipelineStage name: sendAckHttp Error: > com.babeldoc.core.pipeline.PipelineException: Script proces > sing failed: JavaScript Error: Function importClass must be called with a > class; had "[JavaPackage P > ostToReflector]" instead. > <2003-11-11 22:33:25,154> ERROR [main] : [PipelineFeeder.process] > org.apache.bsf.BSFException: JavaScript Error: Function importClass must be > called with a class; had > "[JavaPackage PostToReflector]" instead. > at > org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown > Source) at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown > Source) at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) > at org.apache.bsf.BSFManager$6.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.bsf.BSFManager.exec(Unknown Source) > at > com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown > Source) > at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown > Source) at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe >lineStage( Unkn > own Source) > at > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk >nown Source) > ... more. > > Any idea what I should do? > > Thanks in advance, > > Bill > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |