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... |