I really do not know how to do I have gone through a lot of blogs
tutorials forums etc etc.But have not yet got any sollution.
I am trying to deploy a helloworld application on geronimo which is
made using grails.
and get error here is a snapshot
server# java -jar deployer.jar --user system --password manager deploy
--inPlace /root/a12/web-app/
2010-05-06 04:32:13,150 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy
web-app: xml problem for web app .
Invalid deployment descriptor: errors:
error: cvc-complex-type.2.4a: Expected elements
'modul...@http://geronimo.apache.org/xml/ns/deployment-1.2
dependenc...@http://geronimo.apache.org/xml/ns/deployment-1.2
hidden-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
non-overridable-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
private-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
inverse-classload...@http://geronimo.apache.org/xml/ns/deployment-1.2
suppress-default-environm...@http://geronimo.apache.org/xml/ns/deployment-1.2'
instead of 'grou...@http://geronimo.apache.org/xml/ns/deployment-1.2'
here in element
environm...@http://geronimo.apache.org/xml/ns/deployment-1.2
error: cvc-complex-type.2.4a: Expected elements
'modul...@http://geronimo.apache.org/xml/ns/deployment-1.2
dependenc...@http://geronimo.apache.org/xml/ns/deployment-1.2
hidden-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
non-overridable-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
private-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
inverse-classload...@http://geronimo.apache.org/xml/ns/deployment-1.2
suppress-default-environm...@http://geronimo.apache.org/xml/ns/deployment-1.2'
instead of 'artifac...@http://geronimo.apache.org/xml/ns/deployment-1.2'
here in element
environm...@http://geronimo.apache.org/xml/ns/deployment-1.2
error: cvc-complex-type.2.4a: Expected elements
'modul...@http://geronimo.apache.org/xml/ns/deployment-1.2
dependenc...@http://geronimo.apache.org/xml/ns/deployment-1.2
hidden-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
non-overridable-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
private-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
inverse-classload...@http://geronimo.apache.org/xml/ns/deployment-1.2
suppress-default-environm...@http://geronimo.apache.org/xml/ns/deployment-1.2'
instead of 'j2eet...@http://geronimo.apache.org/xml/ns/deployment-1.2'
here in element
environm...@http://geronimo.apache.org/xml/ns/deployment-1.2
error: cvc-complex-type.2.4a: Expected elements
'modul...@http://geronimo.apache.org/xml/ns/deployment-1.2
dependenc...@http://geronimo.apache.org/xml/ns/deployment-1.2
hidden-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
non-overridable-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
private-clas...@http://geronimo.apache.org/xml/ns/deployment-1.2
inverse-classload...@http://geronimo.apache.org/xml/ns/deployment-1.2
suppress-default-environm...@http://geronimo.apache.org/xml/ns/deployment-1.2'
instead of 'n...@http://geronimo.apache.org/xml/ns/deployment-1.2'
here in element
environm...@http://geronimo.apache.org/xml/ns/deployment-1.2
Descriptor:
<xml-fragment xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:pers="http://java.sun.com/xml/ns/persistence"
xmlns:jet="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0.2">
<sys:environment>
<sys:groupId>org.apache.geronimo.samples</sys:groupId>
<sys:artifactId>a12</sys:artifactId>
<sys:j2eeType>war</sys:j2eeType>
<sys:name>a12</sys:name>
</sys:environment>
<jet:context-root>/a12</jet:context-root>
</xml-fragment>
at
org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45)
at
org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149)
at
org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
--
Tapas