2 Replies Latest reply on Jun 9, 2013 7:55 PM by Demian Calcaprina

    Log errors in Guvnor - Designer

    Demian Calcaprina Master

      Hi People!

       

      I am using Guvnor 5.3 and designer 2.4.Final

       

      I see that in this version, designer has some simulation things that I am not using. However, I see that it adds to the BPMN things like this:

       

      <drools:ElementParameters xsi:type="drools:ElementParameters_._type" elementId="_B69BCA11-2829-4692-884D-9C0E51F7ACE1" id="_G5nMUsbEEeKniLo-16rylA">

                  <drools:TimeParameters xsi:type="drools:TimeParameters">

                    <drools:ProcessingTime xsi:type="drools:Parameter">

                      <drools:RandomDistribution max="0.0" min="0.0"/>

                    </drools:ProcessingTime>

                    <drools:TimeUnit>ms</drools:TimeUnit>

                  </drools:TimeParameters>

                  <drools:CostParameters xsi:type="drools:CostParameters">

                    <drools:UnitCost xsi:type="drools:Parameter">

                      <drools:DecimalParameter value="0"/>

                    </drools:UnitCost>

                  </drools:CostParameters>

                </drools:ElementParameters>

       

      I have these files in guvnor, and when I build the package I get hundreds of logs like this:

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 399, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 405, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 406, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 407, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 412, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 413, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 414, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 419, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 420, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 425, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 426, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 427, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

      06:33:27,893 INFO  [stdout] (http--127.0.0.1-8080-2) (null: 432, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

       

      Does someone knows how to fix it??

       


        • 1. Re: Log errors in Guvnor - Designer
          Jiri Svitak Novice

          Hello Demian,

          business process simulation was introduced in jBPM 5.4, so try to upgrade your Guvnor from version 5.3 to 5.5, which corresponds to jBPM 5.4.

          • 2. Re: Log errors in Guvnor - Designer
            Demian Calcaprina Master

            Hi Jiri. I just checked downloading designer 2.4 and guvnor 5.5. Created a very simple process Start - Script - End. And, when build package, I am getting the same

             

            20:53:11,319 INFO  [org.apache.jackrabbit.core.TransientRepository] (http--127.0.0.1-8080-6) Session opened

            20:53:11,362 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 40, 52): cvc-complex-type.4: Attribute 'type' must appear on element 'bpmn2:relationship'.

            20:53:11,362 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 43, 92): cvc-elt.4.2: Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.

            20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 44, 100): cvc-elt.4.2: Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.

            20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 45, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            20:53:11,363 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 46, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 47, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

            20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 52, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

            20:53:11,364 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 53, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

            20:53:11,365 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 58, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            20:53:11,365 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 59, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

            20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 60, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

            20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 65, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            20:53:11,366 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 66, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 67, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.

            20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 73, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            20:53:11,367 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 74, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

            20:53:11,368 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 75, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

            20:53:11,368 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 80, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            20:53:11,369 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 81, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            20:53:11,369 ERROR [org.drools.xml.ExtensibleXmlParser] (http--127.0.0.1-8080-6) (null: 82, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.