ClassLoader issues in multithreaded webapp ? TC5.0

2009-05-12 Thread katepl
Hi I'm using 5.0.28 (with java5 patch) running on java5 (SR9 AIX). My webapp is running on axis 1.2. When I start some threads to do the work in my web service, I'm getting errors like: Exception in thread "Thread-33" java.lang.NoClassDefFoundError: my.whatever.package.whatever.class Caused by:

RE: Preventing OutOfMemoryError: Java heap space

2009-05-12 Thread Peter Crowther
> From: André Warnier [...@ice-sa.com] > would it not be easier to catch the OOM exception and then return a > "sorry, server overloaded" page to the browser ? At that point, it's too late. A thread, somewhere in the system, tried to allocate some memory for an object and couldn't. This could h

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-12 Thread umeshkavade
Christopher, I got the solution. Thanks. Umesh -- View this message in context: http://www.nabble.com/Form-Based-Authentication-creates-user-session-before-it-is-authenticated--tp23455945p23515281.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-12 Thread umeshkavade
>No, you'd have to write your own authentication mechanism. Tomcat is >required to store the request that triggered authentication for re-play >after a successful authentication. If not the request, where else should >it be stored? Christopher, thanks for the reply. This is inline with my analys

Re: Preventing OutOfMemoryError: Java heap space

2009-05-12 Thread Todd Hivnor
>> But would it not be easier to catch the OOM exception and then >> return a "sorry, server overloaded" page to the browser ? > It's difficult to do that when the OOME may occur in Tomcat code, > outside of control of the webapp. Wow I had assumed I could always catch this type of exception.

RE: Unable to serialize delta request for sessionid [Tomcat 6.0.16 and jdk1.6.0_04]

2009-05-12 Thread Caldarale, Charles R
> From: athal berth [mailto:athal.be...@gmail.com] > Subject: Unable to serialize delta request for sessionid [Tomcat 6.0.16 > and jdk1.6.0_04] > > java.io.NotSerializableException: > mx.org.FIA.sij.util.ligas.LigasGraficas > I dont know if the problem is my configuration or the application, It

RE: Tomcat not closing threads

2009-05-12 Thread Caldarale, Charles R
> From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] > Subject: Re: Tomcat not closing threads > > I managed to get a thread dump during one such tomcat hangs. Most of > the threads are in the following status ... The ones you show are simply waiting for input from httpd; that's a pretty norma

RE: Preventing OutOfMemoryError: Java heap space

2009-05-12 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Preventing OutOfMemoryError: Java heap space > > > I'm going to add an explicit request for garbage > > collection, _before_ the memory becomes seriously > > depleted. To the OP: explicitly calling GC is a complete waste of time. You

Unable to serialize delta request for sessionid [Tomcat 6.0.16 and jdk1.6.0_04]

2009-05-12 Thread athal berth
Hello everyone: Unable to serialize delta request for sessionid [Tomcat 6.0.16 and jdk1.6.0_04] I have a Java Application running under Tomcat 6.0.16 [JDK 1.6.0_04]on Red Hat Enterprise Linux Server release 5.1. The application run apparently good but when i look in the catalina.out i see this:

Re: Performance with many small requests

2009-05-12 Thread David Kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests When (what java version) did those string operation optimizations happen? Sun's web page that talks about this (and explicitly says that string buffers are usually fast

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread André Warnier
No need to copy me personally, I also get the list. Michael Biebl wrote: ... Does anyone know, what the actual kernel limits are? Is that an absolute number or connection attempts / per timeframe? Is there a way to tweak this settings (e.g. via sysctl)? There I believe you are starting to ask

Re: Preventing OutOfMemoryError: Java heap space

2009-05-12 Thread André Warnier
Todd Hivnor wrote: From: Todd Hivnor [spambox_98...@yahoo.com] I would like to proactively avoid running out of heap space. I would like people get a "Server Too Busy" message, _before_ the heap is actually exhausted. I would rather serve 40 users well than 45 users poorly. Rather than moni

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Michael Biebl
2009/5/12 André Warnier : > Michael Biebl wrote: >> >> ... >>      ProxyRequests Off >>      ProxyVia On >>      ProxyPass /t/ ajp://localhost:8009/barcooServer/t/ >>      ProxyPass /ws/ ajp://localhost:8009/barcooServer/ws/ >>      ProxyPass /reports/ ajp://localhost:80

Re: Preventing OutOfMemoryError: Java heap space

2009-05-12 Thread Todd Hivnor
>> From: Todd Hivnor [spambox_98...@yahoo.com] >> I would like to proactively avoid running out of heap >> space. I would like people get a "Server Too Busy" >> message, _before_ the heap is actually exhausted. > >> I would rather serve 40 users well than 45 users >> poorly. > Rather than monito

Re: Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
I managed to get a thread dump during one such tomcat hangs. Most of the threads are in the following status ... "TP-Processor7" daemon prio=10 tid=00093ab0 nid=86 lwp_id=4866290 runnable [53c0..53c00dc0]     at java.net.SocketInputStream.socketRead0(Native Method)     at java.net.So

tomcat close_wait state and proxy error when connecting to my web application

2009-05-12 Thread orahi001
Hi, I have apache web server running on one box as a proxy server tomcat running on another box. The apache server connects to application server (tomcat) via proxy passthru parameter. The server running tomcat was recently rebooted. When it came back up I started tomcat but I can no longer con

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance with many small requests > > When (what java version) did those string operation optimizations > happen? Sun's web page that talks about this (and explicitly says > that string buffers are usually faster than direct str

Re: IE + Flash + mod_jk issue

2009-05-12 Thread Rainer Jung
On 12.05.2009 22:33, Stephen More wrote: > I have a flash application ( Macromedia Breeze Presentation ) that is > working fine when I access it directly from tomcat's port 8080. > > When I access it through apache using mod_jk, IE loads some of the > flash files, but not all. > The problem is onl

RE: requested resource not available

2009-05-12 Thread tomcat
Those are the requests I expected to see, they do correspond to the URLs I entered in the browser. I am deploying a preconfigured version of Pentaho that I found here: http://sourceforge.net/project/showfiles.php?group_id=140317&package _id=160028&release_id=648414 I deployed this exact same p

Re: Performance with many small requests

2009-05-12 Thread David kerber
Christopher Schultz wrote: On May 12, 2009, at 13:09, "Caldarale, Charles R" wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests From these tests, it looks like, under windows XP and java 1.5 any way, that atomics are always faster Try

IE + Flash + mod_jk issue

2009-05-12 Thread Stephen More
I have a flash application ( Macromedia Breeze Presentation ) that is working fine when I access it directly from tomcat's port 8080. When I access it through apache using mod_jk, IE loads some of the flash files, but not all. The problem is only appearing with IE, it is working fine with Firefox.

RE: requested resource not available

2009-05-12 Thread Caldarale, Charles R
> From: tom...@nym.hush.com [mailto:tom...@nym.hush.com] > Subject: RE: requested resource not available > > [r...@li54-122 bin]# less ../logs/localhost_access_log.2009-05- > 12.txt > 70.249.74.9 - - [12/May/2009:16:17:00 -0400] "GET / HTTP/1.1" 200 > 347 > 70.249.74.9 - - [12/May/2009:16:17:00 -0

RE: requested resource not available

2009-05-12 Thread tomcat
Ok, I did that and here is what I got: [r...@li54-122 bin]# less ../logs/localhost_access_log.2009-05- 12.txt 70.249.74.9 - - [12/May/2009:16:17:00 -0400] "GET / HTTP/1.1" 200 347 70.249.74.9 - - [12/May/2009:16:17:00 -0400] "GET /pentaho/ HTTP/1.1" 404 979 On Tue, 12 May 2009 15:11:15 -0500

RE: requested resource not available

2009-05-12 Thread Caldarale, Charles R
> From: tom...@nym.hush.com [mailto:tom...@nym.hush.com] > Subject: RE: requested resource not available > > I am not sure I have Tomcat logging set up correctly, > so I have not learned anything there. For a standard Tomcat installation (downloaded from tomcat.apache.org), there's really nothin

Re: Performance with many small requests

