tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <...@osc.edu>
Subject Re: R: Problem with a new version of JSP pages
Date Wed, 21 Feb 2001 14:37:07 GMT
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/


Mime
View raw message