[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

How to deploy web app so that it can be access through the internet?

i wanted to deploy my jsp application so that it can be access by the outside world. i am using tomcat as our webserver in development.
i have granted permission from my manager to test on our 'public server' that currently running a asp application on IIS.
my question:
-can one server run both IIS and tomcat together?
-what should i do/ how to configure my web app so that it can run on the public server using
  a. IIS?
  b. tomcat?
-where can i get the documentation in doing it? all i have is the tutorial showing me how to access to localhost only..
-to access the current asp application, we supply url like this(eg): http://hq.watever.com:8383/mainpage.html, so can i configure it so that to access the jsp, the url will be sth like http://hq.watever.com:8383/jsp-page/
0
JAVAnewbie
Asked:
JAVAnewbie
  • 3
  • 2
1 Solution
 
TimYatesCommented:
0
 
JAVAnewbieAuthor Commented:
sounds like it helps, but i need a working example... i just afraid that i will mess up with our server if it is not being done properly... :>
0
 
colr__Commented:
Im afraid your asking us to write a book here for 200 points.

1st question - yes, IIS and tomcat can exist on the same server for public access, but they will have to have different ports. i.e. only one of them can run on port 80 which is the standard HTTP port.

colr__
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
JAVAnewbieAuthor Commented:
>>Im afraid your asking us to write a book here for 200 points.

but you at least might be able to point me to the right direction?
-where can i get the documentation in doing it? all i have is the tutorial showing me how to access to localhost only..
0
 
colr__Commented:
OK, first question yes, they can co-exist. But as I said, they would have to be on different ports. I have a windows machine setup with 2 public IP addresses. IIS listens on one and JBoss (which has tomcat internally) on tghe other. With this method, they can both run on the same port (80, the default for HTTP requests). If you didnt have 2 IP addresses, you'd have to put them both on different ports.

For running a public siste on IIS, you shouldnt have todo anyu configuration work. If youve already got it running website, then its already configured correctly - simply drop your HTML/ASP pages into thre relavant site directoty to make it live.

For Tomcat, there is a bot more work involved in the setup. You can find the info you're looking for here: http://www.thethirdbridge.com/doItYourself/settingUpTomcat4.html.

As far as launching an application into tomcat is concerned, it doesnt matter whether its public or private, youll launch your app in the same way - this will most commonly be by packaging your web app into a deployable file (a WAR for instance) and putting it into the correct directory on your Tomcat istallation.

As I said in my post above, there are a lot of questions you are asking here, how to setup a live web server, how to launch an application to Tomcat.

I hope this points you in the right dorection though.

colr__
0
 
JAVAnewbieAuthor Commented:
hmm.. guess that's good enough to get me started ;-)
tks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now