Solved

J2EE adding name questions

Posted on 2006-07-21
10
233 Views
Last Modified: 2010-03-19
Hello,

Please let me know if I am asking in  the wrong TA.

I am a J2EE programmer. I have deployed my application successfully to Tomcat and it works fine by specifying like http://localhost:8080/MyWebApp. Now, how can I add the name to it so that it is accessible within the LAN by specifying http://intranet.david.com/MyWebApp or http://intranet.david.com:8080/MyWebApp

I may be interested in both Linux and Windows 2000.

Thanks
David

0
Comment
Question by:suprapto45
  • 5
  • 5
10 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
Comment Utility
YOu need to change the <host> element in your server.xml file to represent the host the request is coming from.
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
And you should better ask this to the Java TA.
0
 
LVL 16

Author Comment

by:suprapto45
Comment Utility
Thanks girionis,

At first, I thought that this is networking configuration ;). Is it only changing the <host> in the server.xml?

David
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
Yes, as long as the rest can find the dns you will input.
0
 
LVL 16

Author Comment

by:suprapto45
Comment Utility
let me google them for a sec. Do you have any good URL for it?

David
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 16

Author Comment

by:suprapto45
Comment Utility
Do I need to  use Apache as well?

I will be going for few hours now

David
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 500 total points
Comment Utility
You only need to use Tomcat as you are already using it. As for a url, have a look here: http://www.onjava.com/pub/a/onjava/2002/07/31/tomcat.html that explains briefly the server.xml file.
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
BTW I will be away for the next week, so I won't be able to answer any more questions. If you need clarifications hopefully some other expert will jump in.
0
 
LVL 16

Author Comment

by:suprapto45
Comment Utility
Do not worry girionis,

Your answer is enough for me. I will approve your answer soon.

David
0
 
LVL 16

Author Comment

by:suprapto45
Comment Utility
Thanks girionis,

Appreciate it.

David
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
how to access my server 9 26
VMware NSX version 6.2.2 upgrade 6.2.4 6 47
Use of Training Budget 12 64
active directory 3 20
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now