geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Bilodeau <gb.for...@yahoo.com>
Subject Errors while deploying EAR on Geronimo 1.1
Date Thu, 06 Jul 2006 11:05:58 GMT
Hi all,

I'm trying to deploy a new application on Geronimo 1.1.  The application is packaged as an
EAR and contains the following geronimo-web.xml, which was generated using the upgrade.jar
tool:


  
    <dep:moduleId>
      <dep:groupId>com.ourcompany</dep:groupId>
      <dep:artifactId>promo</dep:artifactId>
      <dep:version>2.0.0-SNAPSHOT</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies/>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
  <hidden-classes>
    <filter>org.springframework</filter>
  </hidden-classes>
  <context-root>/promo</context-root>
</web-app>

This is the latest of several versions of the file...  The current error is the following:

org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [error: cvc-complex-type.2.4a:
Expected elements 'context-root@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 web-container@http://geronimo.apache.org/xml/ns/naming-1.1
host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 cross-context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
tomcat-realm@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 manager@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
cluster@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 gbean-ref@http://geronimo.apache.org/xml/ns/naming-1.1
ejb-ref@http://geronimo.apache.org/xml/ns/naming-1.1 ejb-local-ref@http://geronimo.apache.org/xml/ns/naming-1.1
service-ref@http://geronimo.apache.org/xml/ns/naming-1.1 resource-ref@http://geronimo.apache.org/xml/ns/naming-1.1
 resource-env-ref@http://geronimo.apache.org/xml/ns/naming-1.1 message-destination@http://geronimo.apache.org/xml/ns/naming-1.1
security-realm-name@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 gbean@http://geronimo.apache.org/xml/ns/deployment-1.1'
instead of 'hidden-classes@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1' here]
This error message seems likely since the <hidden-classes> tag is repeated, but it was
generated by the upgrade tool so I'm suspicious.  How can I get rid of this error?

Thanks,
GB


Mime
View raw message