You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by waleed hassan <dr...@yalla.com> on 2001/04/16 01:16:20 UTC

Tomcat

 Hello ,

I was Setting up TomCat and i used the document " Tomcat IIS HowTo " to use it with IIS , 
i always get an error whenver i try to accessany .JSP page via the IIS the last lines in the IIS server log file in found in SYSTEM32/LogFiles/W3SVC1 says :

2001-03-16 00:16:31 127.0.0.1 - 127.0.0.1 80 GET /test/ - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

2001-03-16 00:16:32 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll+ - 404 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

2001-03-16 00:17:28 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll+ - 404 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

and a " File not found " msg results ,

any idea what that might be ??

Thanks in advance ..

Waleed Hassan

RE: JSP's will not recompile on windows 2000

Posted by Brandon Cruz <bc...@norvax.com>.
actually, I think I found my error there.  I guess what I really need to do
now is find a way to specify something like a virtual host on a development
machine. For example...

I have a context as follows

<Context path="/ClientName"
        docBase="c:\Project\ClientFolders\ClientName\html"
	         crossContext="true"
	         debug="1"
	         reloadable="true"
	         trusted="false" >
</Context>

I want to be able to use all relative links so that we can transfer over to
our production machine that is actually running virtual hosting.  Our links
should look like this...
<a href="/jsp/test.jsp">

Since we are using contexts though, it tries to go to localhost/jsp/test.jsp
with a link like that, there is no file in this directory.

Does anyone know how to get around this without having to change all the
code when we roll over to production?

Thanks!


Brandon









-----Original Message-----
From: Brandon Cruz [mailto:bcruz@norvax.com]
Sent: Wednesday, April 25, 2001 7:30 PM
To: tomcat-user@jakarta.apache.org
Subject: JSP's will not recompile on windows 2000


I am using tomcat-apache on Linux and have no problems.  We have recently
set up tomcat as a stand alone server on windows 2000 machines for
development purposes.  For some reason, when I make changes to a jsp file,
they only show up some of the time.  I am using a context for each site I
create jsp's in.  For example, when I create a jsp at
http://localhost/site1/jsp/test.jsp, I can see the jsp and everything works
fine.  When I make a change to that site, it sometimes shows up, but not
always.  I have everything set to reload on the server and my browser as far
as I know.  Any ideas?

Thanks!

Brandon



JSP's will not recompile on windows 2000

Posted by Brandon Cruz <bc...@norvax.com>.
I am using tomcat-apache on Linux and have no problems.  We have recently
set up tomcat as a stand alone server on windows 2000 machines for
development purposes.  For some reason, when I make changes to a jsp file,
they only show up some of the time.  I am using a context for each site I
create jsp's in.  For example, when I create a jsp at
http://localhost/site1/jsp/test.jsp, I can see the jsp and everything works
fine.  When I make a change to that site, it sometimes shows up, but not
always.  I have everything set to reload on the server and my browser as far
as I know.  Any ideas?

Thanks!

Brandon


Re: Tomcat

Posted by Ray Rush <ra...@yahoo.com>.
What URL are you accessing?  Is it
http://<hostname>/examples/jsp/
or
http://<hostname>/examples/servlet/
?
I would check that the samples come through before
trying anything else.

Those should work.

--- waleed hassan <dr...@yalla.com> wrote:
>  Hello ,
> 
> I was Setting up TomCat and i used the document "
> Tomcat IIS HowTo " to use it with IIS , 
> i always get an error whenver i try to accessany
> .JSP page via the IIS the last lines in the IIS
> server log file in found in SYSTEM32/LogFiles/W3SVC1
> says :
> 
> 2001-03-16 00:16:31 127.0.0.1 - 127.0.0.1 80 GET
> /test/ - 200
> Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
> 
> 2001-03-16 00:16:32 127.0.0.1 - 127.0.0.1 80 GET
> /jakarta/isapi_redirect.dll+ - 404
> Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
> 
> 2001-03-16 00:17:28 127.0.0.1 - 127.0.0.1 80 GET
> /jakarta/isapi_redirect.dll+ - 404
> Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
> 
> and a " File not found " msg results ,
> 
> any idea what that might be ??
> 
> Thanks in advance ..
> 
> Waleed Hassan


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/