[Dev] BPS admin service to update APIM application status

2015-09-29 Thread Irham Iqbal
Hi All,

 I am automating adding an application workflow by following the
document[1]. Using the HumanTaskClientAPIAdmin admin service I can
approve application
creation task as below.

humanTaskClientAPIAdminClient.complete(b4pTask.getId(),
"http://www.example.com/claims/schema\;>\n" +"
true\n" +"");

But In the APIM UI the application status is INACTIVE.

[1] https://docs.wso2.com/display/AM190/Adding+an+Application+Creation+Workflow


Thanks,

Iqbal

-- 
Irham Iqbal
Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Chanuka Dissanayake

2015-09-29 Thread Johann Nallathamby
Hi All,

It's my pleasure to announce Chanuka Dissanayake as a WSO2 Committer.
Chanuka has been a valuable contributor for WSO2 Identity Server product,
and in recognition of his contribution to WSO2, he has been voted as a WSO2
Committer.

Chanuka, congratulations and keep up the good work!

Thanks & Regards.

-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][IS] slf4j version conflict with 1.6.x and 1.7.x

2015-09-29 Thread Ayyoob Hamza
Hi All,

In CDMF, When we install DAS feature with along the IS (4.6.0-M2) features.
Then we found IS features doesn't get activated. When we track the issue we
were able find that IS depends on slf4j version from 1.6.0 to 1.7.0 and DAS
depends on version from 1.7.0 to 1.8.0 Further we have both the slf4j
1.7.10 and 1.6.1 libraries within our pack. Yet only slf4j 1.7.10 gets
activated. The reason for this problem was:

slf4j 1.6.1 imports a package "org.slf4j.impl" and when slf4j 1.7.10 and
1.6.1 both has been used on the same product, then on slf4j- version 1.6.1
imports ("org.slf4j.impl" ) gets wired with 1.7.10 because the version has
been given as a single value rather a range.  Due to this it doesn't get
activated. Therefore we have to increase the range of slf4j from
[1.6.1,1.7) to [1.6.1,1.8) . The change wont have any effect because [1],
slf4j is compatible between 1.6.x and 1.7.x

Therefore I believe we have to only depend on latest slf4j version. where
having both causes the problem on wiring. So I think we have to update the
slf4j version on IS. This will arise a problem where IS dependent library
also needs to use the slf4j 1.7 range.

If there is any other solution please let know.

[1] http://www.slf4j.org/manual.html

Thanks
*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit update for Paho-MQTT Library

2015-09-29 Thread Kalpa Welivitigoda
Hi Eranda,

Do we have an update on this? If $subject is not needed anymore please
close [1].

On Fri, Mar 13, 2015 at 9:59 AM, Kishanthan Thangarajah  wrote:

> Did you go through the checklist of items for orbit creation process?
> There is a doc on this.
>
> On Mon, Mar 9, 2015 at 6:03 PM, Eranda Rajapakshe 
> wrote:
>
>> Hi,
>>
>> Please review the pull request [1].
>>
>> [1]. *https://github.com/wso2/orbit/pull/67
>> *
>>
>> Thank you!
>> --
>> *Eranda Rajapakshe*
>> Software Engineering intern
>> WSO2 Inc. www.wso2.com
>> Tel : +94784822608
>> Email : eran...@wso2.com
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Senior Software Engineer,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon-dashboards 1.0.4 released to staging

2015-09-29 Thread Udara Rathnayake
http://maven.wso2.org/nexus/content/repositories/orgwso2carbondashboards-156/

above repo tested with product-ues, please go ahead and release

On Tue, Sep 29, 2015 at 4:58 PM, Udara Rathnayake  wrote:

> Hi Builder team,
>
> Please close the repo and provide the URL.
>
> Regards,
> UdaraR
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Private PaaS] Moving cartridges to a new Git repository

2015-09-29 Thread Sajith Kariyawasam
Hi Imesh,

Will there be separate cartridge releases thereafter? How do we handle
cartridge compatibility with Private PaaS version?
For eg, Cartridge A version 1.0 may be compatible with PPaaS 4.1.0. If
Cartridge A is improved it may not compatible with PPaaS 4.1.0, so need to
version it to version 2.0
 That way, I think we need to do cartridge releases (tags) for
each Private PaaS release, and need to track the compatibility. Am I right?

On Tue, Sep 29, 2015 at 12:31 PM, Imesh Gunaratne  wrote:

> Hi Devs,
>
> Currently we have all the cartridges in the Private PaaS product
> repository. As a result whenever we introduce a new cartridge we need to do
> a Private PaaS release.
>
> After a discussion with Shankar and the team we thought of introducing a
> new Git repository for cartridges. Please share your thoughts on this.
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com *
*Mobile: 0772269575*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] jaggery-extensions 1.4.3 released to staging

2015-09-29 Thread Udara Rathnayake
tested with product-ues, please go ahead and release

On Tue, Sep 29, 2015 at 2:30 PM, Manuranga Perera  wrote:

> http://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-154/
>
> On Tue, Sep 29, 2015 at 2:24 PM, Udara Rathnayake  wrote:
>
>> Hi Builder team,
>>
>> Please close the repo and provide the URL.
>>
>> Regards,
>> UdaraR
>>
>
>
>
> --
> 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] carbon-dashboards 1.0.4 released to staging

2015-09-29 Thread Udara Rathnayake
Hi Builder team,

Please close the repo and provide the URL.

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


Re: [Dev] jaggery-extensions 1.4.3 released to staging

2015-09-29 Thread Manuranga Perera
http://maven.wso2.org/nexus/content/repositories/orgjaggeryjs-154/

On Tue, Sep 29, 2015 at 2:24 PM, Udara Rathnayake  wrote:

> Hi Builder team,
>
> Please close the repo and provide the URL.
>
> Regards,
> UdaraR
>



-- 
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] [DEV] DepSync url doesn't get updated after carbon.xml is updated

2015-09-29 Thread Chamila De Alwis
Hi,

I've setup an ESB (4.9.0) cluster with one manager and two workers, with
SVN DepSync. This was working initially, however after changing the SVN url
to a different one, the deployment synchronization task fails when the
server is started. The SVN url it's using is still the old one. The SVN
server is up and running, since I can access it via HTTP.

I've copied the SVNKit jars to repository/components/dropins and
repository/components/lib as mentioned in [1].

[2015-09-29 15:20:08,289] ERROR - SVNBasedArtifactRepository Error while
checking out or updating artifacts from the SVN repository
org.tigris.subversion.svnclientadapter.SVNClientException:
org.apache.subversion.javahl.ClientException: svn: E175002: No route to host
svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1132)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:498)
at
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:178)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:96)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:179)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:137)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
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)
Caused by: org.apache.subversion.javahl.ClientException: svn: E175002: No
route to host
svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
at
org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
at
org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
at
org.tmatesoft.svn.core.javahl17.SVNClientImpl.update(SVNClientImpl.java:498)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1127)
... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: No route to
host
svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:775)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:375)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:363)
at
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
at
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
at
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
at
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
at
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:143)
at
org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.createRepository(SvnRepositoryAccess.java:110)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepository(SvnNgRepositoryAccess.java:210)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:194)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:111)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
at
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
at
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at
org.tmatesoft.svn.core.javahl17.SVNClientImpl.update(SVNClientImpl.java:496)
... 13 more
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at

Re: [Dev] [Private PaaS] Moving cartridges to a new Git repository

2015-09-29 Thread Imesh Gunaratne
Cartridges git repository is now available:
https://github.com/wso2/private-paas-cartridges

On Tue, Sep 29, 2015 at 3:26 PM, Imesh Gunaratne  wrote:

> On Tue, Sep 29, 2015 at 1:36 PM, Sajith Kariyawasam 
>  wrote:
>
>>
>> Will there be separate cartridge releases thereafter?
>>
>
> Yes we can do separate releases for cartridges afterwards. That was the
> idea.
>
>>
>>  How do we handle cartridge compatibility with Private PaaS version?
>>
>
> A very good question! May we for each cartridge we can mention the Private
> PaaS version its compatible with.
>
> On Tue, Sep 29, 2015 at 1:36 PM, Sajith Kariyawasam 
> wrote:
>
>> Hi Imesh,
>>
>> Will there be separate cartridge releases thereafter? How do we handle
>> cartridge compatibility with Private PaaS version?
>> For eg, Cartridge A version 1.0 may be compatible with PPaaS 4.1.0. If
>> Cartridge A is improved it may not compatible with PPaaS 4.1.0, so need to
>> version it to version 2.0
>>  That way, I think we need to do cartridge releases (tags)
>> for each Private PaaS release, and need to track the compatibility. Am I
>> right?
>>
>> On Tue, Sep 29, 2015 at 12:31 PM, Imesh Gunaratne  wrote:
>>
>>> Hi Devs,
>>>
>>> Currently we have all the cartridges in the Private PaaS product
>>> repository. As a result whenever we introduce a new cartridge we need to do
>>> a Private PaaS release.
>>>
>>> After a discussion with Shankar and the team we thought of introducing a
>>> new Git repository for cartridges. Please share your thoughts on this.
>>>
>>> Thanks
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Senior Technical Lead
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057
>>> W: http://imesh.gunaratne.org
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sajith Kariyawasam
>> *Committer and PMC member, Apache Stratos, *
>> *WSO2 Inc.; http://wso2.com *
>> *Mobile: 0772269575*
>>
>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>


-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Throttling] Moving throttle.core out from Synapse

2015-09-29 Thread Amila De Silva
Fixed the issue and create a new PR [2].

The problem was, canAccess method in CallerContext has been incrementing
both global and local counts. Due to this, a single request gets counted
twice, and throttling quota gets depleted before reaching the maximum
number of allowed requests.

After fixing the issue, re-ran the integration tests and this
time Throttling related failures couldn't be seen but there were three test
failures. After doing a second run, got two of them passing, but still
there's one failure (which is pasted below) that occurs even on a vanilla
pack. (Results for the two runs can be found at [3] & [4]) .

Test class:
org.wso2.carbon.esb.endpoint.test.ESBJAVA3047Soap12EndpointTestCase
Test method: Sending a Message to a Soap12 endpoint and checks weather
'action' is present in Content-Type header
java.lang.AssertionError: Unable to find the action in Content-type head
for SOAP 1.2 message: header returned [ null] expected: but
was:
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertTrue(Assert.java:37)
at
org.wso2.carbon.esb.endpoint.test.ESBJAVA3047Soap12EndpointTestCase.testSoap12EndpointForAction(ESBJAVA3047Soap12EndpointTestCase.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Is it safe to ignore this failure?

[2] https://github.com/wso2/wso2-synapse/pull/369
[3]
https://drive.google.com/a/wso2.com/file/d/0BxlcfaVDH9iFNkMwSHlpbGwxSlE/view?usp=sharing
[4]
https://drive.google.com/a/wso2.com/file/d/0BxlcfaVDH9iFa2RtQUJaUTB5RlU/view?usp=sharing
On Saturday, September 26, 2015, Amila De Silva  wrote:

> Hi Chanaka,
> Will check this.
>
>
> On Saturday, September 26, 2015, Chanaka Fernando 
> wrote:
>
>> Hi AmilaD,
>>
>> After merging this change, we have seen that there are 3 integration test
>> failures in product-esb[1] . Please check these failures and resend the PR.
>> I'll revert the fix for the moment.
>>
>> [1] https://wso2.org/jenkins/job/product-esb/lastBuild/testReport/
>>
>> On Fri, Sep 25, 2015 at 3:13 PM, Chanaka Fernando 
>> wrote:
>>
>>> Hi Amila,
>>>
>>> PR[1] is merged.
>>>
>>> [1]
>>> https://github.com/wso2/wso2-synapse/commit/d5815b2afcf7f2d9c8e5e5858e8cc45427a07ce0
>>>
>>> On Fri, Sep 25, 2015 at 2:43 PM, Amila De Silva  wrote:
>>>
 Hi,

 Tested RoleBased Throttling on a two node APIM cluster after applying
 new changes. Counts are properly getting replicated across all the nodes.

 On Tue, Sep 15, 2015 at 5:05 PM, Amila De Silva 
 wrote:

> Hi,
>

Re: [Dev] [IS][Workflow] Removing BPEL & HT packages when deleting workflows

2015-09-29 Thread Vinod Kavinda
Hi Kasun,
You need to undeploy the HumanTask and BPEL packages.
Use the following services, BPELPackageManagementService and
HumanTaskPackageManagement for BPEL and HumanTasks respectively.

Thanks and regards,
Vinod Kavinda

On Tue, Sep 29, 2015 at 3:45 PM, Kasun Bandara  wrote:

> Hi,
>
> Currently when we add a Workflow, both HT(Human Task) and BPEL packages
> will deployed in the server side. Although when when we delete the
> associated workflow, the respective BPEL & HT packages are still not get
> deleted from server side.
> (i.e HT and BPEL packages are still resides in IS
> /repository/deployment/server/bpel/ and 
> /repository/deployment/server/humantask/
> respective locations)
>
> What are the API capabilities rendered by BPS side to resolve the $subject.
>
> Thanks and Regards.
>
>
>
>
>
>
> --
> Kasun Bandara
> *Software Engineer*
> Mobile : +94 (0) 718 338 360
> <%2B94%20%280%29%20773%20451194>
> kas...@wso2.com 
>



-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] jaggery-extensions 1.4.3 released to staging

2015-09-29 Thread Udara Rathnayake
Hi Builder team,

Please close the repo and provide the URL.

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


Re: [Dev] WSO2 DAS + BRS

2015-09-29 Thread Imesh Gunaratne
Hi Marco,

Can you please share the axis2.xml file? I doubt whether your clustering
configuration is correct, you can see this in the README file in the above
link:



private-paas
org.wso2.carbon.ppaas.PrivatePaaSBasedMembershipScheme
cluster-1,cluster-2


Technically we cannot use WKA in a cloud environment because instances are
created and stopped dynamically. That's why we introduced Private PaaS
scheme to discover the Hazelcast cluster via the topology.

Thanks

On Tue, Sep 29, 2015 at 1:30 PM, Monaco Marco  wrote:

> Hi Imesh,
>
> no success. I changed the ppaas-membership-scheme-4.1.0-SNAPSHOT.jar with
> a new one generated from mvn clean install in 4.2.0 branch but still have
> the same error.
>
> I'm forced to use wka to let it work.
>
> I also used a different version of DAS application
> (wso2das-3.0.0-BETA2.zip, before I was using wso2das-3.0.0-SNAPSHOT.zip)
> but nothing changed.
>
> Do you know if some of your colleagues have got the same problem with
> Stratos?
>
> Can you let me know?
>
> Thank you,
>
> Marco
>
> --
> *Da:* Imesh Gunaratne [im...@wso2.com]
> *Inviato:* martedì 29 settembre 2015 6.39
> *A:* Monaco Marco
> *Cc:* WSO2 Developers' List
>
> *Oggetto:* Re: WSO2 DAS + BRS
>
> [+ WSO2 Dev]
>
> Hi Marco,
>
> May be you have not copied the Private PaaS membership scheme bundle to
> the lib folder. Please refer below:
>
> https://github.com/wso2/product-private-paas/tree/master/extensions/carbon/ppaas-membership-scheme
>
> Thanks
>
> On Tue, Sep 29, 2015 at 1:23 AM, Monaco Marco 
> wrote:
>
>> Hi Imesh,
>>
>> i'm still having problems with DAS. If I use the cartridge as in the
>> sample (default profile with 2 instances) I receive this error:
>>
>> TID: [-1234] [] [2015-09-28 19:50:57,674]  WARN
>> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
>> localMemberHost is configured to use the loopback address. Hazelcast
>> Clustering needs ip addresses for localMemberHost and well-known members.
>> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
>> TID: [-1234] [] [2015-09-28 19:50:57,674] ERROR
>> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
>> Invalid membership scheme 'private-paas'. Supported schemes are multicast,
>> wka & aws
>> {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
>> TID: [-1234] [] [2015-09-28 19:50:57,675] ERROR
>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Cannot
>> initialize cluster
>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
>> org.apache.axis2.clustering.ClusteringFault: Invalid membership scheme
>> 'private-paas'. Supported schemes are multicast, wka & aws
>> at
>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.getMembershipScheme(HazelcastClusteringAgent.java:423)
>> at
>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.configureMembershipScheme(HazelcastClusteringAgent.java:376)
>> at
>> org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:150)
>> at
>> org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38)
>> at
>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:177)
>> at
>> org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
>> 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.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>> at
>> org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> 

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

2015-09-29 Thread Nandika Jayawardana
Hi Firzhan,

Need to include the license text file with updated jar versions.

Nandika

On Sat, Sep 26, 2015 at 4:56 PM, Firzhan Naqash  wrote:

>
> Hi Devs,
>
> WSO2 BPS 3.5.0 RC1 Release Vote
>
> This release fixes the following issues:
> https://wso2.org/jira/browse/BPS-604?filter=12415
>
> Please download BPS 3.5.0 RC1 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/RC1/
>
> Maven staging repository:
> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-151/
>
> The tag to be voted upon :
> https://github.com/wso2/product-bps/releases/tag/v3.5.0-RC1
>
>
> [-] 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 
> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
> blog: http://firzhanblogger.blogspot.com/
>   *
> *twitter: https://twitter.com/firzhan007
>  | linked-in: 
> **https://www.linkedin.com/in/firzhan
> *
>



-- 
Nandika Jayawardana
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Private PaaS] Moving cartridges to a new Git repository

2015-09-29 Thread Imesh Gunaratne
On Tue, Sep 29, 2015 at 1:36 PM, Sajith Kariyawasam  wrote:

>
> Will there be separate cartridge releases thereafter?
>

Yes we can do separate releases for cartridges afterwards. That was the
idea.

>
>  How do we handle cartridge compatibility with Private PaaS version?
>

A very good question! May we for each cartridge we can mention the Private
PaaS version its compatible with.

On Tue, Sep 29, 2015 at 1:36 PM, Sajith Kariyawasam  wrote:

> Hi Imesh,
>
> Will there be separate cartridge releases thereafter? How do we handle
> cartridge compatibility with Private PaaS version?
> For eg, Cartridge A version 1.0 may be compatible with PPaaS 4.1.0. If
> Cartridge A is improved it may not compatible with PPaaS 4.1.0, so need to
> version it to version 2.0
>  That way, I think we need to do cartridge releases (tags) for
> each Private PaaS release, and need to track the compatibility. Am I right?
>
> On Tue, Sep 29, 2015 at 12:31 PM, Imesh Gunaratne  wrote:
>
>> Hi Devs,
>>
>> Currently we have all the cartridges in the Private PaaS product
>> repository. As a result whenever we introduce a new cartridge we need to do
>> a Private PaaS release.
>>
>> After a discussion with Shankar and the team we thought of introducing a
>> new Git repository for cartridges. Please share your thoughts on this.
>>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Senior Technical Lead
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: http://imesh.gunaratne.org
>> Lean . Enterprise . Middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sajith Kariyawasam
> *Committer and PMC member, Apache Stratos, *
> *WSO2 Inc.; http://wso2.com *
> *Mobile: 0772269575*
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS][Workflow] Removing BPEL & HT packages when deleting workflows

2015-09-29 Thread Kasun Bandara
Hi,

Currently when we add a Workflow, both HT(Human Task) and BPEL packages
will deployed in the server side. Although when when we delete the
associated workflow, the respective BPEL & HT packages are still not get
deleted from server side.
(i.e HT and BPEL packages are still resides in IS
/repository/deployment/server/bpel/ and
/repository/deployment/server/humantask/
respective locations)

What are the API capabilities rendered by BPS side to resolve the $subject.

Thanks and Regards.






-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
<%2B94%20%280%29%20773%20451194>
kas...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS][Workflow] Removing BPEL & HT packages when deleting workflows

2015-09-29 Thread Kasun Bandara
Hi Vinod,

Thanks for the prompt reply. Will do the needful.

Thanks and Regards.

On Tue, Sep 29, 2015 at 4:28 PM, Vinod Kavinda  wrote:

> Hi Kasun,
> You need to undeploy the HumanTask and BPEL packages.
> Use the following services, BPELPackageManagementService and
> HumanTaskPackageManagement for BPEL and HumanTasks respectively.
>
> Thanks and regards,
> Vinod Kavinda
>
> On Tue, Sep 29, 2015 at 3:45 PM, Kasun Bandara  wrote:
>
>> Hi,
>>
>> Currently when we add a Workflow, both HT(Human Task) and BPEL packages
>> will deployed in the server side. Although when when we delete the
>> associated workflow, the respective BPEL & HT packages are still not get
>> deleted from server side.
>> (i.e HT and BPEL packages are still resides in IS
>> /repository/deployment/server/bpel/ and 
>> /repository/deployment/server/humantask/
>> respective locations)
>>
>> What are the API capabilities rendered by BPS side to resolve the
>> $subject.
>>
>> Thanks and Regards.
>>
>>
>>
>>
>>
>>
>> --
>> Kasun Bandara
>> *Software Engineer*
>> Mobile : +94 (0) 718 338 360
>> <%2B94%20%280%29%20773%20451194>
>> kas...@wso2.com 
>>
>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware .*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
<%2B94%20%280%29%20773%20451194>
kas...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Kasun Indrasiri
Can we get this fixed in C5 soon please. This is a blocker for the pert
testing automation of C5 based servers.

On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake 
wrote:

> Hi Aruna,
>
> The fix is not making any effect on the issue , I've tried building the
> server but the problem is still the same , can you please look into it?
>
> Thank You.
>
> On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri  wrote:
>
>> Thanks a lor Anura.
>>
>> @Bhanuka : Can we please test this.
>>
>> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
>> wrote:
>>
>>> @Kasun
>>>
>>> This is fixed with [1].
>>>
>>> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>>>
>>>
>>> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
>>> wrote:
>>>


 On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga  wrote:

>
>
> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
>> wrote:
>>
>>> Hi Aruna,
>>>
>>> Will you be able to provide some insight.. We need this capability
>>> to automate perf-testing of the C5 based servers. So, would be great if 
>>> we
>>> can have a solution soon.
>>>
>>
>> Hi Kasun,
>>
>> Seems like the wso2carbon.pid file (which contains the process id of
>> the server) is not generated by the server. Haven't gone through the code
>> level.
>>
>
> AFAIR this is generated from the wso2server.sh
>

 Nope. It's added through code[1]. And its being read by the
 wso2server.sh.. :)

 @Kasun. I went through the code. We will be able to add a fix for this
 soon.

 [1].
 https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168


>
>
>
>> Until finding a proper solution what you can do is, after starting
>> the server create a wso2carbon.pid file in the root folder and add the
>> carbon process id.
>> You can get the carbon process id by jps command. Not sure this is a
>> feasible workaround for your perf-testing scenario,
>>
>> Regards,
>> Aruna
>>
>>>
>>> Thanks,
>>> Kasun.
>>>
>>> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna >> > wrote:
>>>
 Hi Bhanuka,

 Yes I was able to reproduce the same. Can you create a jira for
 this?..

 Regards,
 Aruna

 On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
 bhan...@wso2.com> wrote:

> Hi,
>
> I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have
> tried to start and stop the server demonically. The start command is
> working but the stop command gives the following error.
>
> cat:
> /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
> No such file or directory
> ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
> -sigspec] [pid | job]... or
> kill -l [exitstatus]
>
> --
> *Bhanuka Dissanayake*
> *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
> *
> Mobile : +94 777 669508
> Tel  : +94 112 793214
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 *Aruna Sujith Karunarathna *| Software Engineer
 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


>>>
>>>
>>> --
>>> Kasun Indrasiri
>>> Software Architect
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> cell: +94 77 556 5206
>>> Blog : http://kasunpanorama.blogspot.com/
>>>
>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> 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
>>
>>
>
>
> --
> 

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Bhanuka Dissanayake
Hi Aruna,

The fix is not making any effect on the issue , I've tried building the
server but the problem is still the same , can you please look into it?

Thank You.

On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri  wrote:

> Thanks a lor Anura.
>
> @Bhanuka : Can we please test this.
>
> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
> wrote:
>
>> @Kasun
>>
>> This is fixed with [1].
>>
>> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>>
>>
>> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga  wrote:
>>>


 On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna 
 wrote:

>
>
> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
> wrote:
>
>> Hi Aruna,
>>
>> Will you be able to provide some insight.. We need this capability to
>> automate perf-testing of the C5 based servers. So, would be great if we 
>> can
>> have a solution soon.
>>
>
> Hi Kasun,
>
> Seems like the wso2carbon.pid file (which contains the process id of
> the server) is not generated by the server. Haven't gone through the code
> level.
>

 AFAIR this is generated from the wso2server.sh

>>>
>>> Nope. It's added through code[1]. And its being read by the
>>> wso2server.sh.. :)
>>>
>>> @Kasun. I went through the code. We will be able to add a fix for this
>>> soon.
>>>
>>> [1].
>>> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168
>>>
>>>



> Until finding a proper solution what you can do is, after starting the
> server create a wso2carbon.pid file in the root folder and add the carbon
> process id.
> You can get the carbon process id by jps command. Not sure this is a
> feasible workaround for your perf-testing scenario,
>
> Regards,
> Aruna
>
>>
>> Thanks,
>> Kasun.
>>
>> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna 
>> wrote:
>>
>>> Hi Bhanuka,
>>>
>>> Yes I was able to reproduce the same. Can you create a jira for
>>> this?..
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
>>> bhan...@wso2.com> wrote:
>>>
 Hi,

 I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have
 tried to start and stop the server demonically. The start command is
 working but the stop command gives the following error.

 cat:
 /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
 No such file or directory
 ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
 -sigspec] [pid | job]... or
 kill -l [exitstatus]

 --
 *Bhanuka Dissanayake*
 *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
 *
 Mobile : +94 777 669508
 Tel  : +94 112 793214
 lean.enterprise.middleware

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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> 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
>>>
>>>
>>
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> 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
>
>


 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com 
 mobile: +94 (0)71 56 91 321

>>>
>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 9040362 | Work: +94 

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Aruna Karunarathna
On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake 
wrote:

> Hi Aruna,
>
> The fix is not making any effect on the issue , I've tried building the
> server but the problem is still the same , can you please look into it?
>

What repository did you build?.. BTW PR is not still merged. Did you build
adding the fix?..

>
> Thank You.
>
> On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri  wrote:
>
>> Thanks a lor Anura.
>>
>> @Bhanuka : Can we please test this.
>>
>> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
>> wrote:
>>
>>> @Kasun
>>>
>>> This is fixed with [1].
>>>
>>> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>>>
>>>
>>> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
>>> wrote:
>>>


 On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga  wrote:

>
>
> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
>> wrote:
>>
>>> Hi Aruna,
>>>
>>> Will you be able to provide some insight.. We need this capability
>>> to automate perf-testing of the C5 based servers. So, would be great if 
>>> we
>>> can have a solution soon.
>>>
>>
>> Hi Kasun,
>>
>> Seems like the wso2carbon.pid file (which contains the process id of
>> the server) is not generated by the server. Haven't gone through the code
>> level.
>>
>
> AFAIR this is generated from the wso2server.sh
>

 Nope. It's added through code[1]. And its being read by the
 wso2server.sh.. :)

 @Kasun. I went through the code. We will be able to add a fix for this
 soon.

 [1].
 https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168


>
>
>
>> Until finding a proper solution what you can do is, after starting
>> the server create a wso2carbon.pid file in the root folder and add the
>> carbon process id.
>> You can get the carbon process id by jps command. Not sure this is a
>> feasible workaround for your perf-testing scenario,
>>
>> Regards,
>> Aruna
>>
>>>
>>> Thanks,
>>> Kasun.
>>>
>>> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna >> > wrote:
>>>
 Hi Bhanuka,

 Yes I was able to reproduce the same. Can you create a jira for
 this?..

 Regards,
 Aruna

 On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
 bhan...@wso2.com> wrote:

> Hi,
>
> I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have
> tried to start and stop the server demonically. The start command is
> working but the stop command gives the following error.
>
> cat:
> /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
> No such file or directory
> ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
> -sigspec] [pid | job]... or
> kill -l [exitstatus]
>
> --
> *Bhanuka Dissanayake*
> *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
> *
> Mobile : +94 777 669508
> Tel  : +94 112 793214
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 *Aruna Sujith Karunarathna *| Software Engineer
 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


>>>
>>>
>>> --
>>> Kasun Indrasiri
>>> Software Architect
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> cell: +94 77 556 5206
>>> Blog : http://kasunpanorama.blogspot.com/
>>>
>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> 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
>>
>>
>
>
> --
> Supun Malinga,
>

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Aruna Karunarathna
On Tue, Sep 29, 2015 at 10:22 PM, Bhanuka Dissanayake 
wrote:

> Hi ,
>
> Yes I tried adding the fix on branch 5.0.X and master both are not
> effective.
>

Can you elaborate more on the commands you've used to start and stop the
server?..

>
> On Tue, Sep 29, 2015 at 8:36 PM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake 
>> wrote:
>>
>>> Hi Aruna,
>>>
>>> The fix is not making any effect on the issue , I've tried building the
>>> server but the problem is still the same , can you please look into it?
>>>
>>
>> What repository did you build?.. BTW PR is not still merged. Did you
>> build adding the fix?..
>>
>>>
>>> Thank You.
>>>
>>> On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri  wrote:
>>>
 Thanks a lor Anura.

 @Bhanuka : Can we please test this.

 On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
 wrote:

> @Kasun
>
> This is fixed with [1].
>
> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>
>
> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
> wrote:
>
>>
>>
>> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga 
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna 
>>> wrote:
>>>


 On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
 wrote:

> Hi Aruna,
>
> Will you be able to provide some insight.. We need this capability
> to automate perf-testing of the C5 based servers. So, would be great 
> if we
> can have a solution soon.
>

 Hi Kasun,

 Seems like the wso2carbon.pid file (which contains the process id
 of the server) is not generated by the server. Haven't gone through the
 code level.

>>>
>>> AFAIR this is generated from the wso2server.sh
>>>
>>
>> Nope. It's added through code[1]. And its being read by the
>> wso2server.sh.. :)
>>
>> @Kasun. I went through the code. We will be able to add a fix for
>> this soon.
>>
>> [1].
>> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168
>>
>>
>>>
>>>
>>>
 Until finding a proper solution what you can do is, after starting
 the server create a wso2carbon.pid file in the root folder and add the
 carbon process id.
 You can get the carbon process id by jps command. Not sure this is
 a feasible workaround for your perf-testing scenario,

 Regards,
 Aruna

>
> Thanks,
> Kasun.
>
> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna <
> ar...@wso2.com> wrote:
>
>> Hi Bhanuka,
>>
>> Yes I was able to reproduce the same. Can you create a jira for
>> this?..
>>
>> Regards,
>> Aruna
>>
>> On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
>> bhan...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and
>>> have tried to start and stop the server demonically. The start 
>>> command is
>>> working but the stop command gives the following error.
>>>
>>> cat:
>>> /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
>>> No such file or directory
>>> ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
>>> -sigspec] [pid | job]... or
>>> kill -l [exitstatus]
>>>
>>> --
>>> *Bhanuka Dissanayake*
>>> *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
>>> *
>>> Mobile : +94 777 669508
>>> Tel  : +94 112 793214
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Sujith Karunarathna *| Software Engineer
>> 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
>>
>>
>
>
> --
> Kasun Indrasiri
> Software Architect

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Bhanuka Dissanayake
I started the server with "sh wso2server.sh start" or "./wso2server.sh
start" command(s) and tried stopping with "sh wso2server.sh stop" or
"./wso2server.sh stop"

On Tue, Sep 29, 2015 at 10:28 PM, Aruna Karunarathna  wrote:

>
>
> On Tue, Sep 29, 2015 at 10:22 PM, Bhanuka Dissanayake 
> wrote:
>
>> Hi ,
>>
>> Yes I tried adding the fix on branch 5.0.X and master both are not
>> effective.
>>
>
> Can you elaborate more on the commands you've used to start and stop the
> server?..
>
>>
>> On Tue, Sep 29, 2015 at 8:36 PM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake 
>>> wrote:
>>>
 Hi Aruna,

 The fix is not making any effect on the issue , I've tried building the
 server but the problem is still the same , can you please look into it?

>>>
>>> What repository did you build?.. BTW PR is not still merged. Did you
>>> build adding the fix?..
>>>

 Thank You.

 On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri 
 wrote:

> Thanks a lor Anura.
>
> @Bhanuka : Can we please test this.
>
> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
> wrote:
>
>> @Kasun
>>
>> This is fixed with [1].
>>
>> [1]. https://github.com/wso2/carbon4-kernel/pull/504
>>
>>
>> On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga 
>>> wrote:
>>>


 On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna  wrote:

>
>
> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
> wrote:
>
>> Hi Aruna,
>>
>> Will you be able to provide some insight.. We need this
>> capability to automate perf-testing of the C5 based servers. So, 
>> would be
>> great if we can have a solution soon.
>>
>
> Hi Kasun,
>
> Seems like the wso2carbon.pid file (which contains the process id
> of the server) is not generated by the server. Haven't gone through 
> the
> code level.
>

 AFAIR this is generated from the wso2server.sh

>>>
>>> Nope. It's added through code[1]. And its being read by the
>>> wso2server.sh.. :)
>>>
>>> @Kasun. I went through the code. We will be able to add a fix for
>>> this soon.
>>>
>>> [1].
>>> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168
>>>
>>>



> Until finding a proper solution what you can do is, after starting
> the server create a wso2carbon.pid file in the root folder and add the
> carbon process id.
> You can get the carbon process id by jps command. Not sure this is
> a feasible workaround for your perf-testing scenario,
>
> Regards,
> Aruna
>
>>
>> Thanks,
>> Kasun.
>>
>> On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna <
>> ar...@wso2.com> wrote:
>>
>>> Hi Bhanuka,
>>>
>>> Yes I was able to reproduce the same. Can you create a jira for
>>> this?..
>>>
>>> Regards,
>>> Aruna
>>>
>>> On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
>>> bhan...@wso2.com> wrote:
>>>
 Hi,

 I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and
 have tried to start and stop the server demonically. The start 
 command is
 working but the stop command gives the following error.

 cat:
 /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
 No such file or directory
 ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
 -sigspec] [pid | job]... or
 kill -l [exitstatus]

 --
 *Bhanuka Dissanayake*
 *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
 *
 Mobile : +94 777 669508
 Tel  : +94 112 793214
 lean.enterprise.middleware

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


