Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Upgrading tomcat; help with context container

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I am currently upgrading from a very old version of tomcat to the newest version 6.x. I am having alot of problems getting the context path to work. Here are the two different server.xml files.

new


old


I know this is probably very long but, I have been fighting with this for a while now. I am not very knowledgable on tomcat. Any help would be great.

Thank you!

Randy
 
Sheriff
Posts: 26965
84
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the Apache/Tomcat forum...
 
Sheriff
Posts: 67620
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't delved into Tomcat 6, but if it's anything like the changes from Tomcat 4 to Tomcat 5 you aren't going to be able to just copy and massage the server.xml -- the changes are too vast.

Rather, you may want to start with the generic server.xml (copy it first so that you don't lose it), and add things to it one at a time, testing along the way, until you get all your settings migrated.

I found that it's usually a great opportunity to make sure no "cruft" has accumulated in the server.xml.

Again, this is extraplolating from my experiences with migrating Tomcat 4 to 5; not any concrete experience with 5 to 6.
[ January 02, 2007: Message edited by: Bear Bibeault ]
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic