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 |