This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Configuration - context woes?
 
Similar Threads
Tomcat Configuration - context woes?
J2EE Reference Implementation default webapp
Probelm with creating virtual hosting with tomcat
get context path from JSP
How to install war application