You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2002/01/17 12:33:03 UTC

Watchdog problems

Hi,

I have some problems to run the Watchdog tests on mod_webapp and I think there
is a problem in watchdog:
For example:
+++
     [java]     [gtest]  Unable to find the expected header: 'Content-Type:
text/plain' in the server's response.
     [java]     [gtest]  The following headers were received:
     [java]     [gtest]         HEADER -> Date: Thu, 17 Jan 2002 11:22:24 GMT
     [java]     [gtest]         HEADER -> Server: Apache/2.0.31-dev (Unix)
mod_ssl/3.0a0 OpenSSL/0.9.6b
     [java]     [gtest]         HEADER -> Connection: close
     [java]     [gtest]         HEADER -> Content-Type: text/plain;
charset=ISO-8859-1
     [java]     [gtest]  FAIL GET /servlet-tests/Include_1Test HTTP/1.0
+++
I DO think that mod_webapp sends a valid Content-Type but watchdog does not like
it!

Any comments?

Cheers

Jean-frederic

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Watchdog problems

Posted by Ryan Lubke <Ry...@Sun.COM>.
Hi,

I have an idea for a fix.  I'll have this implemented today.

-rl

On Thu, 2002-01-17 at 06:56, Remy Maucherat wrote:
> > Hi,
> >
> > I have some problems to run the Watchdog tests on mod_webapp and I think
> there
> > is a problem in watchdog:
> > For example:
> > +++
> >      [java]     [gtest]  Unable to find the expected header:
> 'Content-Type:
> > text/plain' in the server's response.
> >      [java]     [gtest]  The following headers were received:
> >      [java]     [gtest]         HEADER -> Date: Thu, 17 Jan 2002 11:22:24
> GMT
> >      [java]     [gtest]         HEADER -> Server: Apache/2.0.31-dev (Unix)
> > mod_ssl/3.0a0 OpenSSL/0.9.6b
> >      [java]     [gtest]         HEADER -> Connection: close
> >      [java]     [gtest]         HEADER -> Content-Type: text/plain;
> > charset=ISO-8859-1
> >      [java]     [gtest]  FAIL GET /servlet-tests/Include_1Test HTTP/1.0
> > +++
> > I DO think that mod_webapp sends a valid Content-Type but watchdog does
> not like
> > it!
> >
> > Any comments?
> 
> I agree. ISO-8859-1 is the default encoding, but obviously it can be
> explicitely specified.
> Watchdog is rather not flexible, so I don't know how easy it would be to fix
> this.
> 
> Remy
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Watchdog problems

Posted by Remy Maucherat <re...@apache.org>.
> Hi,
>
> I have some problems to run the Watchdog tests on mod_webapp and I think
there
> is a problem in watchdog:
> For example:
> +++
>      [java]     [gtest]  Unable to find the expected header:
'Content-Type:
> text/plain' in the server's response.
>      [java]     [gtest]  The following headers were received:
>      [java]     [gtest]         HEADER -> Date: Thu, 17 Jan 2002 11:22:24
GMT
>      [java]     [gtest]         HEADER -> Server: Apache/2.0.31-dev (Unix)
> mod_ssl/3.0a0 OpenSSL/0.9.6b
>      [java]     [gtest]         HEADER -> Connection: close
>      [java]     [gtest]         HEADER -> Content-Type: text/plain;
> charset=ISO-8859-1
>      [java]     [gtest]  FAIL GET /servlet-tests/Include_1Test HTTP/1.0
> +++
> I DO think that mod_webapp sends a valid Content-Type but watchdog does
not like
> it!
>
> Any comments?

I agree. ISO-8859-1 is the default encoding, but obviously it can be
explicitely specified.
Watchdog is rather not flexible, so I don't know how easy it would be to fix
this.

Remy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>