This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Deploying in Jboss/Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
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.
Thom (BTW nice moose)
Thom Hixenbaugh

Joined: Mar 16, 2004
Posts: 6
Soooo I take it that no one knows then??
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 567
I think you'd have more chance of getting an answer if you asked on the tomcat forum. If you get a solution, it probably won't be too difficult to apply it to tomcat/jboss.

I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Thom Hixenbaugh

Joined: Mar 16, 2004
Posts: 6
Thanks, I'll try that. I wasn't sure if the Deploy directory stuff was controled by Tomcat or Jboss, but it makes sense that, that would be a Tomcat parameter.
Thanks again.
I agree. Here's the link:
subject: Deploying in Jboss/Tomcat
jQuery in Action, 3rd edition