wood burning stoves 2.0*
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
Author

Tomcat Configuration - context woes?

Lessie Mitch
Greenhorn

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: www.mysite.com) they get the 400 error.
When users add the context (eg: www.mysite.com/mysite) 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
Greenhorn

Joined: May 02, 2007
Posts: 3
Sorry for posting in the wrong spot...

info:

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?

ram.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat Configuration - context woes?
 
Similar Threads
Probelm with creating virtual hosting with tomcat
Tomcat Configuration - context woes?
J2EE Reference Implementation default webapp
get context path from JSP
How to install war application