It should work and it does work fine with Jetty. I'll have to look into the tomcat behavior.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ----- Original Message ----- From: "Brian Topping" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 8:10 AM Subject: [JBoss-user] Virtual hosting question Hi guys, I have map a different war deployment at the root of several different name-based virtual hosts. In other words, http://a.foo.com and http://b.foo.com should map directly to separate .war files. Right now, I have two separate war deployments, each with a jboss-web.xml. They look like: <jboss-web> <context-root>/</context-root> <virtual-host>a.digidemic.com</virtual-host> </jboss-web> and <jboss-web> <context-root>/</context-root> <virtual-host>b.digidemic.com</virtual-host> </jboss-web> but I am getting an error: 10:52:19,448 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: <none> Incompletely deployed packages: [org.jboss.deployment.DeploymentInfo@716004b8 { url=file:/C:/dev/jboss-3.0.1_tomcat-4.0.4/server/default/deploy/b.war/ } deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@ff2e265c status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique) state: FAILED watch: file:/C:/dev/jboss-3.0.1_tomcat-4.0.4/server/default/deploy/b.war/WEB-INF/web .xml lastDeployed: 1032360729806 lastModified: 1032360644054 mbeans: ]MBeans waiting for classes: <none> MBeans waiting for other MBeans: <none> It makes sense what is going on, both are trying to use the same root mapping. Is there a way around this? Thanks for any info, brian ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
