Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6479

[fabric-git-hawtio][external-git-repo] Resource does not exist in the profile overlay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-6.x-GA
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %

      Whew we include xml in activemqAM.xml resource like below:

      ===================
      <!DOCTYPE beans [ 
      <!ENTITY destinations SYSTEM "profile:destinationsAM.xml"> 
      ]>
      ==============
      

      We get continuously an exception in fabric logs for resource that we have configured:

      2016-11-30 10:44:14,215 | WARN  | tp514786474-8285 | FileInfo                         | 276 - io.fabric8.fabric-git-hawtio - 1.2.0.redhat-621159 | Failed to parse the XML namespaces in /app/fabric/jboss-fuse-6.2.1.redhat-159/data/git/local/fabric/fabric/profiles/mq/broker/sbxAMcluster1.sbxAM01.profile/activemqAM.xml due: Resource destinationsAM.xml does not exist in the profile overlay.. This exception is ignored.
      java.lang.IllegalStateException: Resource destinationsAM.xml does not exist in the profile overlay.
      	at io.fabric8.api.gravia.IllegalStateAssertion.assertNotNull(IllegalStateAssertion.java:46)[141:io.fabric8.fabric-api:1.2.0.redhat-621159]
      	at io.fabric8.service.ProfileUrlHandler$Connection.getInputStream(ProfileUrlHandler.java:114)[142:io.fabric8.fabric-core:1.2.0.redhat-621159]
      	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)[:]
      	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)[:]
      	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)[:]
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(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)[:]
      

              pantinor@redhat.com Paolo Antinori
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: