File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Configuration - context woes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Configuration - context woes?" Watch "Tomcat Configuration - context woes?" New topic

Tomcat Configuration - context woes?

Lessie Mitch

Joined: May 02, 2007
Posts: 3

I have a virtual host setup with a single instance of tomcat serving up applications on 5 ips. One of those IPs is our root dns.

When users key in the root domain (eg: they get the 400 error.
When users add the context (eg: they can then access the application/website which is fully operational and working fine.

What do I change in which .xml to have the dns redirect to my application/website??

environment: tomcat 5.5.16 on linux 4e

*edited cuz i cannot spell when the ac is set to artic levels -.-
[ May 02, 2007: Message edited by: Lessie Mitch ]
Lessie Mitch

Joined: May 02, 2007
Posts: 3

Sorry for posting in the wrong spot...


Straight tomcat server, no apache involved (is why I didn't post to this section in the first place).

this tomcat is setup for virtual hosting.
the domain involved is our root domain.

in the server.xml is the following host information (some changes for security reasons)

within the application's context.xml is the following:

Is there someplace else I should be looking?
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

Did you give

a try?

I agree. Here's the link:
subject: Tomcat Configuration - context woes?
It's not a secret anymore!