On 26/01/2012 06:52, David Rees wrote:
On Wed, Jan 25, 2012 at 1:24 AM, Pid p...@pidster.com wrote:
On 24/01/2012 21:01, David Rees wrote:
The system has 8 CPU cores, Opteron 2378 CPU. Going beyond 4
startStopThreads for the host where the webapps are deployed doesn't
speed things up much
On 26/01/2012 04:56, Monika Solanki wrote:
I am using tomcat 7.x. I would like to redirect requests to a site on
apache, port 80 to one of my application running on tomcat, localhost:8080.
Please tell us exactly which version of Tomcat (and anything else that's
relevant, e.g. HTTPD), or we may
On 26/01/2012 04:53, gnath wrote:
Hi Chris,
Thanks a lot for looking into this and giving answers for all my questions.
Sorry, i could not get chance to reply in time. As you have suggested, i
started collecting the thread dumps when it happened again and we saw some
kind of DBCP
On 26/01/2012 00:59, David Kerber wrote:
On 1/25/2012 7:18 PM, André Warnier wrote:
Hi.
Please see this this as a constructive critic, not as a complaint.
The on-line documentation of Tomcat is not always easy-to-use,
particularly when one is a relatively naive (or new) Tomcat user, and
On 26/01/2012 00:25, André Warnier wrote:
Pid wrote:
I'm not actually a committer. Just a mailing list lurker.
but you are close to the gods..
Aww shucks
p
--
[key:62590808]
signature.asc
Description: OpenPGP digital signature
On Thu, Jan 26, 2012 at 8:34 AM, Pid p...@pidster.com wrote:
On 26/01/2012 04:56, Monika Solanki wrote:
I am using tomcat 7.x. I would like to redirect requests to a site on
apache, port 80 to one of my application running on tomcat,
localhost:8080.
Please tell us exactly which version of
On 26/01/2012 03:59, removeps-c...@yahoo.com wrote:
When Tomcat receives an unauthenticated request for a protected
resource it intercepts and saves that request, then forwards to
the resource defined in the login config.
True. Also, I'm not making the request through Firefox. I did that
2012/1/26 André Warnier a...@ice-sa.com:
Hi.
Please see this this as a constructive critic, not as a complaint.
The on-line documentation of Tomcat is not always easy-to-use, particularly
when one is a relatively naive (or new) Tomcat user, and does not
necessarily know what precise term to
On 26/01/2012 00:18, André Warnier wrote:
Please see this this as a constructive critic, not as a complaint.
Ack.
The on-line documentation of Tomcat is not always easy-to-use,
particularly when one is a relatively naive (or new) Tomcat user, and
does not necessarily know what precise term
Seems to be down again, starting just 2 minutes ago.
Mark Thomas wrote:
On 25/01/2012 16:44, Hassan Schroeder wrote:
On Wed, Jan 25, 2012 at 8:28 AM, Mark Thomas ma...@apache.org wrote:
tomcat.apache.org : connection reset
Always check the Nagios monitoring site first:
On 26/01/2012 09:59, André Warnier wrote:
Seems to be down again, starting just 2 minutes ago.
Mark Thomas wrote:
On 25/01/2012 16:44, Hassan Schroeder wrote:
On Wed, Jan 25, 2012 at 8:28 AM, Mark Thomas ma...@apache.org wrote:
tomcat.apache.org : connection reset
Always check the Nagios
2012/1/26 Mark Thomas ma...@apache.org:
On 26/01/2012 09:59, André Warnier wrote:
Seems to be down again, starting just 2 minutes ago.
Mark Thomas wrote:
On 25/01/2012 16:44, Hassan Schroeder wrote:
On Wed, Jan 25, 2012 at 8:28 AM, Mark Thomas ma...@apache.org wrote:
Always check the
hi,
i'm pretty much confused about the workers issue.
my setup is an apache server and a tomcat that are connected with a
mode_proxy_ajp connector.
the porblem is that some time after that both are working, the tomcat stops
responding to apache. the errors that i see in the apache are:
1.
Konstantin -
1. Have you seen the following page?
http://tomcat.apache.org/migration.htmlhttp://tomcat.apache.org/migration.html
I'm getting there, I'm still perusing the change logs to see what the
major differences in between 5.5 and 6 are and from 6 to 7. The
application was written
Thats the MPM worker settings for apache threads. You need to find the ajp
Proxy part in your config.
On Jan 26, 2012 11:14 PM, baba smith junkuri...@gmail.com wrote:
hi,
i'm pretty much confused about the workers issue.
my setup is an apache server and a tomcat that are connected with a
baba smith wrote:
hi,
i'm pretty much confused about the workers issue.
my setup is an apache server and a tomcat that are connected with a
mode_proxy_ajp connector.
the porblem is that some time after that both are working, the tomcat stops
responding to apache. the errors that i see in the
hi,
first, thank!
now:
1. in the apache side i've a file named mod_proxy_ajp.cof that is included
from httpd.conf and it says:
Proxy *
AddDefaultCharset Off
Order deny,allow
Allow from all
/Proxy
Location /tracking
ProxyPass ajp://localhost:9005/tracking/
ProxyPassReverse
Hi,
we have an application running on tomcat and that needs to securely communicate
with other application running on tomcat. can someone please guide me through
the steps how to set up the ssl connections between these two application.
from first application :
1. the request data will be
Hi,
I've got some questions regards the use of ThreadLocals in context
listeners:
(This is a general question, but I tested this with tomcat 6.0.32 only)
1. It's unspecified in the servlet spec 2.5 if a servlet context
listener is allowed to take the use of ThreadLocals during
2012/1/26 Josh Gooding josh.good...@gmail.com:
I've put 6.0.35 on a staging server and I'll be running the feeds I get
in tandem through it to see if I get any memory improvement over the 5.5
server. So as I am thumbing through thr old 5.5 server.xml file I notice
something that i've not
On 26/01/2012 08:50, Monika Solanki wrote:
On Thu, Jan 26, 2012 at 8:34 AM, Pid p...@pidster.com wrote:
On 26/01/2012 04:56, Monika Solanki wrote:
I am using tomcat 7.x. I would like to redirect requests to a site on
apache, port 80 to one of my application running on tomcat,
From: Patric Rufflar [mailto:pat...@rufflar.com]
Subject: ThreadLocals, context listeners and classloader leaks
It's unspecified in the servlet spec 2.5 if a servlet context
listener is allowed to take the use of ThreadLocals during
contextInitialized().
I have no idea what the phrase
On 26/01/2012 14:03, Hemanth Gundlapudi wrote:
Hi,
we have an application running on tomcat and that needs to securely
communicate with other application running on tomcat. can someone please
guide me through the steps how to set up the ssl connections between these
two application.
I have no idea what the phrase take the use of means; what are you
trying to say?
I'd like to know if there's some statement from the tomcat team if the
usage of ThreadLocals within contextInitialized() is discouraged or even
not supported.
??? A ThreadLocal is _not_ inherited from the
From: Patric Rufflar [mailto:pat...@rufflar.com]
Subject: RE: ThreadLocals, context listeners and classloader leaks
1. contextInitializer() sets value A to the ThreadLocal X
in thread main
2. childs threads get spawned from main thread, now we have
more than one ThreadLocal which
Hemanth Gundlapudi wrote:
Hi,
we have an application running on tomcat and that needs to securely communicate with other application running on tomcat. can someone please guide me through the steps how to set up the ssl connections between these two application.
I think that the way to do
Am 26.01.2012 16:59, schrieb Caldarale, Charles R:
No; again, a ThreadLocal is _not_ inherited, but an
InheritableThreadLocal is. These are different animals.
1. A InheritableThreadLocal is (extends) a ThreadLocal.
2. Surprise: A InheritableThreadLocal is _not_ used for the
On 26/01/2012 15:16, Patric Rufflar wrote:
I have no idea what the phrase take the use of means; what are you
trying to say?
I'd like to know if there's some statement from the tomcat team if the
usage of ThreadLocals within contextInitialized() is discouraged or even
not supported.
OK.
On 1/26/2012 10:38 AM, Mark Thomas wrote:
OK. ThreadLocals have no place in a web application. Period. If a
programmer insists on using them, then it is their responsibility to
clean up the mess they leave behind.
Tomcat's memory leak detection and prevention code goes some way to
clearing up
From: Jess Holle [mailto:je...@ptc.com]
Subject: Re: ThreadLocals, context listeners and classloader leaks
That said, there could and arguably should be another choice:
I'll suggest something more radical: define a class such as ScopeLocal where
values are added to and removed from threads
On 26/01/2012 17:30, Caldarale, Charles R wrote:
From: Jess Holle [mailto:je...@ptc.com]
Subject: Re: ThreadLocals, context listeners and classloader leaks
That said, there could and arguably should be another choice:
I'll suggest something more radical: define a class such as ScopeLocal
I am trying to open a https URL on IBM webshpere where ClientAuth is enabled.
In response I was getting HTTP 403 whereas the URL can be accessed through
http. On debugging further, it looks like the client is not sending the client
certificate in response to server's request. In some forum
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
G,
On 1/25/12 11:53 PM, gnath wrote:
As you have suggested, i started collecting the thread dumps
Thread dumps will set you free. Well, not really. Instead, they will
tell you where your webapp is breaking, which usually means more work
for you.
On Thu, 2012-01-26 at 07:46 -0800, Jerry Malcolm wrote:
I migrated to Tomcat 7.0 a couple of months ago on several servers. Ever
since moving to 7, I periodically get the following exception on MySql
calls on all of my 7.0 servers:
Exception:
From: Pid [mailto:p...@pidster.com]
Subject: Re: ThreadLocals, context listeners and classloader leaks
Imagine the fiendishly clever and machiavellian applications
we'd have to debug if you did that...
Job security.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
Luciano Andress Martini wrote:
Tomcat creates files as tomcat user, which is not acessible by
apache2, how can i correct this, and make apache to share this files?
I cannot think of a file which a standard Tomcat would create, which would need to be
accessible by a standard Apache httpd.
You
On 1/26/2012 12:20 PM, Luciano Andress Martini wrote:
Tomcat creates files as tomcat user, which is not acessible by
apache2, how can i correct this, and make apache to share this files?
For want of sufficiently detailed information to really help, I'm
shooting in the dark here, but try
On 26/01/2012 17:48, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: ThreadLocals, context listeners and classloader leaks
Imagine the fiendishly clever and machiavellian applications
we'd have to debug if you did that...
Job security.
ROFL.
p
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm trying to get into the business of inspecting my JVM using the
mbeans that Tomcat (and the JVM) expose, but I'm having great
difficulty. I'm not even sure if I'm doing the right things.
I have a running Tomcat instance (happens to be 7.0.25
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] Inspecting JMX
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to get anywhere on EC2 without it.
Should I hack the code for check_jmx to use the Attach API.
Maybe; might
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 1/26/12 12:45 PM, Daniel Mikusa wrote:
I agree that it looks like you have specified autoReconnect
correctly, but I'm no expert there.
+1
autoReconnect has been specified properly, but you have to understand
what it does: autoReconnect
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/26/12 1:41 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] Inspecting JMX
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to get
Right. First sorry about my bad english, im from Brazil.
We have a server running Xen Hypervisor.
In Domain 0 , we have apache2 and an NFS share.
ADM, CONV, CRED, ESTAB, SERVIDOR, POS are virtual machines with... tam
tam tam tam... tomcat6.
ADM, CONV, CRED, ESTAB, SERVIDOR, POS, have shared
Dear Chris,
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to get anywhere on EC2 without it.
I figured since I was using localhost everything would stay there
anyway. I'll give JmxRemoteLifecycleListener a chance.
Or you could write a small piece
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kees Jan,
On 1/26/12 1:52 PM, Kees Jan Koster wrote:
Dear Chris,
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to get anywhere on EC2 without it.
I figured since I was using localhost everything would
Hi all,
Sorry, I'm new to the list and I hope that my first message didn't breech
some kind of etiquette or do something to get caught in everyone's spam
filter.
I have spent hours trying to find an answer, and I keep going around in
circles, I'm not sure where to look next.
Here's my problem:
If the 2nd application is secured by SSL, then the 1st application can send
requests to it, just like like it would to any other application. If using
self-signed certificates you might need to export the certificate if necessary,
import it into a truststore, and use the
Chris,
independently of anything else, you may want to have a look at jmxsh
http://code.google.com/p/jmxsh/
It is interactive as well as scriptable.
(If I, who do not understand much about JMX and mbeans (or even java), managed to use it
with Tomcat and other stand-alone java applications, it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck
On 1/26/12 1:41 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] Inspecting JMX
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/26/12 3:30 PM, André Warnier wrote:
independently of anything else, you may want to have a look at
jmxsh http://code.google.com/p/jmxsh/
Now that I have *something* working, I can experiment to see what
other things work as well :)
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/26/12 3:30 PM, André Warnier wrote:
independently of anything else, you may want to have a look at
jmxsh http://code.google.com/p/jmxsh/
Now that I have *something* working, I can experiment to see what
On 26/01/2012 20:33, Christopher Schultz wrote:
Chuck
On 1/26/12 1:41 PM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: [OT] Inspecting JMX
Should I just give up and use JmxRemoteLifecycleListener?
Yes. You really aren't get to
On 26/01/2012 20:01, removeps-c...@yahoo.com wrote:
If the 2nd application is secured by SSL, then the 1st application can send
requests to it, just like like it would to any other application. If using
self-signed certificates you might need to export the certificate if
necessary, import
On 26/01/2012 20:00, Benjamin Madore wrote:
Hi all,
Sorry, I'm new to the list and I hope that my first message didn't breech
some kind of etiquette or do something to get caught in everyone's spam
filter.
I have spent hours trying to find an answer, and I keep going around in
circles,
On 26/01/2012 17:37, Harish S K wrote:
I am trying to open a https URL on IBM webshpere where ClientAuth is enabled.
In response I was getting HTTP 403 whereas the URL can be accessed through
http. On debugging further, it looks like the client is not sending the
client certificate in
Thanks to all for the assistance. I'll try adding those parameters. But
I'm always a bit nervous about possibly just band-aiding a problem that I
don't really understand.
Regarding the defensive coding approach, this error often occurs on the sql
query by the internal TC security authentication
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Thursday, January 26, 2012 5:44 PM
To: Tomcat Users List
vSubject: Re: Problems after reinstall - Sorry, trying again.
On 26/01/2012 20:00, Benjamin Madore wrote:
Hi all,
Sorry, I'm new to the list and I hope that my first
From: Benjamin Madore [mailto:bc...@pitt.edu]
Subject: RE: Problems after reinstall - Sorry, trying again.
136.142.248.135 - - [24/Jan/2012:14:02:20 -0500]
POST /eli2121/login.jsp HTTP/1.1 302 -
The above looks ok.
136.142.248.135 - - [24/Jan/2012:14:02:20 -0500]
GET /eli2121/home.jsp
From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com]
Subject: Re: connection autoReconnect?
Basically, TC grabs a handful of connections and
opens them up.
The Tomcat JDBC pool (not sure about the commons one) opens up whatever is
configured for initialSize.
Then when an app needs one, a
- Original Message -
From: Jerry Malcolm 2ndgenfi...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Thursday, January 26, 2012 2:58 PM
Subject: Re: connection autoReconnect?
T hanks to all for the assistance. I'll try adding those parameters. But
I'm always a
Actually, the server is IBM WAS and the client is running in Tomcat which runs
on JRE6, I assume it uses JSSE libraries from jre6. I never faced this problem
if the same client program runs on IBM WAS which uses IBM's java runtime and
SSL handlers. So it could be a JRE problem rather than
Hello Chris,
After seeing the initial connection pool issue, i started searching online for
help and i found this article :
http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html
so, i thought may be tomcat's jar would bring some improvement. by the way, we
had
Hello all,
So we have 2 Linux servers running our application with Tomcat-6.0.35, JDK
1.6.30. We are using:
tomcat-jdbc.jar (Verison 1.1.1),
mysql-connector-java-3.1.12-bin.jar
We have 'removeAbandoned' flag to true in our configuration. We initially had
commons-dbcp.jar 1.3 version and as
Hi All,
Quick update: after i looked at the dead lock trace, it looked to me like an
issue with mysql driver jar. As i mentioned that we are using
mysql-connector-java.3.1.12-bin.jar, and i have been seeing these bugs that are
filed against something related to deadlock:
64 matches
Mail list logo