[Dev] WSO2 Committers += Sudharma Subasinghe

2017-01-26 Thread Hasitha Aravinda
Hi All,

It is my pleasure to welcome Sudharma Subasinghe as a WSO2 Committer.
Sudharma has been a valuable contributor to WSO2 Business Process
Server and in Integration space. In recognition of her commitment and
contributions, she has been voted as a WSO2 Committer.

Sudharma, welcome aboard and keep up the good work.!

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Shipping a pre-populated db with samples in Process Center.

2016-08-09 Thread Hasitha Aravinda
Hi team,

Most of our products (ESB, BPS etc) have sample start up scripts to start
product in sample/demo mode.

Idea is to ship another pre-populated h2 db with PC, in addition to default
db. When you start server in demo mode, PC will start pointing to
pre-populated database.

This will be helpful for the first time users to understand capabilities of
PC. WDYT ?

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][BPS][320] Undeploying BPEL packages for tenants

2016-08-03 Thread Hasitha Aravinda
yes, that is correct, But I am not sure, whether we have covered scenario,
when tenant is unloaded in the system. We need to test that as well.

Thanks,
Hasitha.

On Wed, Aug 3, 2016 at 4:43 PM, Amal Gunatilake <am...@wso2.com> wrote:

> Hi Hasitha,
>
> In the readme configurations[1][2] we have given the configurations that
> support for tenant context.
> Since there have been many updates over the time. I can't remember the
> exact results on tests done with tenants.
>
> [1] #tenat context eg: tenant mode 
> tenant.context=https://localhost:9443/t/abc.com
>
> [2]
> https://github.com/wso2/product-bps/blob/master/modules/samples/product/process-tools/readme
>
> Best regards,
> Amal
>
> On Wed, Aug 3, 2016 at 4:27 PM, Hasitha Aravinda <hasi...@wso2.com> wrote:
>
>> Hi Amal,
>>
>> Have we tested this for a Unloaded tenant. ? I think we will face same
>> issue because tenant space is not loaded at the time we try to remove
>> artifacts from registry.
>>
>> Thanks,
>> Hasitha.
>>
>>
>> On Wed, Aug 3, 2016 at 4:06 PM, Amal Gunatilake <am...@wso2.com> wrote:
>>
>>> Hi Malith,
>>>
>>> There is an inbuilt tool packaged with BPS for process instance cleanup.
>>> The same tool can be used to clean packages as well.
>>> While the server is running you can run the cleanup script
>>> \bin\processcleanuptool.sh side by side.
>>> You will have to do the configurations specific to tenant which is
>>> similar to example[2].
>>> Once you run the tool, it will list down all the packages according to
>>> given filter configurations. Then you can select what packages to delete.
>>>
>>> [1]
>>> https://github.com/wso2/product-bps/tree/master/modules/samples/product/process-tools
>>> [2]
>>> https://github.com/wso2/product-bps/blob/master/modules/samples/product/process-tools/src/main/resources/process-cleanup.properties
>>>
>>> Best regards,
>>> Amal.
>>>
>>>
>>> On Wed, Aug 3, 2016 at 3:40 PM, Nandika Jayawardana <nand...@wso2.com>
>>> wrote:
>>>
>>>> Hi Malith,
>>>>
>>>> Can you have a look into the process instance cleanup tool. It has the
>>>> capability to delete bpel packages as well.
>>>>
>>>> Regards
>>>> Nandika
>>>>
>>>> On Wed, Aug 3, 2016 at 3:28 PM, Malith Munasinghe <mali...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> While writing a Package undeployer tool for BPES 3.2.0 for several
>>>>> tenants I did the following to undeploy a BPEL package. While starting the
>>>>> tenant flow with super tenant I was able to successfully undeploy the
>>>>> releveant package. Starting the tenant flow with a tenant I get the below
>>>>> warning with the undeployed result as SUCCESS.
>>>>>
>>>>> WARN
>>>>> {org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl} -
>>>>>  Cannot find BPEL package with name
>>>>> ApplicationRegistrationWorkflowProcess_1.0.0 in the repository. If the 
>>>>> bpel
>>>>> package is un-deployed through the management console or if this node is a
>>>>> member of a cluster, please ignore this warning.
>>>>>
>>>>> When I check the artifact though carbon console I still find the
>>>>> Package and the undeployment is not successful.
>>>>>
>>>>> While debugging I found even though the tenant flow is started the
>>>>> tenantProcessStore returns a null because the tenant specific process 
>>>>> store
>>>>> is not set. So is there a specific method that I should call to load this
>>>>> process store before undeploying the package for the specific user.
>>>>>
>>>>> Attached below is the code snippet used to undeploy the package.
>>>>>
>>>>> try {
>>>>> PrivilegedCarbonContext.startTenantFlow();
>>>>> PrivilegedCarbonContext privilegedCarbonContext =
>>>>> PrivilegedCarbonContext.getThreadLocalCarbonContext();
>>>>> privilegedCarbonContext.setTenantId(1);
>>>>> privilegedCarbonContext.setTenantDomain("abc.com");
>>>>> packageManagementServiceSkeleton = new
>>>>> BPELPackageManagementServiceSkeleton();
>>>>>
>>>>> package

Re: [Dev] [DEV][BPS][320] Undeploying BPEL packages for tenants

2016-08-03 Thread Hasitha Aravinda
Hi Amal,

Have we tested this for a Unloaded tenant. ? I think we will face same
issue because tenant space is not loaded at the time we try to remove
artifacts from registry.

Thanks,
Hasitha.


On Wed, Aug 3, 2016 at 4:06 PM, Amal Gunatilake <am...@wso2.com> wrote:

> Hi Malith,
>
> There is an inbuilt tool packaged with BPS for process instance cleanup.
> The same tool can be used to clean packages as well.
> While the server is running you can run the cleanup script
> \bin\processcleanuptool.sh side by side.
> You will have to do the configurations specific to tenant which is similar
> to example[2].
> Once you run the tool, it will list down all the packages according to
> given filter configurations. Then you can select what packages to delete.
>
> [1]
> https://github.com/wso2/product-bps/tree/master/modules/samples/product/process-tools
> [2]
> https://github.com/wso2/product-bps/blob/master/modules/samples/product/process-tools/src/main/resources/process-cleanup.properties
>
> Best regards,
> Amal.
>
>
> On Wed, Aug 3, 2016 at 3:40 PM, Nandika Jayawardana <nand...@wso2.com>
> wrote:
>
>> Hi Malith,
>>
>> Can you have a look into the process instance cleanup tool. It has the
>> capability to delete bpel packages as well.
>>
>> Regards
>> Nandika
>>
>> On Wed, Aug 3, 2016 at 3:28 PM, Malith Munasinghe <mali...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> While writing a Package undeployer tool for BPES 3.2.0 for several
>>> tenants I did the following to undeploy a BPEL package. While starting the
>>> tenant flow with super tenant I was able to successfully undeploy the
>>> releveant package. Starting the tenant flow with a tenant I get the below
>>> warning with the undeployed result as SUCCESS.
>>>
>>> WARN
>>> {org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl} -
>>>  Cannot find BPEL package with name
>>> ApplicationRegistrationWorkflowProcess_1.0.0 in the repository. If the bpel
>>> package is un-deployed through the management console or if this node is a
>>> member of a cluster, please ignore this warning.
>>>
>>> When I check the artifact though carbon console I still find the Package
>>> and the undeployment is not successful.
>>>
>>> While debugging I found even though the tenant flow is started the
>>> tenantProcessStore returns a null because the tenant specific process store
>>> is not set. So is there a specific method that I should call to load this
>>> process store before undeploying the package for the specific user.
>>>
>>> Attached below is the code snippet used to undeploy the package.
>>>
>>> try {
>>> PrivilegedCarbonContext.startTenantFlow();
>>> PrivilegedCarbonContext privilegedCarbonContext =
>>> PrivilegedCarbonContext.getThreadLocalCarbonContext();
>>> privilegedCarbonContext.setTenantId(1);
>>> privilegedCarbonContext.setTenantDomain("abc.com");
>>> packageManagementServiceSkeleton = new
>>> BPELPackageManagementServiceSkeleton();
>>>
>>> packageManagementServiceSkeleton.undeployBPELPackage("ApplicationRegistrationWorkflowProcess_1.0.0");
>>> } finally {
>>> PrivilegedCarbonContext.endTenantFlow();
>>> }
>>>
>>>
>>> Regards,
>>> Malith
>>>
>>>
>>> --
>>> Malith Munasinghe | Software Engineer
>>> M: +94 (71) 9401122
>>> E: mali...@wso2.com
>>> W: http://wso2.com
>>> <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> *Amal Gunatilake*
> WSO2 Inc.; http://wso2.com
> Lean . Enterprise . Middleware
>
> mobile: (+94) 773561195
> blog: amalg-blogs.blogspot.com; twitter: @daag123
> linkedIn: https://www.linkedin.com/in/amalgunatilake
>



-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-07-28 Thread Hasitha Aravinda
u please
>>>>>> share with us the milestone plan as we discussed in the last week.
>>>>>>
>>>>>> Thanks,
>>>>>> Isuru.
>>>>>>
>>>>>> On Thu, May 26, 2016 at 11:04 PM, Heshan Jayasinghe <
>>>>>> shanu...@gmail.com> wrote:
>>>>>>
>>>>>>> github url - https://github.com/heshanjse/BPMNEditor
>>>>>>>
>>>>>>> On Thu, May 19, 2016 at 12:52 PM, Heshan Jayasinghe <
>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Isuru,
>>>>>>>> I completed Start Event,End Event,Gateways and Task.Currently
>>>>>>>> these component can move in the canvas.As we discussed in our last 
>>>>>>>> meeting
>>>>>>>> I am working for packaging the current source code,drawing 
>>>>>>>> flows,component
>>>>>>>> re-sizing,creating property window and adding text areas to Task
>>>>>>>> component.After I applying packaging structure i will share my
>>>>>>>> github code.Hope I can send it soon.
>>>>>>>> Thank you,
>>>>>>>> Regards,
>>>>>>>> Heshan Jayasinghe
>>>>>>>>
>>>>>>>> On Wed, May 18, 2016 at 10:04 AM, Isuru Wijesinghe <
>>>>>>>> isur...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Heshan,
>>>>>>>>>
>>>>>>>>> Any update on your progress? Could you please share with us your
>>>>>>>>> code through github. Then we can give some feedback.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Isuru
>>>>>>>>>
>>>>>>>>> On Thu, Mar 24, 2016 at 1:23 PM, Heshan Jayasinghe <
>>>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>> I submit my final proposal through GSOC site.Could you please
>>>>>>>>>> read my proposal and add some comments.
>>>>>>>>>> Thank you!
>>>>>>>>>> regards,
>>>>>>>>>> Heshan Jayasinghe
>>>>>>>>>>
>>>>>>>>>> On Wed, Mar 23, 2016 at 8:38 AM, Isuru Wijesinghe <
>>>>>>>>>> isur...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Heshan,
>>>>>>>>>>>
>>>>>>>>>>> We have already added few comments. Could you please fix them
>>>>>>>>>>> and share the updated proposal ?
>>>>>>>>>>>
>>>>>>>>>>> Thanks and Best Regards,
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Mar 18, 2016 at 9:48 PM, Isuru Wijesinghe <
>>>>>>>>>>> isur...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Heshan,
>>>>>>>>>>>>
>>>>>>>>>>>> We appreciate your quick response. The main deliverable of this
>>>>>>>>>>>> project is a javascript/D3 based BPMN editor which allows Process 
>>>>>>>>>>>> Center
>>>>>>>>>>>> users to define business processes using a graphical notation from 
>>>>>>>>>>>> the *web
>>>>>>>>>>>> UI*. (No server side involvement). Keep on progressing on the
>>>>>>>>>>>> project and if you get stuck at any point, don't hesitate to 
>>>>>>>>>>>> contact us.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks and Best Regards,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe <
>>>>>>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>&g

Re: [Dev] Storing TimeZone neutral times with Mysql

2016-07-20 Thread Hasitha Aravinda
Hi Vinod,

I checked MSSQL [1], Postgres [2], DB2 [3], and Oracle [4] documentations
and their max supported time-stamp is . It seems like only MySQL has
this problem.

IMO, we should support time-stamp values beyond 2038, if database supports
it. So shall we add a logic to determine DB type and if DB is MySQL, then
support up to its max time-stamp, if DB is another type, then simple allow
 as Max time-stamp.

Issue in datetime format is, it doesn't support timezone values (Expect for
MSSQL). Since we are considering use-case in different time zones, I think
we have to go with time-stamp.

[1] - https://msdn.microsoft.com/en-us/library/ms187819.aspx
[2] - https://www.postgresql.org/docs/9.2/static/datatype-datetime.html
[3] -
https://www.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/sqlref/src/tpc/db2z_limits.html
[4] - http://www.techonthenet.com/oracle/datatypes.php

Thanks,
Hasitha.

On Wed, Jul 20, 2016 at 11:41 AM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi all,
> I have a requirement that I need to store timestamp values where it will
> be required to retrieve it in different time zones. So in MySql, I used
> timestamp data type where MySQL store  the time in UTC and return in local
> timezone.
>
> The problem is when the time is null, I need to represent 'forever'.
> Thought of setting the max date possible in epoch time (Long.Max) for this.
> But the max possible timestamp value in MySql is year 2038/1/19... [1].
>
> So, is this 2038 is fair enough as the max date? (This will be the max
> date for other DBMS also.)
>
> Should I use DateTime datatype instead and handle the timezone stuff in
> application level?
>
> What is the best practice used here in Wso2?
>
>
> [1] - https://dev.mysql.com/doc/refman/5.5/en/datetime.html
>
> Regards,
> Vinod
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
> [image: http://wso2.com/signature]
> <http://wso2.com/signature>
>
>


-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 BPS 3.6.0-ALPHA is Released.

2016-07-17 Thread Hasitha Aravinda
Hi Devs,

BPS team is pleased to announce the Alpha release of WSO2 Business Process
Server 3.6.0. This release comes with both the run-time and the tooling
distributions.

*WSO2 BPS 3.6.0-ALPHA*

The distribution is available to download at [1].

[1] - https://github.com/wso2/product-bps/releases/tag/v3.6.0-alpha

This release​ ​contains following improvements and bug fixes [2].

[2] -
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=13142
​​
Known issue for this release [3].

[3] -
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=13143


*WSO2 BPS Tooling 3.6.0-ALPHA2*

The tooling distribution is available to download at [4].

[4] -
https://github.com/wso2/devstudio-tooling-bps/releases/tag/Released-release-3.6.0-alpha2-alpha2-2016-07-15-172216

It contains following improvements and bug fixes [5].

[5] -
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=13144


~ WSO2 BPS Team ~

-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] BPS processes can't access when start the worker node with -DworkerNode=true

2016-07-15 Thread Hasitha Aravinda
For BPS, we are not recommending to use -DworkerNode=true in cluster,
because when server starts as a worker node, it will disable all the admin
services. But there are some user services exposed as Admin Services ( i.e
HumanTask client API, BPMN Admin services etc. ).

It seems like doc is misleading. will correct this doc.

Thanks,
Hasitha.

On Fri, Jul 15, 2016 at 4:32 PM, Gayan Gunarathne <gay...@wso2.com> wrote:

> I won't be able to access the processes in bpmn-explorer of worker node
> when worker node start with -DworkerNode=true in BPS cluster[1]. It will
> redirect to the login page.But if I start the worker node
> without -DworkerNode=true, I can access and start the processes with out a
> issue.
>
> Added a JIRA[2] with steps.
>
> [1]
> https://docs.wso2.com/display/CLUSTER44x/Clustering+Business+Process+Server+3.5.0+and+3.5.1
> [2]https://wso2.org/jira/browse/BPS-1090
>
> Thanks,
> Gayan
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>
>
>



-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPS 3.5.1 compatible mysql version

2016-07-12 Thread Hasitha Aravinda
Please find my comments inline.

On Tue, Jul 12, 2016 at 11:27 AM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi Gayan,
> There are separate scripts for mysql 5.5 for bpmn. Have you tried with
> those scripts. You need to run following scripts located at
> /dbscripts/bps/bpmn/create folder.
>
> activiti.mysql55.create.engine.sql
>
> activiti.mysql55.create.history.sql
>
> We have not tested for mysql 5.7 AFAIU.
>
>
> Regards,
>
> Vinod
>
>
>
>
> On Tue, Jul 12, 2016 at 11:19 AM, Gayan Gunarathne <gay...@wso2.com>
> wrote:
>
>> Hi,
>>
>> Seems BPS 3.5.1 worked only with mysql 5.6. Got the following
>> incompatibility issues with mysql 5.5 and mysql 5.7.
>> But in the documentation we didn't mention anything about the mysql
>> version[1]. If we are support only mysql 5.6, shall we update the
>> documentation with the compatible mysql version?
>>
>> mysql 5.5 - Syntax incompatibility with BPMN_DB
>>
>> bps_rdbms  | /usr/local/bin/docker-entrypoint.sh: running
>> /docker-entrypoint-initdb.d/bpsdb.sql
>> bps_rdbms  | ERROR 1064 (42000) at line 2052: You have an error in your
>> SQL syntax; check the manual that corresponds to your MySQL server version
>> for the right syntax to use near '(3),
>> bps_rdbms  | primary key (ID_)
>> bps_rdbms  | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin' at
>> line 6
>> bps_rdbms exited with code 1
>>
>
A
​s Vonod mentioned, Activiti has two scripts for MySQL 5.5 and MySQL 5.6. ​


>>
>> mysql 5.7 - Syntax incompatibility  with WSO2_USER_DB
>>
>> bps_rdbms  | /usr/local/bin/docker-entrypoint.sh: running
>> /docker-entrypoint-initdb.d/bpsdb.sql
>> bps_rdbms  | ERROR 1067 (42000) at line 55: Invalid
>> ​​
>> default value for 'REG_CREATED_TIME'
>> bps_rdbms exited with code 1
>>
>
​AFAIK, this is a known issue in kernel db scripts. Kernel registry mysql
script has default timestamp value as 0, which is not supported in MySQL
5.7. This is fixed in latest kernel release.

Thanks,
Hasitha.
​


>
>> [1]https://docs.wso2.com/display/BPS351/Setting+up+MySQL
>>
>> Thanks,
>> Gayan
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.7 RC1

2016-07-04 Thread Hasitha Aravinda
;>> Associate Technical Lead
>>>>>>> WSO2 Inc. - http://wso2.com/
>>>>>>> lean . enterprise . middleware
>>>>>>> email: jaya...@wso2.com
>>>>>>> mobile: +94772207259
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Aruna Sujith Karunarathna *
>>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Anupama Pathirage
>>>> Associate Technical Lead
>>>> WSO2, Inc.  http://wso2.com/
>>>> Email: anup...@wso2.com
>>>> Mobile:+94 71 8273 979
>>>>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Chamalee De Silva*
>>> Software Engineer
>>> *WS**O2* Inc. .:http://wso2.com
>>>
>>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>>
>>>
>>> * <http://wso2.com/>*
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Chamalee De Silva*
>> Software Engineer
>> *WS**O2* Inc. .:http://wso2.com
>>
>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>
>>
>> * <http://wso2.com/>*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "WSO2 Engineering Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to engineering-group+unsubscr...@wso2.com.
>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>
>
>
>
> --
> Kasun Bandara
> *Software Engineer*
> Mobile : +94 (0) 718 338 360
> <%2B94%20%280%29%20773%20451194>
> kas...@wso2.com <thili...@wso2.com>
>
> --
> You received this message because you are subscribed to the Google Groups
> "WSO2 Engineering Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to engineering-group+unsubscr...@wso2.com.
> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>



-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-06-20 Thread Hasitha Aravinda
y contact number :
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *0710933706*
>>>>>>>>> Thanks and Best Regards,
>>>>>>>>>
>>>>>>>>> On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe <
>>>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Isuru,
>>>>>>>>>> My proposal 70% over now.I will send you copy soon.could you
>>>>>>>>>> please send me your contact number to get more information.
>>>>>>>>>> Thank you!
>>>>>>>>>> regards,
>>>>>>>>>> Heshan jayasinghe
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Isuru Wijesinghe
>>>>>>>>> *Software Engineer*
>>>>>>>>> WSO2 inc : http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>> Mobile: 0710933706
>>>>>>>>> isur...@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Isuru Wijesinghe
>>>>>>> *Software Engineer*
>>>>>>> WSO2 inc : http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>> Mobile: 0710933706
>>>>>>> isur...@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Isuru Wijesinghe
>>>>>> *Software Engineer*
>>>>>> WSO2 inc : http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> Mobile: 0710933706
>>>>>> isur...@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Wijesinghe
>>>> *Software Engineer*
>>>> WSO2 inc : http://wso2.com
>>>> lean.enterprise.middleware
>>>> Mobile: 0710933706
>>>> isur...@wso2.com
>>>>
>>>
>>>
>>
>
>
> --
> Isuru Wijesinghe
> *Software Engineer*
> WSO2 inc : http://wso2.com
> lean.enterprise.middleware
> Mobile: 0710933706
> isur...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Common directories to store DB scripts and databases for C5.

2016-06-13 Thread Hasitha Aravinda
Hi all,

Any thoughts on this. ?

Thanks,
Hasitha.

On Tue, May 10, 2016 at 11:45 AM, Hasitha Aravinda <hasi...@wso2.com> wrote:

> Hi all,
>
> I am bringing this topic, because we are using multiple place to store
> dbscripts. In BPS we use  /dbscripts/bps folder to store scripts.
> In carbon-security-user-store-jdbc, we use database folder. Shall we use
> common place for this.
>
> My suggestion is to use,
>
>- /dbscripts/(product | component name) to store DB scripts
>(Same location in C4)
>- /database or /resources/database to store
>file-system databases (h2) ?
>
> Any thoughts ?
>
> Thanks,
> Hasitha.
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BPS][C5] Introducing bpmn.yml instead of activiti.xml

2016-06-07 Thread Hasitha Aravinda
Hi Devs,

​I
 have
​completed the​
 $Subject for BPS 4.0.0. In
​
the
​
previous version of the BPS server, we used activiti.xml which is spring
based configuration
​
[1].
​
New yaml based configuration
​
can be found from here
​ ​
[2].
​ This will support all the configuration parameters defined in [3] [4].

​[1] -
https://github.com/wso2/carbon-business-process/blob/master/features/bpmn/org.wso2.carbon.bpmn.server.feature/resources/conf/activiti.xml

[2]
​- ​
https://github.com/wso2/carbon-business-process/blob/5.0.x/components/bpmn/org.wso2.carbon.bpmn/src/main/resources/bpmn.yml

​[3] -
https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/ProcessEngineConfiguration.java
​

​[4] -
https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/cfg/ProcessEngineConfigurationImpl.java
​

​T​hanks,
Hasitha.

--
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] Getting a list of user roles

2016-06-05 Thread Hasitha Aravinda
Hi Manu,

On Wed, Jun 1, 2016 at 11:56 PM, Manuranga Perera <m...@wso2.com> wrote:

> What are the ways to get a list of user roles in BPS to display in UI.
> What I can think of are :
> 1. Use the user mgt web service
> ​​
> ​
>
>

T
​his is possible option in default pack.
​


> 2. Use embedded LDAP. Do we ship embedded LDAP (like in IS) with BPS ?
>

​
​
In default pack, BPS doesn't include
​
RemoteUserStoreManagerService
​
[1] which is provided by IS.
​ ​
But this service
​
provides much cleaner
​
operations than
​
which user-mgt service
​ p
rovides
​
.
​
If
​
you can install
​
RemoteUserStoreManagerService
​
in BPS, I think better
​ option is to use this services instead of user-mgt web service. ​


​[1] -
https://docs.wso2.com/display/IS510/Managing+Users+and+Roles+with+APIs​​



> Is there a better way? eg: a REST API ?
>

​​
​
​We haven't exposed this as an API in BPMN rest API.

Thanks,
Hasitha.


> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
--
Hasitha Aravinda,
Associate Technical Lead,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Vote] Release WSO2 Carbon Kernel 5.1.0 RC1

2016-05-30 Thread Hasitha Aravinda
Hi all,

I have tested carbon 5.1.0-RC1 with Carbon-Business-Process 5.0.0-SNAPSHOT
and Product-BPS 4.0.0-SNAPSHOT and didn't find any issue.

[x] Stable - go ahead and release.

Thanks,
Hasitha.

On Fri, May 27, 2016 at 12:44 PM, Niranjan Karunanandham <niran...@wso2.com>
wrote:

> Hi Devs,
>
> This is the 1st Release Candidate of WSO2 Carbon Kernel 5.1.0
>
> This release fixed the following issues:
> https://wso2.org/jira/issues/?filter=13077
>
> Please download and test your products with Kernel 5.1.0 RC1 and vote.
>
> *Source and binary distribution files:*
>
> https://github.com/wso2/carbon-kernel/releases/download/v5.1.0-rc1/wso2carbon-kernel-5.1.0.zip
>
> *Maven Staging repository:*
> https://maven.wso2.org/nexus/content/repositories/orgwso2carbon-1020/
>
> *The tag to be voted upon:*
> https://github.com/wso2/carbon-kernel/releases/tag/v5.1.0-rc1
>
> [ ] Broken - do not releaes (explain why)
> [ ] Stable - go ahead and release
>
> Thank you,
> Carbon Team
>
> --
>
> *Niranjan Karunanandham*
> Senior Software Engineer - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting org.osgi.framework.ServiceException with PaxExam tests.

2016-05-23 Thread Hasitha Aravinda
Hi Dharshana,

I am writing a PAX Exam test cases [1] ( You can check out and build) and
getting following error [2]. Even I get this error, it is not affecting to
test scenarios. Any thoughts on this. ?

[1] - https://github.com/hasithaa/carbon-business-process

[2] -
14:30:14.222 [Framework Event Dispatcher: Equinox Container:
400bc2c0-c420-0016-1f8b-9c0e9399ab0f] ERROR org.wso2.carbon.bpmn -
FrameworkEvent ERROR - org.wso2.carbon.bpmn
org.osgi.framework.ServiceException:
org.eclipse.equinox.internal.ds.ServiceReg.getService() returned a service
object that is not an instance of the service class
org.wso2.carbon.bpmn.core.BPMNEngineService
at
org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:243)
~[?:?]
at
org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
~[?:?]
at
org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
~[?:?]
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
~[?:?]
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
~[?:?]
at
org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
~[?:?]
at
org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:414)
~[?:?]
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
~[?:?]
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)
~[?:?]
at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
~[?:?]
at
org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
~[?:?]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318) ~[?:?]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) ~[?:?]
at
org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:195)
~[?:?]
at
org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
~[?:?]
at
org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
~[?:?]
at
org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
~[?:?]
at
org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
~[?:?]
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.injectContextAndInvoke(ProbeInvokerImpl.java:121)
~[?:?]
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.findAndInvoke(ProbeInvokerImpl.java:85)
~[?:?]
at
org.ops4j.pax.exam.raw.extender.intern.ProbeInvokerImpl.call(ProbeInvokerImpl.java:73)
~[?:?]
at
org.ops4j.pax.exam.nat.internal.NativeTestContainer.call(NativeTestContainer.java:109)
~[?:?]
at
org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.invoke(EagerSingleStagedReactor.java:109)
~[?:?]
at org.ops4j.pax.exam.testng.listener.PaxExam.runByDriver(PaxExam.java:458)
~[?:?]
at org.ops4j.pax.exam.testng.listener.PaxExam.run(PaxExam.java:308) ~[?:?]
at
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
~[?:?]
at org.testng.internal.Invoker.invokeMethod(Invoker.java:652) ~[?:?]
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845) ~[?:?]
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153) ~[?:?]
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
~[?:?]
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
~[?:?]
at org.testng.TestRunner.privateRun(TestRunner.java:771) ~[?:?]
at org.testng.TestRunner.run(TestRunner.java:621) ~[?:?]
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357) ~[?:?]
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352) ~[?:?]
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310) ~[?:?]
at org.testng.SuiteRunner.run(SuiteRunner.java:259) ~[?:?]
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) ~[?:?]
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) ~[?:?]
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199) ~[?:?]
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124) ~[?:?]
at org.testng.TestNG.run(TestNG.java:1032) ~[?:?]
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
~[?:?]
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
~[?:?]
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
~[?:?]
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
~[?:?]
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
~[?:?]
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
~[?:?]

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200

Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-22 Thread Hasitha Aravinda
;>>>>>> recommended. Instead of that you should call OSGi services. Calling OSGI
>>>>>>> services from server-side JS will be available in the next milestone of 
>>>>>>> UUF.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Thu, May 19, 2016 at 2:21 PM, Sudharma Subasinghe <
>>>>>>> sudhar...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I am working on developing BPMN explorer ui using Unified UI
>>>>>>>> Framework.
>>>>>>>>
>>>>>>>> The existing BPMN explorer ui is for BPS which has built on C4 and
>>>>>>>> it is used Jaggery. So, I am working on BPMN explorer ui for BPS which 
>>>>>>>> is
>>>>>>>> to be released on C5.
>>>>>>>>
>>>>>>>> We need to implement business logics in backend. For example, I
>>>>>>>> need to send request to backend from browser, and from backend to BPS. 
>>>>>>>> Is
>>>>>>>> there functionality to achieve it in UUF?
>>>>>>>>
>>>>>>>> Any idea on this is appreciated.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Sudharma
>>>>>>>>
>>>>>>>> --
>>>>>>>> Sudharma Subasinghe,
>>>>>>>> Software Engineer,
>>>>>>>> WSO2 Inc.
>>>>>>>> Email: sudhar...@wso2.com <hasi...@wso2.com>
>>>>>>>> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sajith Janaprasad Ariyarathna
>>>>>>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>>>>
>>>>>>> ___
>>>>>>> Architecture mailing list
>>>>>>> architect...@wso2.org
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> With regards,
>>>>> *Manu*ranga Perera.
>>>>>
>>>>> phone : 071 7 70 20 50
>>>>> mail : m...@wso2.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> With Regards,
>>>
>>> *Rasika Perera*
>>> Software Engineer
>>> M: +94 71 680 9060 E: rasi...@wso2.com
>>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, CEO & Chief Architect; WSO2, Inc.;  http://wso2.com/
> email: sanj...@wso2.com; office: (+1 650 745 4499 | +94  11 214 5345)
> x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] StartOrderResolverException in carbon deployment engine

2016-05-22 Thread Hasitha Aravinda
Thanks Kasun, will check it.



On Mon, May 23, 2016 at 9:31 AM, KasunG Gajasinghe <kas...@wso2.com> wrote:

> Hi Hasitha,
>
> This is now fixed in the latest snapshot.
>
> Thanks,
> KasunG
>
> On Fri, May 20, 2016 at 12:41 PM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi Kasun,
>>
>> We are getting following exception when starting the server. It seems
>> like Carbon deployment wasn't updated for latest
>> kernel startupresolver. Could you please check. ?
>>
>> osgi> [2016-05-20 12:36:19,676] ERROR {org.wso2.carbon.core} -
>> FrameworkEvent ERROR - org.wso2.carbon.core
>> org.wso2.carbon.kernel.internal.startupresolver.StartOrderResolverException:
>> componentName value is missing in the services registered with the key
>> org.wso2.carbon.kernel.startupresolver.RequiredCapabilityListener,
>> implementation class name is
>> org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent
>> at
>> org.wso2.carbon.kernel.internal.startupresolver.OSGiServiceCapabilityTracker$CapabilityServiceTrackerCustomizer.addingService(OSGiServiceCapabilityTracker.java:142)
>> at
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
>> at
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)
>> at
>> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
>> at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
>> at
>> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
>> at
>> org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:213)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
>> at
>> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
>> at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
>> at
>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
>>
>> Thanks,
>> Hasitha.
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] StartOrderResolverException in carbon deployment engine

2016-05-20 Thread Hasitha Aravinda
Hi Kasun,

We are getting following exception when starting the server. It seems like
Carbon deployment wasn't updated for latest kernel startupresolver. Could
you please check. ?

osgi> [2016-05-20 12:36:19,676] ERROR {org.wso2.carbon.core} -
FrameworkEvent ERROR - org.wso2.carbon.core
org.wso2.carbon.kernel.internal.startupresolver.StartOrderResolverException:
componentName value is missing in the services registered with the key
org.wso2.carbon.kernel.startupresolver.RequiredCapabilityListener,
implementation class name is
org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent
at
org.wso2.carbon.kernel.internal.startupresolver.OSGiServiceCapabilityTracker$CapabilityServiceTrackerCustomizer.addingService(OSGiServiceCapabilityTracker.java:142)
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)
at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
at
org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:213)
at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] BPS Server startup hangs after a NPE.

2016-05-10 Thread Hasitha Aravinda
Hi Kernel team,

I am getting following NPE when server startup. Please have a look.

[2016-05-10 11:52:55,080]  INFO
{org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are
available
[2016-05-10 11:52:55,081]  INFO
{org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent}
- All CarbonNettyServerInitializers are available
[2016-05-10 11:52:55,082]  INFO
{org.wso2.carbon.transport.http.netty.listener.NettyListener} - Starting
Netty Http Transport Listener
[2016-05-10 11:52:55,301]  INFO
{org.wso2.carbon.transport.http.netty.listener.NettyListener} - Netty
Listener starting on port 
[2016-05-10 11:52:55,302]  INFO
{org.wso2.carbon.transport.http.netty.listener.NettyListener} - Starting
Netty Http Transport Listener
[2016-05-10 11:52:55,352]  INFO
{org.wso2.carbon.transport.http.netty.listener.NettyListener} - Netty
Listener starting on port 
*Exception in thread "Timer-1" java.lang.NullPointerException*
at
org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$2.lambda$run$7(StartupOrderResolver.java:239)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at
org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$2.run(StartupOrderResolver.java:236)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)


Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] Common directories to store DB scripts and databases for C5.

2016-05-10 Thread Hasitha Aravinda
Hi all,

I am bringing this topic, because we are using multiple place to store
dbscripts. In BPS we use  /dbscripts/bps folder to store scripts.
In carbon-security-user-store-jdbc, we use database folder. Shall we use
common place for this.

My suggestion is to use,

   - /dbscripts/(product | component name) to store DB scripts
   (Same location in C4)
   - /database or /resources/database to store
   file-system databases (h2) ?

Any thoughts ?

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-07 Thread Hasitha Aravinda
256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
at
org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:213)
at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

[2016-05-07 20:21:12,080] ERROR {org.wso2.carbon.core} - FrameworkEvent
ERROR - org.wso2.carbon.core
org.wso2.carbon.kernel.internal.startupresolver.StartOrderResolverException:
capabilityName value is missing in the services registered with the key
org.wso2.carbon.kernel.startupresolver.CapabilityProvider, implementation
class name is
org.wso2.carbon.transport.http.netty.internal.TransportServiceCapabilityProvider
at
org.wso2.carbon.kernel.internal.startupresolver.OSGiServiceCapabilityTracker$CapabilityServiceTrackerCustomizer.addingService(OSGiServiceCapabilityTracker.java:155)
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)
at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at
org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:914)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
at
org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:213)
at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

​Thanks,
Hasitha. ​

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixing msf4j feature to work in an OSGi environment

2016-04-28 Thread Hasitha Aravinda
Thanks Azeezs,

/Hasitha.

On Thu, Apr 28, 2016 at 1:43 PM, Afkham Azeez <az...@wso2.com> wrote:

> merged
>
> On Thu, Apr 28, 2016 at 11:28 AM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi Sameera and Azeez,
>>
>> Shall we merge PR [1], since it is blocker for C5 based BPS development.
>> I have locally verified the fix.
>>
>> [1] - https://github.com/wso2/msf4j/pull/167
>>
>> ​Thanks,
>> Hasitha. ​
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fixing msf4j feature to work in an OSGi environment

2016-04-27 Thread Hasitha Aravinda
Hi Sameera and Azeez,

Shall we merge PR [1], since it is blocker for C5 based BPS development. I
have locally verified the fix.

[1] - https://github.com/wso2/msf4j/pull/167

​Thanks,
Hasitha. ​

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting all deployed micro services from OSGI console.

2016-04-19 Thread Hasitha Aravinda
Hi Devs,

Shall we
​ ​
introduce os
gi commands
like
*​​listAdminServices *
for C5 to get all deployed micro services, get all secured services etc.
WDYT ?

​Thanks,
Hasitha. ​


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Hasitha Aravinda
Hi Azeez,

msf4j-core bundle exports a wrong version. This should be corrected as 1.1.0

Export-Package: org.wso2.msf4j;version="*1.0.0*"

Thanks,
Hasitha.

On Mon, Apr 18, 2016 at 1:18 PM, Hasitha Aravinda <hasi...@wso2.com> wrote:

> Thanks Azeez.
>
> Hasitha.
>
> On Mon, Apr 18, 2016 at 1:14 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Updated to 1.1.0-SNAPSHOT
>>
>> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez <az...@wso2.com> wrote:
>>
>>> Updates to 1.1.0-SNAPSHOT.
>>>
>>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda <hasi...@wso2.com>
>>> wrote:
>>>
>>>> Hi Kernel team,
>>>>
>>>> This is happening due to an issue in msf4j 1.0.0 component and solution
>>>> is to move latest msf4j version. But still msf4j master branch is set to
>>>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>>>> snapshot artifacts to nexus. Could you please fix this ?
>>>>
>>>> [1] - https://github.com/wso2/msf4j/tree/master
>>>>
>>>> Thanks,
>>>> Hasitha.
>>>>
>>>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda <hasi...@wso2.com>
>>>> wrote:
>>>>
>>>>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>>>>> following error. What could be the issue. ?
>>>>>
>>>>> [2016-04-08 17:24:26,865]  WARN
>>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>>> Startup component netty-transports-mgt from
>>>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>>>> state until Capability
>>>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>>>> from bundle(msf4j-core:1.0.0) is available
>>>>> [2016-04-08 17:24:26,866]  WARN
>>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>>> Startup component netty-transports-mgt from
>>>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>>>> state until Capability
>>>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>>> [2016-04-08 17:24:26,866]  WARN
>>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>>> Startup component carbon-transport-mgt from
>>>>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>>>>> until Capability
>>>>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>>>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Hasitha.
>>>>>
>>>>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera <rasi...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Himasha,
>>>>>>
>>>>>> This usually happens when MSF4J is waiting for its required
>>>>>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>>>>>> capabilities for the Carbon Transport. Which means server is waiting
>>>>>> on the startup for at least one OSGi service implementing
>>>>>> CarbonTransport.class interface[1]. As Aruna mentioned can you
>>>>>> verify whether you are packing carbon transport.
>>>>>>
>>>>>> However one issue found on your pom file.
>>>>>>
>>>>>> 
>>>>>> org.wso2.carbon.bpmn.rest.**,*
>>>>>> version=${carbon.business-process.exp.pkg.version},
>>>>>> 
>>>>>>
>>>>>> should be corrected as;
>>>>>>
>>>>>> 
>>>>>> org.wso2.carbon.bpmn.rest.**;*
>>>>>> version=${carbon.business-process.exp.pkg.version},
>>>>>> 
>>>>>>
>>>>>> [1]
>>>>>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>>>>>
>>>>>> Thanks
>>>>>> ~Rasika
>>>>>>
>>>>>>
>>>>>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna <ar

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-18 Thread Hasitha Aravinda
Thanks Azeez.

Hasitha.

On Mon, Apr 18, 2016 at 1:14 PM, Afkham Azeez <az...@wso2.com> wrote:

> Updated to 1.1.0-SNAPSHOT
>
> On Mon, Apr 18, 2016 at 1:13 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Updates to 1.1.0-SNAPSHOT.
>>
>> On Mon, Apr 18, 2016 at 10:15 AM, Hasitha Aravinda <hasi...@wso2.com>
>> wrote:
>>
>>> Hi Kernel team,
>>>
>>> This is happening due to an issue in msf4j 1.0.0 component and solution
>>> is to move latest msf4j version. But still msf4j master branch is set to
>>> 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
>>> snapshot artifacts to nexus. Could you please fix this ?
>>>
>>> [1] - https://github.com/wso2/msf4j/tree/master
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda <hasi...@wso2.com>
>>> wrote:
>>>
>>>> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
>>>> following error. What could be the issue. ?
>>>>
>>>> [2016-04-08 17:24:26,865]  WARN
>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>> Startup component netty-transports-mgt from
>>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>>> state until Capability
>>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>>> from bundle(msf4j-core:1.0.0) is available
>>>> [2016-04-08 17:24:26,866]  WARN
>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>> Startup component netty-transports-mgt from
>>>> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
>>>> state until Capability
>>>> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
>>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>> [2016-04-08 17:24:26,866]  WARN
>>>> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
>>>> Startup component carbon-transport-mgt from
>>>> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
>>>> until Capability
>>>> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
>>>> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>>>>
>>>>
>>>> Thanks,
>>>> Hasitha.
>>>>
>>>> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera <rasi...@wso2.com> wrote:
>>>>
>>>>> Hi Himasha,
>>>>>
>>>>> This usually happens when MSF4J is waiting for its required
>>>>> capabilities. MSF4J has cardinality of AT_LEAST_ONE as required
>>>>> capabilities for the Carbon Transport. Which means server is waiting
>>>>> on the startup for at least one OSGi service implementing
>>>>> CarbonTransport.class interface[1]. As Aruna mentioned can you verify
>>>>> whether you are packing carbon transport.
>>>>>
>>>>> However one issue found on your pom file.
>>>>>
>>>>> 
>>>>> org.wso2.carbon.bpmn.rest.**,*
>>>>> version=${carbon.business-process.exp.pkg.version},
>>>>> 
>>>>>
>>>>> should be corrected as;
>>>>>
>>>>> 
>>>>> org.wso2.carbon.bpmn.rest.**;*
>>>>> version=${carbon.business-process.exp.pkg.version},
>>>>> 
>>>>>
>>>>> [1]
>>>>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>>>>
>>>>> Thanks
>>>>> ~Rasika
>>>>>
>>>>>
>>>>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna <ar...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Have you guys added the carbon-transport-mgt?
>>>>>>
>>>>>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda <hasi...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Manu,
>>>>>>>
>>>>>>> were you able to solve this issue, I am getting the same error.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Ha

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-17 Thread Hasitha Aravinda
Hi Kernel team,

This is happening due to an issue in msf4j 1.0.0 component and solution is
to move latest msf4j version. But still msf4j master branch is set to
1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing
snapshot artifacts to nexus. Could you please fix this ?

[1] - https://github.com/wso2/msf4j/tree/master

Thanks,
Hasitha.

On Fri, Apr 8, 2016 at 5:35 PM, Hasitha Aravinda <hasi...@wso2.com> wrote:

> I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
> following error. What could be the issue. ?
>
> [2016-04-08 17:24:26,865]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(msf4j-core:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component netty-transports-mgt from
> bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
> state until Capability
> org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
> [2016-04-08 17:24:26,866]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
> Startup component carbon-transport-mgt from
> bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
> until Capability
> org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
> from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
>
>
> Thanks,
> Hasitha.
>
> On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera <rasi...@wso2.com> wrote:
>
>> Hi Himasha,
>>
>> This usually happens when MSF4J is waiting for its required capabilities.
>> MSF4J has cardinality of AT_LEAST_ONE as required capabilities for the Carbon
>> Transport. Which means server is waiting on the startup for at least one
>> OSGi service implementing CarbonTransport.class interface[1]. As Aruna
>> mentioned can you verify whether you are packing carbon transport.
>>
>> However one issue found on your pom file.
>>
>> 
>> org.wso2.carbon.bpmn.rest.**,*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> should be corrected as;
>>
>> 
>> org.wso2.carbon.bpmn.rest.**;*
>> version=${carbon.business-process.exp.pkg.version},
>> 
>>
>> [1]
>> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>>
>> Thanks
>> ~Rasika
>>
>>
>> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna <ar...@wso2.com>
>> wrote:
>>
>>> Have you guys added the carbon-transport-mgt?
>>>
>>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda <hasi...@wso2.com>
>>> wrote:
>>>
>>>> Hi Manu,
>>>>
>>>> were you able to solve this issue, I am getting the same error.
>>>>
>>>> Thanks,
>>>> Hasitha.
>>>>
>>>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera <m...@wso2.com>
>>>> wrote:
>>>>
>>>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>>>
>>>>> prints
>>>>> Waiting on pending capability registration. Capability:
>>>>> org.wso2.msf4j.Interceptor
>>>>>
>>>>> how to proceed debugging?
>>>>> --
>>>>> With regards,
>>>>> *Manu*ranga Perera.
>>>>>
>>>>> phone : 071 7 70 20 50
>>>>> mail : m...@wso2.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Hasitha Aravinda,
>>>> Senior Software Engineer,
>>>> WSO2 Inc.
>>>> Email: hasi...@wso2.com
>>>> Mobile : +94 718 210 200
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>> Email: ar...@wso2.com | Web: www.wso2.com
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> With Regards,
>>
>> *Rasika Perera*
>> Software Engineer
>> M: +94 71 680 9060 E: rasi...@wso2.com
>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: hasi...@wso2.com
> Mobile : +94 718 210 200
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-08 Thread Hasitha Aravinda
I have updated kernel version to 5.1.0-SNAPSHOT and now I am getting
following error. What could be the issue. ?

[2016-04-08 17:24:26,865]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component netty-transports-mgt from
bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
state until Capability
org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
from bundle(msf4j-core:1.0.0) is available
[2016-04-08 17:24:26,866]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component netty-transports-mgt from
bundle(org.wso2.carbon.transport.http.netty:1.0.0) will be in the pending
state until Capability
org.wso2.carbon.transport.http.netty.listener.CarbonNettyServerInitializer
from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available
[2016-04-08 17:24:26,866]  WARN
{org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver} -
Startup component carbon-transport-mgt from
bundle(org.wso2.carbon.core:5.1.0.SNAPSHOT) will be in the pending state
until Capability
org.wso2.carbon.transport.http.netty.internal.NettyTransportServiceComponent
from bundle(org.wso2.carbon.transport.http.netty:1.0.0) is available


Thanks,
Hasitha.

On Thu, Apr 7, 2016 at 6:57 PM, Rasika Perera <rasi...@wso2.com> wrote:

> Hi Himasha,
>
> This usually happens when MSF4J is waiting for its required capabilities.
> MSF4J has cardinality of AT_LEAST_ONE as required capabilities for the Carbon
> Transport. Which means server is waiting on the startup for at least one
> OSGi service implementing CarbonTransport.class interface[1]. As Aruna
> mentioned can you verify whether you are packing carbon transport.
>
> However one issue found on your pom file.
>
> 
> org.wso2.carbon.bpmn.rest.**,*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> should be corrected as;
>
> 
> org.wso2.carbon.bpmn.rest.**;*
> version=${carbon.business-process.exp.pkg.version},
> 
>
> [1]
> https://github.com/wso2/msf4j/blob/master/core/src/main/java/org/wso2/msf4j/internal/MicroservicesServerSC.java#L74
>
> Thanks
> ~Rasika
>
>
> On Thu, Apr 7, 2016 at 2:47 PM, Aruna Karunarathna <ar...@wso2.com> wrote:
>
>> Have you guys added the carbon-transport-mgt?
>>
>> On Thu, Apr 7, 2016 at 1:57 PM, Hasitha Aravinda <hasi...@wso2.com>
>> wrote:
>>
>>> Hi Manu,
>>>
>>> were you able to solve this issue, I am getting the same error.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera <m...@wso2.com> wrote:
>>>
>>>> MSS product hangs when I deploy my service, but fat-jar mode works.
>>>>
>>>> prints
>>>> Waiting on pending capability registration. Capability:
>>>> org.wso2.msf4j.Interceptor
>>>>
>>>> how to proceed debugging?
>>>> --
>>>> With regards,
>>>> *Manu*ranga Perera.
>>>>
>>>> phone : 071 7 70 20 50
>>>> mail : m...@wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 9040362 | Work: +94 112145345
>> Email: ar...@wso2.com | Web: www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: rasi...@wso2.com
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] HumanTask Plugin Build failure

2016-04-07 Thread Hasitha Aravinda
Hi Heshitha,

I am getting following build failure when I try to build
https://github.com/wso2/devstudio-tooling-bps/pull/1. Could you please have
a look ?


[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2:23.177s
[INFO] Finished at: Thu Apr 07 17:06:47 IST 2016
[INFO] Final Memory: 200M/1051M
[INFO]

[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.23.0:compile (default-compile) on
project org.wso2.developerstudio.bpel.humantask.model: Compilation failure:
Compilation failure:
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/impl/PeopleActivityRNImpl.java:[31]
[ERROR] import
org.eclipse.smila.processing.designer.model.processor.util.DOMUtils;
[ERROR] ^
[ERROR] The import org.eclipse.smila cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/impl/PeopleActivityRNImpl.java:[230]
[ERROR] DOMUtils.appendIndented(element,
getRemoteNotification().fixElement(document));
[ERROR] 
[ERROR] DOMUtils cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/impl/PeopleActivityRTImpl.java:[37]
[ERROR] import
org.eclipse.smila.processing.designer.model.processor.util.DOMUtils;
[ERROR] ^
[ERROR] The import org.eclipse.smila cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/impl/PeopleActivityRTImpl.java:[354]
[ERROR] DOMUtils.appendIndented(element,
getRemoteTask().fixElement(document));
[ERROR] 
[ERROR] DOMUtils cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/util/HTDeserializer.java:[43]
[ERROR] import
org.eclipse.smila.processing.designer.model.processor.util.DOMUtils;
[ERROR] ^
[ERROR] The import org.eclipse.smila cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/util/HTDeserializer.java:[90]
[ERROR] Element rtElement  = DOMUtils.getChildElement(paElement,
ModelPackage.eINSTANCE.getNsURI(), HTConstants.ND_REMOTE_TASK);
[ERROR] 
[ERROR] DOMUtils cannot be resolved
[ERROR]
/home/hasi/git/hasithaa/devstudio-tooling-bps/plugins/org.wso2.developerstudio.bpel.humantask.model/src/org/wso2/developerstudio/bpel/humantask/model/util/HTDeserializer.java:[194]
[ERROR] Element rnElement  = DOMUtils.getChildElement(paElement,
ModelPackage.eINSTANCE.getNsURI(), HTConstants.ND_REMOTE_NOTIFICATION);
[ERROR] 
[ERROR] DOMUtils cannot be resolved
[ERROR] 7 problems (7 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.developerstudio.bpel.humantask.model


Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-07 Thread Hasitha Aravinda
Hi Manu,

were you able to solve this issue, I am getting the same error.

Thanks,
Hasitha.

On Wed, Feb 10, 2016 at 1:42 PM, Manuranga Perera <m...@wso2.com> wrote:

> MSS product hangs when I deploy my service, but fat-jar mode works.
>
> prints
> Waiting on pending capability registration. Capability:
> org.wso2.msf4j.Interceptor
>
> how to proceed debugging?
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Defining ​instructions.configure in p2.inf using carbon-feature-plugin

2016-04-04 Thread Hasitha Aravinda
Hi Krishanthan,

I have tested SNAPSHOT and it works as expected.

Thanks,
Hasitha.

On Mon, Apr 4, 2016 at 12:13 PM, Kishanthan Thangarajah <kishant...@wso2.com
> wrote:

> There is a known issue with this : https://wso2.org/jira/browse/CMVNPLG-1
>
> You should be able to use the same approach (defining your own p2.inf)
> with the current SNAPSHOT of carbon-feature plugin. We are working a new
> release targeting this week.
>
> On Mon, Apr 4, 2016 at 11:57 AM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi Kernel team,
>>
>> Is it possible to define instructions.configure sections as [1]
>> using carbon-feature-plugin ? carbon-feature-plugin takes configuration [2]
>> and generates p2.inf content [3].
>>
>> [1] - p2.inf
>>
>> ​​
>> instructions.configure = \
>> ​​
>>
>> org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/activiti.xml,target:${installFolder}/../../../conf/activiti.xml,overwrite:true);\
>>
>> org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/datasources/activiti-datasources.xml,target:${installFolder}/../../../conf/datasources/activiti-datasources.xml,overwrite:true);\
>>
>> [2]
>>
>> <
>> ​​
>> adviceFileContents>
>> 
>> org.wso2.carbon.p2.category.type
>> server
>> 
>> 
>> org.eclipse.equinox.p2.type.group
>> true
>> 
>> 
>>
>> ​[3]​ - p2.inf
>>
>> properties.0.name=org.wso2.carbon.p2.category.type
>> properties.0.value=server
>> properties.1.name=org.eclipse.equinox.p2.type.group
>> properties.1.value=true
>>
>>
>> Thanks,
>> Hasitha.
>>
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Defining ​instructions.configure in p2.inf using carbon-feature-plugin

2016-04-04 Thread Hasitha Aravinda
Hi Kernel team,

Is it possible to define instructions.configure sections as [1]
using carbon-feature-plugin ? carbon-feature-plugin takes configuration [2]
and generates p2.inf content [3].

[1] - p2.inf

​​
instructions.configure = \
​​
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/activiti.xml,target:${installFolder}/../../../conf/activiti.xml,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../../features/org.wso2.carbon.bpmn.server_${feature.version}/conf/datasources/activiti-datasources.xml,target:${installFolder}/../../../conf/datasources/activiti-datasources.xml,overwrite:true);\

[2]

<
​​
adviceFileContents>

org.wso2.carbon.p2.category.type
server


org.eclipse.equinox.p2.type.group
true



​[3]​ - p2.inf

properties.0.name=org.wso2.carbon.p2.category.type
properties.0.value=server
properties.1.name=org.eclipse.equinox.p2.type.group
properties.1.value=true


Thanks,
Hasitha.


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Secure vault for C5 ?

2016-03-30 Thread Hasitha Aravinda
One limitation we had in C4 based secure vault is once enabled we have to
provide the keystore password at every server start. I think we have to
look how we can overcome this limitation in container world.

Thanks,
Hasitha.

On Wed, Mar 30, 2016 at 12:12 PM, Afkham Azeez <az...@wso2.com> wrote:

> In the container world, the sec vault files will get packed into the
> containers, and if there are changes to those files, you will need to
> create a new version of the container image. This is true for the rest of
> the configuration files as well. This goes with the concept of immutable
> servers.
>
> Azeez
>
> On Wed, Mar 30, 2016 at 11:54 AM, Sameera Jayasoma <same...@wso2.com>
> wrote:
>
>> I believe we cannot apply the same thing we had in C4. We have to think
>> about how we can apply this for containers as well. Lets have a quick chat
>> on this.
>>
>> Thanks,
>> Sameera.
>>
>> On Wed, Mar 30, 2016 at 11:51 AM, Hasitha Aravinda <hasi...@wso2.com>
>> wrote:
>>
>>> I think we have to target this for Hamming platform ? Because we have
>>> some configuration files like (*-datasource.xml) with passwords.
>>>
>>> Apart from securing passwords in configuration files, I think we will
>>> need secure vault support for runtime as well. In products like GW, ESB and
>>> BPS do secure services invocations, (i.e BasicAuth) and we will need a
>>> central place to store encrypted credentials.
>>>
>>> Thanks,
>>> Hasitha.
>>>
>>> On Wed, Mar 30, 2016 at 11:33 AM, Afkham Azeez <az...@wso2.com> wrote:
>>>
>>>> Simply porting the existing sec vault to work with C5 should be
>>>> sufficient.
>>>>
>>>> On Wed, Mar 30, 2016 at 11:03 AM, Hasitha Aravinda <hasi...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi team,
>>>>>
>>>>> How are we going to use $Subject in C5. Can we use existing secure
>>>>> vault implementation for this.
>>>>>
>>>>> Thanks,
>>>>> Hasitha.
>>>>>
>>>>> --
>>>>> --
>>>>> Hasitha Aravinda,
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc.
>>>>> Email: hasi...@wso2.com
>>>>> Mobile : +94 718 210 200
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>*
>>>> *email: **az...@wso2.com* <az...@wso2.com>
>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>> <http://twitter.com/afkham_azeez>
>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Hasitha Aravinda,
>>> Senior Software Engineer,
>>> WSO2 Inc.
>>> Email: hasi...@wso2.com
>>> Mobile : +94 718 210 200
>>>
>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://blog.sameera.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Secure vault for C5 ?

2016-03-30 Thread Hasitha Aravinda
I think we have to target this for Hamming platform ? Because we have some
configuration files like (*-datasource.xml) with passwords.

Apart from securing passwords in configuration files, I think we will need
secure vault support for runtime as well. In products like GW, ESB and BPS
do secure services invocations, (i.e BasicAuth) and we will need a central
place to store encrypted credentials.

Thanks,
Hasitha.

On Wed, Mar 30, 2016 at 11:33 AM, Afkham Azeez <az...@wso2.com> wrote:

> Simply porting the existing sec vault to work with C5 should be sufficient.
>
> On Wed, Mar 30, 2016 at 11:03 AM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi team,
>>
>> How are we going to use $Subject in C5. Can we use existing secure vault
>> implementation for this.
>>
>> Thanks,
>> Hasitha.
>>
>> --
>> --
>> Hasitha Aravinda,
>> Senior Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile : +94 718 210 200
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Secure vault for C5 ?

2016-03-29 Thread Hasitha Aravinda
Hi team,

How are we going to use $Subject in C5. Can we use existing secure vault
implementation for this.

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] Error when passing parameters to a SOAP operation with Apache CXF

2016-03-28 Thread Hasitha Aravinda
84)*
>>>> * at
>>>> org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:212)*
>>>> * at
>>>> org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:122)*
>>>> * at
>>>> org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)*
>>>> * at
>>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)*
>>>> * at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:341)*
>>>>
>>>>  Appreciate any help on this.
>>>>
>>>> Best Regards,
>>>> *Natasha Wijesekare*
>>>>
>>>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>>>> <http://wso2.com/>*
>>>> *email  : nata...@wso2.com <nata...@wso2.com>*
>>>> *mobile: +94 771358651 <%2B94%20771358651>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Himasha Guruge
>>> *Software Engineer*
>>> WS*O2* *Inc.*
>>> Mobile: +94 777459299
>>> himas...@wso2.com
>>>
>>
>>
>>
>> --
>> *Natasha Wijesekare*
>>
>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>> <http://wso2.com/>*
>> *email  : nata...@wso2.com <nata...@wso2.com>*
>> *mobile: +94 771358651 <%2B94%20771358651>*
>>
>
>
>
> --
> *Natasha Wijesekare*
>
> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
> <http://wso2.com/>*
> *email  : nata...@wso2.com <nata...@wso2.com>*
> *mobile: +94 771358651 <%2B94%20771358651>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] What is the best approach to create BPMN processes

2016-03-28 Thread Hasitha Aravinda
This can be done in a single process.

Start Event -> Service Task ( Update Database) -> User Task ( to Change the
status ) -> Service Task ( to Change the status ) -> End Event.

Thanks,
Hasitha.

On Mon, Mar 28, 2016 at 11:30 AM, Amalka Subasinghe <ama...@wso2.com> wrote:

> Hi,
>
> I have a scenario like
> 1. User log in and fill a form and save, it will save in external database
> with the status 'Created'
> 2. later time User log in again, he sees the records which are in
> "Created" status and change the status of those records to 'In Progress',
> it will again update the database.
>
> for this kind of scenario, the best approach would be creating 1 BPMN
> process including both or creating 2 BPMN processes ?
>
> Thanks
> Amalka
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-02 Thread Hasitha Aravinda
Hi Devs,

Tested followings in clustered environment.

   - BPEL Asynchronous process chaining.
   - BPEL Correlation Violation.
   - ODE clustering Implementation and Job re-assignment.
   - Verified issue https://wso2.org/jira/browse/CARBON-15776​ is fixed.

*Cluster Details : * 1 Manager, 2 Worker nodes.
Database : MySQL 5.6.28
Load Balancer : nginx/1.4.6

​Tested following against MySQL DB in single node.


   - ​HumanTask coordination ​in multi-tenant environment.

   - Ran Integration tests ( BPEL, HumanTask, BPMN, Task coordination )
   pointing to RC3 pack. Tests are passing.

​Verified followings.

   - Built Source code pointing to Java 7 and Java 8.
   - README.txt
   - INSTALL.txt
   - release-notes.html

[x] Stable - go ahead and release

Thanks,
Hasitha.


On Tue, Mar 1, 2016 at 11:44 AM, Amal Gunatilake <am...@wso2.com> wrote:

> Hi Devs,
>
> This is the third release candidate of WSO2 Business Process Server 3.5.1
>
> *This release fixes the following issues:*
> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=12625
>
> Please download, test and vote.
>
> *Source & binary distribution files:*
> Source : https://github.com/wso2/product-bps/archive/v3.5.1-RC3.zip
> Binary :
> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC3/wso2bps-3.5.1.zip
>
> *Maven staging repo:*
> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-394/
>
> The tag to be voted upon:
>
> https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC3
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
> Best regards,
> Amal.
> --
> *Amal Gunatilake*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.4 RC1

2016-02-26 Thread Hasitha Aravinda
Hi Devs,

I have tested BPS pack with kernel 4.4.4 in clustered environment and did
smoke testing. Verified [1] as well.

[x] Stable - go ahead and release.

[1] - https://wso2.org/jira/browse/CARBON-15776

Thanks,
Hasitha.

On Fri, Feb 26, 2016 at 4:34 PM, Amal Gunatilake <am...@wso2.com> wrote:

> Hi all,
>
> We have tested BPS pack against Carbon Kernel 4.4.4. Everything seems to
> be fine.
>
>- Tested core functionalities of BPS.
>- Passed all integration tests
>
> [x] Stable - go ahead and release.
>
> Best regards,
> Amal.
>
> On Wed, Feb 10, 2016 at 11:01 PM, Manuri Amaya Perera <manu...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> This is the 1st release candidate of WSO2 Carbon Kernel 4.4.4.
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=12641
>>
>> Please download and test your products with kernel 4.4.4 RC1 and vote.
>> Vote will be open for 72 hours or as longer as needed.
>>
>> ​*Source and binary distribution files:*​
>> http://svn.wso2.org/repos/wso2/people/manurip/carbon-4.4.4/
>>
>> ​*Maven staging repository:*​
>> http://maven.wso2.org/nexus/content/repositories/orgwso2carbon-328/
>>
>> ​*The tag to be voted upon:*​
>> https://github.com/wso2/carbon-kernel/releases/tag/v4.4.4-RC1
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Thank you
>> Carbon Team​
>>
>>
>> --
>>
>> *Manuri Amaya Perera*
>>
>> *Software Engineer*
>>
>> *WSO2 Inc.*
>>
>> *Blog: http://manuriamayaperera.blogspot.com
>> <http://manuriamayaperera.blogspot.com>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Amal Gunatilake*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC2

2016-02-01 Thread Hasitha Aravinda
Hi team,

We are canceling this vote, as we found L1 [1] issue.
​We are working on fixing it and will soon provide WSO2 BPS
 3.5.1 RC
​3 pack for testing.

[1] - https://wso2.org/jira/browse/CARBON-15776

Thanks,
Hasitha.

On Sat, Jan 30, 2016 at 11:44 PM, Hasitha Aravinda <hasi...@wso2.com> wrote:

> ​I have verified Pack contents and tested followings,
>
>- Tested Main BPEL functionalists in clustered environment ( LB :
>Nginx , DB : MySQL )
>- Tested BPEL and Human Task Integration in clustered environment.
>- Tested Human Task Coordination in Super tenant and tenant mode.
>- Tested ODE JOB reassignment in clustered mode.
>
> No issue found.
> [X] Stable - Go ahead and release.
>
> Thanks,
> Hasitha
>
> On Fri, Jan 29, 2016 at 5:34 PM, Amal Gunatilake <am...@wso2.com> wrote:
>
>> Hi,
>>
>> I have tested the following.
>>
>>- Main functionalities of BPEL, Humantask, BPMN on Windows
>>environment.
>>- Main functionalities of BPEL, Humantask, BPMN connecting to Oracle
>>DB.
>>- BPMN
>>- Deployment / Undeployment
>>   - Process View
>>   - Manage instances
>>   - BPMN manage user access permission
>>   - REST invocations
>>   - Correlation
>>- Core functionalities of BPMN Rest API
>>
>> No issues found.
>> [x] Stable - go ahead and release
>>
>> Best regards,
>> Amal.
>>
>>
>> On Fri, Jan 29, 2016 at 4:23 PM, Samitha Chathuranga <sami...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I've tested following features.
>>>
>>> 1) BPMN Explorer
>>> 2) BPMN Samples
>>> 3) HumanTask Samples
>>>
>>> No issues found.
>>> [x] Stable - go ahead and release
>>>
>>> Thank you.
>>>
>>> On Fri, Jan 29, 2016 at 1:58 PM, Sathya Bandara <sat...@wso2.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have tested the bpel samples. No issues found.
>>>> [x] Stable - go ahead and release
>>>>
>>>> Thanks and regards,
>>>>
>>>> *Sathya Bandara*
>>>> Software Engineering Intern
>>>> Email: sat...@wso2.com
>>>> Mobile: +94 715 360 421
>>>>
>>>> On Fri, Jan 29, 2016 at 12:04 PM, Natasha Wijesekara <nata...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I've tested the functionalities of the following components using h2
>>>>> and mysql as the databases :
>>>>>
>>>>> 1) BPMN-Explorer
>>>>> 2) Human-Task Explorer
>>>>> 3) Core functionalities of the BPMN REST API
>>>>> 4) BPMN and BPEL instance cleanup scripts
>>>>> 5) BPEL Process cleanup tool
>>>>> 6) BPMN Samples
>>>>>
>>>>> No issues found.
>>>>> [x] Stable - go ahead and release
>>>>>
>>>>> Thanks and Regards,
>>>>> Natasha
>>>>>
>>>>> On Fri, Jan 29, 2016 at 10:40 AM, Isuru Wijesinghe <isur...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I've tested the following features for h2 and postgreSQL.
>>>>>>
>>>>>> 1.) BPMN-Explorer
>>>>>> 2.) HumanTask-Explorer
>>>>>> 3.) BPMN Data Publisher
>>>>>>
>>>>>> No issues found.
>>>>>> [x] Stable - go ahead and release
>>>>>>
>>>>>> Thanks and Regards,
>>>>>>
>>>>>>
>>>>>> On Thu, Jan 28, 2016 at 8:00 PM, Firzhan Naqash <firz...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> This is the second release candidate of WSO2 Business Process Server
>>>>>>> 3.5.1
>>>>>>>
>>>>>>> The vote will be open for 72 hours or as needed. Please download,
>>>>>>> test the product and vote.
>>>>>>>
>>>>>>> ​​This release fixes the following issues:
>>>>>>>
>>>>>>> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=12625
>>>>>>>
>>>>>>> Binary distribution is available here:
>>>>>>>
>>>>>>>

Re: [Dev] Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC2

2016-01-30 Thread Hasitha Aravinda
>>> ​Thanks,
>>>>>> ​WSO2 BPS Team,
>>>>>>
>>>>>> Regards,
>>>>>> Firzhan
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Firzhan Naqash*
>>>>>> Senior Software Engineer - Integration Platform Team
>>>>>> WSO2 Inc. http://wso2.com
>>>>>>
>>>>>> email: firz...@wso2.com
>>>>>> 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>*
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Isuru Wijesinghe
>>>>> *Software Engineer*
>>>>> WSO2 inc : http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> Mobile: 0710933706
>>>>> isur...@wso2.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Natasha Wijesekare*
>>>>
>>>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>>>> <http://wso2.com/>*
>>>> *email  : nata...@wso2.com <nata...@wso2.com>*
>>>> *mobile: +94 771358651 <%2B94%20771358651>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Samitha Chathuranga
>> Software Engineer, WSO2 Inc.
>> lean.enterprise.middleware
>> Mobile: +94715123761
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Amal Gunatilake*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC1

2016-01-26 Thread Hasitha Aravinda
Hi Devs,

This is the first release candidate of WSO2 Business Process Server 3.5.1

The vote will be open for 72 hours or as needed. Please download, test the
product and vote.

*​​This release fixes the following issues:*
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=12625


*​​Source & binary distribution files:*
​
https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC1

*​​Maven staging repo:*
http://maven.wso2.org/nexus/content/repositories/orgwso2bps-308/

*​​The tag to be voted upon:*
​​
https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC1


[ ] Broken - do not release (explain why)
[ ] Stable - go ahead and release


​Thanks,
​WSO2 BPS Team,

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Orbit bundle for membrane-soa-model

2016-01-25 Thread Hasitha Aravinda
Hi Kernel team,

I have sent a PR [1] for $Subject. Could you please review and merge. ?

[1] - https://github.com/wso2/orbit/pull/168

Thanks,
Hasitha.

-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC3

2015-12-13 Thread Hasitha Aravinda
Hi

I have tested BPS 3.5.1-SNAPSHOT with kernel 4.4.3
​ RC3​
​
. No issue found.

[x] Stable - Go ahead and release.

Thanks
Hasitha.

On Fri, Dec 11, 2015 at 8:15 PM, Nipuni Perera <nip...@wso2.com> wrote:

>
> Hi Devs,
>
> This is the RC3 release candidate of WSO2 Carbon Kernel 4.4.3.
>
> This release fixes the following issues:
> https://wso2.org/jira/issues/?filter=12540
>
> Please download and test your products with kernel 4.4.3 RC3
> and vote. Vote will be open for 72 hours or as longer as needed.
>
> *​Source and binary distribution files:*
> http://svn.wso2.org/repos/wso2/people/nipuni/4.4.3-rc3/
>
> *Maven staging repository:*
> http://maven.wso2.org/nexus/content/repositories/orgwso2carbon-168/
>
> *The tag to be voted upon:*
> https://github.com/wso2/carbon-kernel/releases/tag/v4.4.3-RC3
>
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
> Thank you
> Carbon Team
>
> --
> Nipuni Perera
> Software Engineer; WSO2 Inc.; http://wso2.com
> Email: nip...@wso2.com
> Git hub profile: https://github.com/nipuni
> Blog : http://nipunipererablog.blogspot.com/
> Mobile: +94 (71) 5626680
> <http://wso2.com>
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC2

2015-12-10 Thread Hasitha Aravinda
istinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Prabath Abeysekara
>>>>>> Technical Lead
>>>>>> WSO2 Inc.
>>>>>> Email: praba...@wso2.com
>>>>>> Mobile: +94774171471
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>>
>>>>>
>>>>> *Darshana Gunawardana*Senior Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>>
>>>>> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
>>>>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Prabath Abeysekara
>>>> Technical Lead
>>>> WSO2 Inc.
>>>> Email: praba...@wso2.com
>>>> Mobile: +94774171471
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Viraj Senevirathne
>>> Software Engineer; WSO2, Inc.
>>>
>>> Mobile : +94 71 958 0269
>>> Email : vir...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana*Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>>
>> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Senior Software Engineer
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] JSP files in web folder of a human task package

2015-12-08 Thread Hasitha Aravinda
e.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
>
>
> [2] https://docs.wso2.com/display/BPS300/Writing+a+Human+Task+Artifact
>
>
> --
> *Praminda Jayawardana*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> Mobile : +94 (0) 716 590818
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPS 3.5.0 throws CNF Exception When Installed Carbon Metrics 1.1.0

2015-11-30 Thread Hasitha Aravinda
at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
> at
> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
> at
> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Thanks
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] [Cluster] Error while deploying BPEL & HT packages

2015-11-02 Thread Hasitha Aravinda
 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,232] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:114:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,232] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:114:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,233] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:138:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,233] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:138:52:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,235] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:224:56:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,235] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:224:56:cvc-complex-type.3.2.2:
>>>>>>>> Attribute 'xml:space' is not allowed to appear in element 
>>>>>>>> 'bpel:literal'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,237] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:303:84:cvc-elt.4.2:
>>>>>>>> Cannot resolve 'p:tExpression' to a type definition for element
>>>>>>>> 'p:searchBy'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,237] ERROR
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>>  -
>>>>>>>>  
>>>>>>>> null:file:///home/ubuntu/manager/wso2bps-3.5.0/repository/bpel/-1234/aa-10/aa.bpel:303:84:cvc-elt.4.2:
>>>>>>>> Cannot resolve 'p:tExpression' to a type definition for element
>>>>>>>> 'p:searchBy'.
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory$BOMSAXErrorHandler}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,249]  WARN
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory} -  Validation 
>>>>>>>> errors
>>>>>>>> during parsing, continuing due to
>>>>>>>> -Dorg.apache.ode.compiler.failOnValidationErrors=false switch
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory}
>>>>>>>> TID: [-1234] [] [2015-10-28 03:30:39,249]  WARN
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory} -  Validation 
>>>>>>>> errors
>>>>>>>> during parsing, continuing due to
>>>>>>>> -Dorg.apache.ode.compiler.failOnValidationErrors=false switch
>>>>>>>> {org.apache.ode.bpel.compiler.bom.BpelObjectFactory}
>>>>>>>>
>>>>>>>>
>>>>>>>> Any idea about what could be the reason for this? We are not
>>>>>>>> observing this with standalone BPS or IS with BPS features included.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Chamila Dilshan Wijayarathna,*
>>>>>>>> Software Engineer
>>>>>>>> Mobile:(+94)788193620
>>>>>>>> WSO2 Inc., http://wso2.com/
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nandika Jayawardana
>>>>>> WSO2 Inc ; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Regards,*
>>>>>
>>>>> *Aparna Karunarathna.*
>>>>>
>>>>>
>>>>> *Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Vinod Kavinda
>>>> Software Engineer
>>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>>> Mobile : +94 (0) 712 415544
>>>> Blog : http://soatechflicks.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Vinod Kavinda
>>> Software Engineer
>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>> Mobile : +94 (0) 712 415544
>>> Blog : http://soatechflicks.blogspot.com/
>>>
>>>
>>
>>
>> --
>> *Regards,*
>>
>> *Aparna Karunarathna.*
>>
>>
>> *Associate Technical Lead - QAWSO2 Inc.Mobile: 0714002533 <0714002533>*
>>
>
>
>
> --
> Nandika Jayawardana
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][Workflow] Workflow Dashboard Gadget - Operations Exposed to End User

2015-11-02 Thread Hasitha Aravinda
Hi Chamila,

On Tue, Nov 3, 2015 at 9:50 AM, Chamila Wijayarathna <cham...@wso2.com>
wrote:

> Hi all,
>
> Currently IS expose a dashboard gadget where users can see and
> approve/reject workflow requests assigned to him or claimable to him.
> Previously we exposed following operations for dashboard users.
>
> Claim, Release, Start. Stop, Approve, Reject, Suspend, Resume.
>
> From the discussion I had with Prabath and Darshana, we decided that Start
> and Stop operation does not mean any use for end user so we decided to
> remove them. So now we have following operations.
>
> Claim, Release, Approve, Reject, Suspend, Resume
>

+1, This will simplify
​user operations. Do you have  use case where you need to suspend an
approval. If so keep Suspend, Resume options. In Normal scenario Claim,
Complete (Approve or Reject), Release should be sufficient.

​Thanks,
Hasitha. ​

​


>
> Now users can directly approve or disapprove tasks in READY or RESERVED
> state without starting them, and starting will be handled without user
> involvement.
>
> It's obvious that user should be able to do Claim, Release, Approve,
> Reject operations using dashboard, but I'm not sure that if we should allow
> and user to suspend and then resume tasks. I believe giving minimum number
> of options for end user is the best thing to do. WDYT? Should we keep those
> two options or shall we remove them?
>
> Thanks
>
> [1].
> http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html#_Toc135718798
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] [Cluster] Error while deploying BPEL & HT packages

2015-11-02 Thread Hasitha Aravinda
Hi Harsha,



On Mon, Nov 2, 2015 at 11:46 PM, Harsha Thirimanna <hars...@wso2.com> wrote:

> Hi Vinod/Nandika,
> Can you please help to get resolve this BPEL package ? You guys always
> helped us to fix these kind of things :)
>

​Sure, We can guide you on this. It is a simple fix. Remove all xml:space
in BPEL file. If you know xml, you can fix it in no time.

Btw

​w​
e need some one from IS team to maintain these process ? (like what we do
in APIM
​​
) Not knowing
​ BPEL or xml is not an excuse and
 It is time to learn BPEL
​/BPMN​
​;​
)
​


>
> @Hasitha
> If these elements and attributes adding by Dev Studio and those are not
> expected by the BPEL compiler, IMO , we should eliminate it by the editor.
> So it is not an issue in IS side. Better to discuss with the relevant party
> and avoid this happen in future also.  Didn't you get this complain before
> when these BPEL created using dev studio and deploy it to the BPS ?
>

​As I mentioned earlier, that is not a bug in ether BPS or DevS. Those are
added as place holders preserve white spaces temporally, because IDEs are
not intelligent enough to predict what developers want to do next and
It is a xml standard. (Read http://www.xmlplease.com/xml/xmlspace/,
http://www.w3.org/TR/xml/#sec-white-space ).

But this attribute is not define in BPEL schema and BPEL compiler strictly
validating bpel files against BPEL schema. But In BPS we continue BPEL
compilation even on those validation
errors(-Dorg.apache.ode.compiler.failOnValidationErrors=false) because m
ost of
​times, ​
users don't care
​ and waste time​
​in​

​fixing

​these ​
kind of xml related issue
​s​
as long as BPEL structure is correct.
​Also it will make BPEL development
harder
​.​


If you don't like those
​ validation
errors, take
​a little time
 and remove those tags. But having it in BPEL
​ will not break BPEL execution.

Thanks,
Hasitha.
​



>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770 *
> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
> On Mon, Nov 2, 2015 at 11:33 PM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Hi Aparna,
>>
>> When you develop a BPEL process, eclipse editor adds xml:space attribute
>> temporally to handle white space [1]. Developer has to remove those
>> temporary attributes and initialize variable properly.
>>
>> xml:space attribute is not a part of the BPEL spec, hence BPEL compiler
>> report those as errors. It is not a bug, that is expected behavior. But
>> having those in BPEL make no harm.
>>
>> ​I went though attached BPEL. You can eliminate xml:space and other xml
>> elements related errors by modifying BPEL process. Those are not bugs of
>> ODE compiler, but problem of BPEL archive. Since IS is shipping this
>> BPEL archive, IMO we have to move this jira to IS space and track there.
>> WDYT ?
>>
>> [1] - http://www.xmlplease.com/xml/xmlspace/
>>
>> Thanks
>> Hasitha.
>>
>> On Mon, Nov 2, 2015 at 7:48 PM, Nandika Jayawardana <nand...@wso2.com>
>> wrote:
>>
>>> Hi Aparana,
>>>
>>> This extension is b4p extension. We have not modified ode compiler when
>>> introducing the b4p extension, hence the warning. However, it does not have
>>> any impact on the runtime.
>>>
>>> Regards
>>> Nandika
>>>
>>> On Mon, Nov 2, 2015 at 1:54 AM, Aparna Karunarathna <apa...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nandika/ Chathura/ Hasitha,
>>>>
>>>> Shouldn't we fix this issue? Vinod has clearly mentioned in the jira[1]
>>>> that this was getting from extension that introduced in BPS/Dev Studio
>>>> which is not compliance with ODE.
>>>>
>>>> *"Those errors can be seen in both standalone and cluster mode. These
>>>> are bpel compilation errors logged by ODE server due to the extensions we
>>>> have introduced in BPS/Dev Studio, which are not compliance with ODE (They
>>>> are not errors actually).*
>>>> *If the package get deployed successfully, please ignore those error
>>>> logs."*
>>>>
>>>> [1] https://wso2.org/jira/browse/BPS-915
>>>>
>>>> Regards,
>>>> Aparna
>>>>
>>>> On T

Re: [Dev] [BPS] - Performance test - Long running

2015-10-15 Thread Hasitha Aravinda
Hi Chathurika,

On Fri, Oct 16, 2015 at 9:47 AM, Chathurika De Silva <chathuri...@wso2.com>
wrote:

> Furthermore, following WARNING is observed frequently in the cluster at
> the 4th day of the long running test
>
> TID: [-1] [] [2015-10-16 03:58:45,455]  WARN
> {org.apache.ode.scheduler.simple.SimpleScheduler} -  Dispatching jobs with
> more than 5 minutes delay. Either the server was down for some time or the
> job load is greater than available capacity
> {org.apache.ode.scheduler.simple.SimpleScheduler}
>
>
​ODE gives this warning when there is a high load on BPS server. Because of
the load, some immediate jobs are getting queued in scheduler. As Warning
msg says, there are jobs which are older than 5 mins in job queue.

To over come this issue, you can increase number of ODE scheduler threads
along with number of DB connections allocated to BPS data source and
allocated sessions from database server. However due to database
contentions, you can't increase this number beyond a certain
limit.
​This value is mainly depend on performance of your DB and BPS vms.

​


> Also although i clean up the database once in every day at the 4th day of
> the test, the database ran out of space and had to alter by adding another
> datafile. What is the recommended frequency for the cleanup?
>
>
​Based on your test parameters, you are generating a heavy load. I would
suggest to clean db every day. Use DB clean scripts for this. Disable ODE
clean up task in bps.xml as it consumes ODE scheduler threads to clean up
db.

Thanks,
Hasitha.
 ​

> Please find the test parameters in [1]
>
> [1] https://wso2.org/jira/browse/BPS-912
>
>
> On Thu, Oct 15, 2015 at 3:14 PM, Chathurika De Silva <chathuri...@wso2.com
> > wrote:
>
>> Hi
>>
>> While running the $subject on a manager, 2 worker cluster, noticed a
>> dis-ambiguity reported in [1]
>>
>> Can you please provide an explanation on this? Your help is greatly
>> appreciated.
>>
>> [1] https://wso2.org/jira/browse/BPS-912
>>
>> Thank You
>> Erandi
>>
>> --
>> *Chathurika Erandi*
>> Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail:* chathuri...@wso2.com
>> *Mobile: *+94714 328 612
>> *Blog*: chathurikaerandi.blogspot.com
>>
>
>
>
> --
> *Chathurika Erandi*
> Software Engineer,
> WSO2 Inc.
>
> *E-mail:* chathuri...@wso2.com
> *Mobile: *+94714 328 612
> *Blog*: chathurikaerandi.blogspot.com
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][BPS] Clarification on bps dbscripts

2015-10-12 Thread Hasitha Aravinda
Hi Sashika,

Drop/Truncate scripts are used to recreate fresh environments.  Specially
these scripts will be useful, when you are working with restricted
environments like where you don't have privileges to create databases, etc.
Some users want these scripts specially when they do load tests.

Since you have dropped only bps database, this is expected. Since we are
creating fresh environment, we need to drop registry tables and re-create
them. AFAIK registry doesn't have drop scripts. Also we need to remove
previous deployed artifacts from file system as well.

Thanks
Hasitha.




On Mon, Oct 12, 2015 at 11:59 AM, Sashika Wijesinghe <sash...@wso2.com>
wrote:

> Hi Firzhan,
>
> There scripts to drop and truncate as well. Appreciate your help in
> clarifying below issues.
>
> 1. In /dbscripts/bps/bpel/drop there are scripts to drop the
> tables in BPS database.
>
> To verify the scripts, I stopped the BPS server and drop tables using the
> given 'drop scripts' and recreate the tables using given 'create scripts'.
> After restarting the server, "*[2015-10-12 11:33:14,791] ERROR
> {org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl} -
>  Cannot find DeploymentUnitDAO instance for package AdderProcess-1.*"
> error noted in terminal. This is because the package details are available
> in registry database.
>
> Further it is not possible to continue the work by deploying a new bpel
> process due to corrupted process. I had to undeploy the corrupted bpel
> process to continue work.
>
> Is there any recommended best practice to use the drop bps scripts? If so
> it should be documented because these scripts are bundled with the BPS
> package itself.
>
>
> Thanks
>
> On Fri, Oct 9, 2015 at 5:56 PM, Firzhan Naqash <firz...@wso2.com> wrote:
>
>> Hi,
>>
>> Those scripts are used to create the necessary database schema for bpel.
>> Without executing this scripts, you won't be able to start the bps server.
>>
>> As a first step, after configuring the bps-datasources.xml file, you have
>> to execute this script against your preferred database. Or else if you have
>> necessary database permissions, you can start the server with -Dsetup
>> option.
>>
>> Regards,
>> Firzhan
>>
>>
>> --
>> *Firzhan Naqash*
>> Senior Software Engineer - Integration Platform Team
>> WSO2 Inc. http://wso2.com
>>
>> email: firz...@wso2.com <lasan...@wso2.com>
>> 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 Fri, Oct 9, 2015 at 5:51 PM, Sashika Wijesinghe <sash...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> There were bpel database scripts under /dbscripts/bps/bpel.
>>> May I know the real usecase of these scripts? Is there any specific
>>> pre-conditions that needs to follow before executing these scripts?
>>>
>>> Thanks
>>> --
>>>
>>> *Sashika WijesingheSoftware Engineer - QA Team*
>>> Mobile : +94 (0) 774537487
>>> sash...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.com
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
You can have multiple  elements in request.

eg:

COMPLETED
RESERVED
IN-PROGRESS

Thanks,
Hasitha.



On Fri, Oct 2, 2015 at 2:09 PM, Chamila Wijayarathna <cham...@wso2.com>
wrote:

> Hi Hasitha/Vinod,
>
> Thanks, by using
>
> http://schemas.xmlsoap.org/soap/envelope/;
> xmlns:ns="
> http://docs.oasis-open.org/ns/bpel4people/ws-humantask/api/200803;
> xmlns:ns1="
> http://docs.oasis-open.org/ns/bpel4people/ws-humantask/types/200803;>
>
>
>   
>  
> 
> COMPLETED
> 10
> 
> 0
> 
>
> ASSIGNED_TO_ME
>  
>   
>
> 
>
> as you have suggested, I could get the COMPLETED tasks of the logged in
> user.
>
> Is there a way to get COMPLETED, RESERVED and IN-PROGRESS tasks of
> ASSIGNED_TO_ME in one service call?
>
> Thanks
>
> On Fri, Oct 2, 2015 at 1:10 PM, Hasitha Aravinda <hasi...@wso2.com> wrote:
>
>> Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in
>> SimpleQuery.
>>
>> Thanks,
>> Hasitha.
>>
>> On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>>
>>> Hi Chamila,
>>> Sorry I made a mistake, You can't do this in the same way as Claimable.
>>> Use the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.
>>>
>>> Thank You
>>> Vinod
>>>
>>> On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>>>
>>>> Hi Chamila,
>>>> You can use SimpleQuery operatin in HumanTaskClientAPIAdmin service.
>>>> Invoke this operation in the same way you used to claimable status with
>>>> "COMPLETED" as the status.
>>>>  You can find a sample code in [1] line no 64.
>>>>
>>>> [1] -
>>>> https://github.com/wso2/carbon-business-process/blob/master/components/humantask/humantask-explorer-web/src/web/js/WSHTRequest.js#L64
>>>>
>>>> Regards,
>>>> Vinod Kavinda
>>>>
>>>> On Fri, Oct 2, 2015 at 11:44 AM, Chamila Wijayarathna <cham...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> In IS dashboard gadget for approving/disapproving human tasks,
>>>>> currently we are only showing tasks which are in the types 
>>>>> "ASSIGNED_TO_ME"
>>>>> and "CLAIMABLE". In the below jira (IDENTITY-3680), it is requested the
>>>>> tasks completed by a particular user need to be shown in dashboard as 
>>>>> well.
>>>>> Is there a way we can get a list of human tasks completed by the logged in
>>>>> user?
>>>>>
>>>>> @Prabath, Johann, Pulasthi,
>>>>> Since the main idea of the dashboard gadget is to
>>>>> claim/approve/disapprove tasks, should we show 'completed' tasks at
>>>>> dashboard?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> -- Forwarded message --
>>>>> From: Aparna Karunarathna (JIRA) <j...@wso2.org>
>>>>> Date: Tue, Sep 29, 2015 at 6:59 PM
>>>>> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
>>>>> getting listed
>>>>> To: carbon-j...@wso2.org
>>>>>
>>>>>
>>>>> Aparna Karunarathna
>>>>> <https://wso2.org/jira/secure/ViewProfile.jspa?name=aparna%40wso2.com>
>>>>> created [image: Bug] IDENTITY-3680
>>>>> <https://wso2.org/jira/browse/IDENTITY-3680>
>>>>> *Completed task are not getting listed*
>>>>> <https://wso2.org/jira/browse/IDENTITY-3680>
>>>>> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
>>>>> *Assignee:* Pulasthi Mahawithana
>>>>> <https://wso2.org/jira/secure/ViewProfile.jspa?name=pulasthim%40wso2.com>
>>>>> *Components:* workflows *Created:* 29/Sep/15 6:58 PM *Description:*
>>>>>
>>>>> Completed task are not getting listed
>>>>>
>>>>> Steps to reproduce
>>>>> 1. Create a workflow to approve users and add some user
>>>>> 2. Login to the dashboard and approve those users
>>>>> 3. Completed tasks are not showing
>>>>> *Environment:*
>>>>>
>>>>> Pack: Alpha
>>>>> OS: Debian 8
>&g

Re: [Dev] [Human Tasks] Listing Human Tasks Completed by a User

2015-10-02 Thread Hasitha Aravinda
Correct category is ASSIGNED_TO_ME and use status filter COMPLETED in
SimpleQuery.

Thanks,
Hasitha.

On Fri, Oct 2, 2015 at 12:41 PM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi Chamila,
> Sorry I made a mistake, You can't do this in the same way as Claimable.
> Use the SimpleQuery in  HumanTaskClientAPIAdmin. Use the sample given.
>
> Thank You
> Vinod
>
> On Fri, Oct 2, 2015 at 12:22 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>
>> Hi Chamila,
>> You can use SimpleQuery operatin in HumanTaskClientAPIAdmin service.
>> Invoke this operation in the same way you used to claimable status with
>> "COMPLETED" as the status.
>>  You can find a sample code in [1] line no 64.
>>
>> [1] -
>> https://github.com/wso2/carbon-business-process/blob/master/components/humantask/humantask-explorer-web/src/web/js/WSHTRequest.js#L64
>>
>> Regards,
>> Vinod Kavinda
>>
>> On Fri, Oct 2, 2015 at 11:44 AM, Chamila Wijayarathna <cham...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> In IS dashboard gadget for approving/disapproving human tasks, currently
>>> we are only showing tasks which are in the types "ASSIGNED_TO_ME" and
>>> "CLAIMABLE". In the below jira (IDENTITY-3680), it is requested the tasks
>>> completed by a particular user need to be shown in dashboard as well. Is
>>> there a way we can get a list of human tasks completed by the logged in
>>> user?
>>>
>>> @Prabath, Johann, Pulasthi,
>>> Since the main idea of the dashboard gadget is to
>>> claim/approve/disapprove tasks, should we show 'completed' tasks at
>>> dashboard?
>>>
>>> Thanks
>>>
>>>
>>>
>>> -- Forwarded message --
>>> From: Aparna Karunarathna (JIRA) <j...@wso2.org>
>>> Date: Tue, Sep 29, 2015 at 6:59 PM
>>> Subject: [Carbon-jira] [jira] (IDENTITY-3680) Completed task are not
>>> getting listed
>>> To: carbon-j...@wso2.org
>>>
>>>
>>> Aparna Karunarathna
>>> <https://wso2.org/jira/secure/ViewProfile.jspa?name=aparna%40wso2.com>
>>> created [image: Bug] IDENTITY-3680
>>> <https://wso2.org/jira/browse/IDENTITY-3680>
>>> *Completed task are not getting listed*
>>> <https://wso2.org/jira/browse/IDENTITY-3680>
>>> *Issue Type:* [image: Bug] Bug *Affects Versions:* 5.1.0-Alpha
>>> *Assignee:* Pulasthi Mahawithana
>>> <https://wso2.org/jira/secure/ViewProfile.jspa?name=pulasthim%40wso2.com>
>>> *Components:* workflows *Created:* 29/Sep/15 6:58 PM *Description:*
>>>
>>> Completed task are not getting listed
>>>
>>> Steps to reproduce
>>> 1. Create a workflow to approve users and add some user
>>> 2. Login to the dashboard and approve those users
>>> 3. Completed tasks are not showing
>>> *Environment:*
>>>
>>> Pack: Alpha
>>> OS: Debian 8
>>> Java: jdk1.7.0_79
>>> Dep: Standalone
>>> DB: Mysql 5.5.44
>>> Browser: Firefox 40.0/ Chrome 44.0
>>> *Project:* WSO2 Identity Server <https://wso2.org/jira/browse/IDENTITY>
>>> *Priority:* [image: Highest] Highest *Reporter:* Aparna Karunarathna
>>> <https://wso2.org/jira/secure/ViewProfile.jspa?name=aparna%40wso2.com> This
>>> message is automatically generated by JIRA.
>>> If you think it was sent incorrectly, please contact your JIRA
>>> administrators
>>> For more information on JIRA, see:
>>> http://www.atlassian.com/software/jira
>>>
>>> ___
>>> Carbon-jira mailing list
>>> carbon-j...@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-jira
>>>
>>>
>>>
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> Software Engineer
>>> Mobile:(+94)788193620
>>> WSO2 Inc., http://wso2.com/
>>>
>>
>>
>>
>> --
>> Vinod Kavinda
>> Software Engineer
>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-10-01 Thread Hasitha Aravinda
Hi

I have tested and Reviewed followings and found no issues.

   - INSTALL.txt
   - LICENSE.txt
   - README.txt
   - Tested Server start with MySQL -Dsetup.

BPEL

   - Tested Correlation Scenario.
   - Tested Correlation Violation scenario.

HumanTask

   - HumanTask creation and basic task commands : Claim, Suspend, Resume,
   Start, Complete, Skip, Fail, Delegate.
   - HumanTask coordination - Process termination and Task Skip scenario.
   - HumanTask Notification creation.

BPMN

   - Tested Service Tasks, User Tasks, Parallel Gateway,  Exclusive Gateway
   processes.


​
​
[+] Stable - go ahead and release

​Thanks,
Hasitha.


On Wed, Sep 30, 2015 at 11:03 AM, Firzhan Naqash <firz...@wso2.com> wrote:

>
> Hi Devs,
>
> *WSO2 BPS 3.5.0 RC2 Release Vote*
>
> This release fixes the following issues:
> https://wso2.org/jira/browse/BPS-604?filter=12415
>
> Please download BPS 3.5.0 RC2 and test the functionality and vote. Vote
> will be open for 72 hours or as needed.
>
> Binary distribution at:
> http://svn.wso2.org/repos/wso2/people/firzhan/packs/bps/3.5.0/RC2/
>
> Maven staging repository:
> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-158/
>
> The tag to be voted upon :
> https://github.com/wso2/product-bps/releases/tag/v3.5.0-RC2
>
>
> [-] Broken - do not release (explain why)
> ​​
> [+] Stable - go ahead and release
>
> Thanks and Regards,
> WSO2 BPS Team
>
>
>
> Regards,
> Firzhan
>
>
> --
> *Firzhan Naqash*
> Senior Software Engineer - Integration Platform Team
> WSO2 Inc. http://wso2.com
>
> email: firz...@wso2.com <lasan...@wso2.com>
> 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>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] Bulk BPEL event handler execution

2015-09-30 Thread Hasitha Aravinda
Hi Praminda,

No, In your scenario, you have to send separate soap request for each value
in the list. In ODE, correlation set is calculated per request.

Thanks,
Hasitha.

On Wed, Sep 30, 2015 at 9:54 AM, Praminda Jayawardana <prami...@wso2.com>
wrote:

> Hi,
>
> Is it possible to execute event handler's of several BPEL processes with
> matching correlation properties in list?
>
> Thanks,
> Praminda
>
> --
> *Praminda Jayawardana*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> Mobile : +94 (0) 716 590818
>



-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS][IS][Workflow] Two Human Tasks created at same event goes to different states

2015-09-10 Thread Hasitha Aravinda
Hi Chamila,

Yes, This is correct user delegation behavior according to HumanTask spec
[1]. This is what is happening in your scenario.

When first task is created, you have only one user in admin/role1 roles.
That means task has only one potential owner. When task has only one
potential owner, task is automatically assigned that user and moves to
RESERVED state.

Then 2nd task is creates, you have multiple uses in admin/role1 roles. When
task has multiple potential owners, task remains in READY state. Once user
claims, it moves to RESERVED state. But any potential owner can start Ready
tasks.

Basically you have to search for both RESERVED and READY tasks for
approval.

[1] -
http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html#_Toc135718798


Thanks,
Hasitha.


On Thu, Sep 10, 2015 at 2:37 PM, Chamila Wijayarathna <cham...@wso2.com>
wrote:

> Hi Nandika,
>
> I am running recently built IS pack workflow features. I came up with
> following scenario which is confusing.
>
> I have two workflows which use same BPS.
> Workflow1 need to be approved by 'admin' role and Workflow2 need to be
> approved by 'role1' role.
> Then I have a user 'user1' in my userstore who has both 'admin' and
> 'role1' roles.
>
> Then I have configured two associations for addUser operation, where
> association1 get assigned to workflow1 and association2 get assigned to
> workflow2.
>
> Then when I add a new user to user store, 2 workflows get triggered, but
> when I check the human tasks associated with them by calling
> 'HumanTaskClientAPIAdmin', what I observe is even though there are two
> human tasks created, one task is in 'RESERVED' state while other task is in
> 'READY' state. This only happens when I add a user who has both 'admin' and
> 'role1' roles. If there are no user with both roles, both tasks goes to the
> 'RESERVED' state which is the expected behavior.
>
> What is the reason for this?
>
> Thank You!
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Engaging an axis2 module in ESB 490

2015-08-25 Thread Hasitha Aravinda
Hi team,

Since we are removing QoS UI feature from next release, we need to way to
engage axis2 module for a proxy. AFAIK there is no synapse config or
service parameter to engage a module with proxy at deployment time.( Like
handler for API).

How we are going to provide this function in ESB 490 ?

Thanks,
Hasitha.
-- 
--
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPMN-Explorer] Improving Page redirect.

2015-07-26 Thread Hasitha Aravinda
​Created BPS-750  BPS-751 for this.

Thanks,
Hasitha. ​

On Sun, Jul 26, 2015 at 11:04 AM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi Amal,

 Use case 1: Sometimes users will require to embedded task url ( Like [1] )
 in emails. ( Eg: Task Reminder email etc). When user click on these links,
 BPMN webapp redirect user back to webapp login page, if user didn't login
 already.
 But after user login, webapp doesn't redirect back to task page, instead
 it will redirect to home page.

 Use case 2: When a user tries to view invalid or non existing task id (
 eg: task?id=53016. ; task?id=12334566223 ), webapp shows 500 page. But 500
 page doesn't have any home page link. Btw I think 404 - not found status
 code is correct status code to return.

 [1] https://localhost:9443/bpmn-explorer/task?id=53016

 Can we fix these, if time permits.

 Thanks,
 Hasitha.

 --
 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +1 201 887 1971, +94 718 210 200




-- 
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BPMN-Explorer] Improving Page redirect.

2015-07-26 Thread Hasitha Aravinda
Hi Amal,

Use case 1: Sometimes users will require to embedded task url ( Like [1] )
in emails. ( Eg: Task Reminder email etc). When user click on these links,
BPMN webapp redirect user back to webapp login page, if user didn't login
already.
But after user login, webapp doesn't redirect back to task page, instead it
will redirect to home page.

Use case 2: When a user tries to view invalid or non existing task id ( eg:
task?id=53016. ; task?id=12334566223 ), webapp shows 500 page. But 500 page
doesn't have any home page link. Btw I think 404 - not found status code is
correct status code to return.

[1] https://localhost:9443/bpmn-explorer/task?id=53016

Can we fix these, if time permits.

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to enable Activiti logs in BPS 3.5.0

2015-07-25 Thread Hasitha Aravinda
Thanks Nandika, Seem like in Activiti, errors are logged as debug.

Thanks,
Hasitha.

On Sat, Jul 25, 2015 at 11:21 PM, Nandika Jayawardana nand...@wso2.com
wrote:

 you can add the activiti package name as debug in the log4j.properties
 file

 regards
 Nandika

 On Jul 26, 2015 8:38 AM, Hasitha Aravinda hasi...@wso2.com wrote:
 
  Hi Chathura,
 
  How we can enable Activiti logs [1] in BPS. By default non of runtime
 related errors are not printed in logs.
 
  [1] - http://www.activiti.org/userguide/#loggingConfiguration
 
  Thanks,
  Hasitha.
 
  --
  Hasitha Aravinda,
  Senior Software Engineer,
  WSO2 Inc.
  Email: hasi...@wso2.com
  Mobile : +1 201 887 1971, +94 718 210 200




-- 
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to enable Activiti logs in BPS 3.5.0

2015-07-25 Thread Hasitha Aravinda
Hi Chathura,

How we can enable Activiti logs [1] in BPS. By default non of runtime
related errors are not printed in logs.

[1] - http://www.activiti.org/userguide/#loggingConfiguration

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Can we have SSL profiles for https transport sender in axis2_blocking_client.xml

2015-07-09 Thread Hasitha Aravinda
Hi Devs,

I am using Callout mediator in one of my JMS proxy services. I have to use
callout since I am using JMS transactions.

In this proxy service, I am sending a request to https backend, where
mutual SSL is enabled. According to [1] we have set keystore information
using System properties. But it doesn't allow me to have multiple SSL
profiles like in PTT https.

Can we have $Subject.

[1] -
https://docs.wso2.com/display/ESB481/Callout+Mediator#CalloutMediator-Setup

Thanks,
Hasitha.


Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (BPS-680) Unauthorized error message is not showing for Excluded owner in HumanTask web app

2015-06-08 Thread Hasitha Aravinda
Hi Vinod,

On Mon, Jun 8, 2015 at 12:07 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Hasitha,
 Further more,
 I think we have three options,
 1. Leave this as it is, allowing to the excluded owner to see task info.
 2. Add authorisation to the loadTask() API method. (we may be violating
 the specs).


Yes, we are violating spec. Since Load task is equivalent to
getMyTaskAbstracts.
Excluded owner can't perform getMyTaskAbstracts ( or any of the operation
listed in Spec  7.1.5 Operation Authorizations.)

We need to introduce authorization into load task operation.

Thanks,
Hasitha.

Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200

3. Handle excluded owner case inside web app without changing API.

 WDYT?

 Thanks,
 Vinod

 On Mon, Jun 8, 2015 at 9:32 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Hasitha,
 Yes I did check the error message in management console. That particular
 error is coming from a getInput() request. In the management UI it calls
 both loadTask() and getInput() methods to show task info. But in the
 webApp, we only use loadTask().  That is the reason for not having any
 errors.

 I thought of adding role based authorisation to loadTask() method and
 checked the spec. According to the spec any role is allowed for this
 operation.

 Thanks,
 Vinod

 On Mon, Jun 8, 2015 at 6:47 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 Hi Vinod,

 Even we show only SimpleQuery search result in HumanTask web app, there
 are some scenarios, where excluded owners task are shows under claimable
 task. This happens when task definition has complex users/roles
 definitions, because simple query can't search users in role using a DB
 query.

 In that case, problem is HumanTask Webapp doesn't show any error message
 in when you click on a task ID. If you check HumanTask UI in management
 console you will see this error msg.

 Hence Reopening this Jira.

 Thanks,
 Hasitha.


 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +1 201 887 1971, +94 718 210 200




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] (BPS-680) Unauthorized error message is not showing for Excluded owner in HumanTask web app

2015-06-08 Thread Hasitha Aravinda
Hi Vinod,

Even we show only SimpleQuery search result in HumanTask web app, there are
some scenarios, where excluded owners task are shows under claimable task.
This happens when task definition has complex users/roles definitions,
because simple query can't search users in role using a DB query.

In that case, problem is HumanTask Webapp doesn't show any error message in
when you click on a task ID. If you check HumanTask UI in management
console you will see this error msg.

Hence Reopening this Jira.

Thanks,
Hasitha.


Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (BPS-680) Unauthorized error message is not showing for Excluded owner in HumanTask web app

2015-06-08 Thread Hasitha Aravinda
Hi Vinod,

According to the Spec, Excluded owner should not be able to perform any
operation or shouldn't see any task related information. We have a bug in
simple query where in some cases it shows excluded tasks. We need to work
on that (which is a big fix)

Problem is we are not showing any error msg in Web UI ( No visual
feedback), when user click on a Claim button on a excluded task. You can
see error in logs saying user is not authorized to perform task. Problem is
we are not showing that error msg in UI.

Thanks,
Hasitha.


Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200

On Mon, Jun 8, 2015 at 12:02 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Hasitha,
 Yes I did check the error message in management console. That particular
 error is coming from a getInput() request. In the management UI it calls
 both loadTask() and getInput() methods to show task info. But in the
 webApp, we only use loadTask().  That is the reason for not having any
 errors.

 I thought of adding role based authorisation to loadTask() method and
 checked the spec. According to the spec any role is allowed for this
 operation.

 Thanks,
 Vinod

 On Mon, Jun 8, 2015 at 6:47 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi Vinod,

 Even we show only SimpleQuery search result in HumanTask web app, there
 are some scenarios, where excluded owners task are shows under claimable
 task. This happens when task definition has complex users/roles
 definitions, because simple query can't search users in role using a DB
 query.

 In that case, problem is HumanTask Webapp doesn't show any error message
 in when you click on a task ID. If you check HumanTask UI in management
 console you will see this error msg.

 Hence Reopening this Jira.

 Thanks,
 Hasitha.


 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +1 201 887 1971, +94 718 210 200




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] (BPS-680) Unauthorized error message is not showing for Excluded owner in HumanTask web app

2015-06-08 Thread Hasitha Aravinda
Hi Vinod,

Thanks Vinod, I will also check what is root cause for excluded owner issue
in server side. seem like it is broken with SimpleQuery. I build fresh pack
with latest changes. I was testing HumanTask rendering and found those
issues.

Thanks,
Hasitha.

Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200

On Mon, Jun 8, 2015 at 12:27 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Hasitha,
 Are you referring to a latest build pack? We are only showing the buttons
 that are allowed for the particular user. So claim task should not be shown
 for excluded owners since they are not allowed. We have included these
 changes in alpha release.

 Anyway i'll double check these scenarios that we should give better visual
 feedback.

 Thanks,
 Vinod

 On Mon, Jun 8, 2015 at 9:43 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi Vinod,

 According to the Spec, Excluded owner should not be able to perform any
 operation or shouldn't see any task related information. We have a bug in
 simple query where in some cases it shows excluded tasks. We need to work
 on that (which is a big fix)

 Problem is we are not showing any error msg in Web UI ( No visual
 feedback), when user click on a Claim button on a excluded task. You can
 see error in logs saying user is not authorized to perform task. Problem is
 we are not showing that error msg in UI.

 Thanks,
 Hasitha.


 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +1 201 887 1971, +94 718 210 200

 On Mon, Jun 8, 2015 at 12:02 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi Hasitha,
 Yes I did check the error message in management console. That particular
 error is coming from a getInput() request. In the management UI it calls
 both loadTask() and getInput() methods to show task info. But in the
 webApp, we only use loadTask().  That is the reason for not having any
 errors.

 I thought of adding role based authorisation to loadTask() method and
 checked the spec. According to the spec any role is allowed for this
 operation.

 Thanks,
 Vinod

 On Mon, Jun 8, 2015 at 6:47 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 Hi Vinod,

 Even we show only SimpleQuery search result in HumanTask web app, there
 are some scenarios, where excluded owners task are shows under claimable
 task. This happens when task definition has complex users/roles
 definitions, because simple query can't search users in role using a DB
 query.

 In that case, problem is HumanTask Webapp doesn't show any error
 message in when you click on a task ID. If you check HumanTask UI in
 management console you will see this error msg.

 Hence Reopening this Jira.

 Thanks,
 Hasitha.


 Hasitha Aravinda,
 Senior Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile : +1 201 887 1971, +94 718 210 200




 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com





 --
 Vinod Kavinda
 Software Engineer, *WSO2, Inc http://www.wso2.com.*
 Mobile : +94 (0) 712 415544
 vi...@wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Handling version change in C-App

2015-06-04 Thread Hasitha Aravinda
Hi Manoj and Hasitha,

To preserve older versions of a BPEL artifact, BPS requires to replace
exact same BPEL artifacts with an updated one. Currently when an updated
Capp is uploaded, it will undeploy old BPEL process and deploy new one.
This will cause to remove old BPEL versions.

To avoid this, as himasha suggest, we required to know reason for Capp
underemployment, ( Capp updated, or removed from management console etc) so
that we can handle this on Capp BPEL undeploy logic. I think, this will
apply for HumanTask, BPMN versioning as well.

Since Capp deployer doesn't support this, we need to see another way to
solve this problem. Otherwise Capp will not support BPS versioning feature.


Thanks,
Hasitha.


Hasitha Aravinda,
Senior Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile : +1 201 887 1971, +94 718 210 200

On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya hasit...@wso2.com wrote:

 Hi,

 This is one of the solutions people are using.

 Name the CAR file as xxx-car-v-1.0
 Name all the artifacts inside it as artifact-xxx-v-1.0

 Then deploy CAR files. Old ones will not be replaced. The references in
 each artifact to one another should be updated.
 We can do this to endpoints.
 But doing this to all will be cumbersome.

 Thanks

 On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Himasha,
 Please see my inline comments,


 The scenario that we come across is as below.

  1. Deploy a C-App containing BPEL artifacts
  2. Invoke an instance (instance 1)
  3. Redeploy the C-App with updated BPEL artifacts.
  4.When redeploying the previous C-App is undeployed  which removes the
  invoked instance (instance 1) as well.


 This is the expected behavior. Since CApp get redeployed previously
 deployed artifacts also get un-deployed.


 For our BPEL C-App deployer we have implemented AppDeploymentHandler. We
 are unable to identify whether the undeployment is a direct undeployment (
 user undeploying the C-App from console) or if it is getting undeployed due
 to a new upload of the same C-App. We are unable to handle the version
 change since AppDeploymentHandler only provides  deployArtifacts
 and undeployArtifacts methods.


  At the moment we don't have CApp version support. When an updated CApp
 get uploaded previous one get undeployed and new one will be deployed.

 Regards,
 Manoj

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Implementing BPMN support in BPS : Instances lost after server restart

2015-02-09 Thread Hasitha Aravinda
Hi,

We are seeing this issue intermittently in BPS 3.5.0, even with
DB_CLOSE_DELAY=1000. Hence I have re-opened jira [1].

IMO correct fix would be to keep open database as long as the JVM is
alive. We can configure it by setting DB_CLOSE_DELAY=-1 [2].

[1] https://wso2.org/jira/browse/BPS-529
[2] http://www.h2database.com/html/features.html#in_memory_databases


Thanks,
Hasitha.

On Mon, Mar 17, 2014 at 12:24 PM, Waruna Jayaweera waru...@wso2.com wrote:
 Thanks Amal


 On Mon, Mar 17, 2014 at 12:22 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Waruna,

 In-order to make the data persistence across server restarts in
 Activiti-Explorer, once you deploy the war archive in Tomcat server. Go to
 webapps/activiti-explorer/WEB-INF/classes/db.properties file and change the
 jdbc url from jdbc:h2:mem: to jdbc:h2:file: as follows.

 jdbc.url=jdbc:h2:file:activiti;DB_CLOSE_DELAY=1000

 When you have this configuration as mem it will create the database only
 in memory and when we restart the sever, data will get lost. Changing the
 property to file will create a permanent database.



 Thank you   Best regards,

 Amal Gunatilake
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Mon, Mar 17, 2014 at 12:13 PM, Waruna Jayaweera waru...@wso2.com
 wrote:

 Hi ,
 I had same issue on activity explorer. There is no activiti.cfg.xml in
 Activity explorer configurations.
 thanks,
 Waruna


 On Sat, Mar 1, 2014 at 10:19 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi Chathura,

 Thank you for the info. Until we have a separate xml file for BPMN I'll
 configure them in bps.xml. Thanks again for the quick response.

 Thank you   Best regards,

 Amal Gunatilake
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware


 On Sat, Mar 1, 2014 at 6:47 PM, Chathura Ekanayake chath...@wso2.com
 wrote:


 Hi Amal,

 The default configuration in Activiti uses an in-memory H2 database.
 Data can be made persistent (across server restarts) by changing this to a
 disk-based DB. Change the database config in activiti.cfg.xml file to do
 this. Currently BPS also uses the same XML (until we change it to use
 bpmn.xml).

 Regards,
 Chathura



 On Sat, Mar 1, 2014 at 4:25 PM, Amal Gunatilake am...@wso2.com wrote:

 Hi All,

 When running some test on Activiti explorer itself, I observed that
 the instances we create will get lost after doing a server restart, no
 matter which state the instances are. Is it a normal behaviour ? I think
 those has to be permanent data. So we might have to have a contingency 
 plan
 such as maintaining a separate database for instances or any other better
 approach.

 Thank you   Best regards,

 Amal Gunatilake
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware






 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198





 --
 Regards,

 Waruna Lakshitha Jayaweera
 Software Engineer
 WSO2 Inc; http://wso2.com
 phone: +94713255198



-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [Carbon-Mediation] Failure to find ui feature in nexus

2015-01-26 Thread Hasitha Aravinda
: Could not resolve dependencies for
 project
 org.wso2.carbon:org.wso2.carbon.mediators.ui.feature:pom:4.3.0-SNAPSHOT:
 Failure to find
 org.wso2.carbon:org.wso2.carbon.mediator.foreach.ui:jar:4.3.0 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.mediators.ui.feature



 Thanks,

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot do a -Dsetup after deleting the h2 database in Greg 5.0.0 pack

2015-01-15 Thread Hasitha Aravinda
)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:70)
 at
 org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
 at
 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
 at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)


 Best Regards,
 Pulasthi
 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2014-12-23 Thread Hasitha Aravinda
Hi Buddi,

Are you using JStack ? By default, java thread dump does not record lock owners
for locks. If you use jstack, use -l parameter as well [1]. (eg: jstack
-l pid  ). This params records lock owner information only for
synchronized blocks. Which is usefull to detect possible deadlocks.

[1] - http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html

Thanks,
Hasitha.

On Tue, Dec 23, 2014 at 6:02 PM, Buddhi Senarathna budd...@wso2.com wrote:

 hi all,

 I'm working on creating a tool to take thread dumps and analyze thread
 info as carbon test utility.

 to do that i have to cover these task.

1. access to a process remotely using process id.
2. get thread dump of that remote process .
3. expose necessary informations of thread dump using some methods in
realtime.
4. give a method to write thread dump into a file.


 Note: currently 1st and 2nd tasks are completed.

 thank you.


 --

 *Buddhi Chathuranga Senarathna*


 *InternWSO2, Inc. *
 *Mob: +94 755 446 685 %2B94%20755%20446%20685*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB][XSLT] Capturing #xA; (new line) and Replace it with in \n using XSLT.

2014-11-19 Thread Hasitha Aravinda
Hi team,

I have requirement to replace #xA; character and replace it with \n using
XSLT. So I came up with following XSLT and Proxy service. ( Capp is
attached )

?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0 xmlns:xsl=
http://www.w3.org/1999/XSL/Transform; xmlns:tns=
http://www.example.org/Echo/;
xsl:output method=text encoding=UTF-8 indent=yes/
xsl:template name=escapeNewLine
xsl:param name=text select=string(.)/
xsl:choose
xsl:when test=contains($text, '#xA;')
xsl:value-of select=substring-before($text,
'#xA;')/\nxsl:call-template name=escapeNewLine
xsl:with-param name=text
select=substring-after($text, '#xA;')/
/xsl:call-template
/xsl:when
xsl:otherwise
xsl:value-of select=$text/
/xsl:otherwise
/xsl:choose
/xsl:template
xsl:template match=/tns:echoOut xmlns:tns=
http://www.example.org/Echo/;outxsl:call-template name=escapeNewLine
xsl:with-param name=text select=./
/xsl:call-template/out/tns:echoOut
/xsl:template
/xsl:stylesheet

*And Proxy : *

?xml version=1.0 encoding=UTF-8?
proxy xmlns=http://ws.apache.org/ns/synapse; name=TestXSLT
transports=http https startOnLoad=true trace=disable
target
inSequence
xslt key=conf:xslt/Test.xslt source=//in/
respond/
/inSequence
outSequence/
faultSequence/
/target
publishWSDL key=conf:xslt/Echo.wsdl/
/proxy


In above transformation, it replace all the space with \n. For following
request.

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:echo=http://www.example.org/Echo/;
   soapenv:Header/
   soapenv:Body
  echo:echo
 ina b
 c d
 /in
  /echo:echo
   /soapenv:Body
/soapenv:Envelope

Response will be like this.

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:echo=http://www.example.org/Echo/;
   soapenv:Body
  echo:echo
 text xmlns=http://ws.apache.org/commons/ns/payload;a\nb
\n\n\n\n\n\n\n\n\nc\nd
\n\n\n\n\n\n\n\n\n/text
  /echo:echo
   /soapenv:Body
/soapenv:Envelope

What could be the issue. ? I tried with both amp;#xA; and #xA still no
luck.

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200


TestXSLTCapp_1.0.0.car
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][XSLT] Capturing #xA; (new line) and Replace it with in \n using XSLT.

2014-11-19 Thread Hasitha Aravinda
Yupe, That workaround worked.

Thanks Milinda.

On Thu, Nov 20, 2014 at 4:55 PM, Milinda Perera milin...@wso2.com wrote:

 Hi,

 As I understand your requirement is replacing line feed with '\n'

 I found following method, and works for me. Try following :

 ?xml version=1.0 encoding=UTF-8?
 xsl:stylesheet version=1.0 xmlns:xsl=
 http://www.w3.org/1999/XSL/Transform; xmlns:tns=
 http://www.example.org/Echo/;
 xsl:output method=text encoding=UTF-8 indent=yes/
 xsl:variable name=_crlfxsl:text
 /xsl:text/xsl:variable
 xsl:template name=escapeNewLine
 xsl:param name=text select=string(.)/
 xsl:choose
 xsl:when test=contains($text, $_crlf)
 xsl:value-of select=substring-before($text,
 $_crlf)/\nxsl:call-template name=escapeNewLine
 xsl:with-param name=text
 select=substring-after($text, $_crlf)/
 /xsl:call-template
 /xsl:when
 xsl:otherwise
 xsl:value-of select=$text/
 /xsl:otherwise
 /xsl:choose
 /xsl:template
 xsl:template match=/tns:echoOut xmlns:tns=
 http://www.example.org/Echo/;outxsl:call-template
 name=escapeNewLine
 xsl:with-param name=text select=./
 /xsl:call-template/out/tns:echoOut
 /xsl:template
 /xsl:stylesheet

 [1]
 http://stackoverflow.com/questions/3541278/replace-r-n-newlines-using-xslt-and-net-c-sharp-vs-2008

 Thanks,
 Milinda

 On Thu, Nov 20, 2014 at 3:35 AM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 Hi team,

 I have requirement to replace #xA; character and replace it with \n
 using XSLT. So I came up with following XSLT and Proxy service. ( Capp is
 attached )

 ?xml version=1.0 encoding=UTF-8?
 xsl:stylesheet version=1.0 xmlns:xsl=
 http://www.w3.org/1999/XSL/Transform; xmlns:tns=
 http://www.example.org/Echo/;
 xsl:output method=text encoding=UTF-8 indent=yes/
 xsl:template name=escapeNewLine
 xsl:param name=text select=string(.)/
 xsl:choose
 xsl:when test=contains($text, '#xA;')
 xsl:value-of select=substring-before($text,
 '#xA;')/\nxsl:call-template name=escapeNewLine
 xsl:with-param name=text
 select=substring-after($text, '#xA;')/
 /xsl:call-template
 /xsl:when
 xsl:otherwise
 xsl:value-of select=$text/
 /xsl:otherwise
 /xsl:choose
 /xsl:template
 xsl:template match=/tns:echoOut xmlns:tns=
 http://www.example.org/Echo/;outxsl:call-template
 name=escapeNewLine
 xsl:with-param name=text select=./
 /xsl:call-template/out/tns:echoOut
 /xsl:template
 /xsl:stylesheet

 *And Proxy : *

 ?xml version=1.0 encoding=UTF-8?
 proxy xmlns=http://ws.apache.org/ns/synapse; name=TestXSLT
 transports=http https startOnLoad=true trace=disable
 target
 inSequence
 xslt key=conf:xslt/Test.xslt source=//in/
 respond/
 /inSequence
 outSequence/
 faultSequence/
 /target
 publishWSDL key=conf:xslt/Echo.wsdl/
 /proxy


 In above transformation, it replace all the space with \n. For following
 request.

 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:echo=
 http://www.example.org/Echo/;
soapenv:Header/
soapenv:Body
   echo:echo
  ina b
  c d
  /in
   /echo:echo
/soapenv:Body
 /soapenv:Envelope

 Response will be like this.

 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:echo=
 http://www.example.org/Echo/;
soapenv:Body
   echo:echo
  text xmlns=http://ws.apache.org/commons/ns/payload;a\nb
 \n\n\n\n\n\n\n\n\nc\nd
 \n\n\n\n\n\n\n\n\n/text
   /echo:echo
/soapenv:Body
 /soapenv:Envelope

 What could be the issue. ? I tried with both amp;#xA; and #xA still no
 luck.

 Thanks,
 Hasitha.

 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPEL - Error deploying HumanTask package

2014-10-03 Thread Hasitha Aravinda
: [0] [BPS] [2014-10-03 10:40:34,232]  INFO
 {org.apache.axis2.deployment.DeploymentEngine} -
 org.apache.axis2.deployment.DeploymentException: Error deploying HumanTask
 package : TesthumanTask_1.0.0.zip {org.apache.axis2.



 Best Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set dynamic endpoints in a BPEL

2014-09-03 Thread Hasitha Aravinda
This can be done, Could you please refer
https://ode.apache.org/endpoint-references.html,

Also check the sample located in /repository/samples/bpel/DynPartner.zip

Thanks,
Hasitha.


On Wed, Sep 3, 2014 at 1:10 PM, Mahesh Chinthaka mahe...@wso2.com wrote:

 Hi,

 Is there a way to set dynamic endpoints in a bpel. Normally what we do is
 set end points in wsdl file , then create archive and deploy.

 What I need to do is, send some endpoints as input parameters along  with
 request message, then the bpel will call the service with those endpoints.
 Same service will be called (TenantMgtAdminService).

 And one more thing, number of endpoints will also vary.

 Seeking for help to figure out a way to do this..


 Thanks in advance,

 --
 Mahesh Chinthaka
 Software Engineer , WSO2.

 Phone : (+94) 71 63 63 083
 Email : mahe...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge pull request #3 for product-bps

2014-08-31 Thread Hasitha Aravinda
Hi Frizan,

We need to fix the following features for NDatasource.

   - org.wso2.carbon.attachment.mgt.server.feature
   - org.wso2.carbon.bpel.server.feature
   - org.wso2.carbon.humantask.server.feature

Also we need to remove old data-source dependencies from BPEL and Humantask
component as well.

Could you send the pull request to carbon-business-process after fixing
above tasks.
Thanks,
Hasitha.


On Sun, Aug 31, 2014 at 10:50 PM, Firzhan Naqash firz...@wso2.com wrote:


 Hi,

 Please review and merge the pull request[1], which is a fix for issue[2]




 [1] https://github.com/wso2-dev/product-bps/pull/3
 [2] https://wso2.org/jira/browse/BPS-185

 Thanks,

 Regards,
 Firzhan

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adder BPEL Sample - Issue

2014-08-27 Thread Hasitha Aravinda
What is the error your are getting in the wso2carbon.log ? could you please
attach your BPEL sample ?

Thanks,
Hasitha.


On Wed, Aug 27, 2014 at 12:09 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Hi,

 I am working on adder BPEL sample. Adder axis service is working properly.
 I checked BPEL and its giving axis2ns1:selectionFailure error when test
 it using Try it.

 Can any one let me know the reason for this ?

 Thanks
 Godwin


 --
 *Godwin Amila Shrimal*
  Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adder BPEL Sample - Issue

2014-08-27 Thread Hasitha Aravinda
The variable CaclPLRequest is not initialized. That is why you are
getting selectionFailure.

Usually when you do the variable assignment, BPEL editor asks whether do
you need to initialize the variables if that variable is not initialized
yet. What is the DevS version you are using ?

Thanks,
Hasitha,


On Wed, Aug 27, 2014 at 12:25 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Hi Hasitha,

 Please see below the error in the wso2carbon.log, I have attached both
 sample and wso2carbon.log file herewith.

 TID: [0] [BPS] [2014-08-27 12:20:48,899]  INFO
 {org.apache.ode.bpel.runtime.ASSIGN} -  Assignment Fault: {
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=64,faultExplanation={http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
 No results for expression: 'ns:y' against '?xml version=1.0
 encoding=UTF-8?

 calc xmlns=http://service.wso2.org/'
 {org.apache.ode.bpel.runtime.ASSIGN}

 TID: [0] [BPS] [2014-08-27 12:20:48,911]  WARN
 {org.apache.ode.bpel.engine.BpelProcess} -  Instance 2951 of {
 http://wso2.org/bps/sample}AdderService-8 has completed with fault:
 FaultData: [faultName={
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,
 faulType=null ({
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
 No results for expression: 'ns:y' against '?xml version=1.0
 encoding=UTF-8?

 calc xmlns=http://service.wso2.org/')] @64
 {org.apache.ode.bpel.engine.BpelProcess}



 Thanks

 Godwin




 On Wed, Aug 27, 2014 at 12:13 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 What is the error your are getting in the wso2carbon.log ? could you
 please attach your BPEL sample ?

 Thanks,
 Hasitha.


 On Wed, Aug 27, 2014 at 12:09 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

  Hi,

 I am working on adder BPEL sample. Adder axis service is working
 properly. I checked BPEL and its giving axis2ns1:selectionFailure error
 when test it using Try it.

 Can any one let me know the reason for this ?

 Thanks
 Godwin


 --
 *Godwin Amila Shrimal*
  Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adder BPEL Sample - Issue

2014-08-27 Thread Hasitha Aravinda
Initialize CaclPLRequest variable and deploy sample again, this should fix
the selectionFailure issue.


On Wed, Aug 27, 2014 at 1:17 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Devs version is 3.7.0


 On Wed, Aug 27, 2014 at 12:53 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 The variable CaclPLRequest is not initialized. That is why you are
 getting selectionFailure.

 Usually when you do the variable assignment, BPEL editor asks whether do
 you need to initialize the variables if that variable is not initialized
 yet. What is the DevS version you are using ?

 Thanks,
 Hasitha,


 On Wed, Aug 27, 2014 at 12:25 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Hi Hasitha,

 Please see below the error in the wso2carbon.log, I have attached both
 sample and wso2carbon.log file herewith.

 TID: [0] [BPS] [2014-08-27 12:20:48,899]  INFO
 {org.apache.ode.bpel.runtime.ASSIGN} -  Assignment Fault: {
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=64,faultExplanation={http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
 No results for expression: 'ns:y' against '?xml version=1.0
 encoding=UTF-8?

 calc xmlns=http://service.wso2.org/'
 {org.apache.ode.bpel.runtime.ASSIGN}

 TID: [0] [BPS] [2014-08-27 12:20:48,911]  WARN
 {org.apache.ode.bpel.engine.BpelProcess} -  Instance 2951 of {
 http://wso2.org/bps/sample}AdderService-8 has completed with fault:
 FaultData: [faultName={
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,
 faulType=null ({
 http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
 No results for expression: 'ns:y' against '?xml version=1.0
 encoding=UTF-8?

 calc xmlns=http://service.wso2.org/')] @64
 {org.apache.ode.bpel.engine.BpelProcess}



 Thanks

 Godwin




 On Wed, Aug 27, 2014 at 12:13 PM, Hasitha Aravinda hasi...@wso2.com
 wrote:

 What is the error your are getting in the wso2carbon.log ? could you
 please attach your BPEL sample ?

 Thanks,
 Hasitha.


 On Wed, Aug 27, 2014 at 12:09 PM, Godwin Amila Shrimal god...@wso2.com
  wrote:

  Hi,

 I am working on adder BPEL sample. Adder axis service is working
 properly. I checked BPEL and its giving axis2ns1:selectionFailure error
 when test it using Try it.

 Can any one let me know the reason for this ?

 Thanks
 Godwin


 --
 *Godwin Amila Shrimal*
  Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BPS][HumanTask] Problem of identifying multiple xpath functions in Rendering elements

2014-08-12 Thread Hasitha Aravinda
Rendering elements can have, multiple xpath functions [1].

For Eg:

 htd:rendering type=input

wso2:html![CDATA[

table

 tr

 tdCustomer Name/td

 td*htd:concat(getInput(ClaimApprovalRequest)/cust/firstname,   , *
*getInput(ClaimApprovalRequest)/cust/lastname)*/td

 /tr

 tr
   tdAmount/td
   td*htd:getInput(ClaimApprovalRequest)/amount*/td

 /tr

 tr
   tdCountry/td
   td*$country_code$*/td

 /tr

/table

]]/wso2:html

 /htd:rendering


Problems when evaluating above rendering element are,

   - Different xpath functions have different syntax. eg: concat ends with
   ) while getInput() ends with a node name. Finding start and end of a
   xpath expression is not easy.
   - It is hard to figure out use of multiple xpath functions like concat,
   except, union, avg, etc.
   - Performance ?.

 One solution is wrap xpath with $ symbol, similar to presentation
params.

Eg:

$*htd:getInput(ClaimApprovalRequest)/amount$*

WDYT ?


[1] -
http://docs.oasis-open.org/bpel4people/ws-humantask-1.1-spec-cs-01.html#_Toc151798575

( htd - http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803; )

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Hasitha Aravinda
Hi,

In the error log, I see a Connection refused error. Can you check
followings. ?

1) Make sure you have deployed humantask artifacts.
2) If the humantask is deployed in your system, are you running BPS with a
portOffset ?


On Wed, Jul 30, 2014 at 12:33 PM, Jeewani Lakshani [IT/EKO/LOITS] 
jeewa...@lolctech.com wrote:

  Hi,

 We have tried the sample ClaimApprovalProcess BPEL through wso2bps-3.0.0
 and it worked fine (human task ).



 But when we try it (sample process wso2bps-3.2.0) via wso2bps-3.2.0 it get
 fails at the try it option an error occurred. I have attached herewith the
 error log for your reference.

 Are there any limitations in wso2bps-3.2.0 when running such BPEL
 processes?


No, HumanTask and BPEL written for BPS 3.0.0 is compatible with BPS 3.2.0.

Thanks,
Hasitha.





 Thank you.

 Regards,

 Jeewani

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Remote task is not working in wso2bps-3.2.0

2014-07-30 Thread Hasitha Aravinda
Hi,

When you do the port offset, Please change relevant service url in the
location attribute of the wsdl binding for all BPEL process and HumanTask.
Otherwise BPEL process will not able to talk to HumanTask service.

Thanks,
Hasitha.


On Wed, Jul 30, 2014 at 2:12 PM, Jeewani Lakshani [IT/EKO/LOITS] 
jeewa...@lolctech.com wrote:

  Hi,

 Thank you Hasitha for your prompt response.  We changed our offset to 4
 then it worked.



 Regards,

 Jeewani



 *From:* Hasitha Aravinda [mailto:hasi...@wso2.com]
 *Sent:* Wednesday, July 30, 2014 12:46 PM
 *To:* Jeewani Lakshani [IT/EKO/LOITS]
 *Cc:* dev@wso2.org
 *Subject:* Re: [Dev] Remote task is not working in wso2bps-3.2.0



 Hi,

 In the error log, I see a Connection refused error. Can you check
 followings. ?

 1) Make sure you have deployed humantask artifacts.

 2) If the humantask is deployed in your system, are you running BPS with a
 portOffset ?



 On Wed, Jul 30, 2014 at 12:33 PM, Jeewani Lakshani [IT/EKO/LOITS] 
 jeewa...@lolctech.com wrote:

  Hi,

 We have tried the sample ClaimApprovalProcess BPEL through wso2bps-3.0.0
 and it worked fine (human task ).



 But when we try it (sample process wso2bps-3.2.0) via wso2bps-3.2.0 it get
 fails at the try it option an error occurred. I have attached herewith the
 error log for your reference.

 Are there any limitations in wso2bps-3.2.0 when running such BPEL
 processes?



 No, HumanTask and BPEL written for BPS 3.0.0 is compatible with BPS 3.2.0.

 Thanks,
 Hasitha.





 Thank you.

 Regards,

 Jeewani

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BPS Issue in invoking multiple web services

2014-07-22 Thread Hasitha Aravinda
Hi Akila,

On Tue, Jul 22, 2014 at 3:43 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi all,

 I am deploying a BPEL process with invoking two web services.  In my
 process I am using following named wsdl files;



 WSDL

 Partner Link Name

 excelCapexService.wsdl



 ItemServicePL

 excelPriceService.wsdl



 PriceServicePL





 after I creating the BPEL diagram at the deploy.xml it shows my created
 partner links for the above WSDL files.  But the problem is when I am going
 to define the associated port, the drop down menu doesn’t show my related
 webservice in order to allocate it with the relevant partner link. It only
 shows one Binding used which is excelCapexServiceHttpBinding for the both
 partner links.  I follow several tutorials and I couldn’t get how to define
 associated ports separately.



 For the PriceService Partner Link it should be
 excelPriceServiceHttpBinding.. isn’t it?


Yes, It should some thing like excelPriceServiceHttpBinding. But without
looking at wsdl files I can't grantee it.  It is better If you can share
the wsdl files and bpel project as well.



 Appreciate very much if you can guide me on this regard.  Thank You.


What is the DevS version you are using. ? This can happen when deploy.xml
is out of sync with the BPEL project. As a workaround could you do
followings.

1) Rename existing deploy.xml to deploy.xml.old
2) Create a new deploy.xml file using ODE deployment descriptor wizard.
This wizard is available under BPEL 2.0 category in new file wizard.

Thanks,
Hasitha.



 P.S : It is working when I use only one WSDL service.



  This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] dbscripts folder structure for BPS 3.5.0

2014-07-17 Thread Hasitha Aravinda
Hi Team,

We are going to use a separate database for activiti engine. So we will
need to ship separate database scripts for activiti engine with BPS 3.5.0.

In BPS 3.2.0 we have following structure.

dbscripts
├── bps
│  ├── derby.sql   - BPEL and HT scripts .
│  ├── 
│
├── db2.sql  - reg_um scripts
├── ...

Proposed structure for BPS 3.5.0 as follows,

dbscripts
├── bps
│   ├── bpel  - ODE and HT scripts .
│   │   ├── create
│   │   │  ├──  derby.sql
│   │   │
│   │   ├── truncate
│   │   │   ├── (to be created)
│   │   │
│   │   ├── upgrade
│   │├── 300_350
│   │├── 310_350
│   │
│   ├── bpmn- activiti related scripts.
│  ├── create
│  │  ├── activiti.db2.create.engine.sql
│  │
│  ├── drop
│  │   ├── activiti.db2.drop.engine.sql
│  │
│  ├── upgrade
│   ├── (empty since no upgrade scripts in initial
version)
│
├── db2.sql   - reg_um scripts
├── ...



Thanks
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 BPS 3.5.0 M2 Released!

2014-06-25 Thread Hasitha Aravinda
BPS 3.5.0 M2 Release is available for download at
https://svn.wso2.org/repos/wso2/people/hasitha/bps350/wso2bps-3.5.0-M2.zip
Bug

   - [BPS-501 https://wso2.org/jira/browse/BPS-501] - Check the
   StreamDefinition is exist before adding new streamDefininition
   - [BPS-505 https://wso2.org/jira/browse/BPS-505] - Load callee BPEL
   DeploymentUnitDir from memory
   - [BPS-510 https://wso2.org/jira/browse/BPS-510] - Add Sample BPMN
   artifact
   - [BPS-511 https://wso2.org/jira/browse/BPS-511] -
   FlightReservationProcess sample contains zip files

Task

   - [BPS-509 https://wso2.org/jira/browse/BPS-509] - BPEL and HumanTask
   integration test migration for Git


-- BPS Team --

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-05-22 Thread Hasitha Aravinda
Good progress Pubudu,

On Thu, May 22, 2014 at 1:21 PM, Pubudu Gunatilaka pubudu...@gmail.comwrote:

 Hi,

 For the BPEL Processes, I was able to write a custom event listener using
 the BPELEventListener from the *org.apache.ode.bpel.iapi* package.

 According to my proposal in [1] I have shown the instance information
 through the BAM Dashboard which is in figure 3. Same details also can be
 viewed from the BPS console as well. As the BAM dashboard needs to show the
 summarized details, I feel like it is not needed. What do you think? If it
 is needed, I can publish those information as well.


IMO, we will need those information. These information will be useful to
represent queries like process's current execution state, instance's
execution path and how many process instances are executing particular
activity etc.

Thanks,
Hasitha.




 [1] -
 https://docs.google.com/document/d/16LG4UsVzWHxWMAPm67q5NAkGT9Ib8lrw5kTX5a0BDNE/


 On Wed, May 21, 2014 at 12:05 AM, Pubudu Gunatilaka 
 pubudu...@gmail.comwrote:

 Hi,

 I was able to write a sample HumanTaskEventListener and able to see the
 information of human task instance transitions.

 Currently I am working on the BPELTaskEventListener. Once I complete the
 event listeners, I will work on the data publisher.

 Then I will be able to work on the BAM dashboard and I am hoping to
 complete the above before the mid review which is on 23rd June.

 After the mid review I will work on ODE Execution events.




 On Mon, May 12, 2014 at 12:36 AM, Thilini Ishaka thil...@wso2.comwrote:

 Hi Pubudu,

 Some more materials are given below.
 Please update the thread with the current progress.





 *Data Publisher1. https://docs.wso2.org/display/BAM241/Data+Publisher
 https://docs.wso2.org/display/BAM241/Data+Publisher 2.
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.2.1/src/main/java/org/wso2/carbon/bam/service/data/publisher/publish/EventPublisher.java
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.2.1/src/main/java/org/wso2/carbon/bam/service/data/publisher/publish/EventPublisher.java
 Sending event to BAM *
 3. Through the REST API
 https://docs.wso2.org/display/BAM241/Sending+Events+through+the+REST+API
 4. Samples 
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/bps/3.2.0/modules/samples/product/



 *Monitoring with BAM *5.
 http://wso2.com/library/articles/2013/06/monitor-your-kpis-using-wso2-bam/
 6.
 https://docs.wso2.org/display/BAM240/Monitoring+key+Performance+Indicators
 7. Creating a custom toolbox
 https://docs.wso2.org/display/BAM241/Creating+a+Custom+Toolbox


 Thanks
 Thilini


 On Wed, May 7, 2014 at 4:49 AM, Pubudu Gunatilaka 
 pubudu...@gmail.comwrote:

 Hi Hasitha,

 Thank you for the information. I did not write a sample event listener
 yet. Still trying to get some idea about BPEL and Human task processes.

 I will work on what you have mentioned and let you know the progress.

 Thanks.

 On Wed, May 7, 2014 at 4:31 PM, Hasitha Aravinda hasi...@wso2.comwrote:

 Hi Pubudu,

 For BPEL processes, you can enable ODE events via deploy.xml. Please
 refer [1] for more information. Similar to HumanTask you can register ODE
 event listener to BPS using bps.xml.

 were you able to write a sample HumanTaskEventListener ?

 Also try to write sample BPELEventListener and see what kind of
 information you can get from events about HumanTask/BPEL instances. The
 idea is to identify data, which we are going to publish to the BAM.

 Also study about BAM data publishers. [2] will be a good point to
 start.

 Thanks,
 Hasitha.

 [1] - http://ode.apache.org/ode-execution-events.html
 [2] -
 http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/


 On Wed, May 7, 2014 at 1:47 PM, Pubudu Gunatilaka pubudu...@gmail.com
  wrote:

 Hi,

 These days I am working with samples that are in WSO2 BPS in order to
 get some idea about BPEL and Human task processes. Some of the processes
 generate events and some do not.

 For the processes which generate events can use
 HumanTaskEventListener and BPELEventListener classes to write a custom
 event listener. But for the processes that do not generate events have to
 do using ODE Execution events.

 According to [1] this component can be added separately to BPS.

 I would really appreciate if you can provide me some useful materials
 in order to move forward.


 [1]-
 http://tryitnw.blogspot.com/2013/05/humantask-event-listeners-wso2-bps.html
 --
 Regards
 P.C. Gunatilaka
 Undergraduate,
 Department of Computer Science And Engineering,
 University of Moratuwa, Sri Lanka.

 Web http://reddragonspace.blogspot.com/ , 
 Facebookhttps://www.facebook.com/djpc4everhttps://www.facebook.com/djpc4ever,
 LinkedIn http://lk.linkedin.com/pub/pubudu-gunatilaka/32/2b8/20b ,
 Google+ https://plus.google.com

Re: [Dev] [BPS]Error while invoking a callback service from a BPEL

2014-05-19 Thread Hasitha Aravinda
(INVOKE.java:130)
  at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
  at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
 at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:898)
  at
 org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:250)
 at org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:288)
  at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
 at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
  at
 org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
 at
 org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:558)
  at
 org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:467)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:536)
  at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:530)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:280)
  at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:235)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:530)
  at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:514)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)

 --
 *Amila De Silva*

 *Software Engineer*
 WSO2 Inc.
 mobile :(+94) 775119302


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 *Amila De Silva*

 WSO2 Inc.
 mobile :(+94) 775119302


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Asanthi Kulasinghe*
 WSO2 Inc; http://www.wso2.com/.
 Mobile: +94777355522



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Update on Gsoc Project - BAM Toolbox for WSO2 Business Process Server

2014-05-07 Thread Hasitha Aravinda
Hi Pubudu,

For BPEL processes, you can enable ODE events via deploy.xml. Please refer
[1] for more information. Similar to HumanTask you can register ODE event
listener to BPS using bps.xml.

were you able to write a sample HumanTaskEventListener ?

Also try to write sample BPELEventListener and see what kind of information
you can get from events about HumanTask/BPEL instances. The idea is to
identify data, which we are going to publish to the BAM.

Also study about BAM data publishers. [2] will be a good point to start.

Thanks,
Hasitha.

[1] - http://ode.apache.org/ode-execution-events.html
[2] -
http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/


On Wed, May 7, 2014 at 1:47 PM, Pubudu Gunatilaka pubudu...@gmail.comwrote:

 Hi,

 These days I am working with samples that are in WSO2 BPS in order to get
 some idea about BPEL and Human task processes. Some of the processes
 generate events and some do not.

 For the processes which generate events can use HumanTaskEventListener and
 BPELEventListener classes to write a custom event listener. But for the
 processes that do not generate events have to do using ODE Execution
 events.

 According to [1] this component can be added separately to BPS.

 I would really appreciate if you can provide me some useful materials in
 order to move forward.


 [1]-
 http://tryitnw.blogspot.com/2013/05/humantask-event-listeners-wso2-bps.html
 --
 Regards
 P.C. Gunatilaka
 Undergraduate,
 Department of Computer Science And Engineering,
 University of Moratuwa, Sri Lanka.

 Web http://reddragonspace.blogspot.com/ , 
 Facebookhttps://www.facebook.com/djpc4everhttps://www.facebook.com/djpc4ever,
 LinkedIn http://lk.linkedin.com/pub/pubudu-gunatilaka/32/2b8/20b ,
 Google+ https://plus.google.com/113204823932612396731/posts , 
 Twitterhttp://twitter.com/#!/PubuduSpace ,
 About.me http://about.me/pubudugunatilaka




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Implementing ODE Scheduler job redistribution for BPS cluster

2014-04-06 Thread Hasitha Aravinda
Let me add more on this.

On Wed, Apr 2, 2014 at 11:24 PM, Nandika Jayawardana nand...@wso2.comwrote:

 Hi All,

 BPEL processes in ode are executed by first writing the process initiating
 message to the database and running a job (a separate thread ) against it
 which will try to execute the process definition against the message and
 current process state.  Ode job scheduler is what does the loading of jobs
 from the job table for execution.Usually, all the jobs scheduled from a
 given BPS node is loaded and executed by that node itself. However, in case
 of a long running process, where there can be waiting activities or timer
 jobs, there will be jobs that are not loaded immediately.  These jobs
 are scheduled against a node id identifying the running ode instance. In
 our current cluster implementation, if a node goes down, these jobs will
 remain there until the node is restarted. In order to solve this problem
  ,we though of using the hazel-cast cluster which is already available and
 used.

 Ode scheduler has a heartbeat method, which should be called in the
 cluster implementation periodically by each node in order to tell the
 scheduler that each node is alive. A separate  task is executed to monitor
 the availability/staleness of the nodes periodically by maintaining a list
 of known nodes and nodes that have not updated the heartbeat.

 Job redistribution has two problems.

 1. If all the nodes in the cluster try to redistribute the jobs of a stale
 node, there will be dead locks since these are db operations. Hence we need
 to elect a node in the cluster which will do the job redistribution.
 In hazelcast, we can select the leader by obtaining the oldest member
 of the cluster and treating it as the leader.


Recover stale nodes job is one of the schedule jobs in ode. ODE developers
make it to start randomly with intention of, jobs don't overlap in
clustered environment.  But this doesn't grantee it and if two jobs
overlapped with each other, it cause deadlocks in ODE_JOB tables.

There is another scheduled job called updateJob which assign nodeIDs to
near-future jobs. Same problem can happen if two updateJobs overlapped.

So the suggested solution is, every node check whether he is the leader and
if he is the leader then run these two jobs for whole cluster.


  2. We need a way to implement the heartbeat method.

 Initially we though of using the membership listeners available from
 carbon clustering. However, it seems when nodes are added/removed, all
 nodes does not get notified. Hence we though of using the periodic task
 running in the scheduler to do the member availability check and update the
 heartbeat using the hazel-cast cluster.

 @Hasitha - Please add anything i missed.

 Regards
 Nandika

 --
 Nandika Jayawardana
 Senior Technical Lead
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware


Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev][GSoc 2014] Proposal 17 : Business Process Instance Illustrator for WSO2 Business Process Server

2014-03-20 Thread Hasitha Aravinda
Hi Thamayanthi,

Thank you for your interest on this project.

In current BPEL visualizer, there are several limitations such as,

   - It doesn't support all BPEL activities. ( eg: Extenstion activity
   support - PeopleActivity, E4X )
   - Activity alignment problem.
   - Usability issues with large BPEL files. etc.

So the first task of this project is to come up with a new BPEL visualizer
tool to overcome above limitations. Other task of this project is, re-use
same BPEL visualizer to to display BPEL instance level information.

WSO2 BPS uses Apache ODE [1] as the BPEL engine. ODE engine persists
instance runtime related data such as current state, activity event
information, fault activities etc in to the databases. You can query these
data from the ODE database and can be used to visualize instance runtime
data in the BPS instance page.

So the deliverable of this project would be,

   1. Enhance/Re-model exiting BPEL visualizer.
   2. Use new visualizer to display BPEL process definitions (.bpel) in
   WSO2 BPS BPEL package view.( Static view )
   3. Re-use same visualizer to display BPEL process instance events
   related information in BPS BPEL instance view.


As the first step, study the existing WSO2 BPS BPEL visualizer. You can
find the existing visualizer source code from [2].


[1] - http://ode.apache.org/
[2] -
http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/business-processes/bpel/org.wso2.carbon.bpel.ui/4.2.1/

Thanks,
Hasitha.


On Thu, Mar 20, 2014 at 11:50 AM, Thamayanthy Sripalan
thamay...@gmail.comwrote:

 Hi all,

 I am Thamayanthy Sripalan and currently I am an undergraduate at
 University of Moratuwa.  I would like to participate in GSoC in this year
 and contribute to WSO2 community. I am very much interested in the above
 mentioned project.I have some basic understanding of the required skills
 and now I am learning about SVG.

 I have gone through the WSO2 Business Process Server documentation[1],
 build the product and played with the samples provided. As I understood
 about the above project, WSO2 BPS is handling from the very simple business
 process activities to highly complicated business process activities.

 In this, only the final state of the process instances are stored in the
 database. The available visualization of the process work flow is the
 static one and it is displaying the work flow with the details as .bpel
 file contains. So the monitoring of the running process instances is needed
 in order to show  each process instances' current state and to gather the
 details of the exception if any. While monitoring the process instances,
 gathering the time of each state of each instance passed is also required,
 so that it will help to calculate the time consumption of each process,
 exceptions occurred and the details of them, efficiency and quality of the
 product etc.

 I need to cover all the above mentioned requirements in my project and I
 hope that I will be able to finish the project within the given time frame.
 I am expecting a feedback from you on this mail and What are the things I
 need to consider when I am making my proposal?

 links:
 [1]
 https://docs.wso2.org/display/BPS320/WSO2+Business+Process+Server+Documentation


 Thanks.
 --
 Thamayanthy Sripalan
 Undergraduate
 Department of Computer Science and Engineering
 University of Moratuwa.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Using UserAdminStub to get users names of a role

2014-01-23 Thread Hasitha Aravinda
Hi all,

I used UserAdminStub's getUsersOfRole method to do the $subject. It returns
user list as a FlaggedName array. But problem is, this FlaggedName array
contains all the user including users who don't belong to that role.

But by checking flaggedName.getSelected() method I can validate whether
particular user is in that role or not. But this requires additional
iteration.

Is this default behavior ? I verified with both carbon 4.0.0 and 4.2.0 and
observed the same.

Is it ok to use RemoteUserStoreManagerServiceStub for this. ? Again I can't
use this with BPS since RemoteUserStoreManagerService admin service is not
available by default.

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using UserAdminStub to get users names of a role

2014-01-23 Thread Hasitha Aravinda
Thanks Asela,

Hasitha




On Thu, Jan 23, 2014 at 11:41 PM, Asela Pathberiya as...@wso2.com wrote:




 On Fri, Jan 24, 2014 at 9:57 AM, Venura Kahawala ven...@wso2.com wrote:

 Hi,

 IMO this is an incorrect behavior. Can you try sending zero for the
 'limit' variable?

 Regards,
 Venura


 On Fri, Jan 24, 2014 at 9:39 AM, Hasitha Aravinda hasi...@wso2.comwrote:

 Hi all,

 I used UserAdminStub's getUsersOfRole method to do the $subject. It
 returns user list as a FlaggedName array. But problem is, this FlaggedName
 array contains all the user including users who don't belong to that role.

 But by checking flaggedName.getSelected() method I can validate whether
 particular user is in that role or not. But this requires additional
 iteration.

 Is this default behavior ? I verified with both carbon 4.0.0 and 4.2.0
 and observed the same.


 Yes.. i guess. UserAdmin stub has been written thinking about the UI
 aspect..



 Is it ok to use RemoteUserStoreManagerServiceStub for this. ? Again I
 can't use this with BPS since RemoteUserStoreManagerService admin service
 is not available by default.


 Yes..  this is the better approach, if you need to call the user store
 functions from external  web application or system.  You can install this
 feature [1]. Basically It just exposes the user store manager interface as
 web service API.

 [1]
 http://soasecurity.org/2013/12/15/remote-user-management-feature-in-wso2-carbon-products/

 Thanks,
 Asela.



 Thanks,
 Hasitha.

 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




 --
 Senior Software Engineer

 Mobile: +94 71 82 300 20


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks  Regards,
 Asela

 ATL
 Mobile : +94 777 625 933




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Turing][Chunk 04] - Build failure in HDFS Name Node

2013-11-18 Thread Hasitha Aravinda
Hi SS team,

I am getting following build failure in clean repo build. But when I resume
build from HDFS Name Node, it works fine. Could you please take a look into
this.


[INFO] Kerberos 5 Authenticator - UI bundle .. SUCCESS [5.951s]
[INFO] WSO2 Carbon - Hadoop-Carbon Security Extensions ... SUCCESS [29.706s]
[INFO] WSO2 Carbon - HDFS Aggregator Module .. SUCCESS [0.057s]
[INFO] WSO2 Carbon HDFS Name Node  FAILURE [1.422s]
[INFO] WSO2 Carbon HDFS Data Node  SKIPPED
[INFO] WSO2 Carbon - HDFS Data Access  SKIPPED
[INFO] WSO2 Carbon - HDFS Management Server .. SKIPPED

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 55:17.396s
[INFO] Finished at: Mon Nov 18 14:06:36 IST 2013
[INFO] Final Memory: 2429M/3953M
[INFO]

[ERROR] Failed to execute goal on project org.wso2.carbon.hdfs.namenode:
Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.
hdfs.namenode:bundle:4.2.0: The following artifacts could not be resolved:
org.apache.hadoop.wso2:hadoop-core:jar:0.20.203.1.wso2v4, org.apache.hadoop:
hadoop-core:jar:0.20.203.1-wso2v4: Could not find artifact org.apache.hadoop
.wso2:hadoop-core:jar:0.20.203.1.wso2v4 in central
(http://repo.maven.apache.org/maven2)
- [Help 1]
[ERROR]

Thanks,
Hasitha.



-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Turing][Chunk 04] Build failure in Proxy Services Core Feature 4.2.0

2013-11-13 Thread Hasitha Aravinda
Hi,

Getting following error in clean repo. Please have a look.

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 17.547s
[INFO] Finished at: Wed Nov 13 15:27:51 IST 2013
[INFO] Final Memory: 148M/1322M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.proxyadmin.server.feature: Could not resolve dependencies
for project
org.wso2.carbon:org.wso2.carbon.proxyadmin.server.feature:pom:4.2.0: *Could
not find artifact
org.wso2.carbon:org.wso2.carbon.proxyadmin.common:jar:4.2.0* in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.

Thanks,
Hasitha.


-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Turing][Chunk 04] Build failure in Proxy Services Core Feature 4.2.0

2013-11-13 Thread Hasitha Aravinda
HI,

Chunk 4 feature pom has different versions of proxyadmin feature[1] . what
is the correct one. ?

module../../../features/proxyadmin/module

module../../../features/proxyadmin/org.wso2.carbon.proxyadmin.ui.feature/4.2.1/module

module../../../features/proxyadmin/org.wso2.carbon.proxyadmin.server.feature/4.2.1/module

module../../../features/proxyadmin/org.wso2.carbon.proxyadmin.feature/4.2.2/module


[1] -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/product-releases/chunk-04/features/pom.xml

Thanks,
Hasitha.


On Wed, Nov 13, 2013 at 3:33 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi,

 Getting following error in clean repo. Please have a look.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 17.547s
 [INFO] Finished at: Wed Nov 13 15:27:51 IST 2013
 [INFO] Final Memory: 148M/1322M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.proxyadmin.server.feature: Could not resolve dependencies
 for project
 org.wso2.carbon:org.wso2.carbon.proxyadmin.server.feature:pom:4.2.0: *Could
 not find artifact
 org.wso2.carbon:org.wso2.carbon.proxyadmin.common:jar:4.2.0* in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 Thanks,
 Hasitha.


 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200





-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Turing][Chunk-04] Build Failure in SAML 2.0 Web SSO Feature

2013-11-11 Thread Hasitha Aravinda
Hi all,

Getting following build failure in SAML 2.0 Web SSO Feature in chunk04.
Please have a look.

[INFO] WSO2 Carbon - SCIM - UI Feature ... SUCCESS [0.064s]
[INFO] SCIM Feature .. SUCCESS [0.109s]
[INFO] Identity SAML Single Sign-on Server Feature ... SUCCESS [0.592s]
[INFO] SAML 2.0 Web SSO Feature .. FAILURE [0.065s]
[INFO] Identity User Profiles Server Feature . SKIPPED
[INFO] User Profiles Feature . SKIPPED
[INFO] Identity XACML Server Feature . SKIPPED

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 13:51.940s
[INFO] Finished at: Mon Nov 11 11:38:18 IST 2013
[INFO] Final Memory: 1260M/1958M
[INFO]

[ERROR] Failed to execute goal on project
org.wso2.carbon.identity.sso.saml.feature: Could not resolve dependencies
for project
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature:pom:4.2.1: *Failure
to find
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.ui.feature:zip:4.2.1* in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]

Thanks,
Hasitha.

-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Business Process Server 3.1.0 Beta Released !

2013-10-31 Thread Hasitha Aravinda
*WSO2 Business Process Server 3.1.0 Beta Released!*

Date: 31st October 2013

WSO2 Business Process Server team is pleased to announce the release of
3.1.0 Beta version of WSO2 Business Process Server.

It could be downloaded from
https://svn.wso2.org/repos/wso2/people/hasitha/bpsPacks/3.1.0beta/wso2bps-3.1.0.zip

The following is a list of bug fixes, improvements and the new features
available with this release.Bug

   - [BPS-217 https://wso2.org/jira/browse/BPS-217] - Need to fix
   namespace warnings when deploying BPEL processes
   - [BPS-238 https://wso2.org/jira/browse/BPS-238] - Human Task
   deployment failure when WSDLs have external imports
   - [BPS-251 https://wso2.org/jira/browse/BPS-251] - the BPEL
   application directs to a I/O error : null For : 10.98.62.249:9443 For
   Request : Axis2Request when the process id of the deployed process is
   clicked
   - [BPS-288 https://wso2.org/jira/browse/BPS-288] - Tenant is not
   loading correctly after unloading
   - [BPS-321 https://wso2.org/jira/browse/BPS-321] - Getting list of
   warnings when viewing attachment list of a task
   - [BPS-322 https://wso2.org/jira/browse/BPS-322] - Remove unused
   configuration from humantask.xml configuration file.
   - [BPS-326 https://wso2.org/jira/browse/BPS-326] - People Nomination
   logic in HumanTask Notifications is not working properly.
   - [BPS-328 https://wso2.org/jira/browse/BPS-328] - Secured bpel
   deployment failure
   - [BPS-329 https://wso2.org/jira/browse/BPS-329] - Set Notification
   status to Ready after notification is activated
   - [BPS-332 https://wso2.org/jira/browse/BPS-332] - Remove duplicated
   SQL scripts in sql directory from humantask feature
   - [BPS-333 https://wso2.org/jira/browse/BPS-333] - Rename postgres,
   mssql DB scripts to support -Dsetup
   - [BPS-334 https://wso2.org/jira/browse/BPS-334] - Confirmation
   Message doesn't display properly after uploading attachement to human task
   - [BPS-337 https://wso2.org/jira/browse/BPS-337] - Add sample to
   demonstrate the usage of abstract headers defined in wsdl within a bpel
   - [BPS-341 https://wso2.org/jira/browse/BPS-341] - Task is in CREATED
   status when the task has multiple potential owners and using expression
   based user assignment.
   - [BPS-342 https://wso2.org/jira/browse/BPS-342] - Exclude
   ExcludedOwners in task nomination.
   - [BPS-343 https://wso2.org/jira/browse/BPS-343] - Remove attachments,
   comments and history tabs from notification view in humantask UI

Improvement

   - [BPS-265 https://wso2.org/jira/browse/BPS-265] - Adding BPS table
   relationships

Task

   - [BPS-150 https://wso2.org/jira/browse/BPS-150] - Investigate more on
   BPEL assignment methodologies (performance wise) and document the best
   practices
   - [BPS-284 https://wso2.org/jira/browse/BPS-284] - Use SecureVault to
   secure passwords defined in bps related configs
   - [BPS-323 https://wso2.org/jira/browse/BPS-323] - Remove
   Attachment-mgt UI component as it is not used any more.
   - [BPS-336 https://wso2.org/jira/browse/BPS-336] - Add Carbon kernel
   patch0001 feature to BPS


Please report any issues at [2].

[1] Download
https://svn.wso2.org/repos/wso2/people/hasitha/bpsPacks/3.1.0beta/wso2bps-3.1.0.zip
[2] Issue Tracker https://wso2.org/jira/browse/BPS
[3] BPS Roadmap
https://wso2.org/jira/browse/BPS#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel

Your feedback is most welcome.

Thanks  Regards,
~WSO2 BPS Team~


-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Build Failure][chunk 02] BPEL Core Component

2013-10-14 Thread Hasitha Aravinda
Hi Chandana,

Can you take a svn up at [1] and try it again.

Thanks,
Hasitha.

[1] -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/components/business-processes/attachment-mgt/


On Mon, Oct 14, 2013 at 7:58 PM, Chandana Napagoda chand...@wso2.comwrote:

 Hi,

 I am getting following build failure when building chunk 2. I am @ r188190.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 29:30.614s
 [INFO] Finished at: Mon Oct 14 19:38:09 IST 2013
 [INFO] Final Memory: 731M/1679M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.wso2.carbon.bpel: Could not
 resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.bpel:bundle:4.2.0: The following artifacts
 could not be resolved:
 org.wso2.carbon:org.wso2.carbon.attachment.mgt:jar:4.2.1,
 org.apache.ode.wso2:ode:jar:1.3.5.wso2v10,
 org.wso2.carbon:org.wso2.carbon.bpel.skeleton:jar:4.2.1: Could not find
 artifact org.wso2.carbon:org.wso2.carbon.attachment.mgt:jar:4.2.1 in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]


 Thanks,
 Chandana
 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org
 *Email  :  chand...@wso2.com
 **Mobile : +94718169299*
 *Blog  :http://cnapagoda.blogspot.com
 *


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >