wood burning stoves*
The moose likes Tomcat and the fly likes Deploying my web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying my web service" Watch "Deploying my web service" New topic
Author

Deploying my web service

Gaurav Pawar
Ranch Hand

Joined: Sep 12, 2006
Posts: 37
Hi all,
I work as an intern with a software firm. I have used Apache tomcat to deploy my web-service developed in struts. Till date i used Tomcat that had been installed locally on windows XP.

Now i need to host this on our company's server which already has IIS running on it.

What i want is how can i go about setting up the server for my application?

Regards,
Gaurav.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42263
    
  64
Well, IIS can't run Java web apps, so you need to install a servlet engine that's compatible with IIS, like JRun or ServletExec, or set it up to redirect to a separate Tomcat instance, as is described here.


Ping & DNS - my free Android networking tools app
Gaurav Pawar
Ranch Hand

Joined: Sep 12, 2006
Posts: 37
hey,

Sounds like a good solution!!! Playing with windows registry seems a little tricky. Since we are planning to host this components on 3rd party web server we fear if there are any any perfomance issues with windows server operating system, the vendor won't allow such hosting.

Is there any other easy way I can have Tomcat based hosting on Windows server?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
Is there any other easy way I can have Tomcat based hosting on Windows server?

If you want to reach your Tomcat server through port 80, it will have to be done with IIS redirecting to Tomcat where Tomcat is configured to listen at a different set of ports. Its a bit of a pain to configure but works fine. Configuration depends on the version of Windows they are running.

You could also reach Tomcat directly at port addresses that dont interfere with IIS or other apps as long as the firewalls, etc are configured correctly.


Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying my web service