Hmm, virtual server is supported in Geronimo 3.0. 
Before I checking the exception, it will be better if you could directly configure the virtual host in the server.xml file in the /var/catalina directory.
From Geronimo 2.2, we are trying to make the configurations easier, for the Tomcat assembly, almost the same syntax of server.xml is used to configure the Tomcat container. The most difference with Tomcat is that it is not allowed to configure web application context in that file.

BTW, due to the timeline of the incoming 3.0-beta-1 release, I did not have chance to merge the root context changes to that build. not sure it will affect your decision.

2011/11/2 chi runhua <>
IIRC, virtual host is not supported in G3.0 yet.

I might be wrong...


2011/11/2 Radim Kolar <>
I have problem running grails application in G3. I am trying it to deploy into virtual hosts using configuration from geronimo 2.

It fails with:

show/hide    Error    The application was not successfully started.
start of hebeidomains/whois-web/1.0.1/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of hebeidomains/whois-web/1.0.1/war failed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException: trying to start ancestor config for config hebeidomains/whois-web/1.0.1/war, but not found (configId: hebeidomains/whois-web/1.0.1/war) (configId: hebeidomains/whois-web/1.0.1/war)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(
... 3 more

I have no idea what should be ancestor for config. Virtual host is defined here:

<module name="org.apache.geronimo.configs/tomcat7/3.0-SNAPSHOT/car">
<gbean gbeanInfo="org.apache.geronimo.tomcat.HostGBean" name="org.apache.geronimo.configs/tomcat7/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/tomcat7/3.0-SNAPSHOT/car,j2eeType=Host,name=bean">
<attribute name="className">org.apache.catalina.core.StandardHost</attribute>
<attribute name="initParams">

and geronimo-web,xml is simple:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns=""
<environment xmlns=""