File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat, deploying to root
 
Similar Threads
Tomcat : AUTO-REDIRECT
Deploying a WAR file as root context
no "war" file created when we deploy a servlet through tomcat ?
Ant and War file
Tomcat & Shared Server Hosting Issue