• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

default welcome file

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic