Hi Chathurika,

You can use the BPMNUploaderService admin service instead.

Regards,
Vinod Kavinda

On Mon, Oct 5, 2015 at 12:25 PM, Firzhan Naqash <[email protected]> wrote:

> Hi Chaturika,
>
> When you are using the activiti rest-api, the process artifacts won't get
> copied to the deployment/server/bpmn folder.
> Thus it won't get synchronized with the rest of the nodes.
>
> When you upload the archived bar file, it copies to the respective
> location and then passes the process artifacts to the activiti api.
>
>
> Regards,
> Firzhan
>
>
> --
> *Firzhan Naqash*
> Senior Software Engineer - Integration Platform Team
> WSO2 Inc. http://wso2.com
>
> email: [email protected] <[email protected]>
> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
> blog: http://firzhanblogger.blogspot.com/
> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
> *twitter: https://twitter.com/firzhan007
> <https://twitter.com/firzhan007> | linked-in: 
> **https://www.linkedin.com/in/firzhan
> <https://www.linkedin.com/in/firzhan>*
>
> On Mon, Oct 5, 2015 at 12:15 PM, Chathurika De Silva <[email protected]
> > wrote:
>
>> Hi
>>
>> I am trying to use the $subject through jmeter. I am getting response
>> code 201 which is the success code for deployment [1].
>>
>> In the BPS logs i am observing the following
>>
>> TID: [-1234] [] [2015-10-05 06:21:15,781]  INFO
>> {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP
>> connection created successfully in read-write mode
>> {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager}
>> TID: [-1234] [] [2015-10-05 06:21:15,823]  INFO
>> {org.activiti.engine.impl.bpmn.deployer.BpmnDeployer} -  Processing
>> resource manualTask.bpmn20.xml
>> {org.activiti.engine.impl.bpmn.deployer.BpmnDeployer}
>>
>> The test is done in a Worker/Manager cluster fronted by Nginx with dep
>> sync enabled. For manual uploads it works fine with manager syncing the
>> deployed to the workers. But when done with the api there is no proper
>> deployment being done.
>>
>> The jira [2] contains the debug logs of activiti and the script i have
>> used.
>>
>> [1] http://www.activiti.org/userguide/#_create_a_new_deployment
>> [2] https://wso2.org/jira/browse/BPS-892
>>
>> Any help regarding this is highly appreciated.
>>
>> Thank You
>> Erandi
>>
>>
>>
>>
>>
>> --
>> *Chathurika Erandi*
>> Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail:* [email protected]
>> *Mobile: *+94714 328 612
>> *Blog*: chathurikaerandi.blogspot.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to