Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remove Jboss home page in 501GA

 
aman nagi
Greenhorn
Posts: 5
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have 2 wars deployed ABC and DEF and removed ROOT.war from JBOSS501GA folder.

For ABC.war i have <context-root>\<context-root> and for DEF it is <context-root>\DEF<context-root>

but when i am hitting http://server/ it gives me a 404 page error and when i hit http://server/DEF it does takes me to the second application

I need to redirect default page to my ABC war

Please note that i am using an Apache layer and have set up virtual ip for my second application DEF in http.conf file. I don't think apache have anything to do with the problem. I Just cannot figure it out.

~Aman
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not use back-slashes in context-root! Backslashes are usually interpreted as escape characters. Use forward slashes instead.
 
aman nagi
Greenhorn
Posts: 5
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still even with forward slashed i am getting HTTP 404 when i hit http://server/.

<jboss-web>
<security-domain>java:/jaas/security-module</security-domain>
<context-root>/</context-root>
</jboss-web>

~Aman
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can follow the below article for step by step changes that needs to be done.

http://weblogic-wonders.com/weblogic/2011/03/11/changing-default-application-in-jboss/

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you defined a welcome-file-list win web.xml? Did you try with a URL that references a file, example: http:/server/index.html?

when i hit http://server/.

Did you change the HTTP port from 8080 to 80? If not you will have to use http://server:8080/
 
aman nagi
Greenhorn
Posts: 5
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Appreciated peter!!! and noted your point on posts.
got the problem, i was using a different port.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic