This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat, deploying to root Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat, deploying to root" Watch "tomcat, deploying to root" New topic
Author

tomcat, deploying to root

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i'm working on an ant-cruisecontrol build system to replace manual process. in past, guys would just copy-paste stuff to webapps/ROOT. i'm building war and looking to deploy to root. had thought that all that was needed was to build ROOT.war, and tomcat would explode it. not the case. tomcat does not like /ROOT to be removed, and will not explode ROOT.war. been googliing around, but no clue thur far. thoughts?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
posting solution back here for closure...

commented out the context setting in server.xml, deleted /ROOT, copied ROOT.war out to webapps/, restarted server, viola. had tried lots of alternatives around each of these points, but this is the combo that works for now.
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat, deploying to root
 
Similar Threads
no "war" file created when we deploy a servlet through tomcat ?
Tomcat : AUTO-REDIRECT
Deploying a WAR file as root context
Tomcat & Shared Server Hosting Issue
Ant and War file