This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

Joined: Jan 10, 2002
Posts: 60739
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upgrading tomcat; help with context container
 
Similar Threads
server.xml
Please I can't connect my App. to mysqlDatabase through apache-tomcat-6.0.16
Tomcat 3.2.3 classes not refreshing
Tomcat error when running startup.sh
server.xml quirk with startup servlet