0 Replies Latest reply on Dec 1, 2011 9:26 PM by frh10 ff

    addResourceFromString success,but jbpm4_lob's BLOB_VALUE_ is NULL

    frh10 ff Newbie


          I have a question when i use jbpm4.4.

          When i deploy a processdefinition , it all run as well,the tables like jbpm4_deployment and jbpm4_deployprop all fine,but only the jbpm4_lob is wrong,the new processdefinition's BLOB_VALUE_ is null.

          My code just like this:

               String defXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><process name=\"VacationRequest\" xmlns=\"http://jbpm.org/4.4/jpdl\"><start g=\"16,56,48,48\" name=\"start\"><transition to=\"verify_request\"/></start><task  g=\"96,54,178,52\" name=\"verify_request\"><transition g=\"-34,9\" name=\"reject\" to=\"vacation_rejected\"/><transition g=\"-46,-26\" name=\"accept\" to=\"vacation_accepted\"/></task><end g=\"306,16,48,48\" name=\"vacation_accepted\"/><end g=\"306,96,48,48\" name=\"vacation_rejected\"/></process>";

               repositoryService.createDeployment().addResourceFromString("testWF.jpdl.xml", defXml).deploy();


        And the jbpm4_lob like this:


            I install the jbpm4.4 into jboss5.1.0 and run in jboss,when i run the code above,the jboss print no warn or error.

          Can anyonehelp me with this problem?Thanks very much!