RE: mod_jk replacement?

2007-02-26 Thread Raj Mettai
Hi,
 
how to put wildcards into ProxyPass, for example if I want to send only jsp 
requests to tomcat and not html like below.
 
ProxyPass /*.jsp  ajp://127.0.0.1:8009/
 
the above config is not working, I have jsp files spread across multiple 
folders on tomcat and the same folder structure on apache has html pages, so I 
want to forward only jsp requests to tomcat
 
thanks
 
Raj
 
 
Please Note: Due to Florida's very broad public records law, most written 
communications to or from College employees regarding College business are 
public records, available to the public and media upon request. Therefore, this 
email communication may be subject to public disclosure

 [EMAIL PROTECTED] 1/22/2007 4:14:54 AM 

Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache.

I don't have this in an production environment, but along this week I plan
to do it.

This is an extract of my apache config:

   ProxyPass /app/img/ !
   ProxyPass /app/js/ !
   ProxyPass /app/doc/ !
   ProxyPass /app/css/ !
   ProxyPass /app/ ajp://127.0.0.1:8009/app/

   Alias /app /srv/www/tomcat5/base/webapps/app
   Directory /srv/www/tomcat5/base/webapps/app
Options None
allow from all
   /Directory


-Mensaje original-
De: JNeuhoff [mailto:[EMAIL PROTECTED] 
Enviado el: lunes, 22 de enero de 2007 0:27
Para: users@tomcat.apache.org
Asunto: mod_jk replacement?


Is there another connector software available between Apache 2.0.59 and
Tomcat 5.5.17 on Windows 2003 which is more stable and suitable for a live
web service? mod_jk 1.2.20 (which I believe is the latest version) appears
to have some problems with managing TCP connections (see
http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html for
details). We are desparately looking for a working connection software
between Apache and Tomcat. 

Alternatively, we are thinking of running a standalone Tomcat in which case
we'd find to find a way of mapping some web-enabled directories with static
resources (mainly PNG images and some simple PHP scripts) to Tomcat in
addition to our Servlet. Is that possible?


--
View this message in context:
http://www.nabble.com/mod_jk-replacement--tf3050993.html#a8481132
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

La Información incluida en el presente correo electrónico es SECRETO
PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del
destinatario arriba mencionado. Si usted lee este mensaje y no es el
destinatario señalado, el empleado o el agente responsable de entregar
el mensaje al destinatario, o ha recibido esta comunicación por error,
le informamos que esta totalmente prohibida cualquier divulgación,
distribución o reproducción de esta comunicación, y le rogamos que nos
lo notifique inmediatamente y nos devuelva el mensaje original a la
dirección arriba mencionada.

Gracias.

The information contained in this e-mail is LEGALLY PRIVILEDGED AND
CONFIDENTIAL and is intended only for the use of the addressee named
above. If the reader of this message is not the intended recipient or
the employee or agent responsible for delivering the message to the
intended recipient, or you have received this communication in error,
please be aware that any dissemination, distribution or duplication of
this communication is strictly prohibited, and please notify us
immediately and return the original message to us at the address above.

Thank you.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





tomcat 5.5.16 cache problem

2007-01-31 Thread Raj Mettai
Hi,
 
I am running tomcat 5.5.16 on Redhat, tomcat seems to be doing some
kind of caching on servlets, I have deleted a servlet from
WEB-INF/classes and I have restarted the tomcat, still I am able to
access the servlet, I have checked every where on the box for the class
file, couldn't find it. I am using invoker servlet to access the
servlets. tomcat is hooked to apache using mod_jk.
 
wondering if anybody else had this issue and any thoughts on solving
this.
 
thanks
Raj

 
 
Please Note: Due to Florida's very broad public records law, most
written communications to or from College employees regarding College
business are public records, available to the public and media upon
request. Therefore, this email communication may be subject to public
disclosure


Re: tomcat 5.5.16 cache problem

2007-01-31 Thread Raj Mettai
I have already tried both, deleted the application folder under work
directory and also changed the application context setting
reload=true, none of them seems to resolve the issue, it looks like as
if the tomcat is storing the class files in other remote place, I have
been using tomcat 4 for quite some time, just recently upgraded to
5.5.16, never had this issue on tomcat 4.
 
thanks
Raj
 
Please Note: Due to Florida's very broad public records law, most
written communications to or from College employees regarding College
business are public records, available to the public and media upon
request. Therefore, this email communication may be subject to public
disclosure

 Stefan Negrea [EMAIL PROTECTED] 1/31/2007 12:24 PM 



Try to delete /tomcat/work/Catalina/localhost/Name of the web-app
folder.
That is the folder where tomcat caches everything. I have almost the
same
problem on the jsp's (even if I set the application to reload stuff
every time
it detects changes). Also, you might want to configure the application
to
reload  modified content. That is done through application context
settings
(take a peek at the documentation). 

--- Raj Mettai [EMAIL PROTECTED] wrote:

 Hi,
  
 I am running tomcat 5.5.16 on Redhat, tomcat seems to be doing some
 kind of caching on servlets, I have deleted a servlet from
 WEB-INF/classes and I have restarted the tomcat, still I am able to
 access the servlet, I have checked every where on the box for the
class
 file, couldn't find it. I am using invoker servlet to access the
 servlets. tomcat is hooked to apache using mod_jk.
  
 wondering if anybody else had this issue and any thoughts on solving
 this.
  
 thanks
 Raj
 
  
  
 Please Note: Due to Florida's very broad public records law, most
 written communications to or from College employees regarding
College
 business are public records, available to the public and media upon
 request. Therefore, this email communication may be subject to
public
 disclosure