Re: Connection timeout

2012-05-10 Thread Igor Cicimov
Typing this from my phone so sorry for top posting no other option. You might also check your garbage collection which can introduce some pauses in some cases. Just a thought ... On May 11, 2012 7:26 AM, "Jon Drukman" wrote: > Caldarale, Charles R unisys.com> writes: > > > Using JConsole or Vis

Re: Slow downloads through mod_jk on Windows XP

2012-05-10 Thread Andy Wang
So I cannot reproduce the slow down to 4-5MB/s on the same VM I was able to reproduce it on once I copied the VM to an adequate vmware server. But I do see some neat numbers in case people care. I ran with ab -5 directly against apache, against a url mapped to ajp as well as direct to the htt

Re: Slow downloads through mod_jk on Windows XP

2012-05-10 Thread Andy Wang
I have solid numbers that I will e-mail in a follow up by itself so it's not lossed in the shuffle. Some answers to the comments inline. Thanks, Andy Do you mean that Tomcat performance appears to be the same regardless of version? That's both good and bad... I thought there were some perfo

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Caldarale, Charles R unisys.com> writes: > Using JConsole or VisualVM would be a good start. OK, I'll take a look at those. > > There's only one app running on this tomcat, if that makes > > any difference. > > Does it connect to a database (or any other external resource)? > If so, are you

RE: Connection timeout

2012-05-10 Thread Caldarale, Charles R
> From: Jon Drukman [mailto:j...@cluttered.com] > Subject: Re: Connection timeout > Is there any way to find out how many threads are being used > at a given moment? Using JConsole or VisualVM would be a good start. Either of those will let you see what's going on with threads, heap memory, a

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Pid pidster.com> writes: > The basic point we're making is that you are twiddling the wrong knobs. OK, good to know. > If you want to handle more connections, increase the size of the thread > pool that handles requests, don't increase the size of the queue of > requests waiting to be handled.

Re: how can i conect apache toncat 7 to oracle 10 g or oracle 11 g an adobe

2012-05-10 Thread Pid
On 10/05/2012 21:33, Reissner Pabón wrote: > how can i conect apache toncat 7 to oracle 10 g or oracle 11 g Define an appropriately configured JDBC DataSource in server.xml. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Connection timeout

2012-05-10 Thread Pid
On 10/05/2012 21:40, Jon Drukman wrote: > Caldarale, Charles R unisys.com> writes: > >> You keep contradicting yourself: is it a massive box, or can it >> only support a miniscule number of threads? >> Pick one. > > Where did I say it could only support a miniscule number of threads? > I'm sor

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Caldarale, Charles R unisys.com> writes: > You keep contradicting yourself: is it a massive box, or can it > only support a miniscule number of threads? > Pick one. Where did I say it could only support a miniscule number of threads? I'm sorry if I accidentally gave that impression. It's a ma

RE: Connection timeout

2012-05-10 Thread Caldarale, Charles R
> From: Jon Drukman [mailto:j...@cluttered.com] > Subject: Re: Connection timeout > > Do you really want to queue up requests, rather than just accepting them > > and assigning them to threads? > Well, I assume at some point I may run out of threads. > > * 400 is a guess - I've got no idea how

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, On Thu, May 10, 2012 at 2:37 PM, Mark Thomas wrote: > I've had a good look at the code and I can't see anything that jumps out > as the cause of this. Does this happen as soon as Tomcat starts, after a > while, after a reload, after something else? It happens when the browser makes a

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Pid pidster.com> writes: > Not really. Did you change the connectionTimeout downwards from the > default 60 secs to 3 secs? Yes. Although the original version of the file was 20 seconds. The clients (which I wrote) all have a 3 second connect timeout, so it seemed to make sense to make the se

Re: Slow downloads through mod_jk on Windows XP

2012-05-10 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, On 5/8/12 6:41 PM, Andy Wang wrote: Initial benchmarks seem to show that the behavior between tomcats is not an issue. Do you mean that Tomcat performance appears to be the same regardless of version?

Re: Connection timeout

2012-05-10 Thread Pid
On 10/05/2012 20:06, Jon Drukman wrote: > I have a commercial app running Tomcat 6. I don't really know anything > about Tomcat, so I need some help with performance tuning. > > What happens is that a small percentage of connections from our client > machines just timeout on the connect. I assum

Re: tomcat6 lookup for remote EJB on glassfish

2012-05-10 Thread Jose María Zaragoza
2012/5/10 tomaz : > Dne 9.5.2012 15:48, piše Pid *: >> On 9 May 2012, at 09:12, tomaz wrote: >> >>> I'm struggling to get remote EJB from lookup, but with no success, is it >>> posible to this in Apache Tomcat/6.0.18? >>> I'm interested about how you solve this issue . If you find the solution,

Re: tomcat6 & ProgrammaticLogin

2012-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomaz, On 5/10/12 2:53 AM, tomaz wrote: > Dne 9.5.2012 15:46, piše Pid *: >> On 9 May 2012, at 13:47, tomaz wrote: >> >>> ProgrammaticLogin >> >> Is it a library or framework? I've never heard of it. > > As I know it is a library, so the class >

Connection timeout

2012-05-10 Thread Jon Drukman
I have a commercial app running Tomcat 6. I don't really know anything about Tomcat, so I need some help with performance tuning. What happens is that a small percentage of connections from our client machines just timeout on the connect. I assume I'm running into some limitation in Tomcat. Her

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Mark Thomas
On 10/05/2012 16:57, Jesse Farinacci wrote: > Greetings, > > On Thu, May 10, 2012 at 11:41 AM, Mark Thomas wrote: >> The thing that doesn't make sense yet is that Tomcat is trying to read from >> a WAR (or possibly a JAR) but the app should be unpacked. With that in mind: >> - requests for what

RE: tomcat6 lookup for remote EJB on glassfish

2012-05-10 Thread Caldarale, Charles R
> From: tomaz [mailto:tomaz.majerh...@arnes.si] > Subject: Re: tomcat6 lookup for remote EJB on glassfish > Yes it is true, but if you put some jar's in tomcat/lib it could work, > so what I did is tu put this jars in a tomcat lib: > javax.ejb.jar > ejb-container.jar > deployment-common.jar > d

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, On Thu, May 10, 2012 at 11:41 AM, Mark Thomas wrote: > The thing that doesn't make sense yet is that Tomcat is trying to read from a > WAR (or possibly a JAR) but the app should be unpacked. With that in mind: > - requests for what resources trigger this problem? > - where is that res

Re: Maximum number of sessions

2012-05-10 Thread Mark Thomas
Thomas Rohde wrote: >-Ursprüngliche Nachricht- >Von: Mark Thomas >Gesendet: Do 10.05.2012 15:55 >Betreff: Re: Maximum number of sessions >An:Tomcat Users List ; >> On 10/05/2012 14:45, Thomas Rohde wrote: >> > Hi! >> > >> > Is it possible to configure an upper limi

Re: org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Mark Thomas
Jesse Farinacci wrote: >Greetings, > >I'm running Apache Tomcat 7.0.27 on Linux 2.6.32.x kernel, where >Tomcat reports at startup: > > Loaded APR based Apache Tomcat Native library 1.1.22 > >and Connector definitions look like: > >compression="on" enableLookups="false" URIEncoding="UTF-

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Adam Gordon
Perfect. Thanks. --adam http://gordonizer.com On Thu, May 10, 2012 at 5:16 AM, Konstantin Kolinko wrote: > 2012/5/10 Adam Gordon : > > I see XML options for enabling compression but am not seeing how this > > is done programmatically with an embedded tomcat instance. thanks. > > > > Look at

AW: Maximum number of sessions

2012-05-10 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von:Mark Thomas Gesendet: Do 10.05.2012 15:55 Betreff:Re: Maximum number of sessions An: Tomcat Users List ; > On 10/05/2012 14:45, Thomas Rohde wrote: > > Hi! > > > > Is it possible to configure an upper limit for the number of sessions >

