Tomcat mod_webapp: somtimes browser doesn't receibe images from apache
Hello. I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and apache 1.3.12. The problem I'm having is that sometimes the images and stylesheets hosted by apache, referenced by the HTML pages generated by the JSPs don't get loaded. The point is that when these images are hosted within tomcat they work perfectly well, and all other websites that are being served by Apache also work fine Any idea of what might be happening? Thanks a lot Nicolás -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache
I left images and stylesheets outside the context. [apache home] /images /syles /tkt- connected with tomcat context which serves application jsps and servlets -Mensaje original- De: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 23 de Julio de 2002 03:56 p.m. Para: Tomcat Users List Asunto: RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache mod_webapp forwards *ALL* requests to Tomcat. Leaving nothing for Apache to handle. If you want images and stylesheets to be kept in apache then you have to use mod_jk instead. Charlie -Original Message- From: Nicolás Marjovsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 1:46 PM To: 'Tomcat Users List' Subject: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache Hello. I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and apache 1.3.12. The problem I'm having is that sometimes the images and stylesheets hosted by apache, referenced by the HTML pages generated by the JSPs don't get loaded. The point is that when these images are hosted within tomcat they work perfectly well, and all other websites that are being served by Apache also work fine Any idea of what might be happening? Thanks a lot Nicolás -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache
Is mod_jk a good connector? -Mensaje original- De: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 23 de Julio de 2002 03:56 p.m. Para: Tomcat Users List Asunto: RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache mod_webapp forwards *ALL* requests to Tomcat. Leaving nothing for Apache to handle. If you want images and stylesheets to be kept in apache then you have to use mod_jk instead. Charlie -Original Message- From: Nicolás Marjovsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 1:46 PM To: 'Tomcat Users List' Subject: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache Hello. I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and apache 1.3.12. The problem I'm having is that sometimes the images and stylesheets hosted by apache, referenced by the HTML pages generated by the JSPs don't get loaded. The point is that when these images are hosted within tomcat they work perfectly well, and all other websites that are being served by Apache also work fine Any idea of what might be happening? Thanks a lot Nicolás -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache
I forgot to tell most of the times images and styles get loaded. And when they doesn't, they do after making a reload. (sorry about the partitioned answer) -Mensaje original- De: Nicolás Marjovsky [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 23 de Julio de 2002 02:59 p.m. Para: 'Tomcat Users List' Asunto: RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache I left images and stylesheets outside the context. [apache home] /images /syles /tkt- connected with tomcat context which serves application jsps and servlets -Mensaje original- De: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 23 de Julio de 2002 03:56 p.m. Para: Tomcat Users List Asunto: RE: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache mod_webapp forwards *ALL* requests to Tomcat. Leaving nothing for Apache to handle. If you want images and stylesheets to be kept in apache then you have to use mod_jk instead. Charlie -Original Message- From: Nicolás Marjovsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 1:46 PM To: 'Tomcat Users List' Subject: Tomcat mod_webapp: somtimes browser doesn't receibe images from apache Hello. I'm using mod_webapp connector version 1.0.1, with tomcat, 4.0.1 and apache 1.3.12. The problem I'm having is that sometimes the images and stylesheets hosted by apache, referenced by the HTML pages generated by the JSPs don't get loaded. The point is that when these images are hosted within tomcat they work perfectly well, and all other websites that are being served by Apache also work fine Any idea of what might be happening? Thanks a lot Nicolás -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: context initialization
Dear Simon: I've tried what you told me but the servlet doesn´t gets executed, it´s just preloaded. Any ideas? Thanks for your help, Nicolás - Original Message - From: "Kitching Simon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 27, 2000 7:16 AM Subject: RE: context initialization If I understand your question correctly, I do this sort of thing currently, by having a servlet which instantiates a bunch of objects, and adds them to the context. This servlet is defined as "load-on-startup". In the webapp's web.xml, I have: !-- define a servlet/class that can be accessed by all other components -- servlet servlet-nameinitializerServlet/servlet-name servlet-classorange.ola3.InitializerServlet/servlet-class load-on-startup1/load-on-startup init-param !-- set system state mode. Valid values are: PRODUCTION, TEST, DEBUG -- param-namesystemStateMode/param-name param-valueDEBUG/param-value /init-param /servlet In reality, I have a whole bunch more init-param tags, containing things like JDBC connection strings. The servlet code itself does a bunch of things like: systemState = new SystemState(); context.setAttribute("systemState", systemState); Regards, Simon -Original Message- From: Nicolás Marjovsky [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, December 26, 2000 10:40 PM To: [EMAIL PROTECTED] Subject: context initialization Hello, I need to put some static objects into a web application context at start-up time... I want to set the context when the application is going up. Where should I put this? In web.xml? Thanks, Nicolás
context initialization
Hello, I need to put some static objects into a web application context at start-up time... I want to set the context when the application is going up. Where should I put this? In web.xml? Thanks, Nicolás