Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 14th, 2003, 08:55 AM
knuckles knuckles is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Maine
Posts: 9 knuckles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to knuckles Send a message via Yahoo to knuckles
IIS and Tomcat HELP PLEASE!!!

Hi all, so, I follow the instructions that I've found here and in other places and I get the connector (isapi_redirector) working for the <CATALINA_HOME>/examples folder. I'm thinking yeeha, right? No yeeha. I cannot seem to add any other contexts to Tomcat and get them to work. The thing that's frustrating me is that if I go to http://localhost:8080/survey I get my app, if I go to http://localhost/survey after defining the /survey=$(default.worker) it doesn't work. I took the app that I'm building and put it in the examples folder and it works. But if I try to just go to http://localhost/survey it won't work. I'm flabbergasted. I've been working on this for almost 3 days now. Anyone have any suggestions?

signed "wit's end"

Reply With Quote
  #2  
Old April 22nd, 2003, 12:25 PM
hurshid hurshid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Ankara
Posts: 8 hurshid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to hurshid
you should change the port number of tomcat server...

the instructions are:

Assuming you have no other server already running on port 80, you'll find it convenient to configure Tomcat to run on the default HTTP port (80) instead of 8080. Making this change lets you use URLs of the form http://localhost/blah instead of http://localhost:8080/blah. Note that you need admin privileges to make this change on Unix. Also note that Windows XP automatically starts IIS on port 80. So, if you use XP and want to use port 80 for Tomcat, you'll need to disable IIS.
To change the port, edit install_dir/conf/server.xml and change the port attribute of the Connector element from 8080 to 80, yielding the result below. (Note that the exact class name of the Connector varies in different Tomcat versions. It was called HttpConnector in earlier versions of Tomcat 4.)

<Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="80" ...
... />

Reply With Quote
  #3  
Old April 22nd, 2003, 12:42 PM
knuckles knuckles is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Maine
Posts: 9 knuckles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to knuckles Send a message via Yahoo to knuckles
Thank you for the reply hurshid. The actual problem stems from the fact the company I currently am working for serves both asp based sites and jsp based sites from the same server. So, (and no Apache::Asp -- Perl comments please lol) I have to try and serve java based web-apps through IIS, which I got to work after all.

If anyone else is looking for integration stuff between IIS and tomcat check this out...

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

The automated guy worked great and also the manual config worked as well.

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > IIS and Tomcat HELP PLEASE!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT