← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 924408] [NEW] DHIS2.6 deployment failure

 

The DHIS 2.6 war file was first obtained from the dhis2.com site and then a
trunk version. Both gave the same error message .

On Tue, Jan 31, 2012 at 7:47 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
wrote:

> Ah.  as Lars points out, the problem has been fixed ... explains why I
> couldn't see anything wrong here :-)
>
> On 31 January 2012 18:43, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> > Don't really understand why the beans.xml should be looking for 3.1
> > schema.  The spring version in 2.6 is 3.0.7 - at least that is what my
> > sources say.  The upgrade to 3.1 only applies to trunk which would be
> > a 2.7 snapshot.
> >
> > So I guess if you've got a beans.xml which is looking for 3.1 schema
> > and you have a spring v3.0 deployment the app has no choice but to go
> > and find it somewhere on the internet.
> >
> > Can you give some more detail of where you got your dhis 2.6 war from?
> >  The dhis2.org site?  Continuos integration server?  Or you built it
> > yourself?
> >
> > As far as I can make out from current dhis2.6 trunk the beans
> > namespace all seem ok but can check more.
> >
> > Bob
> >
> > On 31 January 2012 18:28, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> >> Yup.  the xsd being referred
> >> (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd) is
> >> certainly reachable, but not if you are not connected to internet.
> >>
> >> Still it's not satisfactory .. I'll check later this evening why we
> >> have fetching this external xsd as a requirement and how best to
> >> workaround ..
> >>
> >> On 31 January 2012 18:11, jason.p.pickering <924408@xxxxxxxxxxxxxxxxxx>
> wrote:
> >>> Seems to be related to completely offline systems perhaps.
> >>>
> >>>
> http://stackoverflow.com/questions/1729307/spring-schemalocation-fails-
> >>> when-there-is-no-internet-connection
> >>>
> >>> --
> >>> Sent from my mobile
> >>> On Jan 31, 2012 8:00 PM, "Ola Kay" <924408@xxxxxxxxxxxxxxxxxx> wrote:
> >>>
> >>>> Public bug reported:
> >>>>
> >>>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
> >>>> 29-Jan-2012 23:30:26 org.apache.catalina.startup.HostConfig
> deployDirectory
> >>>> INFO: Deploying web application directory
> >>>> /var/lib/tomcat7/ghain/webapps/dhis
> >>>> * WARN  23:30:52,412 Ignored XML validation warning
> >>>> (SimpleSaxErrorHandler.java [pool-2-thread-1])
> >>>> org.xml.sax.SAXParseException: schema_reference.4: Failed to read
> schema
> >>>> document '
> http://www.springframework.org/schema/beans/spring-beans-3.1.xsd',
> >>>> because 1) could not find the document; 2) the document could not be
> read;
> >>>> 3) the root element of the document is not <xsd:schema>.
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:383)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2545)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2536)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1840)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:535)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:555)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2440)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1785)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>>        at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>>        at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>>        at
> >>>>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>>        at
> >>>>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>>        at
> >>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>>        at
> >>>>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>>        at
> >>>>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>>        at
> >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>>        at
> >>>>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>>        at
> >>>>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>>        at
> >>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>>        at
> >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>>        at
> >>>>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>>        at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>>        at java.lang.Thread.run(Thread.java:636)
> >>>> * ERROR 23:30:52,430 Context initialization failed (ContextLoader.java
> >>>> [pool-2-thread-1])
> >>>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> >>>> Line 7 in XML document from URL
> >>>>
> [jar:file:/var/lib/tomcat7/ghain/webapps/dhis/WEB-INF/lib/dhis-service-patient-2.6.jar!/META-INF/dhis/beans.xml]
> >>>> is invalid; nested exception is org.xml.sax.SAXParseException:
> cvc-elt.1:
> >>>> Cannot find the declaration of element 'beans'.
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>>        at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>>        at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>>        at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>>        at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>>        at
> >>>>
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>>        at
> >>>>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>>        at
> >>>>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>>        at
> >>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>>        at
> >>>>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>>        at
> >>>>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>>        at
> >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>>        at
> >>>>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>>        at
> >>>>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>>        at
> >>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>>        at
> >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>>        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>>        at
> >>>>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>>        at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>>        at java.lang.Thread.run(Thread.java:636)
> >>>> Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
> >>>> declaration of element 'beans'.
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1919)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>>        at
> >>>>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>>        at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>>        ... 27 more
> >>>> 29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
> >>>> SEVERE: Error listenerStart
> >>>> 29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
> >>>> SEVERE: Context [/dhis] startup failed due to previous errors
> >>>> 29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>> INFO: Starting ProtocolHandler ["http-bio-8080"]
> >>>> 29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> >>>> 29-Jan-2012 23:30:52 org.apache.catalina.startup.Catalina start
> >>>> INFO: Server startup in 25691 ms
> >>>>
> >>>> ** Affects: dhis2
> >>>>     Importance: Undecided
> >>>>         Status: New
> >>>>
> >>>> --
> >>>> You received this bug notification because you are a member of DHIS 2
> >>>> India Developers, which is subscribed to DHIS.
> >>>> https://bugs.launchpad.net/bugs/924408
> >>>>
> >>>> Title:
> >>>>  DHIS2.6 deployment failure
> >>>>
> >>>> Status in DHIS 2 - District Health Information Software:
> >>>>  New
> >>>>
> >>>> Bug description:
> >>>>  INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
> >>>>  29-Jan-2012 23:30:26 org.apache.catalina.startup.HostConfig
> >>>> deployDirectory
> >>>>  INFO: Deploying web application directory
> >>>> /var/lib/tomcat7/ghain/webapps/dhis
> >>>>  * WARN  23:30:52,412 Ignored XML validation warning
> >>>> (SimpleSaxErrorHandler.java [pool-2-thread-1])
> >>>>  org.xml.sax.SAXParseException: schema_reference.4: Failed to read
> schema
> >>>> document '
> http://www.springframework.org/schema/beans/spring-beans-3.1.xsd',
> >>>> because 1) could not find the document; 2) the document could not be
> read;
> >>>> 3) the root element of the document is not <xsd:schema>.
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:383)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2545)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2536)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1840)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:535)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:555)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2440)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1785)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>>          at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>>          at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>>          at
> >>>>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>>          at
> >>>>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>>          at
> >>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>>          at
> >>>>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>>          at
> >>>>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>>          at
> >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>>          at
> >>>>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>>          at
> >>>>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>>          at
> >>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>>          at
> >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>>          at
> >>>>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>>          at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>>          at java.lang.Thread.run(Thread.java:636)
> >>>>  * ERROR 23:30:52,430 Context initialization failed
> (ContextLoader.java
> >>>> [pool-2-thread-1])
> >>>>
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> >>>> Line 7 in XML document from URL
> >>>>
> [jar:file:/var/lib/tomcat7/ghain/webapps/dhis/WEB-INF/lib/dhis-service-patient-2.6.jar!/META-INF/dhis/beans.xml]
> >>>> is invalid; nested exception is org.xml.sax.SAXParseException:
> cvc-elt.1:
> >>>> Cannot find the declaration of element 'beans'.
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>>          at
> >>>>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>>          at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>>          at
> >>>>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>>          at
> >>>>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>>          at
> >>>>
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>>          at
> >>>>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>>          at
> >>>>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>>          at
> >>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>>          at
> >>>>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>>          at
> >>>>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>>          at
> >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>>          at
> >>>>
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>>          at
> >>>>
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>>          at
> >>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>>          at
> >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>>          at
> >>>>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>>          at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>>          at java.lang.Thread.run(Thread.java:636)
> >>>>  Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
> >>>> declaration of element 'beans'.
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1919)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>>          at
> >>>>
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>>          at
> >>>>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>>          ... 27 more
> >>>>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> >>>> startInternal
> >>>>  SEVERE: Error listenerStart
> >>>>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> >>>> startInternal
> >>>>  SEVERE: Context [/dhis] startup failed due to previous errors
> >>>>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>>  INFO: Starting ProtocolHandler ["http-bio-8080"]
> >>>>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>>  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> >>>>  29-Jan-2012 23:30:52 org.apache.catalina.startup.Catalina start
> >>>>  INFO: Server startup in 25691 ms
> >>>>
> >>>> To manage notifications about this bug go to:
> >>>> https://bugs.launchpad.net/dhis2/+bug/924408/+subscriptions
> >>>>
> >>>
> >>> --
> >>> You received this bug notification because you are a member of DHIS 2
> >>> India Developers, which is subscribed to DHIS.
> >>> https://bugs.launchpad.net/bugs/924408
> >>>
> >>> Title:
> >>>  DHIS2.6 deployment failure
> >>>
> >>> Status in DHIS 2 - District Health Information Software:
> >>>  New
> >>>
> >>> Bug description:
> >>>  INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
> >>>  29-Jan-2012 23:30:26 org.apache.catalina.startup.HostConfig
> deployDirectory
> >>>  INFO: Deploying web application directory
> /var/lib/tomcat7/ghain/webapps/dhis
> >>>  * WARN  23:30:52,412 Ignored XML validation warning
> (SimpleSaxErrorHandler.java [pool-2-thread-1])
> >>>  org.xml.sax.SAXParseException: schema_reference.4: Failed to read
> schema document '
> http://www.springframework.org/schema/beans/spring-beans-3.1.xsd',
> because 1) could not find the document; 2) the document could not be read;
> 3) the root element of the document is not <xsd:schema>.
> >>>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:383)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2545)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2536)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1840)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:535)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:555)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2440)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1785)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>          at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>          at
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>          at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>          at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>          at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>          at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>          at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>          at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>          at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>          at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>          at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>          at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>          at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>          at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>          at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>          at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>          at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>          at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>          at java.lang.Thread.run(Thread.java:636)
> >>>  * ERROR 23:30:52,430 Context initialization failed
> (ContextLoader.java [pool-2-thread-1])
> >>>
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line 7 in XML document from URL
> [jar:file:/var/lib/tomcat7/ghain/webapps/dhis/WEB-INF/lib/dhis-service-patient-2.6.jar!/META-INF/dhis/beans.xml]
> is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1:
> Cannot find the declaration of element 'beans'.
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
> >>>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
> >>>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> >>>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
> >>>          at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> >>>          at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
> >>>          at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> >>>          at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
> >>>          at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
> >>>          at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
> >>>          at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
> >>>          at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
> >>>          at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>          at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
> >>>          at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
> >>>          at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> >>>          at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
> >>>          at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
> >>>          at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>          at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>          at java.lang.Thread.run(Thread.java:636)
> >>>  Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
> declaration of element 'beans'.
> >>>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
> >>>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1919)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
> >>>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
> >>>          at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
> >>>          at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
> >>>          at
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> >>>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
> >>>          ... 27 more
> >>>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
> >>>  SEVERE: Error listenerStart
> >>>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
> >>>  SEVERE: Context [/dhis] startup failed due to previous errors
> >>>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>  INFO: Starting ProtocolHandler ["http-bio-8080"]
> >>>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
> >>>  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> >>>  29-Jan-2012 23:30:52 org.apache.catalina.startup.Catalina start
> >>>  INFO: Server startup in 25691 ms
> >>>
> >>> To manage notifications about this bug go to:
> >>> https://bugs.launchpad.net/dhis2/+bug/924408/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/924408
>
> Title:
>  DHIS2.6 deployment failure
>
> Status in DHIS 2 - District Health Information Software:
>  New
>
> Bug description:
>  INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
>  29-Jan-2012 23:30:26 org.apache.catalina.startup.HostConfig
> deployDirectory
>  INFO: Deploying web application directory
> /var/lib/tomcat7/ghain/webapps/dhis
>  * WARN  23:30:52,412 Ignored XML validation warning
> (SimpleSaxErrorHandler.java [pool-2-thread-1])
>  org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
> document 'http://www.springframework.org/schema/beans/spring-beans-3.1.xsd',
> because 1) could not find the document; 2) the document could not be read;
> 3) the root element of the document is not <xsd:schema>.
>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:383)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2545)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2536)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1840)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:535)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:555)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2440)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1785)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
>          at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
>          at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
>          at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
>          at
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
>          at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>          at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>          at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>          at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
>          at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
>          at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>          at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
>          at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
>          at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>          at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
>          at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
>          at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>          at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
>          at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
>          at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>          at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>          at java.lang.Thread.run(Thread.java:636)
>  * ERROR 23:30:52,430 Context initialization failed (ContextLoader.java
> [pool-2-thread-1])
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line 7 in XML document from URL
> [jar:file:/var/lib/tomcat7/ghain/webapps/dhis/WEB-INF/lib/dhis-service-patient-2.6.jar!/META-INF/dhis/beans.xml]
> is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1:
> Cannot find the declaration of element 'beans'.
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>          at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
>          at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
>          at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>          at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>          at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>          at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
>          at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
>          at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>          at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
>          at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
>          at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>          at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
>          at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
>          at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
>          at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
>          at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
>          at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>          at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>          at java.lang.Thread.run(Thread.java:636)
>  Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
> declaration of element 'beans'.
>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
>          at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1919)
>          at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
>          at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
>          at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
>          at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
>          at
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>          at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
>          ... 27 more
>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
>  SEVERE: Error listenerStart
>  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext
> startInternal
>  SEVERE: Context [/dhis] startup failed due to previous errors
>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
>  INFO: Starting ProtocolHandler ["http-bio-8080"]
>  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
>  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
>  29-Jan-2012 23:30:52 org.apache.catalina.startup.Catalina start
>  INFO: Server startup in 25691 ms
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/924408/+subscriptions
>


-- 
Olakunle

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/924408

Title:
  DHIS2.6 deployment failure

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
  29-Jan-2012 23:30:26 org.apache.catalina.startup.HostConfig deployDirectory
  INFO: Deploying web application directory /var/lib/tomcat7/ghain/webapps/dhis
  * WARN  23:30:52,412 Ignored XML validation warning (SimpleSaxErrorHandler.java [pool-2-thread-1])
  org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
          at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
          at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
          at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:383)
          at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
          at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2545)
          at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2536)
          at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1840)
          at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:535)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:555)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2440)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1785)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
          at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
          at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
          at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
          at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
          at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
          at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
          at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
          at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
          at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
          at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:636)
  * ERROR 23:30:52,430 Context initialization failed (ContextLoader.java [pool-2-thread-1])
  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 7 in XML document from URL [jar:file:/var/lib/tomcat7/ghain/webapps/dhis/WEB-INF/lib/dhis-service-patient-2.6.jar!/META-INF/dhis/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
          at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
          at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
          at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
          at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
          at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
          at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
          at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:636)
  Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
          at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
          at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
          at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:387)
          at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:321)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1919)
          at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:709)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:602)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3080)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:899)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
          at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
          at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
          at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
          ... 27 more
  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext startInternal
  SEVERE: Error listenerStart
  29-Jan-2012 23:30:52 org.apache.catalina.core.StandardContext startInternal
  SEVERE: Context [/dhis] startup failed due to previous errors
  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8080"]
  29-Jan-2012 23:30:52 org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
  29-Jan-2012 23:30:52 org.apache.catalina.startup.Catalina start
  INFO: Server startup in 25691 ms

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/924408/+subscriptions


Follow ups

References