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,
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,
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
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
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;
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
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
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
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 app...@dsl.pipex.com
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.
On 22 Sep 2011, at 14:21, BARRON, HAROLD H CTR DISA EE
harold.barron@disa.mil 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
Why not do your initialisation in the Servlet.init() method?
p
On 22 Sep 2011, at 16:42, Tim Watts t...@cliftonfarm.org 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
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
Thank you. Good point but basically the same result:
=== EXCEPTION
javax.servlet.ServletException: Failed initialization
org.cliftonfarm.xbasic.Controller.init(Controller.java:32)
-Original Message-
From: Tim Watts [mailto:t...@cliftonfarm.org]
Subject: [tomcat-6.0.33] META-INF/context.xml Environment not working
=== context.xml
Context unpackWAR=false privileged=false
antiResourceLocking=false antiJARLocking=false
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
I got it to work by removing the env-entry 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
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.
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
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 Server tag, not to a Connector. On that shutdown port, there should not be so
many connection requests that they outrun the ability of Tomcat
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
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 (or box
-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 env-entry from web.xml. I believe
this is a regression because it works correctly under 5.5.17. Under
5.5.17 it
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
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
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 p...@pidster.com
On 22/09/2011 23:03, Omar Belkhodja wrote:
Hello,
I'm trying to create some kind of web application,
El 23/09/2011, a las 00:10, Pid p...@pidster.com 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
On Thu, 2011-09-22 at 13:48 -0700, Leo Donahue - PLANDEVX wrote:
So what is the difference between having a env-entry or
resource-ref in web.xml vs. a Resource or Environment elements
in META-INF/context.xml?
Well for starters, the web.xml entries will work in all web containers
whereas
2011/9/22 Tim Watts t...@cliftonfarm.org:
6.0.33
Environment
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
Oops. I missed that. You've pointed it straight!
---
daniel baktiar
On Fri, Sep 23, 2011 at 04:20, André Warnier a...@ice-sa.com 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
Wonderful. Thank You!
You're right about Parameter/context-param 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 t...@cliftonfarm.org:
31 matches
Mail list logo