This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Upgrading tomcat; help with context container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Upgrading tomcat; help with context container" Watch "Upgrading tomcat; help with context container" New topic
Author

Upgrading tomcat; help with context container

Tempora Telora
Ranch Hand

Joined: Jun 20, 2005
Posts: 83
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
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19725
    
  10

Moving to the Apache/Tomcat forum...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63208
    
  69

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: Upgrading tomcat; help with context container
 
It's not a secret anymore!