Hi,
I used Yourkit Profiler to check my web application, and I found that
many http threads are blocked here.
org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest,
HttpServletResponse, boolean) (The method calls itself recursively)
Hi,
After tomcat running 3,4 days well with 75 users, suddenly we are facing
InvocationTargetException caused by OutOfMemoryError for 3,4 users some
times. The JAVA_OPTS options are well configured as observed no heap error
issue. Heap utilization is only 60% but Foud that CodeCache is reaching
- Original Message -
From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Sent: Fri, 2 Oct 2009 07:32:06 -0700 (PDT)
Subject: Re: Cannot set remote address in valve (Tomcat 5.5)
2. There are other valves like request filters that cannot
To make it clear, valves are executed around the web apps, so they are executed
before the request gets to any servlet filter. Servlet filter behavior is
defined by the Servlet specification. Valves are tomcat specific classes that
contain some core server functionality that is not defined by
2009/10/5 Linux sysadmin sysad...@pattersunx.com:
The truth is that i make a link from the ${catalina.home}/conf in the
${catalina.base}/conf regarding the web.conf, thus it's the default from
tomcat original distribution ...
This should work for conf, but be very careful about symbolic links
Hello Christopher,
Using a Remote IP Filtering Valve/Servlet Filter can be a bit tricky
with a proxy or a load balancer because, by default, you loose the
actual remote ip and just get the IP of the proxy or load balancer.
However, these proxies and load balancer (Apache mod_proxy, F5 Big IP,
On 05/10/2009 07:27, trucbinh wrote:
Hi,
I used Yourkit Profiler to check my web application, and I found that
many http threads are blocked here.
org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest,
HttpServletResponse, boolean) (The method calls itself recursively)
Hi,
I used Yourkit Profiler to check my web application, and I found that
many http threads are blocked here.
org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest,
HttpServletResponse, boolean) (The method calls itself recursively)
Jared Southern wrote:
P.S. nice pic's of turkey.
Huh?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
trucbinh wrote:
Hi,
I used Yourkit Profiler to check my web application, and I found that
many http threads are blocked here.
org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest,
HttpServletResponse, boolean) (The method calls itself recursively)
No, it doesn't.
Do
Sorry Mark,
I was getting you mixed up with Tony, he's got pictures of turkey on his
website. :-)
RegardsJared
Date: Mon, 5 Oct 2009 09:44:19 +0100
From: ma...@apache.org
To: users@tomcat.apache.org
Subject: Re: Help management access
Jared Southern wrote:
P.S. nice pic's of turkey.
What are your JAVA_OPTS?
How much memory Is in the machine?
OS? JVM version? Tomcat version?
p
--
pidster.com
(mobile)
On 5 Oct 2009, at 07:48, subrahmanyam venkata.ad...@genpact.com wrote:
Hi,
After tomcat running 3,4 days well with 75 users, suddenly we are
facing
Hi all,
I see that when using Mod JK (ver. 1.2.26-2) together with Comet I
always get the message: 405 HTTP method POST is not supported by this
URL. (My servlet engine is tomcat 6.0.14)
I googled and found out that mod_jk has its own connector which does not
support the comet event.
Is there
Hello,
I have this hardware solution
+ One HTTP/HTTPS balancer.
+ four serves
- Two Apaches (A1 and A2).
- Mod_JK loadbalancer. (software)
- Two Tomcats (T1 and T2). (CLUSTERED)
We want to use, for example, manager application.
Example: www.test.org/manager
But I would like to know in
Peter Crowther wrote:
...
and Tomcat in general. Symlinks in webapps will not work by default -
look up allowLinking to allow them, and be Very Careful if you do as
I seem to recall that undeploying a webapp with a symlink in it can
delete all the files in the area that you've linked to.
As
thanks Peter for this recommendation ...
have a nice day
Peter Crowther wrote:
2009/10/5 Linux sysadmin sysad...@pattersunx.com:
The truth is that i make a link from the ${catalina.home}/conf in the
${catalina.base}/conf regarding the web.conf, thus it's the default from
tomcat original
Hi,
from what I have read I expected tomcat to shutdown gracefully (which to me
means do not accept any other request and end the current ones before
shutdown) but my test doesen't confirm it.
I have a servlet with the following code:
for (int i = 0; i 50;
Op maandag, 5 oktober 2009 00:47 schreef André Warnier a...@ice-sa.com:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
But I don't send any data. My servlet than waits in getParameterMap(),
because that try's
Op zondag, 4 oktober 2009 22:23 schreef Christopher Schultz
ch...@christopherschultz.net:
Ronald,
On 10/2/2009 9:20 AM, Ronald Klop wrote:
But I don't send any data. My servlet than waits in getParameterMap(),
because that try's to read the inputstream and parse the parameters.
Ronald Klop wrote:
...
There is even more fun about the documentation of connectionTimeout. It
states that it waits for the URI after accepting the connection, but in
my example Tomcat is not waiting for the URI, but for data from the
request. So connectionTimeout does much more than what is
I have a load balancing cluster with two tomcat6 and one apache2.2. I use
replication sessions and all work fine. Now I'd like to use a common
webapps folder on third machine where to put my applications and I'd like
tomcat's instances go all there to deploy and use application. I don't know
if
I have a load balancing cluster with two tomcat6 and one apache2.2. I use
replication sessions and all work fine. Now I'd like to use a common webapps
folder on third machine where to put my applications and I'd like tomcat's
instances go all there to deploy and use application. I don't know if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 10/5/2009 8:41 AM, André Warnier wrote:
- but, internally and undocumented, Tomcat also uses the same
connectTimeout timeout value when it is subsequently asked to read the
request body (for example with getParameters()). But since the
Hi PidSter,
Out of 17 Users 5 users have reported that OutOfMemoryErrorException, Other
12 users working fine at that time also.
After clearing the cookies from IE6 browser, 4 users got resolved and 1 user
got the same issue again
.They have worked continuously for five hours before facing this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paolo,
No need to post twice: your messages are getting through.
On 10/5/2009 9:06 AM, Paolo Santarsiero wrote:
Now I'd like to use a common
webapps folder on third machine where to put my applications and I'd like
tomcat's instances go all
There are only two connectors in Apache Tomcat that support Comet,
APR HTTP and NIO HTTP connectors.
This means, if you want Apache in front of it, you would use mod_proxy_http
Filip
On 10/05/2009 04:39 AM, Markus Innerebner wrote:
Hi all,
I see that when using Mod JK (ver. 1.2.26-2) together
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/5/2009 6:26 AM, Pid Ster wrote:
What are your JAVA_OPTS?
How much memory Is in the machine?
OS? JVM version? Tomcat version?
... and what makes the OP think it's a code cache problem?
- -chris
-BEGIN PGP SIGNATURE-
Version:
Christopher thanks for answer. I'm thinking to use this solution because the
application is very big and updates will be frequent. I had set context
descriptor and now all tomcat points to a folder on other machine. Load
balancing works fine, but when I shutdown a tomcat with a open session,
Filip Hanik - Dev Lists wrote:
There are only two connectors in Apache Tomcat that support Comet,
APR HTTP and NIO HTTP connectors.
This means, if you want Apache in front of it, you would use mod_proxy_http
Many thanks for your suggestion.
I've recently had to upgrade from Tomcat5.5.20 to Tomcat5.5.27. For the main
functionality of the web application to work it needs to process a UTF8
encoded cookies to retrieve user customizations. There was no issue with the
5.5.20 version, but the 5.5.27 version is not processing the UTF8
Hi,
I have apache tomcat 5.5 installed and I am trying to setup an alias
url.
Our host directory is localhost and we have a site called webtop. I
have create an alias on our DNS (IIS) server http://webtop. I want a
user to enter this url and have it open http://localhost:8080/webtop.
I've
realta wrote:
I've recently had to upgrade from Tomcat5.5.20 to Tomcat5.5.27. For the main
functionality of the web application to work it needs to process a UTF8
encoded cookies to retrieve user customizations. There was no issue with the
5.5.20 version, but the 5.5.27 version is not
Hi,
We are using the following configuration:
Tomcat: 5.0.
OS: Windows Server HPC edition.
JVM: 5.0
There is one basic doubt that I have. When we load/stress our Tomcat server, we
hit thresholds mentioned below once in a while. The root of the problem is that
when I increase the clients, I
from what i've read deprecated dom and sax parsing routines consume excessive
memory and
commiters now recommend installing minimum version of xerces 2.91 for dealing
with OOM issues
https://issues.apache.org/jira/browse/XERCESJ-1267
LifeRay recommends installing Liferay 5
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
Subject: Alias URL
I have apache tomcat 5.5 installed and I am trying to setup an
alias url.
Why? By default, Tomcat will listen on all IP addresses assigned to the box
it's running on.
Our host directory is localhost and we have a site
I have apache tomcat 5.5 installed and I am trying to setup an alias
url.
Why? By default, Tomcat will listen on all IP addresses assigned to the
box it's running on.
Because the current url has the server name in address.
Our host directory is localhost and we have a site called
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
Subject: RE: Alias URL
Because the current url has the server name in address.
Obviously true, but irrelevant.
If you look in the server.xml file the code has Host name=localhost.
This also means it is using the computer name in the url.
Thank you so much for your tips, Rainer!
The websites went down yet again. Increasing the java heap size took
care of the OutOfMemoryError, but the number of httpd processes keep
increasing until the websites crash. I haven't added any new code in
the past few months, hence I am surprised why the
Chuck Caldarale you've offerec absolutely no help. You contradict your
own questions and rude. I do not want to hear from you again.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, October 05, 2009 10:54 AM
To: Tomcat Users List
Subject:
Johnson, Rob E wrote:
Chuck Caldarale you've offerec absolutely no help. You contradict your
own questions and rude. I do not want to hear from you again.
Rob, if you want folks here to give up their free time to help you with
your problem, I suggest you read
thanks
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, October 05, 2009 11:07 AM
To: Tomcat Users List
Subject: Re: Alias URL
Johnson, Rob E wrote:
Chuck Caldarale you've offerec absolutely no help. You contradict
your own questions and rude. I do not
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
Subject: RE: Alias URL
You contradict your own questions and rude.
Sorry that I've offended you - I certainly had no intent to do so.
Please point out any contradictions in what I've said, and where it has been
rude.
- Chuck
THIS
Sorry, I thought you were trying to be offensive. When I wrote what I
am trying to do, create an alias you asked
Why? By default, Tomcat will listen on all IP addresses assigned to
the box it's running on.
I responded by saying, Because the current url has the server name in
address.
You
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
Subject: RE: Alias URL
So my goal is to use an alias in the url and not the server name.
This still isn't clear to me. I'm confused over your port usage: who is
listening on port 80? Why is port 8080 of interest in the original or
Currently tomcat is set to listen on port 8080. I can easily open port
80 so that is not an issue.
We do have other webapps deployed, and yes I do want webtop to be the
default webapp for Tomcat.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent:
2009/10/5 prashant sharma psharma_...@yahoo.com:
Tomcat: 5.0.
That's old, and no longer supported. Why are you using this version?
(And exactly which version of 5.0 are you using, by the way?)
OS: Windows Server HPC edition.
32- or 64-bit? I ask because the maximum contiguous memory you'll
Rainer,
Here are the KeepAlive values in httpd.conf:
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimout 15
Thanks,
Joe
What are your KeepAlive* settings ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
Subject: RE: Alias URL
Currently tomcat is set to listen on port 8080. I can easily open port
80 so that is not an issue.
Sounds like an appropriate thing to do, so you don't have to play with URL
rewriting anywhere.
We do have other
Caldarale, Charles R wrote:
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
...
Hi guys, can I jump in here ?
I believe that you are being a bit tough on Rob here.
Obviously, he is not a Tomcat expert, and more used to IIS and the MS
way of things, than to Apache httpd and Tomcat. And in
Joe Hansen wrote:
Rainer,
Here are the KeepAlive values in httpd.conf:
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimout 15
Well, since you have KeepAlive Off, the other 2 do not matter.
But as such, it means that each request of each browser is going to
create a new connection to the
Thank you for the reply, Andre.
I now understand how setting KeepAlive to On would improve the
performance of a website (The Apache manual says that a 50% increase
in throughput could be expected). So I changed the KeepAlive to On and
restarted the server.
I however wonder if this will fix the
Joe Hansen wrote:
Thank you for the reply, Andre.
I now understand how setting KeepAlive to On would improve the
performance of a website (The Apache manual says that a 50% increase
in throughput could be expected). So I changed the KeepAlive to On and
restarted the server.
Now wait.
You
Hi,
What you would like is that :
- when a user enters the URL http://imsden.mms; (or
http://imsden.mms:8080;), he continues to get the standard Tomcat homepage
- when a user enters the URL http://webtop; (or http://webtop:8080;), he
gets immediately the first page of the webtop application
Is
André Warnier wrote:
...
and still wants to add something :
- a new KeepAlive connection is made from the browser to Apache (httpd).
- then a request comes in on that connection, and it happens to be one
that gets forwarded to Tomcat. So a mod_jk connection is made to
Tomcat, Tomcat allocates
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: java.lang.OutOfMemoryError: Java heap space
The bottleneck would be in Tomcat, but it would show up at the
httpd level.
The bottleneck might also be in something external to Tomcat, such as a
database or some external web service
On 5 Oct 2009, at 14:34, Christopher Schultz ch...@christopherschultz.net
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/5/2009 6:26 AM, Pid Ster wrote:
What are your JAVA_OPTS?
How much memory Is in the machine?
OS? JVM version? Tomcat version?
... and what makes
On 5 Oct 2009, at 14:24, subrahmanyam venkata.ad...@genpact.com wrote:
Hi PidSter,
Out of 17 Users 5 users have reported that
OutOfMemoryErrorException, Other
12 users working fine at that time also.
After clearing the cookies from IE6 browser, 4 users got resolved
and 1 user
got the
... the real pros use text files, and a vi editor).
The last time someone said that, the Argument ended with a
discussion about electron microscopes...
p
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
Hi,
We can add the header to the custom valves, but then in addition we have to
change a few log file configurations, create a servlet filter and maybe
something else I cant think of now. Basically doing the same thing a few
times and keeping track of all the places that depend on the header.
2009/10/5 Pid Ster p...@pidster.com:
... the real pros use text files, and a vi editor).
The last time someone said that, the Argument ended with a
discussion about electron microscopes...
Well I edited the inodes by hand. With a magnet.
(Bonus points if you know the origin of the quote)
Andre, Thanks for pointing out the high KeepAliveTimeout value in the
config file. I have read the docs and have changed it to 5 seconds
(which is the default).
I am hoping that Rainer could find out from the thread dump where the
requests are getting stuck, so that I can put this issue to bed.
Johnson, Rob E wrote:
Hi,
What you would like is that :
- when a user enters the URL http://imsden.mms; (or http://imsden.mms:8080;),
he continues to get the standard Tomcat homepage
- when a user enters the URL http://webtop; (or http://webtop:8080;), he gets
immediately the first page of
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Subject: Re: [OT] Re: Alias URL
Well I edited the inodes by hand. With a magnet.
(Bonus points if you know the origin of the quote)
This may not be the origin, but I think it's one of
Caldarale, Charles R wrote:
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Subject: Re: [OT] Re: Alias URL
Well I edited the inodes by hand. With a magnet.
(Bonus points if you know the origin of the quote)
This may not be the origin,
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Alias URL
(stop Tomcat first)
Step 1 : you will need 2 Host .. sections in Tomcat's configuration
file server.xml. Currently, there is only one.
Actually, the one will suffice, if the OP is willing to eliminate Tomcat's
existing
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: [OT] Re: Alias URL
I was going to say Evil Geniuses (O'Reilly).
But I don't know who was first.
The book is just a collection of the User Friendly strips; excellent reference
manual.
- Chuck
THIS COMMUNICATION MAY CONTAIN
Andre thanks for all your help that worked. I can use the alias, and I can
still hit the other webapps.
Also thanks to Martin Gainty and his help.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Monday, October 05, 2009 3:54 PM
To: Tomcat Users List
Subject: Re:
On 5 Oct 2009, at 23:47, Johnson, Rob E rob.john...@mms.gov wrote:
Andre thanks for all your help that worked. I can use the alias,
and I can still hit the other webapps.
Also thanks to Martin Gainty and his help.
YDHTVO
p
-Original Message-
From: André Warnier
André Warnier wrote:
Caldarale, Charles R wrote:
From: Johnson, Rob E [mailto:rob.john...@mms.gov]
...
Usually also, MS products are designed to be configured primarily
through a graphical interface, while many open-source products are
mainly configured by means of text files (for Tomcat,
Pid Ster wrote:
On 5 Oct 2009, at 23:47, Johnson, Rob E rob.john...@mms.gov wrote:
Andre thanks for all your help that worked. I can use the alias,
and I can still hit the other webapps.
Also thanks to Martin Gainty and his help.
YDHTVO
??? Haven't seen that one before.
D
I have Virtual Hosts defined in Apache for each domain. I want to map the
domain to a context in Tomcat. For instance I would like mysite.com to map
to /mysite_com in Tomcat. Would it be something like:
VirtualHost *:80
ServerName mysite.com
RewriteRule ^/(.*)$ /mysite_com/$1
71 matches
Mail list logo