Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 24960 invoked from network); 5 Aug 2010 03:29:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 03:29:44 -0000 Received: (qmail 63158 invoked by uid 500); 5 Aug 2010 03:29:44 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 62802 invoked by uid 500); 5 Aug 2010 03:29:42 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 62783 invoked by uid 99); 5 Aug 2010 03:29:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 03:29:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 03:29:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o753TFdG022648 for ; Thu, 5 Aug 2010 03:29:16 GMT Message-ID: <7950958.173221280978955835.JavaMail.jira@thor> Date: Wed, 4 Aug 2010 23:29:15 -0400 (EDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-5505) Fail to scan web-fragment.xml files In-Reply-To: <27176730.172751280977035778.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-5505. ----------------------------------- Assignee: Jarek Gawor Resolution: Fixed This is already fixed in revision 982380. > Fail to scan web-fragment.xml files > ----------------------------------- > > Key: GERONIMO-5505 > URL: https://issues.apache.org/jira/browse/GERONIMO-5505 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Web Profile > Affects Versions: 3.0 > Environment: OS: Windows > JDK: Sun JDK 1.6.0_18 > Reporter: Wang Guang Zhe > Assignee: Jarek Gawor > Fix For: 3.0 > > > The web application with webfragments annot be deployed on Geronimo-trunk, which can do on Geronimo M1. The test application I used is testsuite/javaee6-testsuite/servlet3.0-test in the trunk. > The error stack is: > The application was not deployed. > Fail to scan web-fragment.xml files > org.apache.geronimo.common.DeploymentException: Fail to scan web-fragment.xml files > at org.apache.geronimo.web25.deployment.merge.MergeHelper.processWebFragmentsAndAnnotations(MergeHelper.java:361) > at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:449) > at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:404) > at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168) > at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:639) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > 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(Unknown Source) > Caused by: javax.xml.bind.UnmarshalException > - with linked exception: > [org.xml.sax.SAXParseException: Document is invalid: no grammar found.] > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:65) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:214) > at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java:159) > at org.apache.geronimo.web25.deployment.merge.MergeHelper.processWebFragmentsAndAnnotations(MergeHelper.java:346) > ... 17 more > Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar found. > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) > at com.sun.org.apache.xerces.internal.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:211) > ... 21 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.