On 21 Dec 2011, at 22:52, Chema demablo...@gmail.com wrote:
10 to 1 you've got stale connections in your pool; first try fails, second
one gets a fresh connection
I thought the same
autoReconnect
Should the driver try to re-establish stale and/or dead connections?
Nope. Like Hassan said,
On 22 Dec 2011, at 02:22, Brian Burch br...@pingtoo.com wrote:
On 22/12/11 06:39, Jerry Malcolm wrote:
About a month ago, I upgraded two different servers from TC 5 to TC 7. The
migration went cleanly, and everything has been working fine with the
exception of one thing. About 50% of the
On 22/12/2011 04:51, Caldarale, Charles R wrote:
From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
Subject: Re: Login fails, then works subsequently (Tomcat 7)
No testWhileIdle / validationQuery settings?
10 to 1 you've got stale connections in your pool
Did we just go off on
Hi,
I am using Tomcat 6.0.29 and SUN JVM.
I experience high memory consumption caused by BLOCKED Threads.
I would appreciate any help or suggestion how to solve the problem.
I can see the following in the thread dump:
http-8080-73 daemon prio=10 tid=0x7ff9a4586000 nid=0x7d3 waiting for
On 22/12/2011 01:27, r.sriram wrote:
you sound quite obnoxious and you don't seem to have any valid answers
other than insulting others.
Oh no, you're quite mistaken, if I was being obnoxious I would be using
a different tone entirely. I would probably make some offhand comments
about limited
On 22/12/2011 09:05, Violeta Georgieva wrote:
Hi,
I am using Tomcat 6.0.29 and SUN JVM.
I experience high memory consumption caused by BLOCKED Threads.
Blocked threads will not cause high memory consumption.
I would appreciate any help or suggestion how to solve the problem.
Try telling
The blocked threads that are waiting to get the lock, in order to finish
the response, are holding a lot of memory that they cannot release.
I have 50 blocked threads that are waiting.
2011/12/22 Mark Thomas ma...@apache.org
On 22/12/2011 09:05, Violeta Georgieva wrote:
Hi,
I am using
2011/12/20 S B sbl...@gmail.com:
Hi,
I created and deployed an MBean in my tomcat. It uses datasource to connect
to DB.
My questions is:
When I create InitialContext() inside MBean's constructor and pass the
envContext to DBManager class to lookup datasource it works fine. However
when I
Hi,
We have setup Tomcat 7 with APR in linux box. The issue is that after an
hour or two, the https stops responding, but the HTTP connector is still
working.
When we try to open https://192.168.1.32/, it does not respond.[ it does
not timeout but the browser says server could not reached]
On 12/22/2011 2:45 PM, Pid wrote:
On 22/12/2011 01:27, r.sriram wrote:
you sound quite obnoxious and you don't seem to have any valid answers
other than insulting others.
Oh no, you're quite mistaken, if I was being obnoxious I would be using
a different tone entirely. I would probably make
On 12/22/2011 4:05 AM, Violeta Georgieva wrote:
Hi,
I am using Tomcat 6.0.29 and SUN JVM.
I experience high memory consumption caused by BLOCKED Threads.
I would appreciate any help or suggestion how to solve the problem.
Fix your app so that it releases the locks (probably synchronized
But I do not make locks on the SimpleDateFormat objects?
Tomcat does it while finishing the response.
Here is one of the threads that waits to lock:
http-8080-84 daemon prio=10 tid=0x7ff9a4340800 nid=0xf5d waiting for
monitor entry [0x7ff9990cf000]
java.lang.Thread.State: BLOCKED (on
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: High memory consumption caused by BLOCKED Threads
Fix your app so that it releases the locks (probably synchronized
sections) on the SimpleDateFormat objects.
Read the stack trace more carefully - only Tomcat or JRE code is
From: Saravanan L [mailto:saravan...@te-soft.com]
Subject: Fwd: Tomcat HTTPS Connector Stops working after an hour
We have setup Tomcat 7 with APR in linux box. The issue is that after an
hour or two, the https stops responding, but the HTTP connector is still
working.
What does a thread
On 20/12/2011 11:55, Pid wrote:
From earlier in the thread, as you seem to be having trouble reading
these things:
* Is there any other configuration change that I need to do
Yes, you will need to configure the connection between HTTPD and Tomcat,
using mod_proxy or mod_jk.
You need to
In case you prefer the gospel according to the erudite Mr Eggers...
On 21/12/2011 15:24, Mark Eggers wrote:
Well, you sort of kind of followed that.
Now, as Pid has also pointed out, you will need to configure mod_proxy,
mod_proxy_ajp, or mod_ajp to connect Apache HTTPD and Tomcat.
There
Hi all,
I want to point on wrong setting example for tomcat manager in the
documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access
.
user name=craigmcc password=secret roles=standard,manager-script /
What should I put in tomcat-users.xml
On 22/12/2011 15:00, Peter Šály wrote:
Hi all,
I want to point on wrong setting example for tomcat manager in the
documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access
.
user name=craigmcc password=secret
On 22/12/2011 15:00, Peter Šály wrote:
Hi all,
I want to point on wrong setting example for tomcat manager in the
documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access
It is not wrong. You just omitted the line beforehand:
This
On 22/12/2011 10:34, Konstantin Kolinko wrote:
2011/12/20 S B sbl...@gmail.com:
Hi,
I created and deployed an MBean in my tomcat. It uses datasource to connect
to DB.
My questions is:
When I create InitialContext() inside MBean's constructor and pass the
envContext to DBManager class to
On Thu, 2011-12-22 at 07:00 -0800, Peter Šály wrote:
Hi all,
I want to point on wrong setting example for tomcat manager in the
documentation:
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access
.
user name=craigmcc password=secret
Now I understand. Thank you.
2011/12/22 Daniel Mikusa dmik...@vmware.com
On Thu, 2011-12-22 at 07:00 -0800, Peter Šály wrote:
Hi all,
I want to point on wrong setting example for tomcat manager in the
documentation:
- Original Message -
From: r.sriram sri...@rstech.net
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Wednesday, December 21, 2011 5:27 PM
Subject: Re: Hosted environment
you sound quite obnoxious and you don't seem to have any valid answers
other than insulting others.
- Original Message -
From: Pid p...@pidster.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Thursday, December 22, 2011 5:25 AM
Subject: Re: Hosted environment
In case you prefer the gospel according to the erudite Mr Eggers...
On 21/12/2011 15:24, Mark Eggers
Chuck,
On 22.12.2011 14:07, Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: High memory consumption caused by BLOCKED Threads
Fix your app so that it releases the locks (probably synchronized
sections) on the SimpleDateFormat objects.
Read the
- Original Message -
From: Hassan Schroeder hassan.schroe...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Wednesday, December 21, 2011 2:40 PM
Subject: Re: Login fails, then works subsequently (Tomcat 7)
On Wed, Dec 21, 2011 at 2:23 PM, Jerry Malcolm
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: [OT] Displaying Time Zones for user preferences
Can you not use GeoIP to find out where a user is connecting
from, and select his time zone automatically for him/her ?
Not reliably. For example, it says
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
At the ApacheCon NA Tomcat meetup back in November, there was general
interest in seeing some example servlet Filters in the Tomcat examples
directory. I said I'd write some. It's time to put my money where my
mouth was.
I have the following
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/21/11 2:24 PM, André Warnier wrote:
Can you not use GeoIP to find out where a user is connecting from,
and select his time zone automatically for him/her ? (Saves your
conumdrum about how to display the choices)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/22/11 3:51 PM, André Warnier wrote:
As Konstantin points out separately, if you are going to use the
local timezone for anything serious, then you could get yourself
into a lot of complications.
No, he's just saying once a timezone,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jerry,
On 12/21/11 3:55 PM, Jerry Malcolm wrote:
The rewrite filter is correctly rewriting the URLs and forwarding
the requests.
Any option to redirect? That would solve everything.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sriram,
On 12/22/11 7:12 AM, r.sriram wrote:
And here is the point: However, when I configure exactly the same
way as foo for a domain name www.x.com for example, it doesn't
work. And here is the situation:
I am using hosted environment with Go
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/22/11 1:28 PM, Mark Eggers wrote:
It's the setup I use because it cleanly decouples everything
(Apache HTTPD configurations, pristine CATALINA_HOME, default
Tomcat applications for connectivity / service testing, and an easy
upgrade
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 12/22/11 2:00 PM, Rainer Jung wrote:
Hmmm, actually I had a short look at the code of
sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:185)
and i don't unerstand why it is waiting for a monitor entry. The
method
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
On 12/16/11 7:49 PM, Frank Zhang wrote:
Our code is using apache dbcp library and mysql-connector as JDBC
driver other than tomcat own tomcat-dbcp.jar.
Are you attempting to use the classes in tomcat-dbcp.jar directly? Or,
do you just mean
- Original Message -
From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Thursday, December 22, 2011 2:34 PM
Subject: Re: [OT] Hosted environment
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/22/11 1:28
On 12/14/11 5:45 PM, hernan wrote:
I'm using Tomcat 7.0 for developing a new application. A key
component in the application have to run an external not
multithreaded application.
Since I'm not an experienced user in Tomcat, I wonder which
implementation alternatives do you
On Thu, Dec 15, 2011 at 4:48 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hernan,
On 12/15/11 12:47 PM, hernan wrote:
As separate process, I thought a java server process with the
wrapper that receive requests, launch a new
Thanks for your input! I've actually figured out what I was missing. I
had to also pull in the following fix:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50790
With the above fix everything works as it does on Tomcat 7.0.23 ( I was
able to successfully execute my test on Tomcat).
On Thu, Dec 22, 2011 at 8:49 PM, Pid p...@pidster.com wrote:
On 22/12/2011 10:34, Konstantin Kolinko wrote:
2011/12/20 S B sbl...@gmail.com:
Hi,
I created and deployed an MBean in my tomcat. It uses datasource to
connect
to DB.
My questions is:
When I create InitialContext()
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Subject: Re: High memory consumption caused by BLOCKED Threads
Hmmm, actually I had a short look at the code of
sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:185)
and i don't unerstand why it is waiting for a monitor
41 matches
Mail list logo