2009-05-12 Thread Christopher Schultz
On May 12, 2009, at 13:09, "Caldarale, Charles R" > wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests From these tests, it looks like, under windows XP and java 1.5 any way, that atomics are always faster Try it under 1.6; Sun made major

RE: requested resource not available

2009-05-12 Thread tomcat
Thank you for your help, Chuck. I get the message when trying to access the application through a browser. I did try with and without the firewall enabled on the server, and nothing changed. I am not sure I have Tomcat logging set up correctly, so I have not learned anything there. I am brand

RE: requested resource not available

2009-05-12 Thread Caldarale, Charles R
> From: tom...@nym.hush.com [mailto:tom...@nym.hush.com] > Subject: requested resource not available > > I am running Tomcat 5.5.26, Java 1.6.0_13, and Centos 5.2 64 bit. Thanks for telling us that; an amazing number of people fail to do so. > I am really stumped, getting "The requested resource

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance with many small requests > > How difficult are keepalives to implement? That would depend on your client. Looks like the Apache http client supports it, but I haven't used it. - Chuck THIS COMMUNICATION MAY CONTAI

requested resource not available

2009-05-12 Thread tomcat
I am running Tomcat 5.5.26, Java 1.6.0_13, and Centos 5.2 64 bit. I am really stumped, getting "The requested resource not available". I Googled and found quite items on this topic and everything points to an incorrect path. I have checked all the paths I can find, and am not finding the proble

Re: How to create a virtual host with war file without beeing created aROOT dir?

2009-05-12 Thread André Warnier
Caldarale, Charles R wrote: From: raistlink [mailto:ela...@gmail.com] Subject: How to create a virtual host with war file without beeing created aROOT dir? I've been developing an application with this structure of directories Care to tell us the version of Tomcat you're using? Or should we j

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Michael Biebl
2009/5/12 André Warnier : > Michael Biebl wrote: >> >> 2009/5/12 André Warnier : >>> >>> Michael Biebl wrote: Hi, first of all, I'd like to say hi, as I'm new to the list. I hope you can help me with the following problem I have. I run a stock Debian lenny install

Re: Is it possible to move Tomcat logfiles?

2009-05-12 Thread Jonathan Mast
Did CentOS setup /var and /usr on different partitions? If so then maybe it would be a good idea to place the logs some where on /var. What else will this server be used for aside from the Webserver? If nothing else and if /var and /usr are on the same partition, then I wouldn't alter the defaul

Re: Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
Just wondering if anyone got my message below? From: Chetan Chheda To: users@tomcat.apache.org Sent: Tuesday, May 12, 2009 12:03:49 PM Subject: Tomcat not closing threads Hello, I am having an issue where I could use some clarity. We are using apache 2.0.59

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance with many small requests > > That's good to know; that would be an incentive for me to migrate this > app to 1.6 and Tomcat 6. You don't need to move to Tomcat 6 to use a 1.6 JVM; you can use the Tomcat you already hav

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: RE: Virtual host configuration problems > > what has to happen when I need to add another > domain and application to this instance of Tomcat? A domain may have many webapps deployed for it. Each domain also has to have one default webapp

RE: How to create a virtual host with war file without beeing created aROOT dir?

2009-05-12 Thread Caldarale, Charles R
> From: raistlink [mailto:ela...@gmail.com] > Subject: How to create a virtual host with war file without beeing > created aROOT dir? > > I've been developing an application with this structure of directories Care to tell us the version of Tomcat you're using? Or should we just guess? The above

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests From these tests, it looks like, under windows XP and java 1.5 any way, that atomics are always faster Try it under 1.6; Sun made major improvements to synchroni

Re: Virtual host configuration problems

2009-05-12 Thread Hassan Schroeder
On Tue, May 12, 2009 at 10:13 AM, JDawg72 wrote: > > ... but what has to happen when I need to add another > domain and application to this instance of Tomcat? -- Hassan Schroeder hassan.schroe...@gmai

RE: Virtual host configuration problems

2009-05-12 Thread JDawg72
Thanks Chuck, that worked but what has to happen when I need to add another domain and application to this instance of Tomcat? Jeremy Caldarale, Charles R wrote: > >> From: JDawg72 [mailto:mr.j@hotmail.com] >> Subject: RE: Virtual host configuration problems >> >> >Your default webapp sho

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Performance with many small requests > > From these tests, it looks like, under windows XP and java 1.5 > any way, that atomics are always faster Try it under 1.6; Sun made major improvements to synchronization handling between 1

RE: Tomcat and Oracle connections

2009-05-12 Thread Martin Gainty
Here is configuration which would work for your TC environment http://forum.springsource.org/showthread.php?t=63392 One more link which will illustrate usage of OracleConnectionCacheImpl http://www.stanford.edu/group/coursework/stanfordoki/oracle/oracle/jdbc/pool/OracleConnectionCacheImpl.html f

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: RE: Virtual host configuration problems > > >Your default webapp should be located in /home/userId/public_html/ROOT > - > nowhere else, and its > element >>should be in > /home/userId/public_html/ROOT/META-INF/context.xml. > Also I am not cl

RE: How to configure Tomcat 6.0 with JAAS?

2009-05-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: How to configure Tomcat 6.0 with JAAS? > > ... though JBoss uses Tomcat as its default servlet container Unfortunately, JBoss does not use Tomcat's authentication - it has its own. When we wrote JAAS modules for us

Re: Tomcat (re-)packaging, relocation etc..

2009-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/12/2009 7:39 AM, André Warnier wrote: > I wonder if it is not time to "make peace" on this issue and maybe > trying to find a reasonable middle ground. > > An installation of the complete official Tomcat under > /usr/local/tomcatx.y, incl

Re: How to configure Tomcat 6.0 with JAAS?

2009-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/11/2009 11:16 PM, Caldarale, Charles R wrote: >> From: David Hoffer [mailto:dhoff...@gmail.com] >> Subject: Re: How to configure Tomcat 6.0 with JAAS? >> >> Next newbie question...will this be server agnostic? > > Unfortunately not. The

Re: Tomcat and Oracle connections

2009-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/11/2009 8:47 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Tomcat and Oracle connections >> >> I would highly recommend adding these two attributes to your >> : >> >>

Re: Performance with many small requests

2009-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/12/2009 12:27 AM, Caldarale, Charles R wrote: >> From: David Kerber [mailto:dcker...@verizon.net] >> Subject: Re: Performance with many small requests >> >> Incrementing a counter can't be much of a synchronization bottleneck, >> and if I

Tomcat not closing threads

2009-05-12 Thread Chetan Chheda
Hello, I am having an issue where I could use some clarity. We are using apache 2.0.59 and tomcat 5.5. We are having some growing pains with vendor specified modjk and tomcat settings. 1. Tomcat opens up a number of threads during some transactions but does not close them. Is this because the

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] Subject: Re: Performance with many small requests If you would share your test code, I would love to test it on some *nixes and darwins I have here; Here's the code I used to do the synch vs atomic tes

RE: Virtual host configuration problems

2009-05-12 Thread JDawg72
Thanks for you reply Chuck, I am using DailyRazor as my web hosting provider. The operating system is Linux kernel version 2.6.27.18-14, Tomcat version 5.5.26, and JVM is 1.5.0_15-b04. This is a private JVM configuration provided by DailyRazor. I purchased this server configuration because I a

How to create a virtual host with war file without beeing created a ROOT dir?

2009-05-12 Thread raistlink
Hi, I've been developing an application with this structure of directories mydir/html/ mydir/html/WEB-INF mydir/html/WEB-INF/classes mydir/html/WEB-INF/lib mydir/html/WEB-INF/web.xml At server.xml I've included this host:

RE: Newbie question about war file deployment

2009-05-12 Thread Caldarale, Charles R
> From: tomas_bar [mailto:barto...@gmail.com] > Subject: Newbie question about war file deployment > > I've generated a war file using GWT. I have placed it in the webapps > folder of the tomcat directory (which is installed locally). Tomcat version? JVM level? OS? What's the name of the .war f

RE: Virtual host configuration problems

2009-05-12 Thread Caldarale, Charles R
> From: JDawg72 [mailto:mr.j@hotmail.com] > Subject: Virtual host configuration problems > > That being said, I am having a problem configuring my web application > to load when I type www.mydomain.com in my browser address bar. > My application does work as long as I type www.mydomain.com/my

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Rainer Jung
On 12.05.2009 15:20, Michael Biebl wrote: > 2009/5/12 André Warnier : >> Michael Biebl wrote: >>> Hi, >>> >>> first of all, I'd like to say hi, as I'm new to the list. >>> >>> I hope you can help me with the following problem I have. >>> I run a stock Debian lenny installation with apache 2.2.9 and

Re: IIS tomcat connector plugin fail to reverse proxy.

2009-05-12 Thread eric tse
thanks On Tue, May 12, 2009 at 9:10 AM, Rainer Jung wrote: > On 12.05.2009 01:40, eric tse wrote: >> I am trying to use the IIS tomcat connector to act like a reverse proxy >> >> If I hit the IIS at /MWGAT >> >> it will forward the tomcat with /GAT >> >> >> However I fail to do this >> >> In the d

Re: Tomcat (re-)packaging, relocation etc..

2009-05-12 Thread David Smith
I think the real problem is in third party repackages that have a tendency to treat .jar files like any native binary library. The jar is placed somewhere and then three or four different symlinks get chained together to make it show up in all the places it's needed. I know why they do it -- they

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: Re: Performance with many small requests > > If you would share your test code, I would love to test it on > some *nixes and darwins I have here; Here's the code I used to do the synch vs atomic testing. The command line p

[OT] RE: Performance with many small requests

2009-05-12 Thread Peter Crowther
> From: David kerber [mailto:dcker...@verizon.net] > A typical client will have 2 to 5 items to send per > transaction (they're > actually lines from a data logger's data file), and each line > is done in > a separate POST request. The frequency of transactions varies widely, > but typically won't

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: Peter Crowther [mailto:peter.crowt...@melandra.com] Subject: RE: Performance with many small requests That said, if a client has multiple data items to send in rapid succession, does it accumulate those and batch them, or does it send each one as a different req

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] Just over 1000 total, 810 to the port that this application is using. "Should" be fine on Windows. That was my gut feeling too, but I'm glad to have it confirmed. The vast majority are showing a status of TIME_

RE: Performance with many small requests

2009-05-12 Thread Caldarale, Charles R
> From: Peter Crowther [mailto:peter.crowt...@melandra.com] > Subject: RE: Performance with many small requests > > That said, if a client has multiple data items to send in rapid > succession, does it accumulate those and batch them, or does it send > each one as a different request? Or does the

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Michael Biebl
2009/5/12 André Warnier : > Michael Biebl wrote: >> >> Hi, >> >> first of all, I'd like to say hi, as I'm new to the list. >> >> I hope you can help me with the following problem I have. >> I run a stock Debian lenny installation with apache 2.2.9 and tomcat >> 6.0.18 >> I'm using mod_proxy to forw

Re: IIS tomcat connector plugin fail to reverse proxy.

2009-05-12 Thread Rainer Jung
On 12.05.2009 01:40, eric tse wrote: > I am trying to use the IIS tomcat connector to act like a reverse proxy > > If I hit the IIS at /MWGAT > > it will forward the tomcat with /GAT > > > However I fail to do this > > In the documentation > http://tomcat.apache.org/connectors-doc/generic_howt

RE: Analyzing Tomcat related VM crash?

2009-05-12 Thread Peter Crowther
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Look for a GC fix (1.6.0_13), or try the child vm, or try switching to > another GC algorithm, like CMS. (Coming to the thread late, sorry if this has all already been said). Also consider bad RAM, or memory corruption caused by some native c

RE: Form-based Container Security with SSL

2009-05-12 Thread Martin Gainty
if your goal is encryption.. i found this explanation from Stanford helpful in understanding kerberos/ssh/ssl http://pangea.stanford.edu/computerinfo/resources/network/security/safeguards/kerberos.html HTH Martin __ Disclaimer and Confidentiality/Ver

Re: Analyzing Tomcat related VM crash?

2009-05-12 Thread Rainer Jung
On 12.05.2009 01:13, Andre-John Mas wrote: > I have added the details to the end of this e-mail. > # SIGSEGV (0xb) at pc=0x06546578, pid=7456, tid=2349013936 > Current thread (0x08060800): GCTaskThread [stack: > 0x8bfb1000,0x8c032000] [id=7459] > Other Threads: > 0x8bd97800 VMThread [stack:

RE: Performance with many small requests

2009-05-12 Thread Peter Crowther
> From: David kerber [mailto:dcker...@verizon.net] > Just over 1000 total, 810 to the port that this application is using. "Should" be fine on Windows. > The vast majority are showing a status of TIME_WAIT, a dozen or so in > ESTABLISHED and one (I think) in FIN_WAIT_1. Sounds fair enough. The

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread André Warnier
Michael Biebl wrote: Hi, first of all, I'd like to say hi, as I'm new to the list. I hope you can help me with the following problem I have. I run a stock Debian lenny installation with apache 2.2.9 and tomcat 6.0.18 I'm using mod_proxy to forward the request to tomcat using ajp. The apache vho

Re: Confused by mpm/mod_jk

2009-05-12 Thread Rainer Jung
On 12.05.2009 02:09, Bill Davidson wrote: >>The 150 threads do not make a good fit to your MaxClients of 256. If >>your Apache is mainly forwarding requests to Tomcat, then it doesn't >>make much sense to allow 256 parallel connections to Apace, but only 150 >>on the backend. That will result in so

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] In my original post, I posted a bunch of numbers about network and other possible bottlenecks, and what it boiled down to was that neither my firewall load, nor total internet connection bandwidth were close to their limits.

Virtual host configuration problems

2009-05-12 Thread JDawg72
I have to admit that I am new to application server administration, and being a programmer, I have a new found respect for the administrators I work with. That being said, I am having a problem configuring my web application to load when I type www.mydomain.com in my browser address bar. My app

RE: Performance with many small requests

2009-05-12 Thread Peter Crowther
> From: David kerber [mailto:dcker...@verizon.net] > In my original post, I posted a bunch of numbers about > network and other > possible bottlenecks, and what it boiled down to was that neither my > firewall load, nor total internet connection bandwidth were close to > their limits. Thanks. Apo

problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Michael Biebl
Hi, first of all, I'd like to say hi, as I'm new to the list. I hope you can help me with the following problem I have. I run a stock Debian lenny installation with apache 2.2.9 and tomcat 6.0.18 I'm using mod_proxy to forward the request to tomcat using ajp. The apache vhost configuration looks

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David Kerber [mailto:dcker...@verizon.net] I definitely should hook a profiler to the app so I can be sure of what's taking the time, though. Yes. If you don't measure it, you don't know whether you're fixing the right problem! It was apparent early on that

Re: Performance with many small requests

2009-05-12 Thread David kerber
Leon Rosenberg wrote: On Tue, May 12, 2009 at 6:27 AM, Caldarale, Charles R wrote: From: David Kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests Incrementing a counter can't be much of a synchronization bottleneck, and if I switch to an AtomicInteger, it

Newbie question about war file deployment

2009-05-12 Thread tomas_bar
Hi, I've generated a war file using GWT. I have placed it in the webapps folder of the tomcat directory (which is installed locally). How do I now start the application from a client browser? I have tried http://localhost:8080/ApplicationName but it doesnt work. I guess I'm missing something basic

Tomcat (re-)packaging, relocation etc..

2009-05-12 Thread André Warnier
Hi. Picking up on a recent (mild) comment on this list : quote Note that relocating everything means that when posting your users post questions to this mailing list we're likely to say "who's the idiot that scattered all the directories all over the place? try downloading a fresh version of To

RE: Performance with many small requests

2009-05-12 Thread Peter Crowther
> From: David Kerber [mailto:dcker...@verizon.net] > I definitely should hook a profiler to the app so I can be sure of > what's taking the time, though. Yes. If you don't measure it, you don't know whether you're fixing the right problem! Also consider connector, then if necessary process and