[
https://issues.apache.org/jira/browse/GERONIMO-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901888#action_12901888
]
Forrest Xia commented on GERONIMO-5550:
---------------------------------------
Another jira https://issues.apache.org/jira/browse/GERONIMO-5511 related to
this one.
> "xml problem for web.war " error when deploy daytrader
> ------------------------------------------------------
>
> Key: GERONIMO-5550
> URL: https://issues.apache.org/jira/browse/GERONIMO-5550
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: web
> Affects Versions: 3.0
> Environment: WinXP
> JDk: 1.6.0_20
> Reporter: viola.lu
> Assignee: viola.lu
> Priority: Minor
>
> Steps:
> 1.Deploy attached daytrader sample from
> https://issues.apache.org/jira/browse/GERONIMO-5509
> 2.Got errors below:
> The application was not deployed.
> xml problem for web app web.war
> org.apache.geronimo.common.DeploymentException: xml problem for web app
> web.war
> at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWebApp(TomcatModuleBuilder.java:381)
> at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(TomcatModuleBuilder.java:275)
> at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createModule(AbstractWebModuleBuilder.java:272)
> at
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.createModule(SwitchingModuleBuilder.java:153)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:864)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:457)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:319)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:231)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
> 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:131)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> 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: org.apache.xmlbeans.XmlException: Invalid deployment descriptor:
> errors:
> error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed):
> configId
> error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed):
> parentId
> error: cvc-complex-type.2.4a: Expected elements
> 'environm...@http://geronimo.apache.org/xml/ns/deployment-1.2
> context-r...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> work-...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> cluster...@http://geronimo.apache.org/xml/ns/j2ee/application-2.0
> web-contai...@http://geronimo.apache.org/xml/ns/naming-1.2
> h...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> cross-cont...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> disable-cook...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> valve-ch...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> listener-ch...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> tomcat-re...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> mana...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> clus...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> abstract-naming-en...@http://geronimo.apache.org/xml/ns/naming-1.2
> env-en...@http://geronimo.apache.org/xml/ns/naming-1.2
> ejb-...@http://geronimo.apache.org/xml/ns/naming-1.2
> ejb-local-...@http://geronimo.apache.org/xml/ns/naming-1.2
> service-...@http://geronimo.apache.org/xml/ns/naming-1.2
> resource-...@http://geronimo.apache.org/xml/ns/naming-1.2
> resource-env-...@http://geronimo.apache.org/xml/ns/naming-1.2
> message-destinat...@http://geronimo.apache.org/xml/ns/naming-1.2
> security-realm-n...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
> serv...@http://geronimo.apache.org/xml/ns/deployment-1.2' instead of
> 'context-priority-classloa...@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1'
> here
> Descriptor:
> false
>
> jdbc/TradeDataSource
> TradeDataSource
>
> at
> org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:188)
> at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWebApp(TomcatModuleBuilder.java:375)
> ... 19 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.