Re: tomcat pausing and process killed

2012-05-10 Thread Pid
On 10/05/2012 13:55, Miguel Gonzalez wrote: > I usually prefer to have software packaged because I can get software > security updates I'm not sure that this is a good strategy for Tomcat installations. Some distro's are very slow about updating their packages. p -- [key:62590808] signat

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Pid
On 10/05/2012 00:07, Adam Gordon wrote: > I see XML options for enabling compression but am not seeing how this > is done programmatically with an embedded tomcat instance. thanks. http://www.catb.org/~esr/faqs/smart-questions.html p -- [key:62590808] signature.asc Description: OpenPGP

Re: Maximum number of sessions

2012-05-10 Thread Mark Thomas
On 10/05/2012 14:45, Thomas Rohde wrote: > Hi! > > Is it possible to configure an upper limit for the number of sessions > in Tomcat? Thought the Context would be the right place for such a > configuration parameter, but I couldn't find anything like this. It is on the Manager, not the Context.

RE: tomcat pausing and process killed

2012-05-10 Thread Caldarale, Charles R
> From: Miguel Gonzalez [mailto:miguel_3_gonza...@yahoo.es] > Subject: Re: tomcat pausing and process killed > Do you suggest using a rpm (I'm running Centos 5.2) Definitely not. If you use a 3rd-party repackaged version of Tomcat, you'll need to get support from that 3rd party, since they oft

Maximum number of sessions

2012-05-10 Thread Thomas Rohde
Hi! Is it possible to configure an upper limit for the number of sessions in Tomcat? Thought the Context would be the right place for such a configuration parameter, but I couldn't find anything like this. Thomas - To unsubscr

Re: tomcat pausing and process killed

2012-05-10 Thread Miguel Gonzalez
It makes sense. This tomcat 5.5 is a tarball from Apache. Do you suggest using a rpm (I'm running Centos 5.2) which probably will be Tomcat 6.x or download Tomcat 7 from Apache? I usually prefer to have software packaged because I can get software security updates but I'm from HTTP Apache a

org.apache.coyote.http11.AbstractHttp11Processor.process Error processing request

2012-05-10 Thread Jesse Farinacci
Greetings, I'm running Apache Tomcat 7.0.27 on Linux 2.6.32.x kernel, where Tomcat reports at startup: Loaded APR based Apache Tomcat Native library 1.1.22 and Connector definitions look like: The web application was deployed via the manager application, and it is unpacked into ROOT/

Re: tomcat pausing and process killed

2012-05-10 Thread André Warnier
Miguel, just a couple of general remarks. Tomcat is an open-source project, developed and supported by volunteers. These volunteers do not have all the time in the world, so they tend to focus first on the current Tomcat version (7.x), a bit less on the previous version (6.x), and much less on

Re: tomcat pausing and process killed

2012-05-10 Thread Konstantin Kolinko
2012/5/9 Miguel Gonzalez : > > I have tomcat 5.5.27 and jdk 1.5.0_17 > (..) > > May 8, 2012 12:03:48 PM org.apache.tomcat.util.http.Parameters > processParameters > WARNING: Parameters: Character decoding failed. Parameter skipped. > >(...) > > I will check it, however I don't see in the access

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Konstantin Kolinko
2012/5/10 Adam Gordon : > I see XML options for enabling compression but am not seeing how this > is done programmatically with an embedded tomcat instance.  thanks. > Look at Connector.setProperty(name, value). That method is what should be called by digester that parses the XML file. Best rega

Re: mod_jk recovery when tomcat killed

2012-05-10 Thread Agnieszka Allstar
I've spent few days trying to figure out what's going on but I give up. I've tried boosting max_packet_size and few other properties but with no success. 2012/4/30 Agnieszka Allstar > > > 2012/4/30 Christopher Schultz > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Kate, >> >> On 4/