Why getContext(/app) ??
HTTP Sessions are local to each web application.
If protected.html belongs to a different web application, it would
not (and cannot) know that you invalidated session in this webapp.
Hi
You're right: protected.html belongs another web application.
But my Tomcat is
Hi,
I'm using tomcat6 on fedora15 (installed via the tomcat6 package).
I have context parameters defined for my application in both web.xml and
conf/Catalina/localhost/AppName.xml :
web.xml :
context-param
param-namename/param-name
param-valuevalue/param-value
/context-param
context.xml :
27.09.2011 11:00, Romaric:
context.xml :
Context
Parameter name=name value=value override=false /
---^
/Context
The problem is that the values in web.xml override those in context.xml
when it should be the other way around.
Do you have any idea what the problem
Hi André, hi Christopher,
thanks for your answers.
The use of HTTP BASIC authentication confuses things here because of
the credential transfer mechanism (HTTP headers). I suppose you could
write a Valve that sniffs the user's IP address and then adds HTTP
headers to the request for the
Right, sorry for the typo.
The actual file is valid.
In addition, if I remove the parameters from web.xml, the values in
context.xml are used.
Le 27/09/2011 11:10, Markus Schönhaber a écrit :
27.09.2011 11:00, Romaric:
context.xml :
Context
Parameter name=name value=value override=false /
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in context.xml when
it should be the other way around.
Do you have any idea what the problem might be ?
Which exact version? The behavior sounds like a bug that was present from
(AFAIK)
Hello Everybody
We are using Tomcat 6.20 in CentOS 5.3 server.
I have recently enabled catalina_pid functionality using environment
variable.
The PID file got created and contains +1 PID number.
If the Tomcat's real PID number 5446, the pid file would contain 5447 as PID
number.
Please help me
6.0.32.
That might be the issue.
Is there a way to work this around other than removing the parameters
from web.xml ?
Thanks for you help.
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in
On 27.09.2011, at 11:38, Romaric wrote:
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric wrote:
Hi,
The problem is that the values in web.xml override those in context.xml
when it should be the other way around.
Do you have any idea what the problem might be
Ok.
Thank you for your help.
Link for those looking for the bug :
https://issues.apache.org/bugzilla/show_bug.cgi?id=50700
Romaric
Le 27/09/2011 11:40, Rainer Frey a écrit :
On 27.09.2011, at 11:38, Romaric wrote:
Le 27/09/2011 11:33, Rainer Frey a écrit :
On 27.09.2011, at 11:00, Romaric
Remon Sadikni wrote:
Hi André, hi Christopher,
thanks for your answers.
The use of HTTP BASIC authentication confuses things here because of
the credential transfer mechanism (HTTP headers). I suppose you could
write a Valve that sniffs the user's IP address and then adds HTTP
headers to the
2011/9/27 Raghu GS raghu...@i10n.com:
Hello Everybody
We are using Tomcat 6.20 in CentOS 5.3 server.
6.0.20 ??
You should read
http://tomcat.apache.org/security-6.html
as well as all the fixed issues in changelog.
I have recently enabled catalina_pid functionality using environment
Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro
[OT] I was experimenting with trying to profile memory on Tomcat when it is
started via a Windows Service using jvisualvm.exe Profiling tomcat memory
using visualvm works great when Tomcat is started as a script using the
Last night we went to 7.0.21, and this morning I had to roll it back
because very randomly redirects were failing. It was very much like all
parameters to the redirect were lost.
I am still trying to debug this, but its clear its not happening in
7.0.20, which leads me to believe its:
Hi guys,
I am sorry to resurrect this topic, but I got stuck for weeks now.
I would like to provide an embedded Tomcat 7 instance in my JavaSE 1.6
application (diploma thesis). This instance should run the
Manager-Application for easy War-Deployment via ANT.
With help of this mailing-list I
2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov:
Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro
[OT] I was experimenting with trying to profile memory on Tomcat when it is
started via a Windows Service using jvisualvm.exe Profiling tomcat memory
using visualvm
2011/9/27 Jacob Champlin jac...@rentec.com:
Last night we went to 7.0.21, and this morning I had to roll it back because
very randomly redirects were failing. It was very much like all parameters
to the redirect were lost.
I am still trying to debug this, but its clear its not happening in
2011/9/27 Konstantin Kolinko knst.koli...@gmail.com:
2011/9/27 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov:
Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro
Running the shutdown.bat script, on .32 and .33, hung at trying to stop the
coyote connector, which then produces
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Remon,
On 9/27/2011 5:14 AM, Remon Sadikni wrote:
Hi André, hi Christopher,
thanks for your answers.
The use of HTTP BASIC authentication confuses things here because
of the credential transfer mechanism (HTTP headers). I suppose
you could
We have finished debugging this issue. It turns out that what is
happening is in 7.0.21 responses are returning to the client before the
filter chain is complete. In 7.0.20 all filters complete before the
response is returned to the client.
In our particular case, we have a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 9/27/2011 7:40 AM, André Warnier wrote:
The reason why I was mentioning further complexity for the Valve
solution, is that as far as I know, the HttpServletRequest object
is immutable (iow read-only), as it is received.
For the most
2011/9/27 Jacob Champlin jac...@rentec.com:
We have finished debugging this issue. It turns out that what is happening
is in 7.0.21 responses are returning to the client before the filter chain
is complete. In 7.0.20 all filters complete before the response is returned
to the client.
It
Konstantin,
I believe the new flushBuffer() call you added to Response.java
sendRedirect() line #1340. Is breaking all ServletFilters but sending
buy flushing the response before filters have a chance to modify the
response.
Jacob
On 09/27/2011 10:35 AM, Jacob Champlin wrote:
Last
Konstantin,
Ok, so I see now why you added the flushBuffer() from spec:
http://java.sun.com/javaee/6/docs/api/javax/servlet/http/HttpServletResponse.html#sendRedirect%28java.lang.String%29
Sends a temporary redirect response to the client using the specified
redirect location URL and clears
I have installed tomcat7 in 1 pc as a server and do all the test using
localhost:8080, no problem
then I use cmd in window xp to find the ip of the server using ipconfig /all
and find it is 192.168.1.111
then on second pc on the same network
http://192.168.1.111:8080/acts/member/login.jsp
error
To whom it may concern,
On 9/27/2011 3:51 PM, avengine wrote:
I have installed tomcat7 in 1 pc as a server and do all the test using
localhost:8080, no problem
then I use cmd in window xp to find the ip of the server using ipconfig /all
and find it is 192.168.1.111
then on second pc on the
Can any one please direct me to instructions on how to incorporate fixes and
then recompile. Target OS is Windows Server 2003. Thanks!
Gilbert Berry
Blue Cross/Blue Shield of South Carolina
Tricare Post Adjudication Reporting
(803) 763-1873
x 31873
(803) 466-7282 cell
2011/9/28 gilbert.be...@bcbssc.com:
Can any one please direct me to instructions on how to incorporate fixes and
then recompile. Target OS is Windows Server 2003. Thanks!
RTFM?
-
To unsubscribe, e-mail:
I have a single instance of tomcat this is running two web applications. The
server hosting tomcat has IP addresses on two separate networks. I was able
to add address=ip for the Connectors in server.xml, but this is a global
setting. Is there a way to configure a single instance of tomcat to bind
From: Robert Lafleur [mailto:rlafl...@vbridges.com]
Subject: bind webapps to different IP addresses on a single instance of tomcat
Is there a way to configure a single instance of tomcat
to bind webapps to different ip addresses, or do I have
to configure two tomcat instance to host each
Are these options available in Tomcat 6? I apologize for not including this
earlier ...
Regards,
Robert Lafleur • Sr. Systems Engineer • rlafl...@vbridges.com
Office: 512.343.1100 x313 | Cell: 512.657.7283 | Fax: 512.343.1101
On Tue, Sep 27, 2011 at 5:11 PM, Caldarale, Charles R
From: Robert Lafleur [mailto:rlafl...@vbridges.com]
Subject: Re: bind webapps to different IP addresses on a single instance of
tomcat
Are these options available in Tomcat 6?
Yes, all of them are.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
- Original Message -
From: gilbert.be...@bcbssc.com gilbert.be...@bcbssc.com
To: users@tomcat.apache.org
Cc:
Sent: Tuesday, September 27, 2011 1:58 PM
Subject: Incorporating changes and compiling Tomcat
Can any one please direct me to instructions on how to incorporate fixes and
33 matches
Mail list logo