[jboss-jira] [JBoss JIRA] Resolved: (JBAS-2558) default virtual host always "localhost"

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Jul 10 10:47:27 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-2558?page=all ]

Remy Maucherat resolved JBAS-2558.
----------------------------------

    Fix Version/s: JBossAS-5.0.0.CR2
       Resolution: Done

Fixed.

> default virtual host always "localhost"
> ---------------------------------------
>
>                 Key: JBAS-2558
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2558
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.0.3 SP1
>            Reporter: Arto Huusko
>         Assigned To: Remy Maucherat
>            Priority: Minor
>             Fix For: JBossAS-5.0.0.CR2
>
>
> JBoss 4.0.3SP1 admin guide claims that
> "When a WAR file is deployed, it is associated by default with the virtual host whose name matches the defaultHost attribute of the containing Engine."
> This is false, and thus default WAR deployments are broken when there is no host named "localhost" -- or even if there is such virtual host, but WARs should not be deployed there by default.
> It seems that, regardless of what Hosts are configured, and what the defaultHost is, if WAR does not have a jboss-web descriptor that specifies the virtual host, the WAR always deploys to "localhost". If there is no Host with that name configured, the WAR is inaccessible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list