wood burning stoves
The moose likes JBoss/WildFly and the fly likes Deployment Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deployment Question" Watch "Deployment Question" New topic

Deployment Question

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I have a web application that i have bundled in a war file called muzzle.war and i have placed this
war into my C:\jboss\server\default\deploy directory any time i start my server and i try to access my
web site (www.something.com) i always get the Jboss status page, then when i type
www.something.com/muzzle . I get my site. Please how do i ensure that whenever i enter www.something.com , I do get my web site
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10382

Create a jboss-web.xml containing the following:

Place this jboss-web.xml in the WEB-INF folder of your WAR file.

Also, rename ROOT.war (which is present in C:\jboss\server\default\deploy\jboss-web.deployer folder) to maybe JBossDefault.war

[My Blog] [JavaRanch Journal]
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
or you can have the top level domain contain a redirect file to your /muzzle directory,

Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
I agree. Here's the link: http://aspose.com/file-tools
subject: Deployment Question