From: Kim L. G. <kim...@gm...> - 2006-07-17 10:49:43
|
Hi all, I've been using the open source PlotWS software. http://www.soton.ac.uk/~ghydflex/plotws/ : "PlotWS provides a graph generation WebService. It is implemented as a wrapper around gnuplot and exposes a subset of gnuplot's functionality. The Web Service layer is implemented using Apache AXIS." Below, I like to share some steps I took to get the PlotWS software working on my Red Hat 9.0 system. Hopefully, they could be of help to others. 1) Modify GraphSoapBindingImpl.java and change exe.run(exeGnuPlot + " \"" + cmdsFile + "\"", _tempDir, null); to exe.run(exeGnuPlot + " " + cmdsFile, _tempDir, null); 2) After deploying PlotWS.war, make sure that the gnuplot executable has execute permissions. e.g.: chmod +x PlotWS/WEB-INF/exe/gnuplot Perhaps, PlotWS could be added to the links page, http://www.gnuplot.info/links.html under Java (where it says " Version for Java and others: please contribute.") Regards, KL P/S I'm using jakarta-tomcat-4.1.31 and j2sdk1.4.2_11. |