[jboss-user] [jBPM] - Deploy ProcessDefinition fail,BLOB is NULL
frh10 ff
do-not-reply at jboss.com
Thu Dec 1 00:58:34 EST 2011
frh10 ff [http://community.jboss.org/people/frh10] created the discussion
"Deploy ProcessDefinition fail,BLOB is NULL"
To view the discussion, visit: http://community.jboss.org/message/639225#639225
--------------------------------------------------------------
Hi!
I use jbpm4.4,when i deploy a ProcessDefinition,it run as well,but i check the database jbpm4_lob ,i find the new ProcessDefinition's BLOB_VALUE is null,and i can't get this ProcessDefinition because the jpdl.xml is null,here is my code:
DeploymentImpl di = (DeploymentImpl) repositoryService.createDeployment();
String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><process name=\"VacationRequest\" xmlns=\" http://jbpm.org/4.4/jpdl/ 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>";
di.addResourceFromString(“textWF.jpdl.xml”, xml);
when i run this,the jbpm's database add a ProcessDefinition,but like this:
http://community.jboss.org/servlet/JiveServlet/showImage/2-639225-17400/QQ%E6%88%AA%E5%9B%BE20111201135605.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-639225-17400/450-46/QQ%E6%88%AA%E5%9B%BE20111201135605.png
how can i solve this problem?Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/639225#639225]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111201/3dcb43a3/attachment.html
More information about the jboss-user
mailing list