aspose file tools*
The moose likes Tomcat and the fly likes How to run an application as name-based in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to run an application as name-based in tomcat" Watch "How to run an application as name-based in tomcat" New topic
Author

How to run an application as name-based in tomcat

sushi sri
Ranch Hand

Joined: Oct 27, 2009
Posts: 38
Hi,

I'm using Tomcat5.5 on windows and tomcat5.0.28 on linux.
I'm running my aplication in tomcat with localhost now.
I want to run my application now with hostname instead of locathsot and ipaddress.

Basically i've to run this on Linux machine , for which i want to test this on windows first and then on linux later.

If any body can provide step by step procedure to host my application with hostname, it's very much helpful.

It's urgent for me.
Thanks

Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
uranch sushi wrote:I want to run my application now with hostname instead of locathsot and ipaddress


Find you machine host name and substitute localhost of IP address with found host name
sushi sri
Ranch Hand

Joined: Oct 27, 2009
Posts: 38
Hi Misha Ver,

thanks for that. it works.

My actual question is to run my application with the registered domain name on internet.
My server is on 32-bit linux, where i've my application.

For this i need the complete information of which apache httpd server to install for my tomcat5.0.28 onlinux and installtion detals and how to run etc.

Your help is appreciated
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39550
    
  27
Do you have a static IP address for that machine, and is it permanently connected to the Internet?


Ping & DNS - updated with new look and Ping home screen widget
sushi sri
Ranch Hand

Joined: Oct 27, 2009
Posts: 38
i'm new to linux.
I tried this command
"host myserver.com"
which is returning ipadress of the server.
Is this the static ip?

The server is connected to internet only.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39550
    
  27
So is it permanently connected or not? If not, chances are that it doesn't have a static IP address; how, exactly, is it connected? DSL? Cable? Company network? Something else?
sushi sri
Ranch Hand

Joined: Oct 27, 2009
Posts: 38
i think though company network. i'm not sure. how can i found this?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
You better talk to your company network administrator. Company policy may not permit you to run your own server open to the public, and your company network firewall may not allow it either.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run an application as name-based in tomcat
 
Similar Threads
Changing the WORLD by writing CODE
Cannot link to session EJB on Windows
Installing Tomcat on linux help needed.
Tomcat on Mac OS X with Windows in a VirtualBox
batch file run from Windows or Linux