0 Replies Latest reply on Feb 9, 2014 8:55 AM by Laura delli Paoli

    Errors on starting jBPM process from guvnor Repository

    Laura delli Paoli Master

      Hello,

      I was trying to start a process from my Guvnor repository with the following code:

       

      UrlResource  wkfUrlResource = (UrlResource)ResourceFactory.newUrlResource(wkfUrl);

        wkfUrlResource.setBasicAuthentication("enabled"); 

        wkfUrlResource.setUsername("admin"); 

        wkfUrlResource.setPassword("admin");

        kbuilder.add(wkfUrlResource, ResourceType.BPMN2);

        KnowledgeBase kbase = kbuilder.newKnowledgeBase();

       

      On creating the new knowledgeBase I see many errors on server.log, even if I succeed in starting the process. How can I fix these errors?

       

      14:38:14,016 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 510, 52): cvc-complex-type.4: Attribute 'type' must appear on element 'bpmn2:relationship'.

      14:38:14,027 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 513, 92): cvc-elt.4.2: Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.

      14:38:14,037 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 514, 100): cvc-elt.4.2: Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.

      14:38:14,050 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 515, 128): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,062 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 516, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,072 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 517, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,084 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 522, 128): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,093 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 523, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,101 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 524, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,111 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 529, 129): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,124 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 530, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,134 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 531, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,145 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 536, 127): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,154 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 537, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,164 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 538, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,173 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 543, 125): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,181 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 544, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,191 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 545, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,201 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 550, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      14:38:14,209 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 551, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      14:38:14,220 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 556, 125): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,231 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 557, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,238 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 558, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,247 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 563, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      14:38:14,255 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 564, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      14:38:14,265 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 569, 125): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,275 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 570, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,283 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 571, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,292 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 577, 125): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,300 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 578, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,308 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 579, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,320 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 585, 124): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,328 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 586, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,335 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 587, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,344 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 592, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      14:38:14,351 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 593, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      14:38:14,360 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 598, 125): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,369 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 599, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,377 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 600, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,387 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 606, 128): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,396 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 607, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,404 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 608, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,415 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 613, 124): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,424 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 614, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,431 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 615, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,441 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 620, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      14:38:14,449 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 621, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      14:38:14,458 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 626, 128): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,467 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 627, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,475 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 628, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,485 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 633, 129): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,497 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 634, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,510 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 635, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,518 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 640, 124): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,527 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 641, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,535 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 642, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      14:38:14,545 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 647, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      14:38:14,555 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 648, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      14:38:14,566 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 653, 129): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,574 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 654, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,582 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 655, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,590 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 660, 128): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,597 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 661, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,606 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 662, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      14:38:14,615 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 667, 124): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,623 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 668, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      14:38:14,631 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 669, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.

      14:38:14,643 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 675, 129): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      14:38:14,651 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 676, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      14:38:14,661 ERROR [org.drools.xml.ExtensibleXmlParser] (Thread-3 (HornetQ-client-global-threads-1377032712)) (null: 677, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.