Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6337

JBPM 7.1.0 Not loading process and case definitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • FUTURE
    • 7.1.0.Final
    • Workbench
    • None
    • NEW
    • NEW
    • Hide

      1. Install JBPM 7.1.0.Final version following the instructions given in https://docs.jboss.org/jbpm/release/7.0.0.Final/jbpm-docs/html_single/#_jbpminstaller
      2. Create a Project / Case project.
      3. Upload a WorkItemHandler Jar having a simple MySQL DB update with GAV information (add manually if needed) into the Artifact Repository.
      4. Upload mysql-connector-java jar into the Artifact Repository (Provide GAV information manually if needed).
      5.Add these two jars as dependencies to the project.
      6. Create a kbase, ksession and add the workitemhandler into the ksession.
      7. Add the workitem handler into the WorkDefinition.
      8. Create a simple Business Process / Case Definition including the service task corresponding to the added workitemhandler.
      9. Build and deploy the project having process / case definition.
      10. Check Process management -> Process Definition or (in case of case definition, check jbpm-casemgmt console -> Case List).
      11. The deployed processes are not available in both process definitions / case lists.
      12. Error is given in the attached screenshots.

      Show
      1. Install JBPM 7.1.0.Final version following the instructions given in https://docs.jboss.org/jbpm/release/7.0.0.Final/jbpm-docs/html_single/#_jbpminstaller 2. Create a Project / Case project. 3. Upload a WorkItemHandler Jar having a simple MySQL DB update with GAV information (add manually if needed) into the Artifact Repository. 4. Upload mysql-connector-java jar into the Artifact Repository (Provide GAV information manually if needed). 5.Add these two jars as dependencies to the project. 6. Create a kbase, ksession and add the workitemhandler into the ksession. 7. Add the workitem handler into the WorkDefinition. 8. Create a simple Business Process / Case Definition including the service task corresponding to the added workitemhandler. 9. Build and deploy the project having process / case definition. 10. Check Process management -> Process Definition or (in case of case definition, check jbpm-casemgmt console -> Case List). 11. The deployed processes are not available in both process definitions / case lists. 12. Error is given in the attached screenshots.
    • 2017 Week 40-41-42

    Description

      I installed JBPM 7.1.0, accessed JBPM console, added a project, configured a service task by adding the dependencies, kbase, ksession, workitemhandler, workitem definition and created a business process using the service task. Configured Process variables successfully and built and deployed it. The deployed project jar is seen in the Artifact Repository, along with the added dependencies. But artificat repository GAV for groupid.artifactid:version comes as undetermined and the process does not shows up in Process Definitions.

      Also noticed that, while accessing the dependency, the console is missing the first letter of the group id in the repository path:* repositories\kie\global\ysql\mysql-connector-java\6.0.5\mysql-connector-java-6.0.5.pom (The system cannot find the path specified)
      *

      In the above example, inside the repository path, it replaces mysql with ysql. Kindly refer to the attachment.

      Same problem appears with Case Definitions too. Even though case definitions are created successfully and the project is built and deployed with that, the case definition is not showing up in the Case List in Case Management console.

      In the artifact repository, while uploading dependency jars, even if we give the GAV information manually, they are being shown as <undetermined>. Kindly refer to the attachment.

      Attachments

        1. application-roles.properties
          0.8 kB
        2. application-users.properties
          1 kB
        3. artifactrepository_error.png
          artifactrepository_error.png
          18 kB
        4. ArtifactRepository_GAVUndetermined.PNG
          ArtifactRepository_GAVUndetermined.PNG
          82 kB
        5. CaseDefinitionAvailable.png
          CaseDefinitionAvailable.png
          28 kB
        6. CaseList_Error.PNG
          CaseList_Error.PNG
          14 kB
        7. DeployedItordersLocation.PNG
          DeployedItordersLocation.PNG
          58 kB
        8. Deployed Project.png
          Deployed Project.png
          46 kB
        9. ItordersPathError.PNG
          ItordersPathError.PNG
          105 kB
        10. JBPM7.1.0_PathError.png
          JBPM7.1.0_PathError.png
          17 kB
        11. mgmt-groups.properties
          0.7 kB
        12. mgmt-users.properties
          1 kB
        13. NoProcessDefinitionFound.PNG
          NoProcessDefinitionFound.PNG
          36 kB
        14. Path_FirstletterMissing.PNG
          Path_FirstletterMissing.PNG
          64 kB
        15. ProcessDefinition_Error.PNG
          ProcessDefinition_Error.PNG
          22 kB
        16. roles.properties
          0.3 kB
        17. RunTimeStrategy.PNG
          RunTimeStrategy.PNG
          62 kB
        18. standalone-full.xml
          26 kB
        19. users.properties
          0.5 kB

        Activity

          People

            nmirasch@redhat.com Neus Miras Chueca
            smithageorge Smitha George (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: