geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken T." <ktectr...@gmail.com>
Subject Difficulty deploying Grails war file to Geronimo
Date Sun, 27 Sep 2009 03:53:43 GMT
I'm trying to deploy a working (but very simple) grails application war 
to Geronimo, but with no luck.  I've already made the changes to the 
geronimo-web.xml file that were specified online, leaving me this:


<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
 xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"
 xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
 xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1">
  <sys:environment>
    <sys:moduleId>
      <sys:groupId>default</sys:groupId>
      <sys:artifactId>TimeTracker</sys:artifactId>
      <sys:version>0.1</sys:version>
      <sys:type>war</sys:type>
    </sys:moduleId>
    <!-- For Grails to work properly we use the "parent-last" strategy : 
-->
    <inverse-classloading/>
  </sys:environment>
  <context-root>/TimeTracker</context-root>
  <virtual-host>www.squeakydolphin.com</virtual-host>
</web-app>


The exception I'm getting is this:

Failed to load servlet class 
org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet
org.apache.geronimo.common.DeploymentException: Failed to load servlet 
class org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet
	at 
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.getPortInfo
(AdvancedWARWebServiceFinder.java:148)
	at 
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices
(AdvancedWARWebServiceFinder.java:125)
	at 
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices
(AdvancedWARWebServiceFinder.java:45)
	at 
org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices
(WARWebServiceFinder.java:70)
	at 
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices
(JAXWSServiceBuilder.java:97)
	at 
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices
(JAXWSServiceBuilder.java:80)
	at 
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext
(AbstractWebModuleBuilder.java:364)
	at 
org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.initContext
(JettyModuleBuilder.java:350)
	at 
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext
(SwitchingModuleBuilder.java:159)
	at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration
(EARConfigBuilder.java:595)
	at org.apache.geronimo.deployment.Deployer.deploy
(Deployer.java:254)
	at org.apache.geronimo.deployment.Deployer.deploy
(Deployer.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke
(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:124)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
(GBeanInstance.java:867)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke
(BasicKernel.java:239)
	at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy
(AbstractDeployCommand.java:116)
	at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run
(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet in 
classloader default/TimeTracker/0.1/war
	at 
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass
(MultiParentClassLoader.java:437)
	at 
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass
(MultiParentClassLoader.java:279)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at 
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.getPortInfo
(AdvancedWARWebServiceFinder.java:142)
	... 22 more

Any help would be appreciated.  Thank you. 

-- 
Ken T. <ktectropy@gmail.com>


Mime
View raw message