Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

J2EE adding name questions

Posted on 2006-07-21
10
Medium Priority
?
240 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 2000 total points
ID: 17153579
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
ID: 17153598
And you should better ask this to the Java TA.
0
 
LVL 16

Author Comment

by:suprapto45
ID: 17153662
Thanks girionis,

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

David
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 35

Expert Comment

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

Author Comment

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

David
0
 
LVL 16

Author Comment

by:suprapto45
ID: 17153778
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 2000 total points
ID: 17153903
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
ID: 17153915
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
ID: 17154695
Do not worry girionis,

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

David
0
 
LVL 16

Author Comment

by:suprapto45
ID: 17155343
Thanks girionis,

Appreciate it.

David
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

715 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