3 Replies Latest reply on Nov 28, 2013 10:47 AM by Maciej Swiderski

    Deployment issue

    Tomasz U Newbie

      Hello,

       

      I have to use jBPM in current project and I start sorting out this sublect with designing of simple bpmn. It works fine at the beginning (I can build package and deploy on console) but after restart of JBOSS defined process is extended with relationship section which causes deploy failure. Is there any solution for that issue?

       

      Thanks

      Tomasz

        • 1. Re: Deployment issue
          Maciej Swiderski Master

          what you mean by "process is extended with relationship section"? do you get any errors in the logs or anything that might help to track the problem?

          • 2. Re: Deployment issue
            Tomasz U Newbie

            I could bet that for the first run there was no relationship section. Now every new bpmn file containts it and causes failure.  Please see log below..

             

            16:11:19,390 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 64, 52): cvc-complex-type.4: Attribute 'type' must appear on element 'bpmn2:relationship'.

            16:11:19,404 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 67, 92): cvc-elt.4.2: Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.

            16:11:19,416 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 68, 100): cvc-elt.4.2: Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.

            16:11:19,430 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 69, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            16:11:19,445 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 70, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            16:11:19,458 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 71, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.

            16:11:19,471 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 77, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            16:11:19,490 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 78, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

            16:11:19,503 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 79, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

            16:11:19,517 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 84, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            16:11:19,530 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 85, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.

            16:11:19,543 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 86, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.

            16:11:19,556 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 91, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            16:11:19,570 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 92, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            16:11:19,584 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 93, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

            16:11:19,597 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 98, 77): cvc-elt.4.2: Cannot resolve 'drools:ResourceParameters' to a type definition for element 'drools:ResourceParameters'.

            16:11:19,611 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 99, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Quantity'.

            16:11:19,622 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 102, 64): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Workinghours'.

            16:11:19,634 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 106, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.

            16:11:19,648 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 107, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.

            16:11:19,664 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 112, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.

            16:11:19,788 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 113, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.

            16:11:19,801 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 114, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.

             

            When using external bpmn editor this section does not occurs, but when import process definition form bpmn file in WebDesigner it is extended with "relationship" section.

            • 3. Re: Deployment issue
              Maciej Swiderski Master

              ah ok, this section is for simulation, but the errors should be harmless, it might just cause the deployment to take bit more time.

               

              Are you getting any other errors?

              1 of 1 people found this helpful