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

RE: fail to download large static files in tomcat

2011-07-28 Thread Michal Singer
first time 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 o

RE: fail to download large static files in tomcat

2011-07-27 Thread Michal Singer
hanks for the answer. Thanks, Michal Singer

RE: fail to download large static files in tomcat

2011-07-02 Thread Michal Singer
] Sent: ה 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: > > protocol="org.apache.coyote.http11.Http11Nio

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 configurati

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
connector. So 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. > Ac

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
t that will close the connection. 2011/6/30 Michal Singer : > Hi, I also want to add that when I check the tomcat access log, I get: > 10.206.90.6 - - [30/Jun/2011:11:37:16 +0300] "GET > /bundles/vacc-AOS701b318-fl.tgz HTTP/1.0" 200 - > On the large file, the client receives

RE: fail to download large static files in tomcat

2011-06-30 Thread Michal Singer
r 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 the useSendFile - it did not help

RE: fail to download large static files in tomcat

2011-06-29 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 i

RE: fail to download large static files in tomcat

2011-06-28 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 recommend

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
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 > to true and it is

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
text under Engine->Host->Context: mailto:a...@ice-sa.com] Sent: ג 28 יוני 2011 14:33 To: Tomcat Users List Subject: Re: fail to download large static files in tomcat Michal Singer wrote: > The useSendfile relates to connectors, the configuration I understand is > needed is in under E

RE: fail to download large static files in tomcat

2011-06-28 Thread Michal Singer
The useSendfile relates to connectors, the configuration I understand is needed is in under Engine > Host > Context (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: ... > >

fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
arnier [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 fine, the client succeeded to download the files, but I need it > to work with large files (more then 500M

RE: fail to download large static files in tomcat

2011-06-27 Thread Michal Singer
arnier [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 fine, the client succeeded to download the files, but I need it > to work with large files (more then 500M

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 fil

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
יל 2011 16: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,

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
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: Mic

problems with class loader on different web applications

2011-04-26 Thread Michal Singer
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: 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 rep

tomcat class loaders problem

2011-04-16 Thread Michal Singer
re it should 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? >> >&

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 in the configuration of the connectors > >

Re: Accumulation of Request Processors objects causes tomcat stuck?

2009-12-15 Thread Michal Singer
27;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

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 t

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
reams. 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:[E

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
es R wrote: > >> 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/b

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 >> Co

Re: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Michal Singer
Tomcat version? 6.0.14 JDK version? 1.5.0_12 OS? Microsoft Windows Server 2003 Connector configuration settings? 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

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 (http://www.nabble.com/Tomcat-request-processing-gets-stuck-td20526

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 3

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? &g

Re: Tomcat request processing gets stuck

2008-11-19 Thread Michal Singer
work 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 s

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: After running a high load for about an hour, usin

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

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 co

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 t

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 log4j.