]
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: