Bill Barker wrote:
Julian Dunn julian.d...@cbc.ca wrote in message
news:4a14199c.4caf.003...@cbc.ca...
Hi,
Is it a good idea to run with xmlValidation=true in server.xml?
In a development enviroment, it can be helpful (especially if you change
web.xml often). I would generally
Hi Charles,
You are very clever, thanx for teaching...
Perhaps you should ask on a Jetty list?
I've asked about Tomcat.
Neither tomcat6.exe nor java.exe are JVMs; an actual JVM on Windows is
several .dll files plus
numerous Java classes in various jars. The .exe programs are just
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
if you add -p to netstat (at least under Linux), it will also
show the program that corresponds to that line.
Or
Hi Members,
Since we have many context our log and work folder getting large in few days
and getting full so that new files cannot be created or logging.
Is there any way to point work folder and log to different location?
if possibe give the good docs for that (with include file rotation)
Hello,
I am using Tomcat 6.0.18 in a production server, serving thousands of users
and hundreds of transactions per second. I am using the NIO connector. I've
noticed a serious memory utilization problem which were traced to the fact
that a single processor is dedicated to a connection and is not
I got it ..thanks to all and also sorry for the trouble..
regards
Madhu
On Wed, May 20, 2009 at 10:57 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: madhu sudhan bandari [mailto:madhu.band...@gmail.com]
Subject: Re: How to get thread dump on Tomcat 6 (windows)
Thanks
want to couple Apache Tomcat into my application. My installer would check
for an existing installation of the TOMCAT and would try to install Tomcat
if there is no existing installation.!!
This installation has to be silent and the user need not explicitly know
that Apache Tomcat is being
From: aditya darbha [mailto:adityadar...@gmail.com]
want to couple Apache Tomcat into my application. My
installer would check
for an existing installation of the TOMCAT and would try to
install Tomcat
if there is no existing installation.!!
This installation has to be silent and the user
From: Pid [mailto:p...@pidster.com]
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
I am not a number!
But are you a free man?
We want information, by hook or by crook...
(Apologies to the late Patrick McGoohan.)
- Chuck
THIS
From: kolaloka [mailto:kolal...@freemail.hu]
Subject: RE: tomcat6 executables on Windows Serer
Well, under Linux, the top lists the java process, not an .so
That's because top, ps, and the Windows equivalents show only the initial
executable, not the shared library names where the
From: Anamika raj [mailto:rajnam...@gmail.com]
Subject: Processes are not showing in the JConsole
the process which i want to monitor on JConsole not showing
in the JConsole window.
Welcome to the wonderful world of Windows security. At least on Vista,
Tomcat running as a service is not
hi Sagi, are you referring to the Http11NioProcessor objects?
If so, you should be able to configure the cache size when connections
are released. So you could also use maxKeepAliveRequests to limit it
do you have the memory dump available?
Filip
sagi tomcat wrote:
Hello,
I am using Tomcat
Yes I am referring to the Http11NioProcessor objects. Playing with the cache
size did not help, since I had to deal with ~7000 registered
Http11NioProcessor objects (by registered I mean the object becoming a JMX
managed object). That amount by itself consumed a lot of the old gen space
(around
Trying to add some info below.
On 21.05.2009 05:09, Caldarale, Charles R wrote:
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com]
Subject: RE: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
So socket_keepalive is already 1. So does this mean
On 21.05.2009 14:57, Caldarale, Charles R wrote:
From: Anamika raj [mailto:rajnam...@gmail.com]
Subject: Processes are not showing in the JConsole
the process which i want to monitor on JConsole not showing
in the JConsole window.
Welcome to the wonderful world of Windows security. At
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've been testing the performance of various Tomcat configurations
against Apache httpd and my serious tests are not completing for the NIO
connector because the server is running out of files:
May 20, 2009 2:35:55 AM
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Subject: Re: Processes are not showing in the JConsole
Is it still possible under Vista, and will it help, if you let the
service run with the same account you are using to login?
Nope, I've tried that. The service remains invisible to jps
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vishwajit,
On 5/19/2009 6:08 PM, Pantvaidya, Vishwajit wrote:
No, Tomcat uses precisely 1 thread to handle each incoming HTTP
request. If keepalives are used, multiple requests may be handled
by the same thread before it is returned to the pool,
yes, with maxKeepAliveRequests you would also throttle the
connectionTimeout (or keepAliveTimeout, but that may be in 6.0.20) to
reduce the amount of objects.
I think you have a very valid use case, so I will add in some features
around managing the size of these objects to ensure they don't
I looked at the dumps. Comments inline.
On 18.05.2009 20:33, kvancamp wrote:
My problem seems to be most similar to this post. We are having intermittent
problems with the JBoss/Tomcat AJP 1.3 connector hanging. From searching
the JBoss and Tomcat user forums, other issues that are similar
On 21.05.2009 17:55, Christopher Schultz wrote:
All,
I've been testing the performance of various Tomcat configurations
against Apache httpd and my serious tests are not completing for the NIO
connector because the server is running out of files:
May 20, 2009 2:35:55 AM
2 remarks about all your stress testing efforts:
A) TIME_WAIT
When not doing HTTP Keep-Alive, under high load the size of the TCP hash
table and the effectiveness of the system to lookp up TCP connections
can limit the throughput you can reach. More precisely, depending on the
excat way of
Thanks Filip.
- I think there's a bug with maxKeepAliveRequests. Each call to
Http11NioProcessor.process() resets the keepAliveLeft parameter to the old
maxKeepAliveRequests value. When a parsing of a HTTP request doesn't have
enough input to complete the parsing stage, the process() returns
On 20.05.2009 17:33, Markus Schönhaber wrote:
Andre-John Mas:
this is not the ideal setup, I don't have any control over this. At
the same time I see that using mod_proxy, by way of ProxyPass, means
that the Tomcat server does not know what hostname was used to access
the Apache
hi Christopher, generally, ulimit -n 1024 is too low for any kind of web
server.
And there was also a file descriptor leak in the NIO connector, fixed in
http://svn.apache.org/viewvc?rev=734454view=rev
this is when Tomcat NIO serves up static content.
Filip
Christopher Schultz wrote:
On 20.05.2009 10:52, Imner, Andreas wrote:
Hi all
I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28
(Windows Server 2000) that connects to two
backend Apache Tomcat 6.0.18 server (Windows Server 2003) with load
balancing.
The webserver also uses mod_proxy to
On 20.05.2009 07:20, pappu wrote:
Chuck,
---
If by Tomcat 5 you really mean Tomcat 5.0, please be aware that 5.0 has
not been supported for quite some time. You do need to move up.
---
Yes I do mean Tomcat 5.0. The reason why we are having this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vishwajit,
On 5/20/2009 3:01 PM, Pantvaidya, Vishwajit wrote:
[Pantvaidya, Vishwajit] Ok so RUNNABLE i.e. persistent threads should
not be an issue. The only reason why I thought that was an issue was
that I was observing that the none of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Madhu,
On 5/20/2009 1:14 PM, madhu sudhan bandari wrote:
Thanks for quick response..but in the below URL..it was mentioned that
jstack is not available on windows platforms
http://java.sun.com/j2se/1.5.0/docs/tooldocs/#debug
You're right. This
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg,
On 5/20/2009 6:50 AM, Greg Allen wrote:
However, that exposes a timing issue which I'm not sure how to solve.
I embedded ApacheDS in my web application by implementing
ServletContextListener
so that it starts on contextInitialized and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jan,
On 5/19/2009 6:54 PM, Jan Peters wrote:
If you don't include the Flash document embedded in the HTML document,
does MSIE still crash? Try simply using HTML comments to remove it:
!--
embed src= /
- --
unfortunately to no avail.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pappu,
On 5/20/2009 1:20 AM, pappu wrote:
Yes I do mean Tomcat 5.0. The reason why we are having this version is
because we have Business Objects (Analytics Tool) configured to run on
tomcat and it only supports for Tomcat 5.0 and Tomcat 5.5. When
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 5/19/2009 3:04 PM, David kerber wrote:
I have a section of code in a frequently-called (~3.5 million times
per day) servlet where I had to process based on a parameter that
could take one of 6 different single-character string values. I
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 5/19/2009 3:04 PM, David kerber wrote:
I have a section of code in a frequently-called (~3.5 million times
per day) servlet where I had to process based on a parameter that
could take one of 6 different
I am following this thread with great interest. I have a similar issue as
Vishwajit and have resorted to adding the connectionTimeout to get rid of a
large number of RUNNABLE threads.
But mod_jk does not like tomcat threads timing out and logs the message
increase the backend idle connection
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance: switch vs if ... else if
Can you point me to a byte code interpreter so I could look at this?
The javap tool in the JDK will display the byte codes. (I use it a lot.) If
you want, go ahead and send me the class
Did you get this working? I too have the same need.
BTW, how to you get the error in the output? I don't see any console or log
errors just failure to login in the browser.
-Dave
maffittd wrote:
I've been reading the tomcat 5.5 doc and searching MARC but still have
questions about
1) If you want to analyze your original problem, you need to get back to
the original situation, i.e. without connectionTimeout. It doesn't make
much sense to guess about the original problem by looking at something
very different.
[Pantvaidya, Vishwajit] Yes - I have already initiated
On Thu, May 21, 2009 at 11:43:44AM -0700, dahoffer wrote:
Did you get this working? I too have the same need.
I'm a bit late to this thread but I can attest it does work, although I am
using Tomcat 6. You may want to refer to this (apologies if it was already
shared):
On 21.05.2009 20:59, Pantvaidya, Vishwajit wrote:
3) I think I already indicated that you do not want to look at entries
in TIME_WAIT state. This state is special and not related to any threads
[Pantvaidya, Vishwajit] My netstat o/p had FIN_WAIT and CLOSE_WAIT, but not
TIMED_WAIT. Did some
Dear Christopher,
I found the cause for my troubles:
http://support.microsoft.com/kb/927917/en
The taglib uses
document.body.appendChild
which causes IE 7 to crash :( Microsoft states as workaround to upgrade
to IE 8, that is ironya very good solution/irony
You helped me with your hint:
Thanks that did the trick!
-Dave
Eric Lenio-2 wrote:
On Thu, May 21, 2009 at 11:43:44AM -0700, dahoffer wrote:
Did you get this working? I too have the same need.
I'm a bit late to this thread but I can attest it does work, although I am
using Tomcat 6. You may want to refer to
Hello,
We have a struts based application running on a Tomcat 6 server sitting
behind an Apache HTTPD Server.
I'm experiencing problems uploading big files on it: after around 30
minutes (nearly exactly 30 minutes!) the upload stops.
I've tried to solve them with several combinations but until
I'm tempted to say that it should be removed if it's unstable. I don't
know that much about the guts of Tomcat but we've seen errors thrown by
some of those classes in the commits.
Thanks for your advice on the matter. I think we'll run with
xmlValidation=false from now on.
- Julian
Mark
Hi All,
Can anyone help me configuring the Server Side Include (SSI) in Tomcat 6.
For enabling SSI I removed the commented blocks in the web.xml for SSI too
but still i am not able to find.
I tried in the google search but I am not able to get the exact answer, can
anyone give me some
From: Patrick Herber [mailto:patrick.her...@ticino.com]
Subject: Upload stop after 30 minutes: Processing of multipart/form-
data requestfailed. Stream ended unexpectedly
I'm experiencing problems uploading big files on it: after around 30
minutes (nearly exactly 30 minutes!) the upload
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, May 21, 2009 10:05 AM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
Vishwajit,
On 5/20/2009 3:01
On 22.05.2009 00:19, Pantvaidya, Vishwajit wrote:
[Pantvaidya, Vishwajit] I will set
- cachesize=1 (doc says jk will autoset this value only for worker-mpm and we
use httpd 2.0 prefork)
You don't have to: JK will discover this number for the Apache web
server automatically and set the pool
Hi,
I am using a tomcat tailer which needs the file name to be the same and not
changinging (Dont want to see the Date in the file name). hence i want a
solution to have the logs rotated as well as the file name of the active log
files to remain the same Do we have a solution like it?
When i
if alternate algorithm can be made to define and require elements
ELEMENT web-app , ELEMENT auth-constraint, ELEMENT auth-method within deployed
web.xml then
1)remove all DTD's and remove the flag
or
2)keep the DTDs and enable the flag
?
Martin Gainty
Microsoft says you are putting script not in body but in td (Table Data)
element e.g.
html
body
table
tr
td
script type=text/Javascript
var d =
any direction provided would be based on implementing SSI either thru Servlet
OR Filter specifically
Servlet based SSI support is implemented using the class
org.apache.catalina.ssi.SSIServlet. Traditionally, this servlet
is mapped to the URL pattern *.shtml.
Filter based SSI support is
Hi all,
I need to turn on SSI to host a simple html site which uses it.
I shut down TC.
In ~conf/web.xml, I uncommented both the servlet and servlet-mapping
XML for ssi. However, when I restarted TC, I get the following
Exception for every application present in webapps (this one is for
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Thursday, May 21, 2009 3:37 PM
To: Tomcat Users List
Subject: Re: Running out of tomcat threads - why many threads in
RUNNABLEstage even with no activity
On 22.05.2009 00:19, Pantvaidya, Vishwajit wrote:
I am just getting started with Tomcat and have been asked to take on the
administration of our Tomcat servers at our college. I am not one of the
developers, just the administrator. So far everything has gone pretty
smoothly except for getting everything to run proxied via Apache (at least
the
On 21-May-2009, at 12:32, Rainer Jung wrote:
On 20.05.2009 17:33, Markus Schönhaber wrote:
Andre-John Mas:
this is not the ideal setup, I don't have any control over this. At
the same time I see that using mod_proxy, by way of ProxyPass, means
that the Tomcat server does not know what
Thanks for your reply. I tried it by uncommenting SSI servlet but I am
getting the following error:
java.lang.SecurityException: Servlet of class
org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded by
this web application
Can you give any idea regarding this. I am trying to
I am getting the same error.any suggestion please.
On Thu, May 21, 2009 at 9:38 PM, Ken Bowen kbo...@als.com wrote:
Hi all,
I need to turn on SSI to host a simple html site which uses it.
I shut down TC.
In ~conf/web.xml, I uncommented both the servlet and servlet-mapping XML
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com]
Subject: Re: Configuring SSI in tomcat 6
java.lang.SecurityException: Servlet of class
org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded
by this web application
Read the Tomcat SSI doc:
From: Ken Bowen [mailto:kbo...@als.com]
Subject: SSI configuration
May 21, 2009 9:31:58 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory docs
java.lang.SecurityException: Servlet of class
org.apache.catalina.ssi.SSIServlet is
From: J. Zimmerman [mailto:john.z...@gmail.com]
Subject: Apache 2.2 to Tomcat 6 via proxy_ajp
The wrench in the works is that we want to do virtual hosting through
Apache and not have the appname appended to it. The Apache virtual
hosted URL's will be the ones exposed to the public.
Do
61 matches
Mail list logo