wood burning stoves 2.0*
The moose likes Servlets and the fly likes how to see application on tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to see application on tomcat" Watch "how to see application on tomcat" New topic
Author

how to see application on tomcat

zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
Hi. I have written jsp files, servlet and deployed on tomcat. From the browser, with http://localhost:8080/myapps, I manage to see the application.
I tried to access myapps with http://xxx.xx.x.x:8080/myapps from other client machine, it�s ok. There�s another application (myappb) running on the same server machine with Internet Information Services, so http://xxx.xx.x.x/myappb will show myappb.
May I ask is it possible to omit the 8080 in the address to access myapps? May I know how to do it?

thanks.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
80 is a default port for HTTP server. Therefore we dont have to specify 80 with IIS server.

We can configure our tomcat server with IIS or Apache Web Server. Then we dont have to specify the port.
zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
Hi. Thanks for your reply. May I know how to configure tomcat with IIS to ommit the 8080 in the address?

thanks.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Find the connector running on port 80 (in your tomcat/conf/server.xml file) and change the port to 80.

If you're on a unix system, you'll run into some issues.
Non-root owned processes can not bind to ports below 1025 on Unix boxes.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
hi. thanks for your reply.
i still require IIS as other application are using it. i found documentation on integrating IIS and tomcat with tomcat connector. however, i have some problem after installation.
i am posting the question in product/tomcat forum with the title "error with jakarta tomcat connector". please help if you have experience using tomcat connector. thank you.
zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
hi. thanks for your reply.
i still require IIS as other application are using it. i found documentation on integrating IIS and tomcat with tomcat connector. however, i have some problem after installation.
i am posting the question in product/
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by zelynn goay:
i still require IIS as other application are using it. i found documentation on integrating IIS and tomcat with tomcat connector. however, i have some problem after installation.
i am posting the question in product/tomcat forum with the title "error with jakarta tomcat connector". please help if you have experience using tomcat connector. thank you.


Do as Ben directed. You don't need IIS or any other web server then.

Steps involved on windows running IIS.

- go to services
- stop IIS Admin
- change it to manual. So, it wouldn't get started next time
- change your Http 1.1 connector in your TOMCAT_HOME/conf/server.xml to 80
- startup tomcat
- try http://localhost/

Thanks.
[ November 09, 2005: Message edited by: Adeel Ansari ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to see application on tomcat
 
Similar Threads
Requested Resource() not available
Need help Configuring Tomcat 4.0.4 on Linux
Url of web aplpication
remove the war name from the urls in tomcat5.5
Tomcat intranet Web Application