RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Brandon Cruz

Does anyone at all know of any way to optimize the speed of sending requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside a
webapp.

How do you get around this on tomcat 3.2.4?  Can I force apache to serve up
the images even if they are inside a webapp?  Would mod_webapp
solve my problem?

Please Help!

Brandon Cruz



-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:38 PM
To: Tomcat Users List
Subject: Mod_jk log message question


Anyone know what this means or what causes it?


[jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed

If nobody knows anything about it, do you know what to set my log level to
in httpd.conf so that it doesn't take up so much time for Tomcat to serve my
pages when transferring via mod_jk?


Thanks in advance for any advice!


Brandon Cruz


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Pascal Forget

Brandon Cruz wrote:

Does anyone at all know of any way to optimize the speed of sending requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside a
webapp.


You will find the answer at:  www.ubeans.com/tomcat




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Brandon Cruz

Pascal,

Thanks for the response!
That document is extremely helpful!!!
I have actually seen that before and considered implementing load balancing
for other reasons, but are you suggesting that load balancing will fix my
problem?  It seems that if a single page inside of a webapp has many images
on it, apache will still send the static files to one of the tomcat servers
via ajp13, which will still be slow.  The difference between Apache serving
the file directly and Apache redirecting the page to tomcat is about 3
seconds vs. 30 seconds...

Brandon



-Original Message-
From: Pascal Forget [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:20 AM
To: Tomcat Users List
Subject: Re: Mod_jk log message question (mod_jk is so slow!!!)


Brandon Cruz wrote:

Does anyone at all know of any way to optimize the speed of sending
requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside
a
webapp.


You will find the answer at:  www.ubeans.com/tomcat




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Arnaud Heritier

in the JKMount directive which is present in your mod_jk.conf.auto file 
generated by TC  or in your httpd.conf of Apache if you wrote it yourself, 
you must declare only the servlets and the jsp files.

it should be something like :

JkMount /your_webapp/*.jsp  ajp13
JkMount /your_webapp/servlet/*  ajp13

With this configuration, Apache serves itself all the static ressources 
(HTML, images, ...)


arno#



-Message d'origine-
De: Brandon Cruz [SMTP:[EMAIL PROTECTED]]
Date:   jeudi 18 avril 2002 16:23
A:  Tomcat Users List
Objet:  RE: Mod_jk log message question (mod_jk is so slow!!!)

Does anyone at all know of any way to optimize the speed of sending 
requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside 
a
webapp.

How do you get around this on tomcat 3.2.4?  Can I force apache to serve up
the images even if they are inside a webapp?  Would mod_webapp
solve my problem?

Please Help!

Brandon Cruz



-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:38 PM
To: Tomcat Users List
Subject: Mod_jk log message question


Anyone know what this means or what causes it?


[jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed

If nobody knows anything about it, do you know what to set my log level to
in httpd.conf so that it doesn't take up so much time for Tomcat to serve 
my
pages when transferring via mod_jk?


Thanks in advance for any advice!


Brandon Cruz


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Brandon Cruz

I tried to tweak everything I possibly can.  mod_jk works the same way as
mod_webapp then right?  For example, every single request for something that
lies under /myWebapp/* gets redirected to tomcat, not just the *.jsp files
and /servlet/*.  Any way to change this besides what I have done?



-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:35 AM
To: Tomcat Users List
Subject: AW: Mod_jk log message question (mod_jk is so slow!!!)


As I see it, something must be wrong with your setup.

AFAIK mod_jk doesn't send any request to tomcat
that doesn't match the JkMount expressions.

The current version of mod_webapp is directing all resources
under a webapp to tomcat. So it won't help you.

 -Ursprüngliche Nachricht-
 Von: Brandon Cruz [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 18. April 2002 00:54
 An: Tomcat Users List
 Betreff: RE: Mod_jk log message question (mod_jk is so slow!!!)
snip/
 static resources (.gif, .html, etc.) get sent to apache if
 they are inside a webapp.
snip/

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Brandon Cruz

Yes!!!

That's exactly what I was looking for!!!

I didn't realize that you can put a wildcard in the middle of the
declaration.

Thank you very much

-Original Message-
From: Arnaud Heritier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:13 AM
To: 'Tomcat Users List'
Subject: RE: Mod_jk log message question (mod_jk is so slow!!!)


in the JKMount directive which is present in your mod_jk.conf.auto file
generated by TC  or in your httpd.conf of Apache if you wrote it yourself,
you must declare only the servlets and the jsp files.

it should be something like :

JkMount /your_webapp/*.jsp  ajp13
JkMount /your_webapp/servlet/*  ajp13

With this configuration, Apache serves itself all the static ressources
(HTML, images, ...)


arno#



-Message d'origine-
De: Brandon Cruz [SMTP:[EMAIL PROTECTED]]
Date:   jeudi 18 avril 2002 16:23
A:  Tomcat Users List
Objet:  RE: Mod_jk log message question (mod_jk is so slow!!!)

Does anyone at all know of any way to optimize the speed of sending
requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to Tomcat if they are inside
a
webapp.

How do you get around this on tomcat 3.2.4?  Can I force apache to serve up
the images even if they are inside a webapp?  Would mod_webapp
solve my problem?

Please Help!

Brandon Cruz



-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:38 PM
To: Tomcat Users List
Subject: Mod_jk log message question


Anyone know what this means or what causes it?


[jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed

If nobody knows anything about it, do you know what to set my log level to
in httpd.conf so that it doesn't take up so much time for Tomcat to serve
my
pages when transferring via mod_jk?


Thanks in advance for any advice!


Brandon Cruz


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-18 Thread Pascal Forget


but are you suggesting that load balancing will fix my problem?

No, I meant that the setup described in  my document has the JKMount
directives configured to serve static content from Apache and sent
*.jsp and servlet requests to tomcat.

Pascal




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mod_jk log message question (mod_jk is so slow!!!)

2002-04-17 Thread Brandon Cruz

Does anyone at all know of any way to optimize the speed of sending requests
to tomcat from apache?  I have turned off all logging, which has helped a
bunch, is there anything else I can do?  The biggest problem is that all
static resources (.gif, .html, etc.) get sent to apache if they are inside a
webapp.

How do you get around this on tomcat 3.2.4?  Can I force apache to serve up
the images even if they are inside a webapp?  Would the newer mod_webapp
solve my problem?  I have seen a lot of posts about problems with that
connector...

Please Help!

Brandon Cruz



-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:38 PM
To: Tomcat Users List
Subject: Mod_jk log message question


Anyone know what this means or what causes it?


[jk_ajp13_worker.c (326)]: Error ajp13_process_callback - write failed

If nobody knows anything about it, do you know what to set my log level to
in httpd.conf so that it doesn't take up so much time for Tomcat to serve my
pages when transferring via mod_jk?


Thanks in advance for any advice!


Brandon Cruz


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]