[TinyOWS-users] trouble with tinyows

Olivier Courtin olivier.courtin at gmail.com
Thu Sep 1 02:21:33 EST 2011


On Wed, Aug 31, 2011 at 11:40 PM, Andrea Peri <aperi2007 at gmail.com> wrote:

Andrea,

> I tested the r604.
> [...] work great with Apache.

Goodie !
And thanks for report and tests !

>
> Unfortunately again with tomcat I have the same trouble: :(
>
> INFO: cgi-tinyows: runCGI (stderr):Unrecognized character \x7F in column 1

> I guess the problem is to pass the environment variable
> TINYOWS_CONFIG_FILE
>
> But apparently it is passed infact I can check the environment variables are
> passed to a cgi standard (in tomcat)
> I have used the same "printenv" cgi from apache .
> It report me that the CGI is see-ing all the variables of environment
> (tinyows_config_file too).
>
> ----
>
> ....
> TERM="xterm"
> TINYOWS_CONFIG_FILE="/home/archivio/tomcat/server/tinyows-settings/config.xml"
> USER="tomcat"
> XFILESEARCHPATH="/usr/dt/app-defaults/%L/Dt"
> X_TOMCAT_SCRIPT_PATH="/home/archivio/tomcat/tomcat-website/webapps/geoportale/WEB-INF/cgi-tiny/printenv"
> _="/usr/local/java/jdk1.6.0_26/bin/java"

Could you give a try with default config file path, i.e /etc/tinyows.xml ?
Could you face (again) with right access issue related to tomcat user ?


If someone else already experienced Tomcat CGI and TinyOWS, don't be shy :)

-- 
Olivier


More information about the TinyOWS-users mailing list