• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Tomcat Configuration - context woes?

 
Greenhorn
Posts: 3
MySQL Database Tomcat Server Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
MySQL Database Tomcat Server Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you give



a try?

ram.
 
Why is the word "abbreviation" so long? And this ad is so short?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic