> 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 e
On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote:
> On 22/12/2011 10:34, Konstantin Kolinko wrote:
> > 2011/12/20 S B :
> >> 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
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).
Regards
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, l
>
> 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
> > im
- Original Message -
> From: Christopher Schultz
> To: Tomcat Users List
> 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 PM, Mark Eggers wrote:
>> It's the set
-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 mea
-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
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
> upgrad
-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 wit
-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 v
-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 timez
-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)
>
> http://www.geoi
-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 fil
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 my
- Original Message -
> From: Hassan Schroeder
> To: Tomcat Users List
> 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 <2ndgenfi...@gmail.com>
> wrote:
>> Here is the l
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 stack
- Original Message -
> From: Pid
> To: Tomcat Users List
> 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 wrote:
>> Well, you sort of kind o
- Original Message -
> From: r.sriram
> To: Tomcat Users List
> 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.
> I need my virtual host to work
Now I understand. Thank you.
2011/12/22 Daniel Mikusa
> 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_Mana
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
> .
>
>
manager-script is the role to give a
On 22/12/2011 10:34, Konstantin Kolinko wrote:
> 2011/12/20 S B :
>> 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 t
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:
"Th
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
> .
>
>
That example is correct.
> What should I put in t
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
.
What should I put in tomcat-users.xml to access tomcat manager web app??
--
Best regards,
Peter Šály
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.
>
>
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 t
> 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 th
> 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 p
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 (o
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
sect
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 s
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] .
2011/12/20 S B :
> 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 create
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
> On 22/12/2011 09:05, Violeta Georgieva wrote:
> > Hi,
> >
> > I am using Tomcat 6.0.2
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 telli
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
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
m
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
On 22 Dec 2011, at 02:22, Brian Burch 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 time, when I
On 21 Dec 2011, at 22:52, Chema 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, use a vali
41 matches
Mail list logo