geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-5985) "export-package": unexpected elements
Date Mon, 30 May 2011 08:28:47 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacky Liu updated GERONIMO-5985:
--------------------------------

    Attachment: test-ejb.jar

> "export-package": unexpected elements
> -------------------------------------
>
>                 Key: GERONIMO-5985
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5985
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 3.0
>         Environment: Windows XP SP3 x86
> IBM jdk Java60
> Geronimo build on 20110525
>            Reporter: Jacky Liu
>            Priority: Minor
>         Attachments: test-ejb.jar
>
>
> 1. start Geronimo
> 2. deploy "test-ejb.jar" through "Deployer" portlet.  -->  ERROR OCCURS!!
> The application was not deployed.
> Failed parsing descriptors for module: D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
> org.apache.geronimo.common.DeploymentException: Failed parsing descriptors for module:
D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:442)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:268)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:341)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:611)
> 	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:854)
> 	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:736)
> Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the openejb-jar.xml.
Xml content written to: D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\openejb-jar-7398576494480776794.xml:
unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.2", local:"export-package").
Expected elements are <{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
> 	at org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:211)
> 	at org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:77)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:440)
> 	... 15 more
> Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.2",
local:"export-package"). Expected elements are <{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:647)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:120)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:105)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement(StructureLoader.java:247)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:483)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:464)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:129)
> 	at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
> 	at org.apache.openejb.jee.oejb2.NamespaceFilter.startElement(NamespaceFilter.java:198)
> 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> 	at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:216)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:195)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:243)
> 	at org.apache.openejb.jee.oejb2.JaxbOpenejbJar2.unmarshal(JaxbOpenejbJar2.java:111)
> 	at org.apache.openejb.jee.oejb2.JaxbOpenejbJar2.unmarshal(JaxbOpenejbJar2.java:73)
> 	at org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:157)
> 	... 17 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message