File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Deploying in Jboss/Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying in Jboss/Tomcat" Watch "Deploying in Jboss/Tomcat" New topic

Deploying in Jboss/Tomcat

Thom Hixenbaugh

Joined: Mar 16, 2004
Posts: 6
Hello all,
I'm running Tomcat on Jboss and I'm running into a unique problem. I'm looking for a way to set up my Tomcat so when I put .war files into my deploy directory instead of it deploying at http://MyServer:8080/WarFile I want it to automaticly deploy to http://MyServer:8080/MyDir/WarFile. Since the directory that I'm looking to deploy into wont ever change I'd like to be able to set one setting once that will tell Tomcat to deploy everything there.
I don't know if it's possible or not, but I have a hard time thinking I'm the only person looking to do this.
Emanuel Elhardt

Joined: Mar 29, 2004
Posts: 1
You have to set a context in your Web-Application. This context will then be used everytime you deploy the Application.
I agree. Here's the link:
subject: Deploying in Jboss/Tomcat
It's not a secret anymore!