Re: Unable to read shell environment variables

2008-03-26 Thread Patrick Lee
On Fri, Feb 29, 2008 at 2:23 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > When running a Java program under Win2008, what value does the system > property os.name have? windows vista > What JVM version are you running? (This has the potential of being a > JVM, not Tomcat, problem.

Unable to read shell environment variables

2008-02-28 Thread Patrick Lee
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 specif

Re: Tomcat 6 - includes broken

2007-03-06 Thread Patrick Lee
t was somewhat confusing when I've only ever used the old style deployment I picked up years ago. On 3/6/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Patrick Lee [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 6 - includes broken > > unpack

Re: Tomcat 6 - includes broken

2007-03-05 Thread Patrick Lee
The path attribute only works in server.xml. It is ignored in all other cases. Also, it is not recommended to define contexts in server.xml since you have to restart Tomcat to pick up any changes. I am putting this in server.xml inside the relevant host. Not fussed about reloads. Mostly I serve

Re: Tomcat 6 - includes broken

2007-03-05 Thread Patrick Lee
Apologies for all the replies but has setting a default context changed? I noticed this page linked on the Configuration Reference - http://tomcat.apache.org/tomcat-6.0-doc/config/defaultcontext.html. Unfortunately, this page gives me a 404. Thanks. -

Re: Tomcat 6 - includes broken

2007-03-05 Thread Patrick Lee
something obviously wrong here but as I said I've had no troubles until 6.0.10. Thanks. On 3/5/07, Patrick Lee <[EMAIL PROTECTED]> wrote: > Do you have your host appBase set to be the same as your webapp > docBase? This will cause the behaviour you see here. This worked > (pure

Re: Tomcat 6 - includes broken

2007-03-05 Thread Patrick Lee
Do you have your host appBase set to be the same as your webapp docBase? This will cause the behaviour you see here. This worked (purely by accident - it was never intended to) in previous versions due to a bug that has since been fixed. Actually, having changed that the problem persists. I eit

Re: Tomcat 6 - includes broken

2007-03-04 Thread Patrick Lee
Do you have your host appBase set to be the same as your webapp docBase? Yes, the context docBase is set at "." Easy enough for me to change that and I'm guessing there are good reasons not to have a setup like that. Thanks.

Re: Tomcat 6 - includes broken

2007-03-04 Thread Patrick Lee
lt;[EMAIL PROTECTED]> wrote: On 3/4/07, Patrick Lee <[EMAIL PROTECTED]> wrote: > But I can't do this: > <[EMAIL PROTECTED] file = "/path/to/something.jsp" %> It works for me (this will be tested in the TCK, so there can't be any regressions on this sort of

Tomcat 6 - includes broken

2007-03-04 Thread Patrick Lee
Hi, I'm trying to upgrade from Tomcat 5.5.15 to 6.0.10. Everything seems to have gone fine except that most of my includes are broken. I can do this: <[EMAIL PROTECTED] file = "something.jsp" %> But I can't do this: <[EMAIL PROTECTED] file = "/path/to/something.jsp" %> The latter gives me a

CGI environment variables

2007-02-08 Thread Patrick Lee
Hi, I have an issue with CGI scripts (Perl based) running under Tomcat on Windows 2000 getting URL's wrong by using backslashes instead of forward slashes. Notes: 1. I've setup CGI support as detailed in the how-to for Tomcat 5.5 2. I either have to set passShellEnvironment to true or set the s