You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Thielen <da...@thielen.com> on 2002/06/26 18:06:36 UTC

IIS & Tomcat - getting closer

Hi;

I am running IIS and Tomcat trying to get Tomcat to handle all jsp requests for IIS. I think I'm getting pretty close:

1) Do I need to run Tomcat seperately in either a DOS box or as a service. Or does isapi_redirect.dll start it for me? I tried running it in a DOS box and got exceptions thrown which looked like it was saying it was laready running.

2) If I try to bring up a jsp page from the default web site, I get:
Apache Tomcat/4.0.4 - HTTP Status 404 - /store/cart.jsp

--------------------------------------------------------------------------------

type Status report

message /store/cart.jsp

description The requested resource (/store/cart.jsp) is not available.

Yet as you can see below, the file exists (X: is mapped to C: on my server):

X:\Program Files\Apache Tomcat 4.0\conf>dir \Inetpub\wwwroot\store\cart.jsp
 Volume in drive X is os
 Volume Serial Number is D059-3680

 Directory of X:\Inetpub\wwwroot\store

08/14/2001  09:15p               5,982 cart.jsp
               1 File(s)          5,982 bytes
               0 Dir(s)     780,902,400 bytes free

X:\Program Files\Apache Tomcat 4.0\conf>

And if I try to get the file using a virtual web site, I get:

HTTP 404 - File not found

Any ideas - thanks - dave

Re: IIS & Tomcat - getting closer

Posted by Prashanth Pushpagiri <pr...@yahoo.com>.
I've seen this happen quite a few times....Try
removing the filter from IIS. The registry entries you
have made will be enough....My tomcat never works with
a filter!

Prashanth

--- David Thielen <da...@thielen.com> wrote:
> Yesterday localhost:8080 was working. Now it won't
> work either. But the
> filter does have a green up arrow.
> 
> thanks - dave
> 
> 
> ----- Original Message -----
> From: "Prashanth Pushpagiri"
> <pr...@yahoo.com>
> To: "Tomcat Users List"
> <to...@jakarta.apache.org>
> Sent: Wednesday, June 26, 2002 11:50 AM
> Subject: Re: IIS & Tomcat - getting closer
> 
> 
> > Hi:
> > You can run Tomcat as a service or as a separate
> DOS
> > window...make sure you run one of them:).
> >
> > Check if you can run the JSP page using standalone
> > Tomcat. (http://localhost:8080/store/cart.jsp). If
> > that works then the problem is with configuring
> IIS.
> > You will need to follow the instructions for
> > interfacing Tomcat with IIS. Here are the steps I
> > follow:
> >
> > 1. place the isapi_redirect.dll file in a known
> > folder...usually TOMCAT_HOME/bin/win32/i386. (This
> is
> > just a prefered location.)
> >
> > 2. REGISTRY ENTRIES
> >   a. HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
> > Foundation/Jakarta Isapi Redirector/1.0 should
> have
> > the following String values:
> >
> > extension_uri     /jakarta/isapi_redirect.dll
> > log_file
> > <TOMCAT_HOME(specify)>/logs/isapi.log
> > log_level         debug (or something else)
> > worker_file
> > <TOMCAT_HOME(specify)>\conf\workers.properties
> > worker_mount_file
> >
> <TOMCAT_HOME(specify)>\conf\uriworkermap.properties
> >
> > Add these if they do not exist.
> >
> >   b.
> >
>
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters
> > should have the String value :
> >
> > Filter DLLs
> >
>
<TOMCAT_HOME(specify)>\bin\win32\i386\isapi_redirect.dll
> >
> > Now you can open up your IIS console and create a
> new
> > virtual directory by the name jakarta and point it
> to
> > <TOMCAT_HOME(specify)>\bin\win32\i386 folder.
> >
> > Restart Web Publication services and Tomcat...you
> > should be all set....have I missed out anything???
> >
> > --- David Thielen <da...@thielen.com> wrote:
> > > Hi;
> > >
> > > I am running IIS and Tomcat trying to get Tomcat
> to
> > > handle all jsp requests for IIS. I think I'm
> getting
> > > pretty close:
> > >
> > > 1) Do I need to run Tomcat seperately in either
> a
> > > DOS box or as a service. Or does
> isapi_redirect.dll
> > > start it for me? I tried running it in a DOS box
> and
> > > got exceptions thrown which looked like it was
> > > saying it was laready running.
> > >
> > > 2) If I try to bring up a jsp page from the
> default
> > > web site, I get:
> > > Apache Tomcat/4.0.4 - HTTP Status 404 -
> > > /store/cart.jsp
> > >
> > >
> >
>
--------------------------------------------------------------------------
> ------
> > >
> > > type Status report
> > >
> > > message /store/cart.jsp
> > >
> > > description The requested resource
> (/store/cart.jsp)
> > > is not available.
> > >
> > > Yet as you can see below, the file exists (X: is
> > > mapped to C: on my server):
> > >
> > > X:\Program Files\Apache Tomcat 4.0\conf>dir
> > > \Inetpub\wwwroot\store\cart.jsp
> > >  Volume in drive X is os
> > >  Volume Serial Number is D059-3680
> > >
> > >  Directory of X:\Inetpub\wwwroot\store
> > >
> > > 08/14/2001  09:15p               5,982 cart.jsp
> > >                1 File(s)          5,982 bytes
> > >                0 Dir(s)     780,902,400 bytes
> free
> > >
> > > X:\Program Files\Apache Tomcat 4.0\conf>
> > >
> > > And if I try to get the file using a virtual web
> > > site, I get:
> > >
> > > HTTP 404 - File not found
> > >
> > > Any ideas - thanks - dave
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IIS & Tomcat - getting closer

Posted by David Thielen <da...@thielen.com>.
Yesterday localhost:8080 was working. Now it won't work either. But the
filter does have a green up arrow.

thanks - dave


----- Original Message -----
From: "Prashanth Pushpagiri" <pr...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, June 26, 2002 11:50 AM
Subject: Re: IIS & Tomcat - getting closer


> Hi:
> You can run Tomcat as a service or as a separate DOS
> window...make sure you run one of them:).
>
> Check if you can run the JSP page using standalone
> Tomcat. (http://localhost:8080/store/cart.jsp). If
> that works then the problem is with configuring IIS.
> You will need to follow the instructions for
> interfacing Tomcat with IIS. Here are the steps I
> follow:
>
> 1. place the isapi_redirect.dll file in a known
> folder...usually TOMCAT_HOME/bin/win32/i386. (This is
> just a prefered location.)
>
> 2. REGISTRY ENTRIES
>   a. HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
> Foundation/Jakarta Isapi Redirector/1.0 should have
> the following String values:
>
> extension_uri     /jakarta/isapi_redirect.dll
> log_file
> <TOMCAT_HOME(specify)>/logs/isapi.log
> log_level         debug (or something else)
> worker_file
> <TOMCAT_HOME(specify)>\conf\workers.properties
> worker_mount_file
> <TOMCAT_HOME(specify)>\conf\uriworkermap.properties
>
> Add these if they do not exist.
>
>   b.
> HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters
> should have the String value :
>
> Filter DLLs
> <TOMCAT_HOME(specify)>\bin\win32\i386\isapi_redirect.dll
>
> Now you can open up your IIS console and create a new
> virtual directory by the name jakarta and point it to
> <TOMCAT_HOME(specify)>\bin\win32\i386 folder.
>
> Restart Web Publication services and Tomcat...you
> should be all set....have I missed out anything???
>
> --- David Thielen <da...@thielen.com> wrote:
> > Hi;
> >
> > I am running IIS and Tomcat trying to get Tomcat to
> > handle all jsp requests for IIS. I think I'm getting
> > pretty close:
> >
> > 1) Do I need to run Tomcat seperately in either a
> > DOS box or as a service. Or does isapi_redirect.dll
> > start it for me? I tried running it in a DOS box and
> > got exceptions thrown which looked like it was
> > saying it was laready running.
> >
> > 2) If I try to bring up a jsp page from the default
> > web site, I get:
> > Apache Tomcat/4.0.4 - HTTP Status 404 -
> > /store/cart.jsp
> >
> >
> --------------------------------------------------------------------------
------
> >
> > type Status report
> >
> > message /store/cart.jsp
> >
> > description The requested resource (/store/cart.jsp)
> > is not available.
> >
> > Yet as you can see below, the file exists (X: is
> > mapped to C: on my server):
> >
> > X:\Program Files\Apache Tomcat 4.0\conf>dir
> > \Inetpub\wwwroot\store\cart.jsp
> >  Volume in drive X is os
> >  Volume Serial Number is D059-3680
> >
> >  Directory of X:\Inetpub\wwwroot\store
> >
> > 08/14/2001  09:15p               5,982 cart.jsp
> >                1 File(s)          5,982 bytes
> >                0 Dir(s)     780,902,400 bytes free
> >
> > X:\Program Files\Apache Tomcat 4.0\conf>
> >
> > And if I try to get the file using a virtual web
> > site, I get:
> >
> > HTTP 404 - File not found
> >
> > Any ideas - thanks - dave
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: IIS & Tomcat - getting closer

Posted by Prashanth Pushpagiri <pr...@yahoo.com>.
Hi:
You can run Tomcat as a service or as a separate DOS
window...make sure you run one of them:).

Check if you can run the JSP page using standalone
Tomcat. (http://localhost:8080/store/cart.jsp). If
that works then the problem is with configuring IIS.
You will need to follow the instructions for
interfacing Tomcat with IIS. Here are the steps I
follow:

1. place the isapi_redirect.dll file in a known
folder...usually TOMCAT_HOME/bin/win32/i386. (This is
just a prefered location.)

2. REGISTRY ENTRIES
  a. HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
Foundation/Jakarta Isapi Redirector/1.0 should have
the following String values:

extension_uri     /jakarta/isapi_redirect.dll
log_file         
<TOMCAT_HOME(specify)>/logs/isapi.log
log_level         debug (or something else)
worker_file      
<TOMCAT_HOME(specify)>\conf\workers.properties
worker_mount_file 
<TOMCAT_HOME(specify)>\conf\uriworkermap.properties

Add these if they do not exist.

  b.
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters
should have the String value :

Filter DLLs    
<TOMCAT_HOME(specify)>\bin\win32\i386\isapi_redirect.dll

Now you can open up your IIS console and create a new
virtual directory by the name jakarta and point it to
<TOMCAT_HOME(specify)>\bin\win32\i386 folder.

Restart Web Publication services and Tomcat...you
should be all set....have I missed out anything???

--- David Thielen <da...@thielen.com> wrote:
> Hi;
> 
> I am running IIS and Tomcat trying to get Tomcat to
> handle all jsp requests for IIS. I think I'm getting
> pretty close:
> 
> 1) Do I need to run Tomcat seperately in either a
> DOS box or as a service. Or does isapi_redirect.dll
> start it for me? I tried running it in a DOS box and
> got exceptions thrown which looked like it was
> saying it was laready running.
> 
> 2) If I try to bring up a jsp page from the default
> web site, I get:
> Apache Tomcat/4.0.4 - HTTP Status 404 -
> /store/cart.jsp
> 
>
--------------------------------------------------------------------------------
> 
> type Status report
> 
> message /store/cart.jsp
> 
> description The requested resource (/store/cart.jsp)
> is not available.
> 
> Yet as you can see below, the file exists (X: is
> mapped to C: on my server):
> 
> X:\Program Files\Apache Tomcat 4.0\conf>dir
> \Inetpub\wwwroot\store\cart.jsp
>  Volume in drive X is os
>  Volume Serial Number is D059-3680
> 
>  Directory of X:\Inetpub\wwwroot\store
> 
> 08/14/2001  09:15p               5,982 cart.jsp
>                1 File(s)          5,982 bytes
>                0 Dir(s)     780,902,400 bytes free
> 
> X:\Program Files\Apache Tomcat 4.0\conf>
> 
> And if I try to get the file using a virtual web
> site, I get:
> 
> HTTP 404 - File not found
> 
> Any ideas - thanks - dave
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>