Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2373

Unable to publish VDB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.8.x-prod-ip6.1, 4.1.0.Final
    • 3.8.1.Final, 3.8.x-prod-ip6.1
    • None
    • None

    Description

      Error on server when trying to publish VDB:

      Error when publishing VDB:

      09:16:26,882 ERROR [org.modeshape.sequencer.teiid.VdbSequencer] (modeshape-sequencer-6-thread-1) Error reading VDB file "/files/PortfolioProject/Portfolio.vdb/jcr:content/jcr:data": Cannot find a definition for a child named '{}ACCOUNT' on the node at '/derived/teiid/vdbs/Portfolio.vdb/Accounts.xmi' with primary type 'vdb:model' and mixin types: []: javax.jcr.nodetype.ConstraintViolationException: Cannot find a definition for a child named '{}ACCOUNT' on the node at '/derived/teiid/vdbs/Portfolio.vdb/Accounts.xmi' with primary type 'vdb:model' and mixin types: []
      	at org.modeshape.jcr.AbstractJcrNode.nodeDefinition(AbstractJcrNode.java:2920) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.jcr.AbstractJcrNode.getDefinition(AbstractJcrNode.java:2843) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.jcr.AbstractJcrNode.isCheckedOut(AbstractJcrNode.java:3231) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.jcr.AbstractJcrNode.checkForCheckedOut(AbstractJcrNode.java:669) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.jcr.AbstractJcrNode.addMixin(AbstractJcrNode.java:2540) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.jcr.AbstractJcrNode.addMixin(AbstractJcrNode.java:2530) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at org.modeshape.sequencer.teiid.model.ModelExtensionDefinitionHelper.addMixin(ModelExtensionDefinitionHelper.java:223)
      	at org.modeshape.sequencer.teiid.model.ModelExtensionDefinitionHelper.assignMedMixins(ModelExtensionDefinitionHelper.java:258)
      	at org.modeshape.sequencer.teiid.model.ModelExtensionDefinitionHelper.assignModelNodeChildrenMedMixins(ModelExtensionDefinitionHelper.java:280)
      	at org.modeshape.sequencer.teiid.model.ModelNodeWriter.write(ModelNodeWriter.java:164)
      	at org.modeshape.sequencer.teiid.model.ModelSequencer.sequenceModel(ModelSequencer.java:187)
      	at org.modeshape.sequencer.teiid.model.ModelSequencer.sequenceVdbModel(ModelSequencer.java:217)
      	at org.modeshape.sequencer.teiid.VdbSequencer.execute(VdbSequencer.java:163)
      	at org.modeshape.jcr.SequencingRunner.run(SequencingRunner.java:196) [modeshape-jcr-3.8.1.GA-redhat-5.jar:3.8.1.GA-redhat-5]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_55]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      

      Attachments

        Issue Links

          Activity

            People

              dflorian@redhat.com Daniel Florian (Inactive)
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: