[ http://jira.jboss.com/jira/browse/JBAS-1301?page=comments#action_12314756 ] Andrew Oliver commented on JBAS-1301: -------------------------------------
Ran in the debugger. at request time the VHost+Aliases are all there but the CONTEXT is not actually mapped to the VHost: Most interesting file: ./jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java In fact only /jmx-console is mapped (kinda) which isn't actually mapped to an VHOST. Still need to look through the deployment process. > Tomcat backward compatbility loss VirtualHost->Alias mapping > ------------------------------------------------------------ > > Key: JBAS-1301 > URL: http://jira.jboss.com/jira/browse/JBAS-1301 > Project: JBoss Application Server > Type: Bug > Components: Web (Tomcat) service > Versions: JBossAS-4.0.1 Final, JBossAS-3.2.6 Final > Reporter: Andrew Oliver > Assignee: Scott M Stark > Fix For: JBossAS-3.2.7 Final > Attachments: server.xml > > Original Estimate: 3 hours > Remaining: 3 hours > > In JBoss 3.2.3 (Tomcat 4.x) it was possible to create a Virtual Host and set > of Aliases in the jboss-service.xml and then map the webapps to the aliases > through the app deployment descriptors. In tomcat 5 this works for *some* > apps that have been deployed. The rest throw a 400 error saying no virtual > host has been configured. The same apps mapped directly to the actual vhost > (not alias) do not throw this error. The previous behavior can be useful for > builds which target multiple environments (stage/test/prod/etc). Moreover it > should be preserverd for backward compatibility. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
