Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to remove jboss default home ?

 
shahabas shabeer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
How can I remove jboss defalut page displayed when I enter
http://localhost in the browser.I want to show my home page
instead of this page. How to do this ?

Thanks
Shahabas E Shabeer
 
shahabas shabeer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I think my question lacks clarity.

I have jboss installed in my machine.
When I enter http://localhost:8080 in a browser in my machine after running jboss, I am getting a default page with few jboss related links as given below

********************
JBoss Online Resources
* Getting started with JBoss 3.2 [PDF]
* JBoss Wiki
* JBoss forums
JBoss Management
* Tomcat status (full) (XML)
* JMX Console
* JBoss Web Console
***********************

I want to show another page instead of this default page.
How to do this ?
Hope my question is clear now.
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, I just came to javaranch.com to check out the very same question because all other JBoss forums suck.
Yeah, how do you change which page is loaded? Right now it just loads application jmx-console.war, so is it some setting in server.xml?

thanks,
Alex
 
Saulius Sinkunas
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at $JBOSS/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/index.html
This file, I think, is loaded. If you want to change, you can just change content of ROOT.war. Or you could configure default page in server.xml. Better to look at Tomcat documentation.
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, that did the trick. Thanks!
 
shahabas shabeer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Saulius. That works
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You waited 4 years for the answer? (Just kidding)
 
shahabas shabeer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic