tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Byung Jin Chun <Bc...@netnumina.com>
Subject RE: R: Problem with a new version of JSP pages
Date Wed, 21 Feb 2001 15:42:26 GMT
oops, sorry, its probably ie caching the page.
you might want to try setting the appropriate
meta headers to turn caching off in the page,
such as the no-cache directive.

Jin

> -----Original Message-----
> From: Garry De Toffoli [mailto:garry@telemar.it]
> Sent: Wednesday, February 21, 2001 10:26 AM
> To: tomcat-user@jakarta.apache.org
> Subject: R: R: Problem with a new version of JSP pages
> 
> 
> Also me;
> 
> infact restarting the TomCat and Apache, from my IE, I cannot 
> see the new
> JSP pages, but not every time; it is difficult  to simulate 
> the problem, but
> after 15-20 minutes of modify on 2 o more JSP pages, the new 
> JSP will not be
> visible; from that moment, I (and all my factory) see the old 
> JSP page,
> while I restart Tomcat and Apache;
> 
> in my factory we develop in ASP, and we have no problem at all when we
> modify an ASP Page;
> 
> I would like to  work with JSP page on the same mode, that is 
> modifying my
> JSP page through LAN directly on on Web Server, and viewing the newer
> version;
> 
> but now, with  this problem, I don't know if the modification will be
> executing, and when.
> 
> Thank you very much for your help.
> 
> Best regards
> Garry De Toffoli
> 
> ----- Original Message -----
> From: Jan Labanowski <jkl@osc.edu>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, February 21, 2001 3:37 PM
> Subject: Re: R: Problem with a new version of JSP pages
> 
> 
> > That means that you have a proxy server installed somewhere.
> > You need to change the properties in your browser and tell it to
> > load the pages directly, without using proxy server. I do not use IE
> > daily, so I do not know the order of clicks. It is probably:
> >
> >   View --> Internet Options --> Connection --> Bypass Proxy server
> >
> > On netscape it would be:
> >
> >   Edit --> Preferences --> Advanced --> Proxies --> Direct 
> connection to
> the
> >                                                     internet
> >
> > If this is not it, I am not sure what is happening...
> >
> >
> > On Wed, 21 Feb 2001, Garry De Toffoli wrote:
> >
> > > Sorry for my incomplete information.
> > >
> > > I'm using Tomcat 3.21 with Apache 1.3, in Win2k Server 
> Edition; JDK 1.3;
> > > the brower is Internet Explorer 5.5;
> > >
> > > I have try to refresh and to delete all files in 
> $TOMCAT_HOME/work, but
> I
> > > have also the same problem; from my PC I modify a JSP 
> page, I read from
> the
> > > JASPER.LOG that my Jsp Page has been compiled; on the 
> $TOMCAT_HOME/work
> > > there is another .java and .class is newer; but from my 
> and all browser
> of
> > > my office, I see the JSP page without modification;
> > >
> > > Occasionaly, after a modification end reloading my Jsp 
> Page, from my
> browser
> > > I run a jsp page, that made a submit on another jsp page; 
> on the SUBMIT
> > > time, on the end of the first  jsp page appear these rows:
> > >
> > > HTTP/1.1 200 OK
> > > Date: Tue, 20 Feb 2001 10:03:07 GMT
> > > Server: Apache/1.3.12 (Win32) mod_jk
> > > Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; 
> Servelet 2.2; Java
> 1.3.0;
> > > Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
> > > Keep-Alive: timeout=15. max=99
> > > Transfer-Encoding: chunked
> > > Content-Type: text/html;charset=8859_1
> > >
> > > and after these the new jsp page, but these appear like a 
> single page;
> > > refreshing the page, all is OK; it seems to be a mismatch 
> of the TomCat
> or
> > > of the Apache sending  the page.
> > >
> > > I have read the bug#80, saying that Jasper JSP compiler is not
> threadsafe;
> > > is this possible that my problem would manifest when 
> there are 2 compile
> of
> > > JSP page at the same time? And if yes, what can I do?
> > >
> > > May be a configuration problem? After the installation, I 
> have modifiied
> the
> > > httpd.conf of Apache in this manner:
> > >
> > > ... init modify of apache.conf...
> > > <VirtualHost 213.178.196.10>
> > >  ServerAdmin garry@telemar.it
> > >  DocumentRoot "d:/JSP"
> > >  DirectoryIndex homepage.htm
> > >  ServerName www.test.jsp
> > >  CustomLog d:/JSP/access.log common
> > > </VirtualHost>
> > >
> > > ####include 
> c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\tomcat-apache.conf
> > > include c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto
> > > ... end modify of apache.conf...
> > >
> > > in Server.xml of Tomcat I have added these lines only:
> > >         <Context path="/jsp"
> > >                  docBase="d:\jsp"
> > >                  crossContext="false"
> > >                  debug="9"
> > >                  reloadable="true" >
> > >         </Context>
> > >         <Context path="/hello"
> > >                  docBase="d:\jsp\hellouser"
> > >                  crossContext="false"
> > >                  debug="0"
> > >                  reloadable="true" >
> > >         </Context>
> > >         <Context path="/Carl"
> > >                  docBase="d:\jsp\Carl"
> > >                  crossContext="false"
> > >                  debug="0"
> > >                  reloadable="true" >
> > >         </Context>
> > >         <Context path="/examples"
> > >                  docBase="webapps/examples"
> > >                  crossContext="false"
> > >                  debug="0"
> > >                  reloadable="true" >
> > >         </Context>
> > >
> > > I have only modified these files after the installation 
> of apache and
> > > Tomcat; for example I have not JWSDK;
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: Jan Labanowski <jkl@osc.edu>
> > > To: <tomcat-user@jakarta.apache.org>
> > > Sent: Tuesday, February 20, 2001 7:28 PM
> > > Subject: Re: Problem with a new version of JSP pages
> > >
> > >
> > > > In your browser do
> > > > Shift/Reload (or Shift/Refresh)
> > > > and if this does not work, delete all files in 
> $TOMCAT_HOME/work (but
> > > > not the directory).
> > > >
> > > > You can also change cache sized in your browser to 0k. 
> Next time tell
> > > > us what OS and what browser and what version, etc., you 
> are using...
> > > >
> > > >
> > > > Jan K. Labanowski            |    phone: 614-292-9279,  FAX:
> 614-292-7168
> > > > Ohio Supercomputer Center    |    Internet: jkl@osc.edu
> > > > 1224 Kinnear Rd,             |    
> http://www.ccl.net/chemistry.html
> > > > Columbus, OH 43212-1163      |    http://www.osc.edu/
> > > >
> > > >
> > > > On Tue, 20 Feb 2001, Garry De Toffoli wrote:
> > > >
> > > > > I have a problem when I modify a JSP page;
> > > > >
> > > > > well, I modify my JSP page directly on the web Server 
> (apache) and
> load
> > > this on my browser; I would expect to see the 
> modification, but doesn't
> see;
> > > instead I see the jsp page without my modification;
> > > > >
> > > > > I have configured Server.XML with reloadable="true"; 
> on the work
> > > directory of %TOMCAT_HOME I see the new .java with my 
> modification and
> the
> > > new .class; on JASPER.LOG is written that my JSP page has 
> been compiled;
> > > > >
> > > > > this problem happen randomly, but when it will 
> manifest, I must
> restart
> > > Tomcat, because from that time every modification will 
> not be reflected.
> > > > >
> > > > > Thank you for you help.
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, email: 
> tomcat-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email: 
> tomcat-user-help@jakarta.apache.org
> > >
> >
> > Jan K. Labanowski            |    phone: 614-292-9279,  
> FAX: 614-292-7168
> > Ohio Supercomputer Center    |    Internet: jkl@osc.edu
> > 1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
> > Columbus, OH 43212-1163      |    http://www.osc.edu/
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message