Two Laptop Bag
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 REST with Spring (video course) this week in the Spring 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 ( i always get the Jboss status page, then when i type . I get my site. Please how do i ensure that whenever i enter , I do get my web site
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

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 -
if (Posts < 30) JavaRanchFAQ);
I agree. Here's the link:
subject: Deployment Question
It's not a secret anymore!