4 Replies Latest reply on Oct 12, 2010 5:06 AM by Roger Parkinson

    view diagram of process in jbpm-console

    Wladimir Chinchio Newbie

      Hi all,

      Can anyone help me with the diagram view in the jbpm-console.
      All my process deployed(examples of jbpm neither) aren't showed in jbpm-console. When a choose the Diagram of any instance I get: "No diagram associated with process jbpm".
      I already tryed deploy with deployer , ant call and with service.

      My Environment:
      - jBPM Version : 4.1
      - Database : HSQL
      - JDK : 1.6.0_15
      - App Server : JBOSS 5.1

      anyone suggest anything?

      thanks.
      Wladimir Chinchio

        • 1. Re: view diagram of process in jbpm-console
          Ronald van Kuijk Master

          The examples do not contain images, so the message is correct. If you open the jpdl files from the examples in the GPD, save them (which creates the images), redeploy them with the ant task then it works.

          • 2. Re: view diagram of process in jbpm-console
            Wladimir Chinchio Newbie

             

            "kukeltje" wrote:
            The examples do not contain images, so the message is correct. If you open the jpdl files from the examples in the GPD, save them (which creates the images), redeploy them with the ant task then it works.


            Hi Ronald, I did that and now I can see the Diagram.
            Thank's a lot.

            Wladimir Chinchio

            • 3. Re: view diagram of process in jbpm-console
              Roger Parkinson Newbie

              I had the same problem and saving the jpdl files certainly produces a png file for me.

              Not a very interesting one though. It always has a diagonal line from the top left extending about a fifth of the way down the image.

              Nothing else.

               

              This is a freshly installed download of 4.4. I'm running JBoss 5.1.0.GA, though this is before the images get near that. Note that I can see images when I open the jpdl inside eclipse. So my sequence is:

              1) open jbpl with plugin in eclipse.

              2) note the image ... looks okay

              3) save the jpdl, note that the png is created

              4) view the png and note that is just a diagonal line as described above.

               

              My desktop is Ubuntu, 10.04 and I am running Eclipse Galileo downloaded especiall for this, so no extra plugins are installed in Eclipse.

              Any idea what is wrong?

              • 4. Re: view diagram of process in jbpm-console
                Roger Parkinson Newbie

                ...and it just came right. I see what I was doing wrong. For save to take effect I need to change the file or Eclipse just (sensibly enough) does nothing when I tell it to save. So I put a space in the XML. But if, instead, I show the image and move one of the boxes around and then save it creates a good png. Makes sense. The plugin generates it when I ask for it to be displayed, I guess, and it saves what was displayed. If I save while viewing th XML it doesn't have an image.