This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Virtual Hosting in Jboss Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Virtual Hosting in Jboss Error" Watch "Virtual Hosting in Jboss Error" New topic
Author

Virtual Hosting in Jboss Error

Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202
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?
Eshwar Prasad
Ranch Hand

Joined: Mar 21, 2008
Posts: 202
any help
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
161

I haven't tried this much, but here's how i had got this working the last time


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Virtual Hosting in Jboss Error
 
Similar Threads
Deploy web apps on different ports
how to set domain namin on jboss as 4.0.5
Virtual host configuration
SAXException while parsing web.xml file in jboss 5.0 during deployment
Problems with FORM Authentication