10 Replies Latest reply on Jul 27, 2006 8:39 AM by cpob

    JBPM installation

    soeursourire

      Hello!

      I am trying to install JBPM but get into troubles... I am using Eclipse 3.1.1. Following the instructions I import existing project in Eclipse and obtain jbpm.3 in my workspace (and jbpm.db) then I click right on src/java.examples/org.jbpm.tutorial.action and run as JUnit. However in my JUnit window I have Runs: 2/2 Errors: 0 Failures: 0 and this in my console:

      11:07:46,296 [main] DEBUG GraphElement : event 'transition' on 'Transition(5e1077)' for 'Token(/)'
      11:07:46,296 [main] DEBUG GraphElement : event 'node-enter' on 'EndState(end)' for 'Token(/)'
      11:07:46,296 [main] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(18b3364)' for 'Token(/)'
      11:07:46,296 [main] DEBUG GraphElement : event 'after-signal' on 'State(s)' for 'Token(/)'

      But nothing happens and if I click on processDefinition.xml the xml is displayed although I should have the designer window appearing no?

      What do I do wrong? What did I miss?

      Thanks in advance for your help
      Sophie

        • 1. Re: JBPM installation
          soeursourire

           

          "soeursourire" wrote:
          Hello!

          I am trying to install JBPM but get into troubles... I am using Eclipse 3.1.1. Following the instructions I import existing project in Eclipse and obtain jbpm.3 in my workspace (and jbpm.db) then I click right on src/java.examples/org.jbpm.tutorial.action and run as JUnit. However in my JUnit window I have Runs: 2/2 Errors: 0 Failures: 0 and this in my console:

          11:07:46,296 [main] DEBUG GraphElement : event 'transition' on 'Transition(5e1077)' for 'Token(/)'
          11:07:46,296 [main] DEBUG GraphElement : event 'node-enter' on 'EndState(end)' for 'Token(/)'
          11:07:46,296 [main] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(18b3364)' for 'Token(/)'
          11:07:46,296 [main] DEBUG GraphElement : event 'after-signal' on 'State(s)' for 'Token(/)'

          But nothing happens and if I click on processDefinition.xml the xml is displayed although I should have the designer window appearing no?

          And I tried to follow this tutorial http://docs.jboss.com/jbpm/v3/gpd/installation.html to install the plugin Graphical Process Designer using jbpm-gpd-site-3.0.11 instead of jbpm-gpd-3.0-beta1.zip but that does not work I have an error "Update operation has failed"..

          What do I do wrong? What did I miss?

          Thanks in advance for your help
          Sophie


          • 2. Re: JBPM installation
            cpob

            GPD 3.0.11 won't work with Eclipse 3.1.x, upgrade to Eclipse 3.2 if you can, or use GPD 3.0.9.2 with Eclipse 3.1.x

            • 3. Re: JBPM installation
              soeursourire

              Thanks a lot for your answer. This is working fine under Eclipse3.2.

              Please would you mind indicating me a tutorial or an example to learn how to use of gmail within JBPM?

              And how can I find the source code managing this gmail notification?

              Thanks for your help
              Sophie

              • 4. Re: JBPM installation
                kukeltje

                how to use gmail with jBPM?

                • 5. Re: JBPM installation
                  cpob

                  a Gmail notification specifically, or just an email notification?

                  Currently there is no built in email support in jBPM. You'd have to do it how you would in 'normal' Java, google around for a bunch of tutorials.

                  • 6. Re: JBPM installation
                    kukeltje

                    Or look at the 3.2 source. There will be email support (out of the box, with templates etc) in 3.2

                    • 7. Re: JBPM installation
                      soeursourire

                      So if I well understand, there is no email notification done in JBPM for now? When is planned the email support?

                      • 8. Re: JBPM installation
                        kukeltje

                        If you build your own assignmenthandler you can do it now. I did it 1 year ago that way. If you want it from within jBPM you have to wait for 3.2

                        • 9. Re: JBPM installation
                          soeursourire

                          Thanks a lot for your answer. Would you have some example or tutorial to program my own assignmenthandler?
                          Thanks again

                          • 10. Re: JBPM installation
                            cpob

                            It is in the user guide, section 11.3

                            Also, look at the test cases in the jBPM source code (TaskAssignmentTest).