geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kolar <...@sendmail.cz>
Subject Grails application in Geronimo 3
Date Tue, 01 Nov 2011 23:58:22 GMT
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(SimpleConfigurationManager.java:718)
at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
at 
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:662)
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(SimpleConfigurationManager.java:699)
... 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">name=whois.hebeidomains.com
         appBase=
         workDir=work</attribute>
</gbean>
</module>

and geronimo-web,xml is simple:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         
  xsi:schemaLocation="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1
                              
http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
<environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"
     xsi:schemaLocation="http://geronimo.apache.org/xml/ns/deployment-1.2
                         http://geronimo.apache.org/xml/ns/deployment-1.2">
<moduleId>
<groupId>hebeidomains</groupId>
<artifactId>whois-web</artifactId>
<version>1.0.1</version>
<type>war</type>
</moduleId>
</environment>
<context-root>/whois</context-root>
<host>whois.hebeidomains.com</host>
</web-app>

Mime
View raw message