[drraw-users] Run on Tomcat?

Christophe Kalt kalt at taranis.org
Wed Mar 14 04:55:19 PDT 2007


On Mar 14, Sullivan Su wrote:
| I can run the CGI and the main page. However, when I save a new graph, I
| can't see any graph on the browser. The error log file shows: 
| " [Wed Mar 14 18:15:53 2007] drraw.cgi: Failed to rename temporary cache
| file "tmp/cached-image-494fc3de7170c454043898787c180988-": No such file
| or directory [Wed Mar 14 18:15:53 2007] drraw.cgi: Failed to open
| temporary cached file
| tmp/cached-image-494fc3de7170c454043898787c180988-: No such file or
| directory "
| 
| Does that mean I can't install the draw.cgi on Tomcat? Or should I
| change other configuration (on server, draw.cgi...)?

Hopefully you can, although i don't think i've ever heard of
anyone using drraw with Tomcat.

>From the above messages, it seems like you used a relative
path for $tmp_dir in your configuration.  Try using a full
path instead.

Also, if Tomcat captures drraw's stderr output in a log, look
there for clues.  If not, set $ERRLOG and look in there.

Finally, if it all works, please be the first Tomcat user to
let us know about it! :-)


More information about the drraw-users mailing list