tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lee" <patr...@horologe.com.au>
Subject Unable to read shell environment variables
Date Fri, 29 Feb 2008 02:54:53 GMT
Hi,

I'm getting this error when trying to use CGI under tomcat on Windows
Server 2008":

javax.servlet.ServletException: Unable to read shell environment variables

This line also displays:

Cannot run program "env": CreateProcess error=2,

It looks like getShellEnvironment() is testing for specific versions
of Windows and 2008 is not one of them, then defaulting to the unix
call and throwing the "Cannot run program env" error.

I don't know enough about Windows 2008 to know if it's simply going to
be a matter of adding the new OS version to the if.

Tomcat version is 6.0.14

Does anyone know if this has been fixed in a newer 6 release or if
someone is already looking at it?

Thanks.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message