5 Replies Latest reply on Mar 1, 2013 4:53 AM by rigazilla

    demo installer and bpmn and image diagram

    rigazilla

      Hi all,

       

      I need some help with the demo installer. My problem is that I can't see the bpmn diagram in the jbpm-console.

       

      In a clean jbpm5 demo installed on jboss 7.1.1 I designed a new process named "benzina" in the defaultPackage and I created the PNG image

       

      in the jbpm-console when I select a process instance and click on Diagram I get an alert "No diagram associated with process"

       

      If I try to get the list of the process definitions I get this result:

       

       

      {"definitions":[{"id":"benzinaV1","name":"benzina","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false},{"id":"com.sample.evaluation","name":"Evaluation","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false,"formUrl":"http://localhost:8080/gwt-console-server/rs/form/process/com.sample.evaluation/render","diagramUrl":"vfs:/content/jbpm-gwt-console-server.war/WEB-INF/lib/jbpm-gwt-graph-5.4.0.Final.jar/com.sample.evaluation.png"}]}

       

      and this error in the server.log:

       

      18:08:43,427 ERROR [org.jbpm.integration.console.graph.GraphViewerPluginImpl] (http-localhost-127.0.0.1-8080-17) Could not get diagram url from Guvnor: org.apache.commons.io.IOUtils.copy(Ljava/io/InputStream;Ljava/io/Writer;)V

       

      It seems to me that the png has not been associated to the process, but I'm not able to wonder where is the fault.

       

      Can someone help me?

       

      Thanks,

      vittorio