On 30/01/2019 01:18, James H. H. Lampert wrote:
> On 1/28/19, 1:21 AM, Mark Thomas wrote:
>> http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Crawler_Session_Manager_Valve
>>
>>
>> Set the crawler user agent and/or crawler IP appropriately so your
>> load-balancer is treated as a web-crawl
On 1/28/19, 1:21 AM, Mark Thomas wrote:
http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Crawler_Session_Manager_Valve
Set the crawler user agent and/or crawler IP appropriately so your
load-balancer is treated as a web-crawler and all those health-checks
will be associated with a singl
On 29/01/2019 17:54, Christopher Schultz wrote:
> Mark,
>
> On 1/28/19 04:21, Mark Thomas wrote:
>> On 25/01/2019 23:11, James H. H. Lampert wrote:
>>> This is also about our clustered Tomcat 8 application running on
>>> Google Cloud.
>>>
>>> The Report sub-cluster runs BIRT. And the default landi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 1/28/19 04:21, Mark Thomas wrote:
> On 25/01/2019 23:11, James H. H. Lampert wrote:
>> This is also about our clustered Tomcat 8 application running on
>> Google Cloud.
>>
>> The Report sub-cluster runs BIRT. And the default landing page i
On 25/01/2019 23:11, James H. H. Lampert wrote:
> This is also about our clustered Tomcat 8 application running on Google
> Cloud.
>
> The Report sub-cluster runs BIRT. And the default landing page is the
> Eclipse BIRT viewer default landing page, the one that shows an Eclipse
> logo, and says "B
uot;Christopher Schultz"
To: "Tomcat Users List"
Sent: Saturday, February 20, 2016 11:03:22 AM
Subject: Re: Sessions number issue
Qadeer,
On 2/19/16 9:50 PM, Qadeer Khan wrote:
Thanks so much for the help. I thought it were the open forum for any
one needing support for Tomcat
type = "Backup";
And my questions was why this could be happening and how could this be fixed
Thanks
- Original Message -
From: "Christopher Schultz"
To: "Tomcat Users List"
Sent: Saturday, February 20, 2016 11:03:22 AM
Subject: Re: Sessions number
type = "Backup";
And my questions was why this could be happening and how could this be fixed
Thanks
- Original Message -
From: "Christopher Schultz"
To: "Tomcat Users List"
Sent: Saturday, February 20, 2016 11:03:22 AM
Subject: Re: Sessions
elp you.
-chris
> - Original Message -
> From: "André Warnier (tomcat)"
> To: users@tomcat.apache.org
> Sent: Friday, February 19, 2016 3:08:48 PM
> Subject: Re: Sessions number issue
>
> On 19.02.2016 17:40, David kerber wrote:
>> On 2/19/2016 11:20
Thanks so much for the help. I thought it were the open forum for any one
needing support for Tomcat related questions.
- Original Message -
From: "André Warnier (tomcat)"
To: users@tomcat.apache.org
Sent: Friday, February 19, 2016 3:08:48 PM
Subject: Re: Sessions number
On 19.02.2016 17:40, David kerber wrote:
On 2/19/2016 11:20 AM, Qadeer Khan wrote:
Anyone, please throw some insight on the following issue
You need to do the research and answer the questions that Mark asked in your
other thread.
Since you're using jboss, this may well be a jboss problem, r
On 2/19/2016 11:20 AM, Qadeer Khan wrote:
Anyone, please throw some insight on the following issue
You need to do the research and answer the questions that Mark asked in
your other thread.
Since you're using jboss, this may well be a jboss problem, rather than
tomcat.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 9/19/12 2:08 PM, Pid * wrote:
> On 19 Sep 2012, at 16:59, "Carrillo, Dan"
> wrote:
>
>> Hi folks, My sessions are replicating across the cluster as
>> indicated by my session listener debug output. E.g I can see the
>> session created/destr
On 19 Sep 2012, at 16:59, "Carrillo, Dan" wrote:
> Hi folks,
> My sessions are replicating across the cluster as indicated by my session
> listener debug output. E.g I can see the session created/destroyed messages
> in each respective log.
> I have a Service object that is serializable, which
Yawar Khan wrote:
Felix, the issue still persists, i dont know what else to do? and i dont know
why this issue is popping up on linux enviroment only. under windows there is no
session mixup issue.
Now this are no class wide variables and i had moved them inside the login
function.
Hi.
Thi
i had moved them inside the
login
> function.
>
>
>
>
>
>
>
> From: Felix Schumacher
> To: Tomcat Users List
> Sent: Sat, August 21, 2010 6:07:18 PM
> Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
>
>
>
>
.
From: Felix Schumacher
To: Tomcat Users List
Sent: Sat, August 21, 2010 6:07:18 PM
Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
"Yawar Khan" schrieb:
>thanks felix, very nicely explained!
>
>but do you think that declaring connection and rs variable
ith the
values of your user beans.
Hth
Felix
>
>
>
>
>From: Felix Schumacher
>To: Tomcat Users List
>Sent: Sat, August 21, 2010 4:13:52 PM
>Subject: RE: Sessions mix-up on Tomcat 6.0.26 on Linux
>
>Am Freitag, den 20.08.2010,
{
> stmt.close();
> } catch (Exception e) {}
> stmt = null;
> }
>
> if (currentCon != null) {
> try {
> currentCon.close();
> } catch (Exception e
gt; Sent: Sat, August 21, 2010 3:16:23 PM
> Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
>
> On Sat, Aug 21, 2010 at 6:54 AM, Yawar Khan wrote:
>
>> Chris, you identified a possible sql injection in my code and declaring it
>> a
>> very bad piece of code.
wesley, no i am not using sql bindings, what are the security holes?
you havent told me why my sessions are getting mixed up here?
From: Wesley Acheson
To: Tomcat Users List
Sent: Sat, August 21, 2010 3:16:23 PM
Subject: Re: Sessions mix-up on Tomcat 6.0.26
try {
>stmt.close();
> } catch (Exception e) {}
>stmt = null;
> }
>
> if (currentCon != null) {
> try {
>currentCon.close();
> } catch
} catch (Exception e) {}
> stmt = null;
> }
>
> if (currentCon != null) {
> try {
>currentCon.close();
> } catch (Exception e) {
> }
>
>
}
}
return bean;
}
}
ysk
-Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, August 20, 2010 3:43 AM
To: Tomcat Users List
Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA
...@gmail.com]
Sent: Friday, August 20, 2010 2:05 AM
To: Tomcat Users List
Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
Maybe its just be but I still don't see where uadc is declared or even
imported.
On Thu, Aug 19, 2010 at 10:26 PM, Yawar Saeed Khan/ITG/Karachi <
yawar.sa...@mc
On 19/08/2010 23:42, Christopher Schultz wrote:
> Wesley,
>
> On 8/19/2010 5:04 PM, Wesley Acheson wrote:
>> Maybe its just be but I still don't see where uadc is declared or even
>> imported.
>
> ...or even used.
>
> I'm guessing that the bad code exists outside of this login servlet.
s/the b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wesley,
On 8/19/2010 5:04 PM, Wesley Acheson wrote:
> Maybe its just be but I still don't see where uadc is declared or even
> imported.
...or even used.
I'm guessing that the bad code exists outside of this login servlet.
- -chris
-BEGIN PGP S
d void doGet(HttpServletRequest request, HttpServletResponse
> response)
>throws ServletException, IOException {
>processRequest(request, response);
>}
>@Override
>protected void doPost(HttpServletRequest request, HttpServletResponse
> response)
>throws Servl
s
On Thu, Aug 19, 2010 at 9:27 PM, Yawar Saeed Khan/ITG/Karachi <
yawar.sa...@mcb.com.pk> wrote:
> source code is attached;
>
> suggestions are welcome.
>
> ____
>
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com]
> Sent: Fri 20-A
gestions are welcome.
>
>
>
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com]
> Sent: Fri 20-Aug-10 12:38 AM
> To: Tomcat Users List
> Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
>
>
>
> Okay I've a little tehory could you post
source code is attached;
suggestions are welcome.
From: Wesley Acheson [mailto:wesley.ache...@gmail.com]
Sent: Fri 20-Aug-10 12:38 AM
To: Tomcat Users List
Subject: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
Okay I've a little tehory could you pos
Okay I've a little tehory could you post the entire code for loginmanager.
How is udac declared? If its a class variable then *ITS NOT THREAD SAFE*.
As a basic rule don't declare class variables in a servlet (There are
exceptions to this rule but you shouldn't under normal circumstances)
On 8/19/2010 11:28 AM, Yawar Saeed Khan/ITG/Karachi wrote:
> Chuck, what you say makes sense but I check the behavior on windows.
All that says to me is that your testing environment on Windows is inadequate.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MAT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yawar,
On 8/19/2010 11:28 AM, Yawar Saeed Khan/ITG/Karachi wrote:
> Chuck, what you say makes sense but I check the behavior on windows.
> the problem is in Linux environment only. I would imagine that tomcat
> configuration might be different on both
: Re: Sessions mix-up on Tomcat 6.0.26 on Linux
2010/8/19 Yawar Saeed Khan/ITG/Karachi :
> Ok, let me share my source code with you...
>
> HttpSession session = request.getSession(true);
> response.sendRedirect("main.jsp"); //logged-in page
2010/8/19 Yawar Saeed Khan/ITG/Karachi :
> Ok, let me share my source code with you...
>
> HttpSession session = request.getSession(true);
> response.sendRedirect("main.jsp"); //logged-in page
See documentation on HttpServletResponse.encodeRedirectURL( ) method.
I
YSDATE WHERE USER_ID = '"+ rs.getString("USER_ID") +"'");
int audit_insrt = InsertAuditEntry("F001", (String)
session.getAttribute("user_id"), (String) session.getAttribute("branch_code"));
response.sendRedirect("main.j
both machines
with default configurations.
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Thu 19-Aug-10 7:02 PM
To: Tomcat Users List
Subject: RE: Sessions mix-up on Tomcat 6.0.26 on Linux
Yawar Saeed Khan/ITG/Karachi wrote:
>
>
On 19/08/2010 14:02, Caldarale, Charles R wrote:
> Yawar Saeed Khan/ITG/Karachi wrote:
>>
>> I have developed a web application using jsp and servlets with
>> oracle database.
>>
>> The application is working fine on windows,
>
> Or at least running on that platform hasn't uncovered the latent bu
Ben Souther wrote:
On Thu, 2010-08-19 at 12:45 +0200, André Warnier wrote:
Yawar Saeed Khan/ITG/Karachi wrote:
Hi,
I have developed a web application using jsp and servlets with oracle
database.
and with Tomcat also ?
Look in the subject line. :)
Ok, I overlooked the subject line (*).
Yawar Saeed Khan/ITG/Karachi wrote:
>
> I have developed a web application using jsp and servlets with
> oracle database.
>
> The application is working fine on windows,
Or at least running on that platform hasn't uncovered the latent bugs in your
webapp.
> but the problem arises when we deploy
On Thu, 2010-08-19 at 12:45 +0200, André Warnier wrote:
> Yawar Saeed Khan/ITG/Karachi wrote:
> > Hi,
> >
> >
> > I have developed a web application using jsp and servlets with oracle
> > database.
> >
> and with Tomcat also ?
Look in the subject line. :)
> >
> >
> >
> > The application
Yawar Saeed Khan/ITG/Karachi wrote:
Hi,
I have developed a web application using jsp and servlets with oracle
database.
and with Tomcat also ?
The application is working fine on windows,
Windows version, JVM version, tomcat version ?
but the problem arises when
we deploy it on Linux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 10/27/2009 9:48 AM, Tsirkin Evgeny wrote:
> Actually your solution is pretty fine. Just that there is no need in
> "controller" backup - in case that the controller goes down another
> node should take other (that;s for example how master/
First of all please note that i really appreciate the tomcat developers work
and thank them
for it.
However see my notes below:
On Mon, Oct 26, 2009 at 9:21 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tsirkin,
>
> On 10/25/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tsirkin,
On 10/25/2009 8:10 AM, Tsirkin Evgeny wrote:
> However even if some
> session got _ not _ to be replicated after a restart - this is far
> less a problem then a case of _ all _ session not to be restored
> after a restart.
Yeah, it's simple:
I had a short into a source code
(
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?revision=817103&view=markup
)
and it seems that DeltaManager does not support what i want:
I want my sessions replicated across tomcats (2 nodes) but in case t
n, 9 Feb 2009 19:39:50 -0500
> From: ch...@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Re: sessions lost after redeploy
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Robert,
>
> J Robert Ray wrote:
> > I don't see anything relevant in the logs. My
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
J Robert Ray wrote:
> I don't see anything relevant in the logs. My session consists of a
> single value, a Byte[], so I shouldn't have a problem with
> unserializable data. Besides, it reloads properly across a tomcat
> restart.
Yeah, that s
On Fri, Feb 6, 2009 at 10:41 AM, Christopher Schultz
wrote:
>> But if I copy a new .war into webapps, or touch the existing .war, so
>> that my app redeploys, my sessions are deleted.
>
> Are you sure that simply 'touch'ing the existing WAR causes your
> sessions to die? I can't account for that,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
J Robert Ray wrote:
> Hello, I have an app running in tomcat 6.0.18, using the default
> session manager.
>
> If I stop and start tomcat, or if I use the "reload" button in the
> manager, my sessions are preserved.
Good. That suggests your s
The sessions are saved inside
$CATALINA_HOME/work/catalina/localhost/APPNAME/sessions.ser
In case you deploy a new version of your application or make
modifications, I suppose Tomcat sees this as a new application and
removes your current APP work-dir, and thus it's sessions.ser file
Correct me i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sudip,
sudip pattanayak wrote:
> We are using apache-tomcat for our Web Application. We do not allow
> to same users to log on from two instances of the application.
> So if the user is active from one session and then if he tries to log
> on from ano
Dear Sudip,
But recently there are couple of occasions where one or
more users are failing to forcefully logoff the session.(thelogs shows
clearly the pending sessions keeps on increasing and the value unbound
is never called for the particular user failing to forcefully logoff.
Well, we canno
Thank you for pointing me to this. Appreciate it very
much!
--- Len Popp <[EMAIL PROTECTED]> wrote:
> There was a bug fix in 5.5.21 that may be the same
> problem as yours.
> Changelog:
>
http://tomcat.apache.org/tomcat-5.5-doc/changelog.html
> (scroll down to 5.5.21)
> Bugzilla:
>
http://issues.a
There was a bug fix in 5.5.21 that may be the same problem as yours.
Changelog: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html
(scroll down to 5.5.21)
Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=37356
--
Len
On Jan 15, 2008 1:39 PM, Eqbal <[EMAIL PROTECTED]> wrote:
> Than
Thanks Bill!
Is there a bug report I can look at for this? I tried
searching on the website but could not locate it.
Also to which version should I upgrade, a minor
upgrade or to major version 6?
I am going to have a hard time upgrading as one of the
third party proprietary package we use only sup
rker" <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
01/14/2008 07:58 PM
Please respond to
"Tomcat Users List"
To
users@tomcat.apache.org
cc
Subject
Re: sessions not cleaned up after expiry
Caterpillar: Confidential Green Retain Until: 02/13/2008
"Eqbal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am noticing the in one of our webapps sessions are
> not getting cleaned up long after they have expired.
> Our session expiry time is set to 30 min. I am using
> lambdaprobe to monitor the sessions and it appears
> t
Hello Martin,
I am not sure I understand where you are going with
this. I do have jmx enabled so I can see the memory
allocation charts alright (survivor, eden, old, per
gen, code cache etc.). I have my ms and mx set to
1024m, permgen is set to 64m min and 192m max.
The thing I do not understand
Get probe.war operational first and for memory status you will need to haveto
get jmx running
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.htmlmake sure you
set JRE_HOME properlytake a look at the log file location
in my case I have everything deployed locally
http://localhost:80
If you consider what a session actually is, its a connection between a
client and server, then you will understand that until that connection
is actually broken and the server reclaims those resources there will
still be a session/connection. Thus, session invalidate marks a session
as expire
Hey All,
Thanks for all your help. I've fixed it! For future reference, the problem
was similar to what was described. The path in the cookie was different
because I proxied /webappnameservlets to /webappname. When I changed the
proxy so that the directory names matched, the sessions started w
David Smith wrote:
If you are proxying your webapp, did you also set proxyName and
proxyPort in your connector config for port 8081 in server.xml?
in httpd.conf use ProxyPreserveHost, and that way you only have to set
proxyPort in server.xml
but even without proxyPort/proxyName, your cookies sh
If you are proxying your webapp, did you also set proxyName and
proxyPort in your connector config for port 8081 in server.xml?
See http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
--David
Chase Yarbrough wrote:
Hello,
My sessions are not persisting between servlet calls within the s
Yes. They are using the web application from the same computer.
-Vasu
"Terence M. Bandoian" <[EMAIL PROTECTED]> wrote:
> Hi-
>
> Are both users accessing the web application from the same computer?
>
> -Terence M. Bandoian
> [EMAIL PROTECTED]
>
> > Hi:
> >
> > Thanks David, Chris and M
Hi-
Are both users accessing the web application from the same computer?
-Terence M. Bandoian
[EMAIL PROTECTED]
> Hi:
>
> Thanks David, Chris and Martin for the responses. I appreciate them.
May be I didn't explain the
situation properly in my posting. I will try to explain better -
>
> The app
tz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 12:46 PM
To: Tomcat Users List
Subject: Re: Sessions in Tomcat
* PGP Signed by an unknown key: 08/01/2006 at 12:46:13 PM Donald,
> The first browser session works fine and I can
> navigate thru all my pages without a problem. A f
Donald,
> The first browser session works fine and I can
> navigate thru all my pages without a problem. A few minutes later I open
> another browser window and I immediately get a null pointer exception.
Is it possible that you are have cookies turned off and are having the
JSP encode the jsessi
69 matches
Mail list logo