This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default welcome file

 
Shivaprasad P Kanaganahallimath
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have two struts applications running in JBoss AS 5.1 and I have provided virtual host for these applications.Two applications are running under one virtual host IP. So when I try to enter the IP (virtual host) the welcome file is not loading. server says file not found. As there is same welcome file in both of these applications.

So I want to make one of the welcome file from one application to load as soon as I request for that IP.
Both of the applications have their own context path (not /).


thanks and regards
Shivaprasad P.K.
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. What is JBoss's ROOT application's welcome file, try to give a redirect link from that default web app to welcome file to your one of the struts app.

2. OR, find out How JBoss configure the virtual host setting with the domain/ip in conjunction with the context/struts web app

3. This is real JBoss config problem, I suppose , So asking it in JBoss section will yield more results

HTH
 
Shivaprasad P Kanaganahallimath
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sagar,

thanks for the reply, I have put up a site in root.war so I can not use it I belive.
please move this to jboss section....[I was lil bit confused whether to put in jboss or struts]



 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shivaprasad P Kanaganahallimath wrote:thanks for the reply, I have put up a site in root.war so I can not use it I belive.

I don't know whether ROOT.war file is the default "\" context in JBoss. Consult JBoss community oR Google
Shivaprasad P Kanaganahallimath wrote:please move this to jboss section....[I was lil bit confused whether to put in jboss or struts]

Unfortunately, I can't move this thread to JBoss section, it needs Moderator and above privilege. PM any moderator you know here, he will do that for us. And your problem is not with struts working, its about server configuration.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic