• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Virtual Hosting in Jboss Error

 
Ranch Hand
Posts: 205
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With the help of the below article I tried implement the concept of virtual hosting.

http://www.jboss.org/community/docs/DOC-12549

But i end up with 404 error.

I will explain the process i implemented

I am using jboss 5.0.1 new app server

In default/deploy/jbossweb.sar--i opened server.xml and add below code



Port Number i set it to 80



Now i navigated back to myapp.war and edited jboss-web.xml available in WEB-INF folder. my jboss-web.xml is as below







Now I accessed http://myapphost i get page not found error. I have index.html in myapp.war folder <welcome-file-list>tags are available in web.xml and index.html is added to it also


Also, when i access http://www.myapp.com i find the same problem.

Please help me. Where i am going wrong?
 
Skanda Raman
Ranch Hand
Posts: 205
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any help
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't tried this much, but here's how i had got this working the last time
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic