2 Replies Latest reply on Aug 26, 2015 9:43 AM by abdulwahab

    JAR Deployment on JBPM

    abdulwahab

      Hello Everyone,

       

      I have installed Jbpm 6 on top of Tomcat 7. And I have created a kjar package using eclipse, now I want to deploy this on Jbpm.

       

      Is it possible to deploy by just doing copy and paste (in the Tomcat_Home/webapps folder)? Or did any one try to deploy the jar package using REST Api? Because I can't figure out the place to pass the jar package if we use REST interface.

       

      Any help in this regards will be highly appreciated.

       

      Regards,

      Abdul Wahab

        • 1. Re: JAR Deployment on JBPM
          abhijithumbe

          To deploy kjar you have to upload kjar into server artifact repository(Authoring-->Artifact repository-->Upload).Once you upload artifact into server repository you can use following REST API to deploy kjar.

          ~~~

          /deployment/{deploymentId}/deploy  [POST]

          ~~~

          Hope it helps..

          • 2. Re: JAR Deployment on JBPM
            abdulwahab

            Hi Abhijit,

             

            Thank you for the response.

             

            The point is that I want to deploy the Process/Package automatically through JAVA code and uploading it manually will not help me. Do you have any idea how to deploy it automatically through JAVA code or REST API?

             

            Regards,

            Abdul