RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
, Michal Singer

RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
transfer is slow but then it is faster -Original Message- From: Pid [mailto:p...@pidster.com] Sent: ה 28 יולי 2011 11:16 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat On 28/07/2011 07:31, Michal Singer wrote: Regarding the question I asked on downloading large

RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
To: Tomcat Users List Subject: Re: fail to download large static files in tomcat On 28/07/2011 09:19, Michal Singer wrote: What works? When using nio connector with this parameter useSendFile=false, the load of large static files works fine. Before I set it to false it failed. Are you still

RE: fail to download large static files in tomcat

2011-07-03 Thread Michal Singer
30 יוני 2011 18:45 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: This was the configuration I had in the server.xml which did not work for large files: Connector executor=AgentExecutor port=8088 protocol=org.apache.coyote.http11

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
...@unisys.com] Sent: ג 28 יוני 2011 15:51 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: fail to download large static files in tomcat From the tomcat documentation I read this useSendFile is default

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
and it didn't work as well. And also ftp works fine. Thanks, Michal -Original Message- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining the useSendFile - it did not help in transferring

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
? Though I tried other clients and it didn't work as well. And also ftp works fine. Thanks, Michal -Original Message- From: Michal Singer Sent: ה 30 יוני 2011 09:39 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I tried defining

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
of course, I prefer it to work on nio. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ה 30 יוני 2011 13:30 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... I am using nio connector. Actually this was a very

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
version of Tomcat this is - and paste the first few lines of the Tomcat startup messages, from the logfile (to find out whether you are using APR or not) Sorry if you already said all that, I'm too lazy to scroll back through the messages. Michal Singer wrote: This was the configuration I had

RE: fail to download large static files in tomcat

2011-06-29 Thread Michal Singer
To: Tomcat Users List Subject: RE: fail to download large static files in tomcat From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: fail to download large static files in tomcat From the tomcat documentation I read this useSendFile is default to true and it is defined under nio

RE: fail to download large static files in tomcat

2011-06-29 Thread Michal Singer
Never mind. I understand now what you mean. Please ignore my previous question. Thanks, -Original Message- From: Michal Singer Sent: ד 29 יוני 2011 09:22 To: Tomcat Users List Subject: RE: fail to download large static files in tomcat Hi, I didn't understand where you recommended

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
? Or is there another way to configure the use of static files? Thanks, Michal -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
in tomcat Michal Singer wrote: The useSendfile relates to connectors, the configuration I understand is needed is in under Engine Host Context (Context docBase=../../work/bundlespath=/bundles) Can you explain how the useSendfile relates to static files

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download static files. I have clients which will contact tomcat using wget. I saw in the following link, that this can be done in tomcat by configuring the server.xml and adding a Context under Host with the path to where the

RE: fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
-sa.com] Sent: ב 27 יוני 2011 15:39 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: ... This worked fine, the client succeeded to download the files, but I need it to work with large files (more then 500MB). This failed. What failed ? How

problems with class loader on different web applications

2011-04-26 Thread Michal Singer
a different web application. If I create a new object the right class loader is used but if I check the class loader of the thread it is a different class loader. Any ideas what this means? What should be done? Thanks, Michal Singer Expand Networks 6 Hanechoshet Street Tel Aviv, Israel 69710

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
as I need to in the code, it returns false, and this causes problems. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: ג 26 אפריל 2011 15:40 To: Tomcat Users List Subject: RE: problems with class loader on different web applications From: Michal

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
I am trying to avoid upgrade. This version was tested thoroughly and if I am not sure that this is a bug in tomcat, I prefer not to upgrade the tomcat since the upgrade is not trivial -Original Message- From: Michal Singer Sent: ג 26 אפריל 2011 16:13 To: Tomcat Users List Subject: RE

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
:36 To: Tomcat Users List Subject: RE: problems with class loader on different web applications From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: problems with class loader on different web applications This version was tested thoroughly Apparently not, or you wouldn't

RE: tomcat class loaders problem

2011-04-17 Thread Michal Singer
: Re: tomcat class loaders problem On 4/17/11 5:32 AM, Michal Singer wrote: Hi, I am using tomcat version: apache-tomcat-6.0.18 Upgrade to a newer version of Tomcat 6 and then carefully monitor the logs during a webapp reload cycle. p I have a problem on raise some times (hard to reproduce

tomcat class loaders problem

2011-04-16 Thread Michal Singer
succeed. Note that the parent class loader is the same instance. Does anyone know how to solve this problem? or how to work around it? Please note that when I restart the tomcat, this does not happen anymore. Thanks, Michal Singer

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-16 Thread Michal Singer
The engine class only does some initialization, we did not implement it all :-) Thanks Caldarale, Charles R wrote: From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: Accumulation of Request Processors objects causes tomcat stuck? Uploaded server.xml Your Executor

Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Hi, i am running an application on tomcat which gets stuck when processing incoming messages after a while. I see accumulation of request processors objects in jconsole under: Catalina\RequestProcessor\http-8080. What do these objects mean, what does it mean that they accumulate? can it explain

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
. While you're at it, tell us the Tomcat version, JVM version, and platform you're running on. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal, On 12/15/2009 9:55 AM, Caldarale, Charles R wrote: From: Michal Singer [mailto:michal.sin...@expand.com] Subject

RE: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
Uploaded server.xml Caldarale, Charles R wrote: From: Michal Singer [mailto:michal.sin...@expand.com] Subject: Re: Accumulation of Request Processors objects causes tomcat stuck? i am using Executor in the configuration of the connectors Might want to post your server.xml so we can

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
acceptorThreadCount=1 redirectPort=8443 / Executor name=AgentExecutor threadPriority=Thread.NORM_PRIORITY namePrefix=agent/ markt-2 wrote: Michal Singer wrote: I use tomcat 6 with nio connectors. i run a heavy load of data and after a while the tomcat gets stuck and stops processing requests from

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
why? was there a bug regarding this issue which was fixed there? thanks, Michal markt-2 wrote: Michal Singer wrote: Tomcat version? 6.0.14 Try 6.0.18 Mark JDK version? 1.5.0_12 OS? Microsoft Windows Server 2003 Connector configuration settings? Connector port=8080 executor

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
: From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: Re: tomcat gets stuck after a load for streams writing why? was there a bug regarding this issue which was fixed there? Possibly, notably this one: https://issues.apache.org/bugzilla/show_bug.cgi?id=44620 However, if you're

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
. when i use the jmeter to send after tomcat stops processing requests, it does not get the request when i use my own simulator which writes a regular string using http client - the tomcat does receive the request Caldarale, Charles R wrote: From: Michal Singer [mailto:[EMAIL PROTECTED] Subject

tomcat gets stuck after a load for streams writing

2008-12-06 Thread Michal Singer
I use tomcat 6 with nio connectors. i run a heavy load of data and after a while the tomcat gets stuck and stops processing requests from client. I posted before regarding this and was asnwered that the problem may be in my server

RE: Tomcat request processing gets stuck

2008-12-04 Thread Michal Singer
I checked the stuck and i got to a few conclusions: after tomcat stops receiving messages it will receive some kinds and some not: 1. if i use http client and write a string directly the tomcat will receive the data 2. if i use http client and write a stream, the tomcat will not receive the data

Re: Tomcat request processing gets stuck

2008-11-19 Thread Michal Singer
with Executor while working with nio connector? 4. can you send me an example of nio good configuration? Thank you very much, Michal Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal, Michal Singer wrote: I am not sure the stuck as any thing to do

Re: Tomcat request processing gets stuck

2008-11-19 Thread Michal Singer
performance. I am checking my connectors configuration as well as my application getting stuck. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michal, Michal Singer wrote: 1. request processors are equivalent to threads? Yes. The only thing that can execute

Re: Tomcat request processing gets stuck

2008-11-18 Thread Michal Singer
Hi. I am not sure the stuck as any thing to do with the Request Processor accumulation. I work with nio connector. I use acceptCount=200 so maybe this is why i see the 200 Request Processors. This is the full configuratin i use for connector: Connector executor=AgentExecutor useExecutor=true

Tomcat request processing gets stuck

2008-11-16 Thread Michal Singer
Hi. I use a simulator to send a load of requests to tomcat. After an hour when sending about 500 messages per minute to tomcat, i see that the messages from the simulator or not processed by tomcat. I see that the messages arrive but no process is done in tomcat (using ethereal). When i checked

Re: Tomcat request processing gets stuck

2008-11-16 Thread Michal Singer
Hi, 1. Please explain what do you mean by thread dumps? 2. why do you think this is an application problem? Thanks, Michal markt-2 wrote: Michal Singer wrote: Any ideas why the stuck, what can i do to check this? can there be a problem with my tomcat configuration? Almost certainly

Re: Tomcat request processing gets stuck

2008-11-16 Thread Michal Singer
I didn't think it is a bug in tomcat. i thought of some problem in configuration I use for tomcat. maybe the default configuration is not good for load?? markt-2 wrote: Michal Singer wrote: Hi, 1. Please explain what do you mean by thread dumps? Google is your friend, as is http

How to add tomcat messages and System.out to log

2008-05-06 Thread Michal Singer
Hi. I am using tomcat 6 log4j configuration. I can't see the tomcat source files log messages in the log. and also i can't see the System.out in the log. I tried using: swallowOutput=true in the context file I also configured in the log4j.properties: log4j.logger.org.apache=DEBUG, FILE