Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JBoss virtual hosts

  Asked By: Thelma    Date: Jul 20    Category: Java    Views: 571
  

I'm not sure if this is the proper venue for this question, but I
couldn't find a better one. If there is a better one please direct me
to it. The JBoss groups doesn't seem to be very active.

I've got an application I am trying to deploy using JBoss 3.0.4/Jetty.
I need the application to respond to a virtual host name. I can get
it to work correctly using the standard JBoss/Jetty addressing:
http://<servername>/quality, but I need it to respond using
http://quality.domain.name.

I put the following code in my WEB-INF/jboss-web.xml file:

<virtual-host>
quality.domain.name
</virtual-host>

There is a correct DNS entry for quality.domain.name.

When I deploy the application with this code, all I get is "HTTP
ERROR: 404 Not Found" errors. When I take it back out and redeploy
then it will answer.

What have I done wrong? Any ideas?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on JBoss virtual hosts Or get search suggestion and latest updates.




Tagged: