On 23/09/2011 05:37, Tim Watts wrote:
> Wonderful. Thank You!
>
> You're right about / but I'm not sure all
> standards conforming servlet containers are guaranteed to provide an
> 'external override' behaviour.
If the resource entry in web.xml is insufficient to fully configure the
resource, the
Wonderful. Thank You!
You're right about / but I'm not sure all
standards conforming servlet containers are guaranteed to provide an
'external override' behaviour.
On Fri, 2011-09-23 at 07:07 +0400, Konstantin Kolinko wrote:
> 2011/9/22 Tim Watts :
> > 6.0.33
>
> > >name
Oops. I missed that. You've pointed it straight!
---
daniel baktiar
On Fri, Sep 23, 2011 at 04:20, André Warnier wrote:
> Hi.
>
> This is all very nicely explained, but maybe irrelevant.
> As far as I understand, the OP is trying to connect to the "shutdown port"
> mentioned in the tag, not to
2011/9/22 Tim Watts :
> 6.0.33
> name="configName"
> value="${catalina.base}/local/xbasic/config/master.properties"
> description="Full path name of the config file."
> type="java.lang.String"/>
> I got it to work by removing the
On Thu, 2011-09-22 at 13:48 -0700, Leo Donahue - PLANDEVX wrote:
> So what is the difference between having a or
> in web.xml vs. a or elements
> in META-INF/context.xml?
Well for starters, the web.xml entries will work in all web containers
whereas context.xml is Tomcat-specific.
But the mai
El 23/09/2011, a las 00:10, Pid escribió:
> On 22/09/2011 23:03, Omar Belkhodja wrote:
>> Hello,
>>
>> I'm trying to create some kind of web application, that will provide access
>> to sensitive data for users. Each user, should login first, then after that
>> he will be able to display a set of
Thanks Pid. What do you mean by "a mapping" ? Is it some kind of servlet
that would read the file, and create the HTTP answer after having checked
the login ?
2011/9/22 Pid
> On 22/09/2011 23:03, Omar Belkhodja wrote:
> > Hello,
> >
> > I'm trying to create some kind of web application, that wil
On 22/09/2011 23:03, Omar Belkhodja wrote:
> Hello,
>
> I'm trying to create some kind of web application, that will provide access
> to sensitive data for users. Each user, should login first, then after that
> he will be able to display a set of pictures. So the url for pictures,
> should have a
Hello,
I'm trying to create some kind of web application, that will provide access
to sensitive data for users. Each user, should login first, then after that
he will be able to display a set of pictures. So the url for pictures,
should have a protected access, based on the user name. The problem
>-Original Message-
>From: Tim Watts [mailto:t...@cliftonfarm.org]
>Subject: RE: [tomcat-6.0.33] META-INF/context.xml Environment not
>working
>
>I got it to work by removing the from web.xml. I believe
>this is a regression because it works correctly under 5.5.17. Under
>5.5.17 it finds
On 22/09/2011 03:06, Caldarale, Charles R wrote:
>> From: charlesk40 [mailto:charles...@yahoo.com]
>> Subject: Tomcat 7 sometime returns wrong IP address with
>> request.getRemoteAddr()
>
>> box1 makes a request to Tomcat7 server but the request.getRemoteAddr()
>> returns the IP address of box2
Just noticing something here, and ading my grain of salt :
Martin O'Shea wrote:
...
The underlying principle here is that if multiple users use the same PC,
(with or without logging out/in ?)
and
maybe even the same session in a browser, a single cookie is used to store a
userid. Various
Hi.
This is all very nicely explained, but maybe irrelevant.
As far as I understand, the OP is trying to connect to the "shutdown port" mentioned in
the tag, not to a . On that shutdown port, there should not be so
many connection requests that they outrun the ability of Tomcat to accept a co
Hello all!
First and foremost, forgive me if my method of delivery hasn't followed the
normal protocol (this is my first time doing this).
Secondly, the server I'll be deploying my web apps to is a Red Hat box with
2 instances of a single Tomcat 6 installation on it. These instances provide
our t
To answer your questions:
Is there a reason this data is in a custom cookie, rather than the
session, via setAttribute()?
The cookie is dedicated and meant to be persistent. The idea is that a user
is recognised by the system upon returning to the website after having been
away for some time. Hen
I got it to work by removing the from web.xml. I believe
this is a regression because it works correctly under 5.5.17. Under
5.5.17 it finds the env entry with or without having defined in web.xml.
Under 6.0.33 having the env entry defined in web.xml *prevents* it from
finding it.
On Thu, 2011-0
Hi Vishveswara,
If you look at the behavior of ServerSocket, or any BSD-like listening
server socket in general, there is something called 'backlog'.
http://download.oracle.com/javase/1.4.2/docs/api/java/net/ServerSocket.html
In short, backlog is something like a queue, if all your worker thread
>-Original Message-
>From: Tim Watts [mailto:t...@cliftonfarm.org]
>Subject: [tomcat-6.0.33] META-INF/context.xml Environment not working
>
>=== context.xml
>antiResourceLocking="false" antiJARLocking="false">
> name="con
Thank you. Good point but basically the same result:
=== EXCEPTION
javax.servlet.ServletException: Failed initialization
org.cliftonfarm.xbasic.Controller.init(Controller.java:32)
javax.servlet.GenericServlet.init(GenericServlet.java
Classification: UNCLASSIFIED
Caveats: NONE
I might have to write a plan of action to temporarily mitigate this issue until
the update is posted. I just want to be able to present it in a way that my
users that my users will not have a problem understanding when I do.
-Original Message
Why not do your initialisation in the Servlet.init() method?
p
On 22 Sep 2011, at 16:42, Tim Watts wrote:
> Hello,
>
> My very basic servlet fails to initialize when trying to read its JNDI
> environment entry. The app context name is xbasic. The context.xml is in
> xbasic.war's META-INF direc
On 22 Sep 2011, at 14:21, "BARRON, HAROLD H CTR DISA EE"
wrote:
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Thanksit's kind of hard to understand how to implement this workaround
> but I will look into it.
Do you use HTTPD with mod_jk or mod_proxy_ajp in front if Tomcat?
What is ha
Hello,
My very basic servlet fails to initialize when trying to read its JNDI
environment entry. The app context name is xbasic. The context.xml is in
xbasic.war's META-INF directory and TomCat (6.0.33) correctly copies it
to ${tomcat.home}/conf/Catalina/localhost/xbasic.xml on first deploy.
Below
Is there a reason this data is in a custom cookie, rather than the
session, via setAttribute()?
What is the expiry time of the custom cookie?
How exactly are you invalidating this other cookie, when you
invalidate the session?
p
On 22 Sep 2011, at 15:08, "Martin O'Shea" wrote:
> OK. This is
OK. This is what the contents of a typical cookie on the system look like:
978937_19082010_1282218386857
localhost/
1024
2913476352
30544688
1374261013
30177561
*
Where userid is 978937_19082010_1282218386857 matching the key of the user
table in the database.
The cookie is not encrypted.
Code
On 22/09/2011 13:56, Shanti Suresh wrote:
> Hi Martin,
>
> You will have to expire/invalidate the session in the code upon user logout.
> This way when the cookie comes in, there is no corresponding session-ID and
> the system will create a new session. Are you doing that already? Does that
Classification: UNCLASSIFIED
Caveats: NONE
Thanksit's kind of hard to understand how to implement this workaround but
I will look into it.
Appreciate the response.
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Wednesday, September 21, 2011 7:02
Shanti
I was thinking that this was the problem and at the moment I have been
trying to force the pages to reload from the server by using a filter to
prevent browser caching as follows:
try {
HttpServletResponse hsr = (HttpServletResponse) response;
hsr.setHeader("Cache-
Hi Martin,
You will have to expire/invalidate the session in the code upon user logout.
This way when the cookie comes in, there is no corresponding session-ID and the
system will create a new session. Are you doing that already? Does that help?
-Shanti
On Sep 20, 2011, at 1:2
vishveswara chary varanasi wrote:
Tomcat community has a wiki which providded the
http://wiki.apache.org/tomcat/HowTo#How_do_I_check_whether_Tomcat_is_UP_or_DOWN.3F_There_is_no_status_command
i have tried to connect to tomcat using sockect connection on the port
where the tomcat running
which
Tomcat community has a wiki which providded the
http://wiki.apache.org/tomcat/HowTo#How_do_I_check_whether_Tomcat_is_UP_or_DOWN.3F_There_is_no_status_command
i have tried to connect to tomcat using sockect connection on the port
where the tomcat running
Socket socket = new Socket("hostname", por
Tomcat community has a wiki which providded the
http://wiki.apache.org/tomcat/HowTo#How_do_I_check_whether_Tomcat_is_UP_or_DOWN.3F_There_is_no_status_command
i have tried to connect to tomcat using sockect connection on the port
where the tomcat running
Socket socket = new Socket("hostname", por
32 matches
Mail list logo