Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 28824 invoked from network); 29 Jun 2002 02:24:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 29 Jun 2002 02:24:20 -0000 Received: (qmail 20678 invoked by uid 97); 29 Jun 2002 02:24:13 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 20643 invoked by uid 97); 29 Jun 2002 02:24:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 20631 invoked by uid 98); 29 Jun 2002 02:24:12 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <009c01c21f13$cd29bee0$c3425541@venus> From: "Yousef Shemisa" To: "Tomcat Users List" References: <0839DE213D36D6119B9300805FBB9CBD22D685@admin120181.rgs.uci.edu> Subject: Re: IIS - jsp file download on port 80 - not resolved Date: Fri, 28 Jun 2002 19:22:22 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N 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" To: "'Tomcat Users List'" 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 -> -> 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: > 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 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 > > ). > > > > (you can also see that Tomcat works on port 8080: > > 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/ > > . 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: > > > > For additional commands, e-mail: > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: