Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-941

runGuiDemo.bat - Cannot find the declaration of element 'infinispan'.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 4.2.1.CR2
    • Fix Version/s: None
    • Component/s: Demos and Tutorials
    • Labels:
      None

      Description

      Both sample.xml and gui-demo-cache-config.xml cause the following error:
      D:\tools\infinispan-4.2.1.CR2\bin>runGuiDemo.bat
      log4j:WARN No appenders could be found for logger (org.infinispan.config.Infinis
      panConfiguration).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
      fo.
      Exception in thread "pool-1-thread-1" java.lang.RuntimeException: java.io.IOExce
      ption
      at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:355)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.io.IOException
      at org.infinispan.config.InfinispanConfiguration.newInfinispanConfigurat
      ion(InfinispanConfiguration.java:264)
      at org.infinispan.config.InfinispanConfiguration.newInfinispanConfigurat
      ion(InfinispanConfiguration.java:282)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager
      .java:288)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager
      .java:273)
      at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:323)
      ... 3 more
      Caused by: javax.xml.bind.UnmarshalException

      • with linked exception:
        [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of elemen
        t 'infinispan'.]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalExcept
        ion(AbstractUnmarshallerImpl.java:315)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.cr
        eateUnmarshalException(UnmarshallerImpl.java:503)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
        marshal0(UnmarshallerImpl.java:204)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
        marshal(UnmarshallerImpl.java:173)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
        arshallerImpl.java:120)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
        arshallerImpl.java:103)
        at org.infinispan.config.InfinispanConfiguration.newInfinispanConfigurat
        ion(InfinispanConfiguration.java:256)
        ... 7 more
        Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration
        of element 'infinispan'.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
        ParseException(ErrorHandlerWrapper.java:195)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
        orHandlerWrapper.java:131)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
        XMLErrorReporter.java:384)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
        XMLErrorReporter.java:318)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
        tartElement(XMLSchemaValidator.java:1915)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
        ement(XMLSchemaValidator.java:705)
        at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerIm
        pl.startElement(ValidatorHandlerImpl.java:549)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshal
        ler.startElement(ValidatingUnmarshaller.java:78)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startE
        lement(SAXConnector.java:137)
        at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527
        )
        at org.infinispan.config.parsing.NamespaceFilter.startElement(NamespaceF
        ilter.java:29)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
        ment(AbstractSAXParser.java:501)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
        StartElement(XMLNSDocumentScannerImpl.java:400)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSCo
        ntentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
        l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
        Driver.next(XMLDocumentScannerImpl.java:922)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
        MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
        (XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
        l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
        ML11Configuration.java:808)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
        ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
        java:119)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
        stractSAXParser.java:1205)
        at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
        marshal0(UnmarshallerImpl.java:200)
        ... 11 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manik Manik Surtani
                  Reporter:
                  burrsutter Burr Suter
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: