> 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.caldar...@unisys.com>

> > From: Johan Thorselius [mailto:johan.thorsel...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to