JBoss Community

addResourceFromString success,but jbpm4_lob's BLOB_VALUE_ is NULL

created by frh10 ff in jBPM Development - View the full discussion

Hi!

    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:

         http://twebmail.mail.163.com/js4/s?func=mbox:getMessageData&sid=qBQcciyLIWCBzKAECfLLqIYPPvLnKNUs&mid=13:1tbiDQUK6U0vJvgvhQABs8&part=3

      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!

 

 

 

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community