tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Thorselius <johan.thorsel...@gmail.com>
Subject Re: valve.invoke() called twice in request
Date Mon, 02 Nov 2009 15:02:16 GMT
> Are you sure it's called twice in the same
> request?  Or is the browser making multiple
> requests for separate resources on the
> same page?

Yes, sorry - they are multiple requests. A stack trace showed two reqeusts.
I was confused.

It's part of a bigger issue where 'I cannot get rid of the authentication
login user/pwd box' when using an authentication proxy in front of the
Tomcat.  I found that the call to the authentication login user/pwd box is
done approx. between my valve and the StandardEngineValve, or maybe rather
in the StandardEngineValve itself. After the authent. login user/pwd,
obviously my valve is called once again. My bigger issue I described in
another posting last friday.

Thanks

Johan


2009/11/2 Caldarale, Charles R <Chuck.Caldarale@unisys.com>

> > From: Johan Thorselius [mailto:johan.thorselius@gmail.com]
> > Subject: valve.invoke() called twice in request
> >
> > Why is my valve.invoke() called twice ?
>
> Are you sure it's called twice in the same request?  Or is the browser
> making multiple requests for separate resources on the same page?
>
> You could log the stack trace when invoked, and included additional
> information such as the result of the toString() method for both the Request
> and Response object.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message