Re: tomcat6 ProgrammaticLogin

2012-05-10 Thread tomaz
Dne 9.5.2012 15:46, piše Pid *: On 9 May 2012, at 13:47, tomaz tomaz.majerh...@arnes.si wrote: ProgrammaticLogin Is it a library or framework? I've never heard of it. p - To unsubscribe, e-mail:

Re: tomcat6 lookup for remote EJB on glassfish

2012-05-10 Thread tomaz
Dne 9.5.2012 15:48, piše Pid *: On 9 May 2012, at 09:12, tomaz tomaz.majerh...@arnes.si 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? When I'm using standalone client I get it but inside web application I can't

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 allstar...@gmail.com 2012/4/30 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED

Re: Enabling compression in embedded tomcat 7

2012-05-10 Thread Konstantin Kolinko
2012/5/10 Adam Gordon adam.n.gor...@gmail.com: 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

Re: tomcat pausing and process killed

2012-05-10 Thread Konstantin Kolinko
2012/5/9 Miguel Gonzalez miguel_3_gonza...@yahoo.es: 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

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

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: Connector scheme=http address=a.b.c.d port=8080 compression=on enableLookups=false

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

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

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 often

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

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

AW: Maximum number of sessions

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

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 knst.koli...@gmail.comwrote: 2012/5/10 Adam Gordon adam.n.gor...@gmail.com: I see XML options for enabling compression but am not seeing how this is done programmatically with an embedded

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

2012-05-10 Thread Mark Thomas
Jesse Farinacci jie...@gmail.com 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: Connector scheme=http address=a.b.c.d port=8080

Re: Maximum number of sessions

2012-05-10 Thread Mark Thomas
Thomas Rohde t...@ordix.de wrote: -Ursprüngliche Nachricht- Von: Mark Thomas ma...@apache.org Gesendet: Do 10.05.2012 15:55 Betreff: Re: Maximum number of sessions An:Tomcat Users List users@tomcat.apache.org; On 10/05/2012 14:45, Thomas Rohde wrote: Hi! Is

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 ma...@apache.org 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? -

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 dol.jar

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 ma...@apache.org 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

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.

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 tomaz.majerh...@arnes.si wrote: ProgrammaticLogin Is it a library or framework? I've never heard of it. As I know it is a library, so

Re: tomcat6 lookup for remote EJB on glassfish

2012-05-10 Thread Jose María Zaragoza
2012/5/10 tomaz tomaz.majerh...@arnes.si: Dne 9.5.2012 15:48, piše Pid *: On 9 May 2012, at 09:12, tomaz tomaz.majerh...@arnes.si 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

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 assume

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 Jon Drukman
Pid pid at 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

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 ma...@apache.org 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

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 many

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Caldarale, Charles R Chuck.Caldarale at 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

Re: Connection timeout

2012-05-10 Thread Pid
On 10/05/2012 21:40, Jon Drukman wrote: Caldarale, Charles R Chuck.Caldarale at 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?

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 Jon Drukman
Pid pid at 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: 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, and

Re: Connection timeout

2012-05-10 Thread Jon Drukman
Caldarale, Charles R Chuck.Caldarale at 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

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

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

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 j...@cluttered.com wrote: Caldarale, Charles R Chuck.Caldarale at unisys.com