>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, 

[Dev] WSO2 Data Services Server 3.5.0 Beta1 Released

2015-09-29 Thread Rajith Vitharana
WSO2 Data Services Team is pleased to announce WSO2 Data Service Server
3.5.0 Beta1 Release. You can download the pack from location [1] and [2].
Javadocs can be found in [3]. Below are the improvements, bug fixes
included in the release.

Bug

   - [DS-1005 ] - JSON output mapping
   gives errors for empty values
   - [DS-1024 ] - CDATA is not
   inserting in Mongo DB using DSS
   - [DS-1055 ] - WSO2 Data Services
   Server doesn't support the new excel files (.xlsx) as the data source
   - [DS-1073 ] - Faulty data service
   cannot be deleted from the UI
   - [DS-1080 ] - Cannot connect to
   Informix DB without using username/password
   - [DS-1084 ] - Exception occurred
   when a Struct type output parameter has more than 10 elements
   - [DS-1103 ] - Existing
   Dataservice will modify when creating a new Data Services with existing
   data service
   - [DS-1110 ] - When invoking excel
   data service parallelly, sometimes throws an error
   - [DS-1113 ] - Excel sheet
   modifying did not work when using excel file from registry

Improvement

   - [DS- ] - Provide an
   Extension point if role based filtering needs to be done against a third
   party authorization provider

Task

   - [DS-1112 ] - Upgrade odata server

Sub-task

   - [DS-1114 ] - Test Cases


[1] -
https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/Beta1/wso2dss-3.5.0-SNAPSHOT.zip
[2] -
https://github.com/wso2/product-dss/releases/download/3.5.0-Beta1/wso2dss-3.5.0-SNAPSHOT.zip
[3] -
https://svn.wso2.org/repos/wso2/scratch/DSS/3.5.0/Beta1/javaDocs/index.html

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


Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-29 Thread Bhanuka Dissanayake
Hi ,

Yes I tried adding the fix on branch 5.0.X and master both are not
effective.

On Tue, Sep 29, 2015 at 8:36 PM, Aruna Karunarathna  wrote:

>
>
> On Tue, Sep 29, 2015 at 8:07 PM, Bhanuka Dissanayake 
> wrote:
>
>> Hi Aruna,
>>
>> The fix is not making any effect on the issue , I've tried building the
>> server but the problem is still the same , can you please look into it?
>>
>
> What repository did you build?.. BTW PR is not still merged. Did you build
> adding the fix?..
>
>>
>> Thank You.
>>
>> On Thu, Sep 24, 2015 at 2:42 PM, Kasun Indrasiri  wrote:
>>
>>> Thanks a lor Anura.
>>>
>>> @Bhanuka : Can we please test this.
>>>
>>> On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna 
>>> wrote:
>>>
 @Kasun

 This is fixed with [1].

 [1]. https://github.com/wso2/carbon4-kernel/pull/504


 On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna 
 wrote:

>
>
> On Wed, Sep 23, 2015 at 9:51 AM, Supun Malinga 
> wrote:
>
>>
>>
>> On Wed, Sep 23, 2015 at 9:06 AM, Aruna Karunarathna 
>> wrote:
>>
>>>
>>>
>>> On Tue, Sep 22, 2015 at 11:23 AM, Kasun Indrasiri 
>>> wrote:
>>>
 Hi Aruna,

 Will you be able to provide some insight.. We need this capability
 to automate perf-testing of the C5 based servers. So, would be great 
 if we
 can have a solution soon.

>>>
>>> Hi Kasun,
>>>
>>> Seems like the wso2carbon.pid file (which contains the process id of
>>> the server) is not generated by the server. Haven't gone through the 
>>> code
>>> level.
>>>
>>
>> AFAIR this is generated from the wso2server.sh
>>
>
> Nope. It's added through code[1]. And its being read by the
> wso2server.sh.. :)
>
> @Kasun. I went through the code. We will be able to add a fix for this
> soon.
>
> [1].
> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java#L168
>
>
>>
>>
>>
>>> Until finding a proper solution what you can do is, after starting
>>> the server create a wso2carbon.pid file in the root folder and add the
>>> carbon process id.
>>> You can get the carbon process id by jps command. Not sure this is a
>>> feasible workaround for your perf-testing scenario,
>>>
>>> Regards,
>>> Aruna
>>>

 Thanks,
 Kasun.

 On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna <
 ar...@wso2.com> wrote:

> Hi Bhanuka,
>
> Yes I was able to reproduce the same. Can you create a jira for
> this?..
>
> Regards,
> Aruna
>
> On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake <
> bhan...@wso2.com> wrote:
>
>> Hi,
>>
>> I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and
>> have tried to start and stop the server demonically. The start 
>> command is
>> working but the stop command gives the following error.
>>
>> cat:
>> /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid:
>> No such file or directory
>> ./wso2server.sh: 188: kill: Usage: kill [-s sigspec | -signum |
>> -sigspec] [pid | job]... or
>> kill -l [exitstatus]
>>
>> --
>> *Bhanuka Dissanayake*
>> *Software Engineer* *Intern; WSO2, Inc.; http://www.wso2.com
>> *
>> Mobile : +94 777 669508
>> Tel  : +94 112 793214
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> 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
>
>


 --
 Kasun Indrasiri
 Software Architect
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 77 556 5206
 Blog : http://kasunpanorama.blogspot.com/

>>>
>>>
>>>
>>> --
>>>
>>> *Aruna Sujith Karunarathna *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> 

[Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-09-29 Thread Firzhan Naqash
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 
mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
blog: http://firzhanblogger.blogspot.com/
  *
*twitter: https://twitter.com/firzhan007  |
linked-in: **https://www.linkedin.com/in/firzhan
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How do I override Siddhi's default sequence and pattern matching functionality?

2015-09-29 Thread Tishan Dahanayakage
Hi Jonathan,

Your requirement can be achieved by using a custom time window extension.
It can be implemented using java and then used within Siddhi query.
Following documentation will Introduce you to extending Siddhi [1] and
writing window extensions [2]. These extensions are formerly known as
'stream function extensions' since they operate on incoming event stream.
Within the process method you can implement your processing logic and
within init method you can perform whatever the initialization tasks that
you want.

On another note while I acknowledge that this approach is CPU efficient, if
the time period for which you evaluate the pattern is small then this
improvement will only have minor impact. In a case like that you can use
in-built pattern functionality of Siddhi [3].

[1]
https://docs.wso2.com/display/CEP400/SiddhiQL+Guide+3.0#SiddhiQLGuide3.0-SiddhiExtensions
[2]
https://docs.wso2.com/display/CEP400/Writing+a+Custom+Stream+Function+Extension
[3]
https://docs.wso2.com/display/CEP400/SiddhiQL+Guide+3.0#SiddhiQLGuide3.0-Pattern

Thanks
Tishan

On Thu, Sep 24, 2015 at 2:09 PM, Jonathan Yom-Tov 
wrote:

> hi,
>
> I'd like to write an extension to Siddhi that changes the way it finds
> event sequences and patterns. The idea would is that I would be trying to
> find sequences/patterns in order of selectivity, not time. For example, say
> I wanted to match A->B->C, but I know that C is the rarest event, followed
> by B and A. So I would keep a buffer of events until I found a C event,
> then look for a B event in the buffer, then for an A. According to
> http://assaf.net.technion.ac.il/files/2013/01/DEBS-2015.pdf this would
> make the matching significantly more efficient in terms of CPU and memory
> required.
>
> The problem is, I'm not sure which classes I should override/look into.
> As it's the actual pattern matching functionality I have to modify it seems
> extending Windows, Transformers, OutputAttributeProcessors, Functions is
> not the way to go. Does anyone have any pointers?
>
> thanks,
> Jon.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] DepSync url doesn't get updated after carbon.xml is updated

2015-09-29 Thread Dinesh J Weerakkody
Hi Chamila,
It seems like that your new SVN server url cannot be resolved from the
client. See the error message "java.net.NoRouteToHostException: No route to
host". Can you try to check whether you can reach the SVN server using ping
or tracert.

Thanks

*Dinesh J. Weerakkody*
Software Engineer
WSO2 Inc.
lean | enterprise | middleware
M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com

On Tue, Sep 29, 2015 at 3:27 PM, Chamila De Alwis  wrote:

> Hi,
>
> I've setup an ESB (4.9.0) cluster with one manager and two workers, with
> SVN DepSync. This was working initially, however after changing the SVN url
> to a different one, the deployment synchronization task fails when the
> server is started. The SVN url it's using is still the old one. The SVN
> server is up and running, since I can access it via HTTP.
>
> I've copied the SVNKit jars to repository/components/dropins and
> repository/components/lib as mentioned in [1].
>
> [2015-09-29 15:20:08,289] ERROR - SVNBasedArtifactRepository Error while
> checking out or updating artifacts from the SVN repository
> org.tigris.subversion.svnclientadapter.SVNClientException:
> org.apache.subversion.javahl.ClientException: svn: E175002: No route to host
> svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
> at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1132)
> at
> org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:498)
> at
> org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:178)
> at
> org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:96)
> at
> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:179)
> at
> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:137)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> 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)
> Caused by: org.apache.subversion.javahl.ClientException: svn: E175002: No
> route to host
> svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
> at
> org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
> at
> org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
> at
> org.tmatesoft.svn.core.javahl17.SVNClientImpl.update(SVNClientImpl.java:498)
> at
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1127)
> ... 12 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: No route to
> host
> svn: E175002: OPTIONS request failed on '/svn/SampleProject/-1234'
> at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
> at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
> at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:775)
> at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:375)
> at
> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:363)
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:143)
> at
> org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.createRepository(SvnRepositoryAccess.java:110)
> at
> org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepository(SvnNgRepositoryAccess.java:210)
> at
> org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:194)
> at
> org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:111)
> at
> org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
> at
> org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
> at
> 

[Dev] [BPS] Bulk BPEL event handler execution

2015-09-29 Thread Praminda Jayawardana
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error starting G-Reg 5.0.0

2015-09-29 Thread Ajith Vitharana
Hi All

When I restart the server , I'm getting following exception.

[2015-09-29 14:12:23,171]  INFO {org.apache.catalina.startup.TaglibUriRule}
-  TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined

!ENTRY org.eclipse.equinox.ds 2 0 2015-09-29 14:12:33.310
!MESSAGE Getting a lock required more than 1 ms. There might be a
synchronization problem in this callstack or just the build/dispose process
of some components took too long!
!STACK 0
java.lang.Exception: Debug stacktrace
at
org.eclipse.equinox.internal.ds.InstanceProcess.getLock(InstanceProcess.java:120)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:159)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
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)

-Ajith

On Tue, Sep 29, 2015 at 2:13 PM, Ajith Vitharana  wrote:

> Hi All,
>
> I got the following exception when starting a fresh G-Reg 5.0.0 pack.
>
>
> !ENTRY org.eclipse.equinox.ds 4 0 2015-09-29 14:09:31.553
> !MESSAGE [SCR] Exception while activating instance
> org.wso2.carbon.identity.application.authentication.framework.internal.FrameworkServiceComponent@72a4e728
> of component identity.application.authentication.framework.component
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
> 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
>