> 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.
> 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: 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:
http://tomcat.apa
I am getting the same error.any suggestion please.
On Thu, May 21, 2009 at 9:38 PM, Ken Bowen 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
> for ssi.
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 figu
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 hostna
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 wa
> -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 w
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
do
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 imp
Microsoft says you are putting script not in body but in td (Table Data)
element e.g.
var d =
document.createElement('div');
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
_
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 s
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
> -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/2
> 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 uploa
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 suggestions
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 T
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
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
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 a very good solution
You helped me with your hint:
The parts of
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
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):
http://www.jspwiki
>
> 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
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 mak
> 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
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
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 singl
-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.
-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. Wh
-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:
>>
>>
>
> unfortunately to no avail.
MSIE still crashes? Ev
-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
-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. Th
-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 RU
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 havin
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
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=734454&view=rev
this is when Tomcat NIO serves up static content.
Filip
Christopher Schultz wrote:
-B
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 Apa
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
Socke
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 connec
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 org.apache.
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
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 ove
-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 po
> 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
-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 org.apache.tomcat.util.ne
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 "secu
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
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 ~60
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
> 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 i
> 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 func
> 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 CO
> 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
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 installe
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)
> >
>
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
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)
Thanks,
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
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
> la
Bill Barker wrote:
> "Julian Dunn" 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 discurage
61 matches
Mail list logo