tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yousef Shemisa" <yshem...@netunderdogs.com>
Subject Re: IIS - jsp file download on port 80 - not resolved
Date Sat, 29 Jun 2002 02:22:22 GMT
Jeffrey,

What have you configured in the MMC?. It looks like you don't have IIS
document root set right. Either a virtual directory named "home" should be
configured to point to http://128.200.156.162/home or IIS's doc root should
be set to http://128.200.156.162/home. Also you should replace the AJP 12
connector def  in server.xml because it is used for shutdown communication
with tomcat. You may however comment out the http standard connector
definition in server.xml since this is not used for communication with IIS,
but rather the AJP13 port is used for this communication between Tomcat and
its client IIS.

HTH.
---
Yousef Shemisa
650-365-9704 ext 12
http://www.netunderdogs.com
Menlo Park, CA

~Savin' the Web Doggie Style~
We GUARANTEE our Web Development will exceed your expectations.
----- Original Message -----
From: "Jeffrey Polaski" <jpolaski@rgs.uci.edu>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Friday, June 28, 2002 1:37 PM
Subject: RE: IIS - jsp file download on port 80 - not resolved


> Sorry, I should have changed the title, too.
>
>    Jeff Polaski
>    "The cow is of the bovine ilk;
>     One end is moo, the other, milk."
>                -- Ogden Nash
>
>
>
>
> -----Original Message-----
> From: Turner, John [mailto:JTurner@AAS.com]
> Sent: Friday, June 28, 2002 1:04 PM
> To: 'Tomcat Users List'
> Subject: RE: IIS - jsp file download on port 80 - resolved
>
>
>
> Not to rain on your parade, but I don't think that's the permanent
> solution...as far as I know, only one service can bind to a port...either
> IIS or tomcat, not both.
>
> A quick test.  With port=80 in your server.xml file, can you access .jsp
> pages and servlets on port 8080?  My guess is "no", yet with a properly
> configured HTTP server and tomcat server connector, that's exactly what
you
> will be able to do: get JSP pages and servlets on BOTH 80 and 8080 without
> changing configuration. If everything is working correctly, both of the
> following URLs should work:
>
> http://localhost:8080/examples
> http://localhost/examples
>
> I would say, right now, you are just getting all HTTP requests, JSP or
not,
> served through tomcat stand-alone.  I'm pretty surprised IIS hasn't barked
> about something else trying to bind to port 80.
>
> John Turner
> jturner@NOSPAM.aas.com
>
> -----Original Message-----
> From: Jeffrey Polaski [mailto:jpolaski@rgs.uci.edu]
> Sent: Friday, June 28, 2002 3:53 PM
> To: 'Tomcat Users List'
> Subject: RE: IIS - jsp file download on port 80 - resolved
>
>
> Thanks for the help so far... I finally got it to work! Yea!
>
> [Background: I'm running NT sp6 with IIS , Tomcat 4.0.4
> After following the instructions at:
> http://www.getnet.net/~rbarr/TomcatOnIIS/ Tomcat worked fine on port 8080.
> When I'd try to access a .jsp file through IIS on port 80 I would get a
> "file download" dialog box, instead of being served up a piping hot .jsp
> file. The fix is as follows...]
>
> 1.) First I added the Application Mapping for .jsp files so IIS would
> recognize them:
> Application mapping for .jsp's to isapi_redirector.dll.
>
> IIS Management Console -> <computer name> -> properties -> master
> properties(for WWW Service) -> edit -> home Directory -> Configuration ->
> App Mappings -> Add
>
> Executable: D:\Tomcat4.0\native\isapi_redirector.dll
> Extension: .jsp
> I left the defaults as they were:
> "Script Engine" - Checked
> "Check that file Exists" - Unchecked
>
> It still didn't work, but I was getting closer! When I would connect to
> /home/jeff/fruit.jsp I would get a "page cannot be displayed" message.
> Tomcat was still working fine, though on port 8080 at /home/jeff/fruit.jsp
>
> The final change was to switch Tomcat to run on port 80. I changed
> port="8080" to port="80" in the "non-SSL HTTP/1.1 Connector" in the
> server.xml file. It's at about line 54 in the default server.xml file.
>
> Changed to:
>     <Connector
className="org.apache.catalina.connector.http.HttpConnector"
>                port="80"
>                minProcessors="5"
>                maxProcessors="75"
>                enableLookups="true"
>                redirectPort="8443"
>                acceptCount="10"
>                debug="0"
>                connectionTimeout="60000"/>
>
> In case it's useful to anyone, I included my Tomcat configuration files.
>
> Again, thank you for you help!
>
>
>
>    Jeff Polaski
>    "The cow is of the bovine ilk;
>     One end is moo, the other, milk."
>                -- Ogden Nash
>
>
> -----Original Message-----
> From: Prashanth Pushpagiri [mailto:prash_mail_lists@yahoo.com]
> Sent: Thursday, June 27, 2002 6:55 PM
> To: Tomcat Users List
> Subject: Re: IIS - jsp file download on port 80
>
>
> Try adding a application mapping in your IIS console.
> (IIS console --> Home Directory --> Configuration App
> Mapping), I'm using IIS 5.0 in win2k professional.
> In this console add the .jsp entension  and map it to
> isapi_redirect(or).dll where ever it is stored. That
> should work. Also, check to see if your web
> application has script and executable access.
>
> Prashanth
>
> --- Jeffrey Polaski <jpolaski@rgs.uci.edu> wrote:
> > First, thanks in advance for any help with this...
> >
> > I've gotten Tomcat 4.0.4 set up and everything works
> > well if I connect to
> > port 8080. I'd like to be able to serve servlets and
> > jsp's transparently to
> > users over port 80. However, if I connect through
> > port 80 and try to grab a
> > .jsp file all I get is a download prompt asking me
> > if I want to save the
> > file to my hard drive. (You can see for yourself:
> > http://128.200.156.162/home/jsp-files/fruit.jsp
> > <http://128.200.156.162/home/jsp-files/fruit.jsp> ).
> >
> > (you can also see that Tomcat works on port 8080:
> > http://128.200.156.162:8080/jsp-files/fruit.jsp
> > <http://128.200.156.162:8080/jsp-files/fruit.jsp> )
> >
> > I'm not sure what needs to be changed. Do I need to
> > add an application
> > mapping for .jsp's to the default web site in IIS?
> > If that's so, I'm not
> > sure what to map it _to_. Would it be
> > isapi_redirector.dll? I tried setting
> > Tomcat to run on port 80, but Tomcat just breaks. Is
> > the problem that I'm
> > using the warp connector? Should I be using
> > something else?
> >
> > I've put a copy of all the Tomcat configuration
> > files in:
> > http://128.200.156.162/home/jeff/tomcat/conf/
> > <http://128.200.156.162/home/jeff/tomcat/conf/> . As
> > far as I can tell,
> > everything is set up correctly... I took out ajp12
> > because it isn't used in
> > anything. Removing it didn't seem to affect
> > anything...
> >
> > I'll be happy to summarize and post the solution to
> > the group, once it's
> > worked out. And again, thanks for any help!
> >
> >
> >    Jeff Polaski
> >    Manager, Web Services
> >    Research & Graduate Studies
> >    University California, Irvine
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message