• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Question

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or you can have the top level domain contain a redirect file to your /muzzle directory,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic