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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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