tomcat-users mailing list archives

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

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?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message