Re: [Dev] Need a fix to Jaggery core to retrieve attributes from RequestHostObject

2015-03-25 Thread Ranga Siriwardena
Hi,

Is this committed ? Is there a new jaggery version with this patch ?

Thank You.
Ranga.


On Tue, Jan 27, 2015 at 9:51 AM, Ayesha Dissanayaka  wrote:

> Hi,
>
> I'll look into this.
>
> On Mon, Jan 26, 2015 at 6:27 PM, Ruchira Wageesha 
> wrote:
>
>> @Ayesha,
>>
>> Can you please work on this?
>>
>> /Ruchira
>>
>> On Mon, Jan 26, 2015 at 6:09 PM, Ranga Siriwardena 
>> wrote:
>>
>>>
>>>
>>> On Mon, Jan 26, 2015 at 6:02 PM, Ruchira Wageesha 
>>> wrote:
>>>
 Hi Ranga,

 What is your current Jaggery version and are you in carbon 4.2.x?

>>>
>>> Jaggery Version is 0.9.0.ALPHA4_wso2v1 and we are in carbon 4.2.x.
>>>
>>>
>>>

 On Mon, Jan 26, 2015 at 5:57 PM, Ranga Siriwardena 
 wrote:

> Hi Jaggery team,
>
> Any update on this ? Can we get a minor release with this patch.
>
> Thank You.
> Ranga.
>
> On Tue, Dec 23, 2014 at 6:40 PM, Ranga Siriwardena 
> wrote:
>
>> Hi,
>>
>> $Subject. This is an important fix for next AM release and I have
>> created a JIRA[1] to track this. Required patch also attached to the 
>> JIRA.
>> We will upgrade the Jaggery features in AM, once this patch is applied.
>>
>> [1] https://wso2.org/jira/browse/JAGGERY-401
>>
>> Thank You.
>> Ranga.
>>
>> --
>> Ranga Siriwardena
>> Software Engineer
>> WSO2 Inc.
>>
>
>
>
> --
> Ranga Siriwardena
> Software Engineer
> Mobile: +94779808031
> WSO2 Inc.
>



 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 *

 *email: ruch...@wso2.com ,   blog:
 ruchirawageesha.blogspot.com ,
 mobile: +94 77 5493444 <%2B94%2077%205493444>*

>>>
>>>
>>> Thank You.
>>> Ranga.
>>> --
>>> Ranga Siriwardena
>>> Software Engineer
>>> Mobile: +94779808031
>>> WSO2 Inc.
>>>
>>
>>
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com ,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>
>
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> 
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>



-- 
Ranga Siriwardena
Software Engineer
Mobile: +94779808031
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure while building the carbon mediation in develop branch

2015-03-25 Thread Chanaka Fernando
Hi Kathees,

What is the java version you are using to build the code? If it is 1.7,
then use 1.6.

Thanks,
Chanaka

On Thu, Mar 26, 2015 at 11:47 AM, Kathees Rajendram 
wrote:

> Hi,
>
> I am getting the following build failure while building the carbon
> mediation from develop branch.
> This failure occurs due to
> org.apache.synapse.transport.passthru.core.ssl.SSLConfiguration is not
> resolved in org.wso2.carbon.inbound.endpoint.persistence module.
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon Mediation - Aggregator Pom  SUCCESS [0.525s]
> [INFO] WSO2 Carbon - Business Adaptors Aggregator Module . SUCCESS [0.168s]
> [INFO] WSO2 Carbon - HL7 Store Stub .. SUCCESS
> [1:02.619s]
> [INFO] WSO2 Carbon - Endpoint Editor Stub  SUCCESS [3.467s]
> [INFO] WSO2 Carbon - localentry Stub . SUCCESS [3.057s]
> [INFO] WSO2 Carbon - Synapse Artifact Uploader Stub .. SUCCESS [2.160s]
> [INFO] WSO2 Carbon - Synapse Configuration Service Administrator Stub
> SUCCESS [2.936s]
> [INFO] WSO2 Carbon - Mediation Library (Synapse) Management Stub  SUCCESS
> [4.056s]
> [INFO] WSO2 Carbon - Mediation Security Stub . SUCCESS [1.902s]
> [INFO] WSO2 Carbon - Template Editor Service Administrator Stub  SUCCESS
> [4.325s]
> [INFO] WSO2 Carbon - BAM Mediator Configuration Stub . SUCCESS [2.582s]
> [INFO] WSO2 Carbon - Class Mediator Admin Stub ... SUCCESS [1.752s]
> [INFO] WSO2 Carbon - Command Mediator Admin Stub . SUCCESS [1.732s]
> [INFO] WSO2 Carbon - Event Mediator Admin Stub ... SUCCESS [2.019s]
> [INFO] WSO2 Carbon - Message Processor Stub .. SUCCESS [2.831s]
> [INFO] WSO2 Carbon - Message Store Stub .. SUCCESS [2.802s]
> [INFO] WSO2 Carbon - Proxy Services Admin Stub ... SUCCESS [3.236s]
> [INFO] WSO2 Carbon - Sequence Editor Stub  SUCCESS [3.394s]
> [INFO] WSO2 Carbon - Task Stub ... SUCCESS [2.406s]
> [INFO] WSO2 Carbon - Priority Mediation Stub . SUCCESS [1.907s]
> [INFO] WSO2 Carbon - Rest API Admin Stub . SUCCESS [3.615s]
> [INFO] WSO2 Carbon - Inbound Stub  SUCCESS [2.372s]
> [INFO] WSO2 Carbon - ESB NTask Stub .. SUCCESS [2.466s]
> [INFO] WSO2 Carbon - Business Adaptors Aggregator Module . SUCCESS [0.046s]
> [INFO] WSO2 Carbon - Mediation Statistics Stub ... SUCCESS [2.829s]
> [INFO] WSO2 Carbon - Mediation Tracer Stub ... SUCCESS [2.375s]
> [INFO] application-mgt-stub .. SUCCESS [0.016s]
> [INFO] WSO2 Carbon - Application Management Synapse Stub . SUCCESS [2.369s]
> [INFO] WSO2 Carbon - Synapse Registries Aggregator Module  SUCCESS [0.014s]
> [INFO] WSO2 Carbon - Mediation Registries  SUCCESS
> [45.186s]
> [INFO] WSO2 Carbon - Mediation Initializer Aggregator Module  SUCCESS
> [0.015s]
> [INFO] WSO2 Carbon - Mediator Bridge . SUCCESS [0.492s]
> [INFO] WSO2 Carbon - Mediators Aggregator Module . SUCCESS [0.013s]
> [INFO] WSO2 Carbon - Router Mediator Aggregator Module ... SUCCESS [0.014s]
> [INFO] WSO2 Carbon - Router mediator . SUCCESS [1.031s]
> [INFO] WSO2 Carbon - Mediation Dependency Management . SUCCESS
> [10.759s]
> [INFO] WSO2 Carbon - Mediation admin- Aggregator Module .. SUCCESS [0.012s]
> [INFO] WSO2 Carbon - Task Services ... SUCCESS [0.855s]
> [INFO] WSO2 Carbon - ntask Integration core .. SUCCESS [1.282s]
> [INFO] WSO2 Carbon - Inbound Endpoint Module . SUCCESS [0.261s]
> [INFO] org.wso2.carbon.inbound.endpoint.persistence .. FAILURE [0.645s]
> [INFO] WSO2 Carbon - Clustering Integration .. SKIPPED
> [INFO] org.wso2.carbon.inbound.endpoint .. SKIPPED
> [INFO] WSO2 Carbon - Mediation Initializer ... SKIPPED
> [INFO] WSO2 Carbon - Mediation UI Menu Initializer ... SKIPPED
> [INFO] WSO2 Carbon Mediation - Transport Handlers  SKIPPED
> [INFO] WSO2 Carbon - Mediation Monitor - Aggregator Module  SKIPPED
> [INFO] WSO2 Carbon - Message Relay Parent  SKIPPED
> [INFO] WSO2 Carbon - Message Relay ... SKIPPED
> [INFO] WSO2 Carbon - Message Relay Builder Mediator .. SKIPPED
> [INFO] WSO2 Carbon - Message Relay Module  SKIPPED
> [INFO] WSO2 Carbon - Mediation Statistics Aggregator Module  SKIPPED
> [INFO] WSO2 Carbon - Mediation statistics BE . SKIPPED
> [INFO] WSO2 Carbon - Mediation Statistics UI . SKIPPED
> [INFO] WSO2 Carbon - Mediation Tracer Aggregator Module .. SKIPPED
> [INFO] WSO2 Carbon - Mediation Tracer BE . SKIPPED
> [INFO] WSO2 Carbon - Mediation Tracer UI . SKIPPED
> [INFO] WSO2 Carbon - Proxy Services Admin BE . SKIPPED
> [INFO] WSO2 Carbon - Mediator OSGi Service ... SKIPPED
> [INFO] WSO2 Ca

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Asanka Vithanage
Hi Mahesh,

As per provided logs some connections has created on the MB side . Can you
check from where those are coming.


[2015-03-25 22:24:10,396]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
Topic
registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0

[2015-03-25 22:24:10,701]  INFO
{org.wso2.andes.server.protocol.AMQProtocolEngine} -  Closing channel due
to: Cannot subscribe to queue
carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
an existing exclusive consumer

[2015-03-25 22:24:10,702]  INFO
{org.wso2.andes.server.protocol.AMQProtocolEngine} -  Cannot subscribe to
queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already
has an existing exclusive consumer whilst processing:[BasicConsumeBodyImpl:
ticket=0, queue=carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b,
consumerTag=1, noLocal=false, noAck=false, exclusive=true, nowait=false,
arguments=null]




On Thu, Mar 26, 2015 at 11:32 AM, Danushka Fernando 
wrote:

> Mahesh I hope this is regarding what we discussed. So that wont solve your
> problem.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Thu, Mar 26, 2015 at 11:28 AM, Mahesh Chinthaka 
> wrote:
>
>> Nop. embedded cassandra.
>> Found it. Just deleleting repository/databases/cassandra folder will do
>> the needful. isnt it ?
>>
>> On Thu, Mar 26, 2015 at 11:26 AM, Sajini De Silva 
>> wrote:
>>
>>> Are you using an externel cassandra?
>>>
>>> On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Asanka,
 All other servers are down ATM. Trying to start the MB server solely.

 On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage 
 wrote:

> Hi Mahesh
>
> In MB we only allow to create a single durable subscription with
> single SubId against a topic.
> So if you want to reuse the same ID and create a durable subscription,
> you have to stop the previously created JMS connection.
> If you are trying out ESB, MB scenarios first shutdown the ESB and
> then restart the MB.
>
> On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva 
> wrote:
>
>> Hi Mahesh,
>>
>> You can try cleaning the cassandra database and start again.
>>
>> Thank you,
>> Sajini
>>
>> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all,
>>>
>>> Im getting following error while starting the server. Any idea on
>>> resolving this ?
>>> Is there any way that I could delete existing durable topic
>>> subscriptions  and topics ? That option is not available in UI in this
>>> version (2.2.0)
>>> Log is attached below.
>>>
>>>
>>> [2015-03-25 22:23:58,501]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>>
>>> [2015-03-25 22:23:58,581]  INFO
>>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>>> started for queue: 
>>> carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>>> with on flight message checks
>>>
>>> [2015-03-25 22:23:59,541]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>>
>>> [2015-03-25 22:24:01,138]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>>
>>> [2015-03-25 22:24:02,472]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>>
>>> [2015-03-25 22:24:03,944]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>>
>>> [2015-03-25 22:24:05,339]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTwee

[Dev] Build failure while building the carbon mediation in develop branch

2015-03-25 Thread Kathees Rajendram
Hi,

I am getting the following build failure while building the carbon
mediation from develop branch.
This failure occurs due to
org.apache.synapse.transport.passthru.core.ssl.SSLConfiguration is not
resolved in org.wso2.carbon.inbound.endpoint.persistence module.

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Carbon Mediation - Aggregator Pom  SUCCESS [0.525s]
[INFO] WSO2 Carbon - Business Adaptors Aggregator Module . SUCCESS [0.168s]
[INFO] WSO2 Carbon - HL7 Store Stub .. SUCCESS
[1:02.619s]
[INFO] WSO2 Carbon - Endpoint Editor Stub  SUCCESS [3.467s]
[INFO] WSO2 Carbon - localentry Stub . SUCCESS [3.057s]
[INFO] WSO2 Carbon - Synapse Artifact Uploader Stub .. SUCCESS [2.160s]
[INFO] WSO2 Carbon - Synapse Configuration Service Administrator Stub
SUCCESS [2.936s]
[INFO] WSO2 Carbon - Mediation Library (Synapse) Management Stub  SUCCESS
[4.056s]
[INFO] WSO2 Carbon - Mediation Security Stub . SUCCESS [1.902s]
[INFO] WSO2 Carbon - Template Editor Service Administrator Stub  SUCCESS
[4.325s]
[INFO] WSO2 Carbon - BAM Mediator Configuration Stub . SUCCESS [2.582s]
[INFO] WSO2 Carbon - Class Mediator Admin Stub ... SUCCESS [1.752s]
[INFO] WSO2 Carbon - Command Mediator Admin Stub . SUCCESS [1.732s]
[INFO] WSO2 Carbon - Event Mediator Admin Stub ... SUCCESS [2.019s]
[INFO] WSO2 Carbon - Message Processor Stub .. SUCCESS [2.831s]
[INFO] WSO2 Carbon - Message Store Stub .. SUCCESS [2.802s]
[INFO] WSO2 Carbon - Proxy Services Admin Stub ... SUCCESS [3.236s]
[INFO] WSO2 Carbon - Sequence Editor Stub  SUCCESS [3.394s]
[INFO] WSO2 Carbon - Task Stub ... SUCCESS [2.406s]
[INFO] WSO2 Carbon - Priority Mediation Stub . SUCCESS [1.907s]
[INFO] WSO2 Carbon - Rest API Admin Stub . SUCCESS [3.615s]
[INFO] WSO2 Carbon - Inbound Stub  SUCCESS [2.372s]
[INFO] WSO2 Carbon - ESB NTask Stub .. SUCCESS [2.466s]
[INFO] WSO2 Carbon - Business Adaptors Aggregator Module . SUCCESS [0.046s]
[INFO] WSO2 Carbon - Mediation Statistics Stub ... SUCCESS [2.829s]
[INFO] WSO2 Carbon - Mediation Tracer Stub ... SUCCESS [2.375s]
[INFO] application-mgt-stub .. SUCCESS [0.016s]
[INFO] WSO2 Carbon - Application Management Synapse Stub . SUCCESS [2.369s]
[INFO] WSO2 Carbon - Synapse Registries Aggregator Module  SUCCESS [0.014s]
[INFO] WSO2 Carbon - Mediation Registries  SUCCESS [45.186s]
[INFO] WSO2 Carbon - Mediation Initializer Aggregator Module  SUCCESS
[0.015s]
[INFO] WSO2 Carbon - Mediator Bridge . SUCCESS [0.492s]
[INFO] WSO2 Carbon - Mediators Aggregator Module . SUCCESS [0.013s]
[INFO] WSO2 Carbon - Router Mediator Aggregator Module ... SUCCESS [0.014s]
[INFO] WSO2 Carbon - Router mediator . SUCCESS [1.031s]
[INFO] WSO2 Carbon - Mediation Dependency Management . SUCCESS [10.759s]
[INFO] WSO2 Carbon - Mediation admin- Aggregator Module .. SUCCESS [0.012s]
[INFO] WSO2 Carbon - Task Services ... SUCCESS [0.855s]
[INFO] WSO2 Carbon - ntask Integration core .. SUCCESS [1.282s]
[INFO] WSO2 Carbon - Inbound Endpoint Module . SUCCESS [0.261s]
[INFO] org.wso2.carbon.inbound.endpoint.persistence .. FAILURE [0.645s]
[INFO] WSO2 Carbon - Clustering Integration .. SKIPPED
[INFO] org.wso2.carbon.inbound.endpoint .. SKIPPED
[INFO] WSO2 Carbon - Mediation Initializer ... SKIPPED
[INFO] WSO2 Carbon - Mediation UI Menu Initializer ... SKIPPED
[INFO] WSO2 Carbon Mediation - Transport Handlers  SKIPPED
[INFO] WSO2 Carbon - Mediation Monitor - Aggregator Module  SKIPPED
[INFO] WSO2 Carbon - Message Relay Parent  SKIPPED
[INFO] WSO2 Carbon - Message Relay ... SKIPPED
[INFO] WSO2 Carbon - Message Relay Builder Mediator .. SKIPPED
[INFO] WSO2 Carbon - Message Relay Module  SKIPPED
[INFO] WSO2 Carbon - Mediation Statistics Aggregator Module  SKIPPED
[INFO] WSO2 Carbon - Mediation statistics BE . SKIPPED
[INFO] WSO2 Carbon - Mediation Statistics UI . SKIPPED
[INFO] WSO2 Carbon - Mediation Tracer Aggregator Module .. SKIPPED
[INFO] WSO2 Carbon - Mediation Tracer BE . SKIPPED
[INFO] WSO2 Carbon - Mediation Tracer UI . SKIPPED
[INFO] WSO2 Carbon - Proxy Services Admin BE . SKIPPED
[INFO] WSO2 Carbon - Mediator OSGi Service ... SKIPPED
[INFO] WSO2 Carbon - Mediation config admin- Aggregator Module  SKIPPED
[INFO] WSO2 Carbon - Synapse Configuration Service Administrator  SKIPPED
[INFO] WSO2 Carbon - Synapse Configuration Service Administrator UI  SKIPPED
[INFO] WSO2 Carbon - Business Adaptors Aggregator Module . SKIPPED
[INFO] WSO2 Carbon - HL7 Business Messaging Aggregator

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Danushka Fernando
Mahesh I hope this is regarding what we discussed. So that wont solve your
problem.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Thu, Mar 26, 2015 at 11:28 AM, Mahesh Chinthaka  wrote:

> Nop. embedded cassandra.
> Found it. Just deleleting repository/databases/cassandra folder will do
> the needful. isnt it ?
>
> On Thu, Mar 26, 2015 at 11:26 AM, Sajini De Silva  wrote:
>
>> Are you using an externel cassandra?
>>
>> On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Asanka,
>>> All other servers are down ATM. Trying to start the MB server solely.
>>>
>>> On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage 
>>> wrote:
>>>
 Hi Mahesh

 In MB we only allow to create a single durable subscription with single
 SubId against a topic.
 So if you want to reuse the same ID and create a durable subscription,
 you have to stop the previously created JMS connection.
 If you are trying out ESB, MB scenarios first shutdown the ESB and then
 restart the MB.

 On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva 
 wrote:

> Hi Mahesh,
>
> You can try cleaning the cassandra database and start again.
>
> Thank you,
> Sajini
>
> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi all,
>>
>> Im getting following error while starting the server. Any idea on
>> resolving this ?
>> Is there any way that I could delete existing durable topic
>> subscriptions  and topics ? That option is not available in UI in this
>> version (2.2.0)
>> Log is attached below.
>>
>>
>> [2015-03-25 22:23:58,501]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:23:58,581]  INFO
>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>> started for queue: 
>> carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>> with on flight message checks
>>
>> [2015-03-25 22:23:59,541]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:01,138]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:02,472]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:03,944]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:05,339]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:06,241]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:06,910]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:24:07,750]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:08,341]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Sajini De Silva
Hi,

Yeah. It will delete all the data in the cassandra repository.

Thank you,
Sajini

On Thu, Mar 26, 2015 at 11:28 AM, Mahesh Chinthaka  wrote:

> Nop. embedded cassandra.
> Found it. Just deleleting repository/databases/cassandra folder will do
> the needful. isnt it ?
>
> On Thu, Mar 26, 2015 at 11:26 AM, Sajini De Silva  wrote:
>
>> Are you using an externel cassandra?
>>
>> On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Asanka,
>>> All other servers are down ATM. Trying to start the MB server solely.
>>>
>>> On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage 
>>> wrote:
>>>
 Hi Mahesh

 In MB we only allow to create a single durable subscription with single
 SubId against a topic.
 So if you want to reuse the same ID and create a durable subscription,
 you have to stop the previously created JMS connection.
 If you are trying out ESB, MB scenarios first shutdown the ESB and then
 restart the MB.

 On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva 
 wrote:

> Hi Mahesh,
>
> You can try cleaning the cassandra database and start again.
>
> Thank you,
> Sajini
>
> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi all,
>>
>> Im getting following error while starting the server. Any idea on
>> resolving this ?
>> Is there any way that I could delete existing durable topic
>> subscriptions  and topics ? That option is not available in UI in this
>> version (2.2.0)
>> Log is attached below.
>>
>>
>> [2015-03-25 22:23:58,501]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:23:58,581]  INFO
>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>> started for queue: 
>> carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>> with on flight message checks
>>
>> [2015-03-25 22:23:59,541]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:01,138]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:02,472]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:03,944]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:05,339]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:06,241]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:06,910]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:24:07,750]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:08,341]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:08,784]  INFO
>> {org.wso2.andes.server.store.Cassan

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Nop. embedded cassandra.
Found it. Just deleleting repository/databases/cassandra folder will do the
needful. isnt it ?

On Thu, Mar 26, 2015 at 11:26 AM, Sajini De Silva  wrote:

> Are you using an externel cassandra?
>
> On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi Asanka,
>> All other servers are down ATM. Trying to start the MB server solely.
>>
>> On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage 
>> wrote:
>>
>>> Hi Mahesh
>>>
>>> In MB we only allow to create a single durable subscription with single
>>> SubId against a topic.
>>> So if you want to reuse the same ID and create a durable subscription,
>>> you have to stop the previously created JMS connection.
>>> If you are trying out ESB, MB scenarios first shutdown the ESB and then
>>> restart the MB.
>>>
>>> On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva 
>>> wrote:
>>>
 Hi Mahesh,

 You can try cleaning the cassandra database and start again.

 Thank you,
 Sajini

 On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
 wrote:

> Hi all,
>
> Im getting following error while starting the server. Any idea on
> resolving this ?
> Is there any way that I could delete existing durable topic
> subscriptions  and topics ? That option is not available in UI in this
> version (2.2.0)
> Log is attached below.
>
>
> [2015-03-25 22:23:58,501]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>
> [2015-03-25 22:23:58,581]  INFO
> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
> with on flight message checks
>
> [2015-03-25 22:23:59,541]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>
> [2015-03-25 22:24:01,138]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>
> [2015-03-25 22:24:02,472]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>
> [2015-03-25 22:24:03,944]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>
> [2015-03-25 22:24:05,339]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>
> [2015-03-25 22:24:06,241]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>
> [2015-03-25 22:24:06,910]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>
> [2015-03-25 22:24:07,750]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>
> [2015-03-25 22:24:08,341]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>
> [2015-03-25 22:24:08,784]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a
>
> [2015-03-25 22:24:09,302]  INFO
> {org.wso2.andes.serv

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Sajini De Silva
Are you using an externel cassandra?

On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka  wrote:

> Hi Asanka,
> All other servers are down ATM. Trying to start the MB server solely.
>
> On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage 
> wrote:
>
>> Hi Mahesh
>>
>> In MB we only allow to create a single durable subscription with single
>> SubId against a topic.
>> So if you want to reuse the same ID and create a durable subscription,
>> you have to stop the previously created JMS connection.
>> If you are trying out ESB, MB scenarios first shutdown the ESB and then
>> restart the MB.
>>
>> On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva 
>> wrote:
>>
>>> Hi Mahesh,
>>>
>>> You can try cleaning the cassandra database and start again.
>>>
>>> Thank you,
>>> Sajini
>>>
>>> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi all,

 Im getting following error while starting the server. Any idea on
 resolving this ?
 Is there any way that I could delete existing durable topic
 subscriptions  and topics ? That option is not available in UI in this
 version (2.2.0)
 Log is attached below.


 [2015-03-25 22:23:58,501]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
 Topic
 registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets

 [2015-03-25 22:23:58,581]  INFO
 {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
 started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
 with on flight message checks

 [2015-03-25 22:23:59,541]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets

 [2015-03-25 22:24:01,138]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
 Topic
 registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0

 [2015-03-25 22:24:02,472]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets

 [2015-03-25 22:24:03,944]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest

 [2015-03-25 22:24:05,339]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
 Topic
 registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets

 [2015-03-25 22:24:06,241]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
 Topic
 registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets

 [2015-03-25 22:24:06,910]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets

 [2015-03-25 22:24:07,750]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
 Topic
 registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest

 [2015-03-25 22:24:08,341]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0

 [2015-03-25 22:24:08,784]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
 Topic
 registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a

 [2015-03-25 22:24:09,302]  INFO
 {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
 Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
 Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a

 [2015-03-25 22:24:09,685]  INFO
 {org.wso2.andes.server.store.CassandraMessageSto

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Hi Asanka,
All other servers are down ATM. Trying to start the MB server solely.

On Thu, Mar 26, 2015 at 11:23 AM, Asanka Vithanage  wrote:

> Hi Mahesh
>
> In MB we only allow to create a single durable subscription with single
> SubId against a topic.
> So if you want to reuse the same ID and create a durable subscription, you
> have to stop the previously created JMS connection.
> If you are trying out ESB, MB scenarios first shutdown the ESB and then
> restart the MB.
>
> On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva  wrote:
>
>> Hi Mahesh,
>>
>> You can try cleaning the cassandra database and start again.
>>
>> Thank you,
>> Sajini
>>
>> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all,
>>>
>>> Im getting following error while starting the server. Any idea on
>>> resolving this ?
>>> Is there any way that I could delete existing durable topic
>>> subscriptions  and topics ? That option is not available in UI in this
>>> version (2.2.0)
>>> Log is attached below.
>>>
>>>
>>> [2015-03-25 22:23:58,501]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>>
>>> [2015-03-25 22:23:58,581]  INFO
>>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>>> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>>> with on flight message checks
>>>
>>> [2015-03-25 22:23:59,541]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>>
>>> [2015-03-25 22:24:01,138]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>>
>>> [2015-03-25 22:24:02,472]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>>
>>> [2015-03-25 22:24:03,944]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>>
>>> [2015-03-25 22:24:05,339]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>>>
>>> [2015-03-25 22:24:06,241]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>>>
>>> [2015-03-25 22:24:06,910]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>>>
>>> [2015-03-25 22:24:07,750]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>>> Topic
>>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>>>
>>> [2015-03-25 22:24:08,341]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>>>
>>> [2015-03-25 22:24:08,784]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a
>>>
>>> [2015-03-25 22:24:09,302]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>>> Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a
>>>
>>> [2015-03-25 22:24:09,685]  INFO
>>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>>> Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>>> Topic
>>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0
>>>
>>> [2015-03-

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Asanka Vithanage
Hi Mahesh

In MB we only allow to create a single durable subscription with single
SubId against a topic.
So if you want to reuse the same ID and create a durable subscription, you
have to stop the previously created JMS connection.
If you are trying out ESB, MB scenarios first shutdown the ESB and then
restart the MB.

On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva  wrote:

> Hi Mahesh,
>
> You can try cleaning the cassandra database and start again.
>
> Thank you,
> Sajini
>
> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi all,
>>
>> Im getting following error while starting the server. Any idea on
>> resolving this ?
>> Is there any way that I could delete existing durable topic subscriptions
>>  and topics ? That option is not available in UI in this version (2.2.0)
>> Log is attached below.
>>
>>
>> [2015-03-25 22:23:58,501]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:23:58,581]  INFO
>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>> with on flight message checks
>>
>> [2015-03-25 22:23:59,541]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:01,138]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:02,472]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:03,944]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:05,339]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:06,241]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:06,910]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:24:07,750]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:08,341]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:08,784]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a
>>
>> [2015-03-25 22:24:09,302]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>> Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a
>>
>> [2015-03-25 22:24:09,685]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0
>>
>> [2015-03-25 22:24:10,396]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0
>>

Re: [Dev] Clustering IS Problem when following documentation

2015-03-25 Thread Danushka Fernando
With the same configuration for local member host using my network IP works
and using 127.0.0.1 doesn't work. That was my question. I have shared
everything necessary. However it doesn't affect clustering. AFAIK only
thing affects clustering is the changes we do to clustering section in
axis2.xml.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Thu, Mar 26, 2015 at 11:16 AM, Tharindu Edirisinghe 
wrote:

> Hi Danushka,
>
> If you are using WKA clustering, please check following steps for basic
> clustering and find what is missing.
>
> Pre-requisites - Extract WSO2 Identity Server to 2 locations (eg : NODE1,
> NODE2)
> Database - mysql
>
> 1. Create a mysql database. (eg: IdentityDB)
> 2. Refer to the database in master-datasources.xml in both Node1 and
> Node2. url, username, password and driverClassName are the parameters you
> have to modify.
>Here, username and password are the credentials to login to the mysql
> server and access the created database.
>
>IS_NODE1/repository/conf/
> datasources/master-datasources.xml
>IS_NODE2/repository/conf/datasources/master-datasources.xml
>
> 
> WSO2_CARBON_DB
> The datasource used for registry and user
> manager
> 
> jdbc/WSO2CarbonDB
> 
> 
> 
> jdbc:mysql://localhost:3306/IdentityDB
> root
> mypassword
>
> com.mysql.jdbc.Driver
> 50
> 6
> true
> SELECT 1
> 3
> 
> 
> 
>
>
> 3. Since Node1 and Node2 are running in the same server, change the port
> offset of Node2. Here I have set the offset to 1.
>
>IS_NODE2/repository/conf/carbon.xml
>
> 1
>
> 4. Since both nodes have to point to the same LDAP, disable the embedded
> ldap of Node2.
>IS_NODE2/repository/conf/embedded-ldap.xml
>
> false
>
>Point to the embedded LDAP in Node1 from Node2 in the particular user
> store manager configuration. By default embedded LDAP is running in port
> 10389.
>IS_NODE2/repository/conf/user-mgt.xml
>
>  class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
> 
> ldap://localhost:10389
>
>
> 5. Enable axis2 clustering in both Node1 and Node2.
>IS_NODE1/repository/conf/axis2/axis2.xml
>IS_NODE2/repository/conf/axis2/axis2.xml
>
> class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
> enable="true">
>
> 6. Set the membershipScheme to wka in both Node1 and Node2.
>IS_NODE1/repository/conf/axis2/axis2.xml
>IS_NODE2/repository/conf/axis2/axis2.xml
>
> wka
>
> 7. Use the same domain in all the nodes. You can keep the default value.
>IS_NODE1/repository/conf/axis2/axis2.xml
>IS_NODE2/repository/conf/axis2/axis2.xml
>
> wso2.carbon.domain
>
> 8. Change the localMemberPort of Node2.
>IS_NODE2/repository/conf/axis2/axis2.xml
>
> 4010
>
>
> 9. Add member details of the cluster in both Nodes.
>IS_NODE1/repository/conf/axis2/axis2.xml
>IS_NODE2/repository/conf/axis2/axis2.xml
>
>
> 
> 
> 127.0.0.1
> 4000
> 
> 
> 127.0.0.1
> 4010
> 
> 
>
> 10. Since MySQL is used, copy the mysql jdbc driver to both nodes (eg:
> mysql-connector-java-x.x.xx-bin.jar).
> IS_NODE1/repository/components/lib/
> IS_NODE2/repository/components/lib/
>
> 11. Start the Node1 with following command (from the IS_NODE1/bin
> directory). It will create the necessary tables in the database.
>
> sh wso2server.sh -Dsetup
>
> 12. Start the Node2 with following command. Since the database tables are
> aready created by Node1, no need to setup again.
>
> sh wso2server.sh
>
>
> When the Node2 is started, Node1 terminal will display something like
> below.
>
> [2014-10-29 23:18:14,849]  INFO 
> {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
> -  Member joined [6af069c3-8783-477b-b9cc-e6e69dac58c0]: /127.0.0.1:4010
>
> Thanks,
> TharinduE
>
>
> On Thu, Mar 26, 2015 at 11:13 AM, Danushka Fernando 
> wrote:
>
>> Hi All
>> I tried to follow clustering guide at [1]. There it guide us to use
>> 127.0.0.1 as the local member host. But when I was creating a cluster in my
>> local machine for some reason if I use 127.0.0.1 all the servers come up
>> without any issue but clustering doesn't work. But if I use my network IP
>> (10.100.0.101) it works. Any Idea whats going wrong here?
>>
>> [1] https://docs.wso2.com/display/CLUSTER420/Clustering+Identity+Server
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi

Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Hi,

Could you please tell me how to do that ?

On Thu, Mar 26, 2015 at 11:15 AM, Sajini De Silva  wrote:

> Hi Mahesh,
>
> You can try cleaning the cassandra database and start again.
>
> Thank you,
> Sajini
>
> On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi all,
>>
>> Im getting following error while starting the server. Any idea on
>> resolving this ?
>> Is there any way that I could delete existing durable topic subscriptions
>>  and topics ? That option is not available in UI in this version (2.2.0)
>> Log is attached below.
>>
>>
>> [2015-03-25 22:23:58,501]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:23:58,581]  INFO
>> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
>> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
>> with on flight message checks
>>
>> [2015-03-25 22:23:59,541]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:01,138]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:02,472]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:03,944]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:05,339]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>>
>> [2015-03-25 22:24:06,241]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>>
>> [2015-03-25 22:24:06,910]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>>
>> [2015-03-25 22:24:07,750]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>>
>> [2015-03-25 22:24:08,341]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>>
>> [2015-03-25 22:24:08,784]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a
>>
>> [2015-03-25 22:24:09,302]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
>> Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a
>>
>> [2015-03-25 22:24:09,685]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0
>>
>> [2015-03-25 22:24:10,396]  INFO
>> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
>> Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
>> Topic
>> registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0
>>
>> [2015-03-25 22:24:10,701]  INFO
>> {org.wso2.andes.server.protocol.AMQProtocolEngine} -  Closing channel due
>> to: Cannot subscribe to queue
>> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
>> an existing exclusive consumer
>>
>> [2015-03-25

Re: [Dev] Clustering IS Problem when following documentation

2015-03-25 Thread Tharindu Edirisinghe
Hi Danushka,

If you are using WKA clustering, please check following steps for basic
clustering and find what is missing.

Pre-requisites - Extract WSO2 Identity Server to 2 locations (eg : NODE1,
NODE2)
Database - mysql

1. Create a mysql database. (eg: IdentityDB)
2. Refer to the database in master-datasources.xml in both Node1 and Node2.
url, username, password and driverClassName are the parameters you have to
modify.
   Here, username and password are the credentials to login to the mysql
server and access the created database.

   IS_NODE1/repository/conf/
datasources/master-datasources.xml
   IS_NODE2/repository/conf/datasources/master-datasources.xml


WSO2_CARBON_DB
The datasource used for registry and user
manager

jdbc/WSO2CarbonDB



jdbc:mysql://localhost:3306/IdentityDB
root
mypassword
com.mysql.jdbc.Driver
50
6
true
SELECT 1
3





3. Since Node1 and Node2 are running in the same server, change the port
offset of Node2. Here I have set the offset to 1.

   IS_NODE2/repository/conf/carbon.xml

1

4. Since both nodes have to point to the same LDAP, disable the embedded
ldap of Node2.
   IS_NODE2/repository/conf/embedded-ldap.xml

false

   Point to the embedded LDAP in Node1 from Node2 in the particular user
store manager configuration. By default embedded LDAP is running in port
10389.
   IS_NODE2/repository/conf/user-mgt.xml



ldap://localhost:10389


5. Enable axis2 clustering in both Node1 and Node2.
   IS_NODE1/repository/conf/axis2/axis2.xml
   IS_NODE2/repository/conf/axis2/axis2.xml

   

6. Set the membershipScheme to wka in both Node1 and Node2.
   IS_NODE1/repository/conf/axis2/axis2.xml
   IS_NODE2/repository/conf/axis2/axis2.xml

wka

7. Use the same domain in all the nodes. You can keep the default value.
   IS_NODE1/repository/conf/axis2/axis2.xml
   IS_NODE2/repository/conf/axis2/axis2.xml

wso2.carbon.domain

8. Change the localMemberPort of Node2.
   IS_NODE2/repository/conf/axis2/axis2.xml

4010


9. Add member details of the cluster in both Nodes.
   IS_NODE1/repository/conf/axis2/axis2.xml
   IS_NODE2/repository/conf/axis2/axis2.xml




127.0.0.1
4000


127.0.0.1
4010



10. Since MySQL is used, copy the mysql jdbc driver to both nodes (eg:
mysql-connector-java-x.x.xx-bin.jar).
IS_NODE1/repository/components/lib/
IS_NODE2/repository/components/lib/

11. Start the Node1 with following command (from the IS_NODE1/bin
directory). It will create the necessary tables in the database.

sh wso2server.sh -Dsetup

12. Start the Node2 with following command. Since the database tables are
aready created by Node1, no need to setup again.

sh wso2server.sh


When the Node2 is started, Node1 terminal will display something like below.

[2014-10-29 23:18:14,849]  INFO
{org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
-  Member joined [6af069c3-8783-477b-b9cc-e6e69dac58c0]: /127.0.0.1:4010

Thanks,
TharinduE


On Thu, Mar 26, 2015 at 11:13 AM, Danushka Fernando 
wrote:

> Hi All
> I tried to follow clustering guide at [1]. There it guide us to use
> 127.0.0.1 as the local member host. But when I was creating a cluster in my
> local machine for some reason if I use 127.0.0.1 all the servers come up
> without any issue but clustering doesn't work. But if I use my network IP
> (10.100.0.101) it works. Any Idea whats going wrong here?
>
> [1] https://docs.wso2.com/display/CLUSTER420/Clustering+Identity+Server
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
mobile : +94 775 181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Sajini De Silva
Hi Mahesh,

You can try cleaning the cassandra database and start again.

Thank you,
Sajini

On Thu, Mar 26, 2015 at 11:05 AM, Mahesh Chinthaka  wrote:

> Hi all,
>
> Im getting following error while starting the server. Any idea on
> resolving this ?
> Is there any way that I could delete existing durable topic subscriptions
>  and topics ? That option is not available in UI in this version (2.2.0)
> Log is attached below.
>
>
> [2015-03-25 22:23:58,501]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets
>
> [2015-03-25 22:23:58,581]  INFO
> {org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
> started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
> with on flight message checks
>
> [2015-03-25 22:23:59,541]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets
>
> [2015-03-25 22:24:01,138]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0
>
> [2015-03-25 22:24:02,472]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets
>
> [2015-03-25 22:24:03,944]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest
>
> [2015-03-25 22:24:05,339]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets
>
> [2015-03-25 22:24:06,241]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets
>
> [2015-03-25 22:24:06,910]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets
>
> [2015-03-25 22:24:07,750]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest
>
> [2015-03-25 22:24:08,341]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0
>
> [2015-03-25 22:24:08,784]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a
>
> [2015-03-25 22:24:09,302]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
> Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a
>
> [2015-03-25 22:24:09,685]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0
>
> [2015-03-25 22:24:10,396]  INFO
> {org.wso2.andes.server.store.CassandraMessageStore} -  Registered
> Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
> Topic
> registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0
>
> [2015-03-25 22:24:10,701]  INFO
> {org.wso2.andes.server.protocol.AMQProtocolEngine} -  Closing channel due
> to: Cannot subscribe to queue
> carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
> an existing exclusive consumer
>
> [2015-03-25 22:24:10,702]  INFO
> {org.wso2.andes.server.protocol.AMQProtocolEngine} -  Cannot subscribe to
> queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already
> has an existing exclusive consumer whilst processi

[Dev] Clustering IS Problem when following documentation

2015-03-25 Thread Danushka Fernando
Hi All
I tried to follow clustering guide at [1]. There it guide us to use
127.0.0.1 as the local member host. But when I was creating a cluster in my
local machine for some reason if I use 127.0.0.1 all the servers come up
without any issue but clustering doesn't work. But if I use my network IP
(10.100.0.101) it works. Any Idea whats going wrong here?

[1] https://docs.wso2.com/display/CLUSTER420/Clustering+Identity+Server

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MB] Error while starting server MB v 2.2.0

2015-03-25 Thread Mahesh Chinthaka
Hi all,

Im getting following error while starting the server. Any idea on resolving
this ?
Is there any way that I could delete existing durable topic subscriptions
 and topics ? That option is not available in UI in this version (2.2.0)
Log is attached below.


[2015-03-25 22:23:58,501]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
Topic
registry.notifications.StoreAssetUpdate._system.governance.recipes.Send_Searched_Tweets

[2015-03-25 22:23:58,581]  INFO
{org.wso2.andes.server.cassandra.QueueDeliveryWorker} -  Queue worker
started for queue: carbon:b338fddd07574deb886f29e2c97b31923aa364b8b8652e66
with on flight message checks

[2015-03-25 22:23:59,541]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:3e71a8984895669bf94f0334a876bfcc11b1dfde6e90d39b for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweets

[2015-03-25 22:24:01,138]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:a3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
Topic
registry.notifications.StoreAssetUpdate._system.governance.connections.gmail.1.0.0

[2015-03-25 22:24:02,472]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:fcbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendTweets

[2015-03-25 22:24:03,944]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:9938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.recipes.SendSearchedTweest

[2015-03-25 22:24:05,339]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:ecbae9c4f1945632b616ef7b39ae30be40058f01d370aabb for
Topic
registry.notifications.StoreAssetUpdate._system.governance.recipes.SendTweets

[2015-03-25 22:24:06,241]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:2e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b for
Topic
registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweets

[2015-03-25 22:24:06,910]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:a338fddd07574deb886f29e2c97b31923aa364b8b8652e66 for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.recipes.Send_Searched_Tweets

[2015-03-25 22:24:07,750]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:e938fddd07574deb5bb5a9e2c97b31925ba364b8b8652e66 for
Topic
registry.notifications.StoreAssetUpdate._system.governance.recipes.SendSearchedTweest

[2015-03-25 22:24:08,341]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:b3a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.connections.gmail.1.0.0

[2015-03-25 22:24:08,784]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:1c761f5aa45b646570c289a9d046936473e314f178a49c85 for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.recipes.a

[2015-03-25 22:24:09,302]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:0c761f5aa45b646570c289a9d046936473e314f178a49c85 for
Topic registry.notifications.StoreAssetUpdate._system.governance.recipes.a

[2015-03-25 22:24:09,685]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:93a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
Topic
registry.notifications.StoreLifecycleStateChange._system.governance.connections.twitter.1.0.0

[2015-03-25 22:24:10,396]  INFO
{org.wso2.andes.server.store.CassandraMessageStore} -  Registered
Subscription carbon:83a52b5bff0a5e34db46793d11ec1a51984a9b057d5f71fc for
Topic
registry.notifications.StoreAssetUpdate._system.governance.connections.twitter.1.0.0

[2015-03-25 22:24:10,701]  INFO
{org.wso2.andes.server.protocol.AMQProtocolEngine} -  Closing channel due
to: Cannot subscribe to queue
carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
an existing exclusive consumer

[2015-03-25 22:24:10,702]  INFO
{org.wso2.andes.server.protocol.AMQProtocolEngine} -  Cannot subscribe to
queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already
has an existing exclusive consumer whilst processing:[BasicConsumeBodyImpl:
ticket=0, queue=carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b,
consumerTag=1, noLocal=false, noAck=false, exclusive=true, nowait=false,
arguments=null]

[2015-03-25 22:24:10,702]  INFO
{org.wso2.andes.server.protocol.AMQProtocolEngine} -  Closing connection
due to: org.wso2.andes.AMQConnectionException: Cannot 

Re: [Dev] Fwd: [Gsoc2015] Siddhi Process Monitor for WSO2 CEP

2015-03-25 Thread Mohanadarshan Vivekanandalingam
On Thu, Mar 26, 2015 at 10:29 AM, Sabra Ossen  wrote:

> Hi,
>
> Currently in the mail threads event flow rate, memory consumption, queue
> size are mentioned as the requirements which need visualizations. What are
> the additional visualizations needed, could you be more specific on the
> requirements.?? I would be grateful if you could help me as I am in the
> final stage of completing my proposal .
>

OK, let's be more specific.

Take the Time Window as an example, then events are kept in the memory
until specified time expires. Then we need to know how much events are
currently exists in the window, what is the memory consumed by that window
and in what rate events are received by the window.

If you ask about additional requirements,

- Drill down capability, You can show the process information in siddhi
Manager level and then go to the query level (similar as event statistics
feature in CEP)
If you check the event statistics feature then you can get an idea on that


Thanks,
Mohan



>
> Thanks.
>
> On Wed, Mar 25, 2015 at 10:34 AM, Sabra Ossen  wrote:
>
>> Hi Mohan,
>>
>> Thanks for the clarification.
>>
>> Regards.
>>
>> On Wed, Mar 25, 2015 at 8:19 AM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>>
>>>
>>> On Mon, Mar 23, 2015 at 2:33 PM, Sabra Ossen  wrote:
>>>
 Hi,

 Sorry, I created this new thread since I needed to use my private email
 address to communicate.

 So basically so far your idea is to create a Jaggery app for the
 interface and use the admin service to get data that needs to be shown.??

>>>
>>> Sorry Sabra for the delay.. No need a Jaggary App.. You need to develop
>>> a carbon UI component for this and use stubs to talk with admin services.
>>>
>>> Thanks,
>>> Mohan
>>>
>>>
 Regards.
 Sabra.

 On Sun, Mar 22, 2015 at 1:07 PM, Mohanadarshan Vivekanandalingam <
 mo...@wso2.com> wrote:

>
>
> On Tue, Mar 17, 2015 at 3:02 PM, Sabra Ossen 
> wrote:
>
>> Hi,
>>
>>
> Sorry Sabra, missed this mail..
>
>
>> I am Sabra Ossen, an undergraduate of Department of Computer Science
>> and Engineering, University of Moratuwa. Currently I am an intern in 
>> WSO2.
>>
>> I am interested in proposal [1] in the GSoC project proposals list.
>> I did my fast track training project with WSO2 CEP regarding UI support 
>> for
>> Siddhi Queries. Therefore I am already familiar with WSO2 CEP and Siddhi
>> Queries.
>>
>> I participated in the hangout and checked the mails in dev regarding
>> the Siddhi Process monitor gsoc project.
>>
>> I have a question regarding the implementation of the api.
>>
>>- Based on my understanding the api exposes the back end
>>features, so would a back end admin service be needed to expose the 
>> api. If
>>so would I have to use the CEP as the server to deploy the web 
>> service.
>>
>>
>> Actually, we need to get process information from Siddhi. Then we
> need to create some api for Siddhi engine (currently, we don't have
> anything like that). Then we can create an admin service that provide
> mediation between the UI and siddhi API. If you have any other interesting
> idea then we can discuss about that as well..
>
> P.S : For the moment let's stick to single mail thread..
>
> Thanks,
> Mohan
>
>
>
>> Any clarification on the api is appreciated.
>>
>> Thanks.
>> Sabra.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>


>>>
>>>
>>> --
>>> *V. Mohanadarshan*
>>> *Software Engineer,*
>>> *Data Technologies Team,*
>>> *WSO2, Inc. http://wso2.com  *
>>> *lean.enterprise.middleware.*
>>>
>>> email: mo...@wso2.com
>>> phone:(+94) 771117673
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sabra Ossen
>> *Software Engineering Intern*
>> Mobile : +94 (0) 775 837 356
>> sa...@wso2.com
>>
>
>


-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: EndpointUtils feature code review and demo. @ Thu Mar 26, 2015 4:30pm - 5pm (thusha...@wso2.com)

2015-03-25 Thread Thushara Ranawaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150326T11Z
DTEND:20150326T113000Z
DTSTAMP:20150326T052358Z
ORGANIZER;CN=Thushara Ranawaka:mailto:thusha...@wso2.com
UID:3duvj4nosbfuuhjsvqjeer9...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Pulasthi Supun;X-NUM-GUESTS=0:mailto:pulas...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Waruna De Silva;X-NUM-GUESTS=0:mailto:waru...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sagara Gunathunga;X-NUM-GUESTS=0:mailto:sag...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Thushara Ranawaka;X-NUM-GUESTS=0:mailto:thusha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Isuruwan Herath;X-NUM-GUESTS=0:mailto:isuru...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chandana Napagoda;X-NUM-GUESTS=0:mailto:chand...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danesh Kuruppu;X-NUM-GUESTS=0:mailto:dan...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;C
 N="LK 3rd Floor Meeting Room - Kernel Ext:1005350";X-NUM-GUESTS=0:mailto:ws
 o2.com_3234323338383134353...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Denuwanthi De Silva;X-NUM-GUESTS=0:mailto:denuwan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Prasanna Dangalla;X-NUM-GUESTS=0:mailto:prasa...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=WSO2 Developers' List;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20150326T051909Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEW&eid=M2R1dmo0bm9zYmZ1dWhqc3ZxamVlcjlwNG8gZGV2QHdzbzIub3Jn&tok=MTgjdGh1
 c2hhcmFrQHdzbzIuY29tNjc0NzRjYzEwODk0YmY3MzY5MTMyOGFkODJiZGY0MjU1MTY2ZjYzOA&
 ctz=Asia/Colombo&hl=en.
LAST-MODIFIED:20150326T052358Z
LOCATION:LK 3rd Floor Meeting Room - Kernel Ext:1005350
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:EndpointUtils feature code review and demo.
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Dev] [AppCloud] AccessControlException on Google Data API Library

2015-03-25 Thread Rasika Perera
Hi All,

I am trying to use Google Data API library on App cloud. When trying
to invoke the API, I am getting the following runtime permission
error.

java.security.AccessControlException: access denied
("java.net.NetPermission" "getCookieHandler")

java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)

java.security.AccessController.checkPermission(AccessController.java:559)
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
java.net.CookieHandler.getDefault(CookieHandler.java:75)

com.google.gdata.client.http.GoogleGDataRequest$GoogleCookieHandler.(GoogleGDataRequest.java:337)

com.google.gdata.client.http.GoogleGDataRequest$GoogleCookieHandler.(GoogleGDataRequest.java:326)

com.google.gdata.client.http.GoogleGDataRequest.(GoogleGDataRequest.java:429)

com.google.gdata.client.http.GoogleGDataRequest$Factory.createRequest(GoogleGDataRequest.java:94)

com.google.gdata.client.http.HttpGDataRequest$Factory.getRequest(HttpGDataRequest.java:165)
com.google.gdata.client.Service.createRequest(Service.java:760)

com.google.gdata.client.GoogleService.createRequest(GoogleService.java:539)
com.google.gdata.client.Service.createFeedRequest(Service.java:1156)
com.google.gdata.client.Service.getFeed(Service.java:997)
com.google.gdata.client.GoogleService.getFeed(GoogleService.java:645)
com.google.gdata.client.Service.getFeed(Service.java:1017)

org.wso2.eventsmng.handler.OAuthHandler.loginOAuth2(OAuthHandler.java:168)

org.wso2.eventsmng.servlets.EventsController.processRequest(EventsController.java:60)

org.wso2.eventsmng.servlets.EventsController.doGet(EventsController.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)

org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)

​As mentioned in Google App Engine Q&A [1] the work around is to add the
following to the appengine-web.xml.


  


Therefore, I tried to add followings into my web.xml.

 

com.google.gdata.DisableCookieHandler
java.lang.Boolean
true
 

I also tried `env-entry-type` as `java.lang.String` and all workarounds in
[2],  still getting the same error.

1. Any solution to get rid of this error?
2. How can I change these security policy configurations on the App Cloud?​

[1]
http://www.lhelper.org/dev/google-appengine-docs-20090422/appengine/kb/java.html#googledata
[2] https://code.google.com/p/gdata-java-client/issues/detail?id=122

-- 
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


Re: [Dev] [DEV][MB] Truncate Tables Script MSSQL

2015-03-25 Thread Ramith Jayasinghe
could you host these in your git hub then we can download it from there.

On Wed, Mar 25, 2015 at 7:25 PM, Pumudu Ruhunage  wrote:

> Hi,
>
> While doing mb cluster testing when i wants to start from clean database
> i've used attached db drop sql script with dsetup. only catch is that mssql
> user have to have drop/create database privileges to run this script. Make
> sure to changes database names if anyone using this script.
>
> Regards,
>
> On Tue, Feb 10, 2015 at 2:16 PM, Ramith Jayasinghe 
> wrote:
>
>> shall we commit this to a scratch/personal area?
>>
>> On Tue, Feb 10, 2015 at 2:15 PM, Pamod Sylvester  wrote:
>>
>>> Good stuff. This will be useful when carrying out tests, so that we will
>>> not need to drop the DB entirely.
>>>
>>> On Tue, Feb 10, 2015 at 2:10 PM, Akalanka Pagoda Arachchi <
>>> darsha...@wso2.com> wrote:
>>>
 Hi all,

 Attached truncate tables script to be used in testing/dev when MB is
 configured to be used with SQL Server.

 Thanks,
 Akalanka.

 --
 *Darshana Akalanka Pagoda Arachchi,*
 *Software Engineer*
 *078-4721791 <078-4721791>*

>>>
>>>
>>>
>>> --
>>> *Pamod Sylvester *
>>>  *Senior Software Engineer *
>>> Integration Technologies Team, WSO2 Inc.; http://wso2.com
>>> email: pa...@wso2.com cell: +94 77 7779495
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Ramith Jayasinghe
>> Technical Lead
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> E: ram...@wso2.com
>> P: +94 777542851
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Pumudu Ruhunage
> Associate Software Engineer | WSO2 Inc
> M: +94 779 664493  | http://wso2.com
>



-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 777542851
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Error while sending slot deletion safe zone update

2015-03-25 Thread Sajini De Silva
Hi,

It seems like this is a bug in the code. When SlotCoordinator is
changed submitCurrentSafeZone
gets connectionException. When this exception is thrown,
SlotMessageCounter should
update its local thrift coordinator details from hazelcast map. That part
is not implemented in the code. Will fix the issue in the Alpha release.

Thank you,
Sajini

On Wed, Mar 25, 2015 at 9:33 AM, Isuru Haththotuwa  wrote:

> Hi devs,
>
> I experienced this error as well in a two node cluster in ec2 (two VMs).
> Here is what I observed:
>
> I have configured each nodes IP as the thrift host name in the broker.xml
> file. When the first node is started, its selected as the Slot Coordinator.
> And if the current Slot Coordinator goes down, the second node is elected
> as the Slot Coordinator.
>
> However, when the first node goes down, the second node consistently
> prints this error. I assume its trying to connect and publish some
> information to the previous Slot Coordinator that results in this broken
> pipe, since the first node is no more. Should the second node continue to
> try to publish to the first node, even when it becomes the Slot Coordinator
> itself (assuming the non coordinators publish this information to the
> coordinator) ?
>
> On Thu, Mar 19, 2015 at 8:55 AM, Hasitha Amal De Silva 
> wrote:
>
>> Its possible since the first node will try to communicate the safe zone
>> to the second node once its up, through the offset thrift port.
>>
>> On Thu, Mar 19, 2015 at 6:11 PM, Hemika Kodikara  wrote:
>>
>>> The first node was having an offset which was set by mistake. But would
>>> that have caused in error ? When I tried it for the first time, this
>>> started coming up when the second node got connected.
>>>
>>> Regards,
>>> Hemika
>>>
>>> Hemika Kodikara
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middleware
>>> http://wso2.com
>>>
>>> Mobile : +9477762
>>>
>>> On Thu, Mar 19, 2015 at 5:44 PM, Asitha Nanayakkara 
>>> wrote:
>>>
 When the safe zone communication event is triggered, this exception is
 thrown. This happens all the time not an intermittent issue. It seems like
 ThriftClient couldn't read/write using the port.

 Can this be a port issue, where we haven't opened the ports for Thrift
 client in this EC2 instance?


 On Thu, Mar 19, 2015 at 5:26 PM, Hasitha Amal De Silva <
 hasit...@wso2.com> wrote:

> Hi Hemika,
>
> Does this happen at a specific moment when new nodes are joining etc.
> ? or purely random ? This could as well be a thrift connection breakup
> issue too.
>
> Thanks
>
> On Thu, Mar 19, 2015 at 5:16 PM, Hemika Kodikara 
> wrote:
>
>> Hi All,
>>
>> I have setup a 3 MB node cluster with 3 datastax cassandra message
>> stores each on EC2 instances.
>>
>> When starting up the 2nd node of MB, I am getting the following error
>> (The error is coming from time to time, I believe its coming from a 
>> timer.)
>> :
>>
>> TID: [] [] [2015-03-19 11:26:09,746] ERROR
>> {org.wso2.andes.thrift.MBThriftClient} -  Error while sending slot 
>> deletion
>> safe zone update {org.wso2.andes.thrift.MBThriftClient}
>> org.apache.thrift.transport.TTransportException
>> at
>> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
>> at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>> at
>> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
>> at
>> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
>> at
>> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
>> at
>> org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
>> at
>> org.wso2.andes.thrift.slot.gen.SlotManagementService$Client.recv_updateCurrentMessageIdForSafeZone(SlotManagementService.java:183)
>> at
>> org.wso2.andes.thrift.slot.gen.SlotManagementService$Client.updateCurrentMessageIdForSafeZone(SlotManagementService.java:169)
>> at
>> org.wso2.andes.thrift.MBThriftClient.updateSlotDeletionSafeZone(MBThriftClient.java:323)
>> at
>> org.wso2.andes.kernel.slot.SlotCoordinatorCluster.updateSlotDeletionSafeZone(SlotCoordinatorCluster.java:61)
>> at
>> org.wso2.andes.kernel.slot.SlotMessageCounter.submitCurrentSafeZone(SlotMessageCounter.java:134)
>> at
>> org.wso2.andes.kernel.slot.SlotMessageCounter.access$500(SlotMessageCounter.java:36)
>> at
>> org.wso2.andes.kernel.slot.SlotMessageCounter$1.run(SlotMessageCounter.java:99)
>> at java.util.TimerThread.mainLoop(Timer.java:555)
>> at java.util.TimerThread.run(Timer.java:505)
>> TID: [] [] [2015-03-19 11:26:22,357]  INFO
>> {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} 
>> -
>>  Member joined [8c25be13-8649-4826-a54a-cd881aaf07d8]: /
>> 10.

Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-25 Thread Megala Uthayakumar
Yes Mahesh, As Pranavan mentioned it seems to be an issue in older versions
of the MB, you can try the latest pack from jenkins or else you can
directly build it using source code from github

On Thu, Mar 26, 2015 at 10:32 AM, Pranavan Theivendram 
wrote:

> Hi Mahesh,
>
> You can download the latest pack from the link below.
> It is resolved now.
>
> https://wso2.org/jenkins/job/product-mb/
>
> On Thu, Mar 26, 2015 at 10:18 AM, Mahesh Chinthaka 
> wrote:
>
>> No, just one subscriber.
>>
>> On Thu, Mar 26, 2015 at 8:59 AM, Pranavan Theivendram > > wrote:
>>
>>> Hi Mahesh,
>>>
>>> Do you have two or more subscribers to the durable topic?
>>>
>>> On Wed, Mar 25, 2015 at 11:23 AM, Mahesh Chinthaka 
>>> wrote:
>>>
 Hi Megala,

 Can you explain how did you get this one sorted out ??
 Im also getting the same error im using MB2.2.0

 Others, any idea on resolving this ??

 On Mon, Feb 9, 2015 at 11:17 AM, Megala Uthayakumar 
 wrote:

> Hi all,
> Thanks for the help. The issue has been resolved now.
>
> On Mon, Feb 9, 2015 at 11:11 AM, Pamod Sylvester 
> wrote:
>
>> Hi Megala,
>>
>> For the log trace it seems like two subscribers with the same id are
>> attempting to subscribe.
>>
>> Thanks,
>> Pamod
>>
>> On Mon, Feb 9, 2015 at 11:08 AM, Shiva Balachandran 
>> wrote:
>>
>>> Hi All,
>>>
>>> I think the issue must have popped up after the new fixes.
>>>
>>> Looping Pamod in.
>>>
>>> Thank you.
>>>
>>> Regards,
>>>
>>> Shiva Balachandran
>>>
>>> On Mon, Feb 9, 2015 at 10:11 AM, Pranavan Theivendram <
>>> pranav...@wso2.com> wrote:
>>>
 Hi Megala,

 Please use 2.5 version snapshot. For me it is working.

 On Sat, Feb 7, 2015 at 5:43 PM, Megala Uthayakumar >>> > wrote:

> Hi,
>
> Thanks for the info. But I am using the MB 3.0.
>
> On Fri, Feb 6, 2015 at 6:12 PM, Shiva Balachandran  > wrote:
>
>> Hi Megala,
>>
>> What is the version of MB you are currently using? This was issue
>> was experienced in 2.0.1 and was fixed in the later version, refer 
>> to [1].
>>
>> [1] -
>> http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati
>>
>> Thank you.
>>
>> Regards,
>> Shiva Balachandran
>>
>> On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar <
>> meg...@wso2.com> wrote:
>>
>>>
>>> Hi all,
>>>
>>> When I try to run the Durable subscriber sample in the MB I got
>>> the following error.
>>>
>>> [
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *java] javax.jms.JMSException: Error registering consumer:
>>> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
>>> carbon:mySub1234567 as it already has an existing exclusive 
>>> consumer [error
>>> code 403: access refused] [java] at
>>> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089)
>>>  [java]
>>> at 
>>> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
>>> [java] at
>>> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
>>> [java] at
>>> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
>>> [java] at
>>> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
>>> [java] at
>>> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
>>> [java] at
>>> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
>>> [java] at
>>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
>>> [java] at
>>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
>>> [java] at
>>> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
>>> [java] at 
>>> org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
>>> Source) [java] at org.sample.jms.Main.main(Unknown Source)*
>>>
>>> Same exception is thrown  when trying to run the integration
>>> test for the durable subscribers. What may be the possible reason 
>>> for this?
>>>
>>> Thanks
>>>
>>> Megala Uthayakumar
>>> *Software Engineering Intern *| *WSO2 Lanka*
>>> Mobile : +94 779 967 122
>

Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-25 Thread Pranavan Theivendram
Hi Mahesh,

You can download the latest pack from the link below.
It is resolved now.

https://wso2.org/jenkins/job/product-mb/

On Thu, Mar 26, 2015 at 10:18 AM, Mahesh Chinthaka  wrote:

> No, just one subscriber.
>
> On Thu, Mar 26, 2015 at 8:59 AM, Pranavan Theivendram 
> wrote:
>
>> Hi Mahesh,
>>
>> Do you have two or more subscribers to the durable topic?
>>
>> On Wed, Mar 25, 2015 at 11:23 AM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Megala,
>>>
>>> Can you explain how did you get this one sorted out ??
>>> Im also getting the same error im using MB2.2.0
>>>
>>> Others, any idea on resolving this ??
>>>
>>> On Mon, Feb 9, 2015 at 11:17 AM, Megala Uthayakumar 
>>> wrote:
>>>
 Hi all,
 Thanks for the help. The issue has been resolved now.

 On Mon, Feb 9, 2015 at 11:11 AM, Pamod Sylvester 
 wrote:

> Hi Megala,
>
> For the log trace it seems like two subscribers with the same id are
> attempting to subscribe.
>
> Thanks,
> Pamod
>
> On Mon, Feb 9, 2015 at 11:08 AM, Shiva Balachandran 
> wrote:
>
>> Hi All,
>>
>> I think the issue must have popped up after the new fixes.
>>
>> Looping Pamod in.
>>
>> Thank you.
>>
>> Regards,
>>
>> Shiva Balachandran
>>
>> On Mon, Feb 9, 2015 at 10:11 AM, Pranavan Theivendram <
>> pranav...@wso2.com> wrote:
>>
>>> Hi Megala,
>>>
>>> Please use 2.5 version snapshot. For me it is working.
>>>
>>> On Sat, Feb 7, 2015 at 5:43 PM, Megala Uthayakumar 
>>> wrote:
>>>
 Hi,

 Thanks for the info. But I am using the MB 3.0.

 On Fri, Feb 6, 2015 at 6:12 PM, Shiva Balachandran 
 wrote:

> Hi Megala,
>
> What is the version of MB you are currently using? This was issue
> was experienced in 2.0.1 and was fixed in the later version, refer to 
> [1].
>
> [1] -
> http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati
>
> Thank you.
>
> Regards,
> Shiva Balachandran
>
> On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar <
> meg...@wso2.com> wrote:
>
>>
>> Hi all,
>>
>> When I try to run the Durable subscriber sample in the MB I got
>> the following error.
>>
>> [
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *java] javax.jms.JMSException: Error registering consumer:
>> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
>> carbon:mySub1234567 as it already has an existing exclusive consumer 
>> [error
>> code 403: access refused] [java] at
>> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089) 
>> [java]
>> at 
>> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
>> [java] at
>> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
>> [java] at
>> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
>> [java] at
>> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
>> [java] at
>> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
>> [java] at
>> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
>> [java] at
>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
>> [java] at
>> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
>> [java] at
>> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
>> [java] at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
>> Source) [java] at org.sample.jms.Main.main(Unknown Source)*
>>
>> Same exception is thrown  when trying to run the integration test
>> for the durable subscribers. What may be the possible reason for 
>> this?
>>
>> Thanks
>>
>> Megala Uthayakumar
>> *Software Engineering Intern *| *WSO2 Lanka*
>> Mobile : +94 779 967 122
>> Tel  : +94 112 733 667
>> E-mail :  meg...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788

Re: [Dev] Fwd: [Gsoc2015] Siddhi Process Monitor for WSO2 CEP

2015-03-25 Thread Sabra Ossen
Hi,

Currently in the mail threads event flow rate, memory consumption, queue
size are mentioned as the requirements which need visualizations. What are
the additional visualizations needed, could you be more specific on the
requirements.?? I would be grateful if you could help me as I am in the
final stage of completing my proposal .

Thanks.

On Wed, Mar 25, 2015 at 10:34 AM, Sabra Ossen  wrote:

> Hi Mohan,
>
> Thanks for the clarification.
>
> Regards.
>
> On Wed, Mar 25, 2015 at 8:19 AM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>>
>>
>> On Mon, Mar 23, 2015 at 2:33 PM, Sabra Ossen  wrote:
>>
>>> Hi,
>>>
>>> Sorry, I created this new thread since I needed to use my private email
>>> address to communicate.
>>>
>>> So basically so far your idea is to create a Jaggery app for the
>>> interface and use the admin service to get data that needs to be shown.??
>>>
>>
>> Sorry Sabra for the delay.. No need a Jaggary App.. You need to develop a
>> carbon UI component for this and use stubs to talk with admin services.
>>
>> Thanks,
>> Mohan
>>
>>
>>> Regards.
>>> Sabra.
>>>
>>> On Sun, Mar 22, 2015 at 1:07 PM, Mohanadarshan Vivekanandalingam <
>>> mo...@wso2.com> wrote:
>>>


 On Tue, Mar 17, 2015 at 3:02 PM, Sabra Ossen 
 wrote:

> Hi,
>
>
 Sorry Sabra, missed this mail..


> I am Sabra Ossen, an undergraduate of Department of Computer Science
> and Engineering, University of Moratuwa. Currently I am an intern in WSO2.
>
> I am interested in proposal [1] in the GSoC project proposals list. I
> did my fast track training project with WSO2 CEP regarding UI support for
> Siddhi Queries. Therefore I am already familiar with WSO2 CEP and Siddhi
> Queries.
>
> I participated in the hangout and checked the mails in dev regarding
> the Siddhi Process monitor gsoc project.
>
> I have a question regarding the implementation of the api.
>
>- Based on my understanding the api exposes the back end features,
>so would a back end admin service be needed to expose the api. If so 
> would
>I have to use the CEP as the server to deploy the web service.
>
> Actually, we need to get process information from Siddhi. Then we need
 to create some api for Siddhi engine (currently, we don't have anything
 like that). Then we can create an admin service that provide mediation
 between the UI and siddhi API. If you have any other interesting idea then
 we can discuss about that as well..

 P.S : For the moment let's stick to single mail thread..

 Thanks,
 Mohan



> Any clarification on the api is appreciated.
>
> Thanks.
> Sabra.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com  *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673

>>>
>>>
>>
>>
>> --
>> *V. Mohanadarshan*
>> *Software Engineer,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sabra Ossen
> *Software Engineering Intern*
> Mobile : +94 (0) 775 837 356
> sa...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-25 Thread Mahesh Chinthaka
No, just one subscriber.

On Thu, Mar 26, 2015 at 8:59 AM, Pranavan Theivendram 
wrote:

> Hi Mahesh,
>
> Do you have two or more subscribers to the durable topic?
>
> On Wed, Mar 25, 2015 at 11:23 AM, Mahesh Chinthaka 
> wrote:
>
>> Hi Megala,
>>
>> Can you explain how did you get this one sorted out ??
>> Im also getting the same error im using MB2.2.0
>>
>> Others, any idea on resolving this ??
>>
>> On Mon, Feb 9, 2015 at 11:17 AM, Megala Uthayakumar 
>> wrote:
>>
>>> Hi all,
>>> Thanks for the help. The issue has been resolved now.
>>>
>>> On Mon, Feb 9, 2015 at 11:11 AM, Pamod Sylvester  wrote:
>>>
 Hi Megala,

 For the log trace it seems like two subscribers with the same id are
 attempting to subscribe.

 Thanks,
 Pamod

 On Mon, Feb 9, 2015 at 11:08 AM, Shiva Balachandran 
 wrote:

> Hi All,
>
> I think the issue must have popped up after the new fixes.
>
> Looping Pamod in.
>
> Thank you.
>
> Regards,
>
> Shiva Balachandran
>
> On Mon, Feb 9, 2015 at 10:11 AM, Pranavan Theivendram <
> pranav...@wso2.com> wrote:
>
>> Hi Megala,
>>
>> Please use 2.5 version snapshot. For me it is working.
>>
>> On Sat, Feb 7, 2015 at 5:43 PM, Megala Uthayakumar 
>> wrote:
>>
>>> Hi,
>>>
>>> Thanks for the info. But I am using the MB 3.0.
>>>
>>> On Fri, Feb 6, 2015 at 6:12 PM, Shiva Balachandran 
>>> wrote:
>>>
 Hi Megala,

 What is the version of MB you are currently using? This was issue
 was experienced in 2.0.1 and was fixed in the later version, refer to 
 [1].

 [1] -
 http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati

 Thank you.

 Regards,
 Shiva Balachandran

 On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar >>> > wrote:

>
> Hi all,
>
> When I try to run the Durable subscriber sample in the MB I got
> the following error.
>
> [
>
>
>
>
>
>
>
>
>
>
>
> *java] javax.jms.JMSException: Error registering consumer:
> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
> carbon:mySub1234567 as it already has an existing exclusive consumer 
> [error
> code 403: access refused] [java] at
> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089) 
> [java]
> at 
> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
> [java] at
> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
> [java] at
> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
> [java] at
> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
> [java] at
> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
> [java] at
> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
> [java] at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
> [java] at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
> [java] at
> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
> [java] at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
> Source) [java] at org.sample.jms.Main.main(Unknown Source)*
>
> Same exception is thrown  when trying to run the integration test
> for the durable subscribers. What may be the possible reason for this?
>
> Thanks
>
> Megala Uthayakumar
> *Software Engineering Intern *| *WSO2 Lanka*
> Mobile : +94 779 967 122
> Tel  : +94 112 733 667
> E-mail :  meg...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.com/

>>>
>>>
>>>
>>> --
>>> Megala Uthayakumar
>>> *Software Engineering Intern *| *WSO2 Lanka*
>>> Mobile : +94 779 967 122
>>> Tel  : +94 112 733 667
>>> E-mail :  meg...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> D

Re: [Dev] [IS] OAuth Token endpoint throws an exception

2015-03-25 Thread Prasad Tissera
Yes, we didn't get a fix for this yet.

Regards,
Prasad.

On Thu, Mar 26, 2015 at 9:07 AM, Kasun Dananjaya Delgolla 
wrote:

> Hi Prasad,
>
> Any update on this? Still to be fixed?
>
> Thanks
>
> On Fri, Mar 20, 2015 at 11:19 AM, Prasad Tissera  wrote:
>
>> Hi Kasun,
>>
>> patch0001 is the patch we currently have for this issue. It worked
>> without any issues for us. Can you please try again and verify. Thanks
>>
>> Regards,
>> Prasad.
>>
>> On Thu, Mar 19, 2015 at 6:31 PM, Kasun Dananjaya Delgolla <
>> kas...@wso2.com> wrote:
>>
>>> Hi Farasath,
>>>
>>> Thanks a lot for your suggestion. I tried the patch you provided, but I
>>> still get the same issue. I talked with IS team and they said they also
>>> getting the same issue intermittently. They are working on a solution for
>>> that.
>>>
>>> Thanks
>>>
>>>
>>> On Thu, Mar 19, 2015 at 5:52 PM, Farasath Ahamed 
>>> wrote:
>>>
 Hi Kasun,

 I faced the same issue previously. Was able to overcome by applying the
 attached patch to IS 5.0.0.

 On Thu, Mar 19, 2015 at 1:22 PM, Kasun Dananjaya Delgolla <
 kas...@wso2.com> wrote:

> Hi Waruna,
>
> Any update on this?
>
> Thanks
>
> On Tue, Mar 17, 2015 at 3:35 PM, Kasun Dananjaya Delgolla <
> kas...@wso2.com> wrote:
>
>> Hi Waruna,
>>
>> Thanks a lot. But it does not solve the issue. I haven't done any
>> plugin changes or patch additions. It happened just after building the 
>> CDM
>> pack and run it. We have a use case where a mobile client needs token
>> generation and when we call token url from the client (or even we run a
>> curl from our server itself) it gives the above exception.
>>
>> Thanks
>>
>> On Tue, Mar 17, 2015 at 3:19 PM, Waruna Perera 
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> Pls see if following thread helps [1].
>>>
>>> [1][Dev] [IS]Can not access oauth2 authorize endpoint url
>>>
>>>
>>>
>>> On Tue, Mar 17, 2015 at 2:56 PM, Kasun Dananjaya Delgolla <
>>> kas...@wso2.com> wrote:
>>>
 Hi All,

 $subject happens when we try to generate access token using /token
 endpoint. We are using version 4.3.3 and full error log is attached. In
 brief, it's

  java.lang.NoClassDefFoundError:
 org/wso2/carbon/identity/oauth/cache/CacheKey

 Thanks
 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 771 771 015
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 *

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


>>>
>>>
>>> --
>>> Waruna Perera
>>> Senior Software Engineer - Test Automation
>>> Mobile: +94 77 3867037
>>> WSO2, Inc.; http://wso2.com/
>>> lean . enterprise . middlewear.
>>>
>>
>>
>>
>> --
>> Kasun Dananjaya Delgolla
>>
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Tel:  +94 11 214 5345
>> Fax: +94 11 2145300
>> Mob: + 94 771 771 015
>> Blog: http://kddcodingparadise.blogspot.com
>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>> *
>>
>
>
>
> --
> Kasun Dananjaya Delgolla
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> Tel:  +94 11 214 5345
> Fax: +94 11 2145300
> Mob: + 94 771 771 015
> Blog: http://kddcodingparadise.blogspot.com
> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Farasath Ahamed*
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com

 Mobile: +94 777 603 866
 E-Mail:  farasath a...@wso2.com
 Blog: http://thepseudocode.blogspot.com/

>>>
>>>
>>>
>>> --
>>> Kasun Dananjaya Delgolla
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> Tel:  +94 11 214 5345
>>> Fax: +94 11 2145300
>>> Mob: + 94 771 771 015
>>> Blog: http://kddcodingparadise.blogspot.com
>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> 

Re: [Dev] [IS] OAuth Token endpoint throws an exception

2015-03-25 Thread Kasun Dananjaya Delgolla
Hi Prasad,

Any update on this? Still to be fixed?

Thanks

On Fri, Mar 20, 2015 at 11:19 AM, Prasad Tissera  wrote:

> Hi Kasun,
>
> patch0001 is the patch we currently have for this issue. It worked without
> any issues for us. Can you please try again and verify. Thanks
>
> Regards,
> Prasad.
>
> On Thu, Mar 19, 2015 at 6:31 PM, Kasun Dananjaya Delgolla  > wrote:
>
>> Hi Farasath,
>>
>> Thanks a lot for your suggestion. I tried the patch you provided, but I
>> still get the same issue. I talked with IS team and they said they also
>> getting the same issue intermittently. They are working on a solution for
>> that.
>>
>> Thanks
>>
>>
>> On Thu, Mar 19, 2015 at 5:52 PM, Farasath Ahamed 
>> wrote:
>>
>>> Hi Kasun,
>>>
>>> I faced the same issue previously. Was able to overcome by applying the
>>> attached patch to IS 5.0.0.
>>>
>>> On Thu, Mar 19, 2015 at 1:22 PM, Kasun Dananjaya Delgolla <
>>> kas...@wso2.com> wrote:
>>>
 Hi Waruna,

 Any update on this?

 Thanks

 On Tue, Mar 17, 2015 at 3:35 PM, Kasun Dananjaya Delgolla <
 kas...@wso2.com> wrote:

> Hi Waruna,
>
> Thanks a lot. But it does not solve the issue. I haven't done any
> plugin changes or patch additions. It happened just after building the CDM
> pack and run it. We have a use case where a mobile client needs token
> generation and when we call token url from the client (or even we run a
> curl from our server itself) it gives the above exception.
>
> Thanks
>
> On Tue, Mar 17, 2015 at 3:19 PM, Waruna Perera 
> wrote:
>
>> Hi Kasun,
>>
>> Pls see if following thread helps [1].
>>
>> [1][Dev] [IS]Can not access oauth2 authorize endpoint url
>>
>>
>>
>> On Tue, Mar 17, 2015 at 2:56 PM, Kasun Dananjaya Delgolla <
>> kas...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> $subject happens when we try to generate access token using /token
>>> endpoint. We are using version 4.3.3 and full error log is attached. In
>>> brief, it's
>>>
>>>  java.lang.NoClassDefFoundError:
>>> org/wso2/carbon/identity/oauth/cache/CacheKey
>>>
>>> Thanks
>>> --
>>> Kasun Dananjaya Delgolla
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> Tel:  +94 11 214 5345
>>> Fax: +94 11 2145300
>>> Mob: + 94 771 771 015
>>> Blog: http://kddcodingparadise.blogspot.com
>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Waruna Perera
>> Senior Software Engineer - Test Automation
>> Mobile: +94 77 3867037
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Kasun Dananjaya Delgolla
>
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> Tel:  +94 11 214 5345
> Fax: +94 11 2145300
> Mob: + 94 771 771 015
> Blog: http://kddcodingparadise.blogspot.com
> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
> *
>



 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 771 771 015
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 *

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


>>>
>>>
>>> --
>>> *Farasath Ahamed*
>>> Software Engineering Intern
>>> WSO2 Inc.; http://wso2.com
>>>
>>> Mobile: +94 777 603 866
>>> E-Mail:  farasath a...@wso2.com
>>> Blog: http://thepseudocode.blogspot.com/
>>>
>>
>>
>>
>> --
>> Kasun Dananjaya Delgolla
>>
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Tel:  +94 11 214 5345
>> Fax: +94 11 2145300
>> Mob: + 94 771 771 015
>> Blog: http://kddcodingparadise.blogspot.com
>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Prasad Tissera
> Software Engineer.
> Mobile : +94777223444
>



-- 
Kasun Dananjaya Delgolla

Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Tel:  +94 11 214 5345
Fax: +94 11 2145300
Mob: + 94 771 771 015
Blog: http://kddcodingparadise.blogspot.com
Linkedin: *http://lk.linkedin.com/in/kasundananjaya


Re: [Dev] [MB]Error when trying to run the Durable subscriber sample

2015-03-25 Thread Pranavan Theivendram
Hi Mahesh,

Do you have two or more subscribers to the durable topic?

On Wed, Mar 25, 2015 at 11:23 AM, Mahesh Chinthaka  wrote:

> Hi Megala,
>
> Can you explain how did you get this one sorted out ??
> Im also getting the same error im using MB2.2.0
>
> Others, any idea on resolving this ??
>
> On Mon, Feb 9, 2015 at 11:17 AM, Megala Uthayakumar 
> wrote:
>
>> Hi all,
>> Thanks for the help. The issue has been resolved now.
>>
>> On Mon, Feb 9, 2015 at 11:11 AM, Pamod Sylvester  wrote:
>>
>>> Hi Megala,
>>>
>>> For the log trace it seems like two subscribers with the same id are
>>> attempting to subscribe.
>>>
>>> Thanks,
>>> Pamod
>>>
>>> On Mon, Feb 9, 2015 at 11:08 AM, Shiva Balachandran 
>>> wrote:
>>>
 Hi All,

 I think the issue must have popped up after the new fixes.

 Looping Pamod in.

 Thank you.

 Regards,

 Shiva Balachandran

 On Mon, Feb 9, 2015 at 10:11 AM, Pranavan Theivendram <
 pranav...@wso2.com> wrote:

> Hi Megala,
>
> Please use 2.5 version snapshot. For me it is working.
>
> On Sat, Feb 7, 2015 at 5:43 PM, Megala Uthayakumar 
> wrote:
>
>> Hi,
>>
>> Thanks for the info. But I am using the MB 3.0.
>>
>> On Fri, Feb 6, 2015 at 6:12 PM, Shiva Balachandran 
>> wrote:
>>
>>> Hi Megala,
>>>
>>> What is the version of MB you are currently using? This was issue
>>> was experienced in 2.0.1 and was fixed in the later version, refer to 
>>> [1].
>>>
>>> [1] -
>>> http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Shiva Balachandran
>>>
>>> On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar 
>>> wrote:
>>>

 Hi all,

 When I try to run the Durable subscriber sample in the MB I got the
 following error.

 [











 *java] javax.jms.JMSException: Error registering consumer:
 org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
 carbon:mySub1234567 as it already has an existing exclusive consumer 
 [error
 code 403: access refused] [java] at
 org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089) 
 [java]
 at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
 [java] at
 org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
 [java] at
 org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
 [java] at
 org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
 [java] at
 org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
 [java] at
 org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
 [java] at
 org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
 [java] at
 org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
 [java] at
 org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
 [java] at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
 Source) [java] at org.sample.jms.Main.main(Unknown Source)*

 Same exception is thrown  when trying to run the integration test
 for the durable subscribers. What may be the possible reason for this?

 Thanks

 Megala Uthayakumar
 *Software Engineering Intern *| *WSO2 Lanka*
 Mobile : +94 779 967 122
 Tel  : +94 112 733 667
 E-mail :  meg...@wso2.com

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


>>>
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>
>>
>>
>> --
>> Megala Uthayakumar
>> *Software Engineering Intern *| *WSO2 Lanka*
>> Mobile : +94 779 967 122
>> Tel  : +94 112 733 667
>> E-mail :  meg...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Regards,*
>
> *T.Pranavan*
>
> *Software Engineering intern, WSO2*
> *Mobile - +94775136836 <%2B94775136836>*
>
> __

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

2015-03-25 Thread Kishanthan Thangarajah
On Wed, Mar 25, 2015 at 12:24 AM, Jayanga Dissanayake 
wrote:

> Hi Devs,
>
> This is the *1st* release candidate of WSO2 Carbon Kernel 4.4.0.
>
> This release fixes the following issues:
> https://wso2.org/jira/browse/CARBON-15213?filter=12181
>
> Please download, test and vote.
>
> *Source & binary distribution files:*
>
> http://maven.wso2.org/nexus/content/repositories/staging/org/wso2/carbon/wso2carbon/4.4.0/
>
> *Maven staging repository:*
> http://maven.wso2.org/nexus/content/repositories/orgwso2carbon-018/
>
> *The tag to be voted upon :*
> https://github.com/wso2/carbon4-kernel/tree/v4.4.0-RC1
>
>
> [ ] Broken - do not release (explain why)
> [X] Stable - go ahead and release
>

Areas covered with testing:

1. Secure vault.
2. Tenant Eager Loading.



> Thanks,
> Carbon Team.
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>



-- 
*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


Re: [Dev] Proposal for Data Wrangler extension for WSO2 Machine Learner

2015-03-25 Thread Tharinda Ehelepola
Hi,

I submitted the proposal in Melange. Please mention any corrections.

Thank You.
Tharinda.

On Tue, Mar 24, 2015 at 10:45 PM, Tharinda Ehelepola 
wrote:

> Hi,
>
> I am unable to find API for the Wrangler. How do I connect Jaggery UI to
> Wrangler? Is it better to implement the API for this?
>
> Thank You.
> Tharinda.
>
> On Tue, Mar 24, 2015 at 8:58 AM, Tharinda Ehelepola  > wrote:
>
>> Hi,
>>
>> Thanks for comments. Idea is clear. I need to be clear about the
>> conversion part. I think the output JS can be converted into java by
>> mapping those scripts with libraries on apache spark transformation. For
>> this mapping part, What is the feasibility of using compiler?
>>
>> Thank You.
>> Tharinda.
>>
>> On Tue, Mar 24, 2015 at 8:02 AM, Supun Sethunga  wrote:
>>
>>> Hi,
>>>
>>> End user can connect to the Jaggery UI. So Jaggery UI is the front end.
 If end user do some operations using Jaggery, Scripts are generating from
 Wrangler. Those created scripts should be converted into java and it's
 input for the back-end.
>>>
>>> Correct.
>>>
>>>  So the back-end is the machine learner. Is this correct?
>>>
>>> I made a comment on this in the doc.. please refer to that.
>>>
>>> Regards,
>>> Supun
>>>
>>> On Tue, Mar 24, 2015 at 1:25 PM, Tharinda Ehelepola <
>>> tharinda...@gmail.com> wrote:
>>>
 Hi,

 I'll start creating the proposal in Melange. I need some comments to
 finalize it. I got some idea about the back-end. I need to be clear about
 the implementation plan. This is the basic idea I have for the overview of
 the project. End user can connect to the Jaggery UI. So Jaggery UI is the
 front end. If end user do some operations using Jaggery, Scripts are
 generating from Wrangler. Those created scripts should be converted into
 java and it's input for the back-end. So the back-end is the machine
 learner. Is this correct? I am expecting your comments as I want to
 conclude my proposal. Please mention any correction.

 Thank You.
 Tharinda.

 On Tue, Mar 24, 2015 at 5:56 AM, Nirmal Fernando 
 wrote:

> Tharinda, please start creating the proposal in Melage and submit it
> once you attended to the given feedback.
>
> Thanks.
>
> On Mon, Mar 23, 2015 at 7:53 PM, Nirmal Fernando 
> wrote:
>
>> Please try out the M1 release for a better understanding on the
>> back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1
>>
>> On Mon, Mar 23, 2015 at 7:13 PM, Tharinda Ehelepola <
>> tharinda...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I need to be clear about some points in the project. Here
>>>  is the
>>> pipeline where I got from your ML presentation. If I correct this the
>>> common diagram for machine learning. In which part of the pipeline do 
>>> you
>>> need to use Wrangler? You said that remotely connecting to the Wrangler 
>>> is
>>> not a good option. I think It is easy to have an extension in the 
>>> machine
>>> learner and also you used java as the programming language. So you need 
>>> a
>>> back-end in java. You said that Jaggery UI is a middle layer between
>>> back-end,wrangler and the end user. Can you please explain me about 
>>> this. I
>>> need to be clear about this also. My idea about conversion is to use 
>>> apache
>>> spark transformation jar libraries. There are methods in java related to
>>> Wrangler functions. So those methods can be used to develop the 
>>> back-end in
>>> java. In here what is the feasibility of using compiler?  I am expecting
>>> your comments. Please mention any corrections.
>>>
>>> Thank You.
>>> Tharinda.
>>>
>>> On Sun, Mar 22, 2015 at 5:15 AM, Tharinda Ehelepola <
>>> tharinda...@gmail.com> wrote:
>>>
 Hi,

 I enabled commenting in the Google doc. Can you please comment on
 the doc itself.

 Thank you.
 Tharinda.

 On Sun, Mar 22, 2015 at 4:26 AM, Nirmal Fernando 
 wrote:

> Great thanks Tharinda!
>
> On Sun, Mar 22, 2015 at 9:19 AM, Tharinda Ehelepola <
> tharinda...@gmail.com> wrote:
>
>> Sorry about that Nirmal. I'll use only this thread from now on.
>> In order to conclude my proposal I am expecting your comments.
>>
>> Thank You.
>> Tharinda.
>>
>>
>> On Sun, Mar 22, 2015 at 3:19 AM, Nirmal Fernando > > wrote:
>>
>>> Hi Tharinda,
>>>
>>> Could you please send your updates in one thread? I've noticed
>>> that you initiated couple of different threads, and it's hard for 
>>> us to
>>> track. You could stick to this thread from now on.
>>>
>>> Thanks.
>>>
>

Re: [Dev] [Is] Exception is got when logging to dashboard from secondary user account

2015-03-25 Thread Darshana Gunawardana
The error you are getting is a ldap error.

Since the secondary user store is JDBC one the issue you are getting might
be not checking on domain name of the user. So need to check on
the DefaultClaimHandler impl whether user domain name is getting and using
correctly.

Thanks,
Darshana.

On Wed, Mar 25, 2015 at 10:45 AM, Lakshani Gamage  wrote:

> Hi Darshana,
>
> On Wed, Mar 25, 2015 at 7:56 PM, Darshana Gunawardana 
> wrote:
>
>> Hi,
>>
>> This seems to be issue with user store manager configuration. I suspect
>> this is due to invalid user dn pattern in new user store config.
>>
>> Please go to the /repository/deployment/server/userstores/
>> folder and open relevant user store config xml and try
>> removing UserDNPattern property.
>>
>
> There isn't UserDNPattern property in relevant user store config.xml. I
> have attached the xml file.
>
>
>>
>> And were you able to login to the mgt console with a user of new user
>> store domain?
>>
>
> Yes.
>
> Thanks,
> Lakshani.
>
>
>>
>> Regards,
>> Darshana
>>
>> On Wed, Mar 25, 2015 at 10:18 AM, Lakshani Gamage 
>> wrote:
>>
>>> Hi all,
>>> I cloned carbon-identity[1] and product_is[2] from github. ]. I created
>>> a secondary user store and added a user to that store with all permission.
>>> When I'm trying to log in to dashboard using that user, I got following
>>> exception in the log. Even though I got following exception I could log in
>>> to the dashboard.When I trying to log in to management console using the
>>> same user, I didn't get any exception.
>>>
>>> ERROR
>>> {org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler}
>>> -  Claim handling failed!
>>> org.wso2.carbon.identity.application.authentication.framework.exception.FrameworkException:
>>> Error occurred while getting all user claims for
>>> org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser@60eb7206
>>> in carbon.super
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleLocalClaims(DefaultClaimHandler.java:344)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleClaimMappings(DefaultClaimHandler.java:92)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handleClaimMappings(DefaultStepBasedSequenceHandler.java:623)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handlePostAuthentication(DefaultStepBasedSequenceHandler.java:409)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:126)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:124)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:95)
>>> at
>>> org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doPost(CommonAuthenticationServlet.java:53)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.apache.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:501)
>>> at
>>> org.apache.c

Re: [Dev] Applying QOS from developer studio with ESB 4.9.0 release

2015-03-25 Thread Godwin Amila Shrimal
Hi Sohani,

AFAIK, in old model (file base persistence) roles are not persisting in
meta file and it use AuthorizationManager (JDBCAuthorizationManager) for
persistence, We use same model for current implementation as well and roles
are not persisting in registry.


Thanks
Godwin


On Wed, Mar 25, 2015 at 11:23 AM, Sohani Weerasinghe 
wrote:

> Hi Chanaka/Godwin,
>
> In order to further implement this feature I really appreciate your input
> on the below concerns.
>
> 1. When considering the security perspective, it seems we have two options
> to specify user roles config either as a registry resource or using the
> parameter 'allowRoles' in the proxy configuration. IMO implement it as a
> registry resource would be better when considering the security
> perspective. WDYT?
>
> Also, if we are to implement it as a registry resource then the content of
> the resource will be admin.
>
> @Chanaka: Can we have a parameter in the proxy config to define the
> registry resource for the user roles as we define the security policy
> (eg:  ) ?
>
> @Godwin : If user roles is going to be implemented as a registry resource,
> will there be a predefined registry location to save it ?  If so can you
> please state it?
>
> Really appreciate your response on this.
>
> Thanks,
> Sohani
>
>
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Tue, Mar 24, 2015 at 3:52 PM, Sohani Weerasinghe 
> wrote:
>
>> Hi Chanaka/Godwin,
>>
>> Can you please provide an input on the below concerns to further carry
>> out the implementation from DevS side.
>>
>> 1.When considering the usability aspect, I think it's better if we can
>> create a registry resource for user roles at the time of creating the
>> policy using the Security Editor Form by getting the User Roles values from
>> the user rather than asking user to create a new registry resource for User
>> Roles.
>>
>> @Godwin: can you please state the required registry path to deploy the
>> User Roles configs?
>>
>> 2. If the User Roles config saves as a registry resource, how this can
>> be utilize by the proxy service? Will there be a property in the proxy
>> service so that we can point the User Role config as pointing the policy
>> file.
>>
>> 3. If we are deploying the policy and User Role configs via CAPP, in a
>> case where multiple policy files deploying in the same registry location,
>> in order to match the User Role config with the relevant policy file, how
>> can we identify the matching User Role config and the policy? Can we have
>> the same resource name for the policy and the User Role configs?
>>
>> @Chanaka: can you please confirm points 2 and 3?
>>
>> Thanks,
>> Sohani
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> On Tue, Mar 24, 2015 at 3:42 PM, Chanaka Fernando 
>> wrote:
>>
>>> Hi Godwin,
>>>
>>> That would be good.
>>>
>>> Thanks,
>>> Chanaka
>>>
>>> On Tue, Mar 24, 2015 at 3:40 PM, Godwin Amila Shrimal 
>>> wrote:
>>>
 Hi Chanaka,

 It'll finish within this week.


 Thanks
 Godwin


 On Tue, Mar 24, 2015 at 3:35 PM, Chanaka Fernando 
 wrote:

> Hi Godwin,
>
> When will you finish the offsite dev service?
>
> Thanks,
> Chanaka
>
> On Tue, Mar 24, 2015 at 3:30 PM, Godwin Amila Shrimal  > wrote:
>
>> Hi Chanaka,
>>
>> We have basically completed the registry base implementation in
>> security mgt component and need to do code refactoring and more testing. 
>> I
>> tested basic scenarios with STS-service and it worked ok. Currently I am 
>> in
>> an offsite DevService and planning to do remaining refactoring and 
>> testing
>> after this.
>>
>>
>> Thanks
>> Godwin
>>
>>
>>
>> On Tue, Mar 24, 2015 at 2:00 PM, Chanaka Fernando 
>> wrote:
>>
>>> Hi All,
>>>
>>> I am writing this mail to take the discussions related to $subject
>>> in to a single place. With the ESB 4.9.0 release, we are removing the UI
>>> capability of applying security policies from the management console. 
>>> Going
>>> forward, users can only apply security policies to ESB proxy services 
>>> using
>>> developer studio. Even though this functionality is already available in
>>> the Developer Studio, it has some edge cases when we use that approach. 
>>> One
>>> such limitation is that there is no place to select the users/roles in 
>>> the
>>> developer studio when applying the security policy. Currently, this
>>> information is stored in meta files and with the 4.9.0 version, service
>>> meta files are removed. Plan is to store this information in regist

Re: [Dev] [CEP 4.0.0-M3] Steps for Running Sample 2001

2015-03-25 Thread Sriskandarajah Suhothayan
Yes we can skip storm.yaml configuration for the single node

Suho

On Wed, Mar 25, 2015 at 10:01 PM, Tishan Dahanayakage 
wrote:

> ​Hi Iranga,
> Documentation [2] is outdated as of the current implementation. We need to
> change that appropriately. [3] explains how to set up a Storm Cluster. But
> you can ignore storm.yaml configs if you are runinng in the localhost as in
> the sample. You just need to bring up storm and zoo keeper nodes.
> @Suho
> I could not find any simple official documentation on running Storm on
> single node. We can either create new guide or point to [3] and say that
> user can skip storm.yaml configurations. WDYT?
>
> Thanks,
> Tishan
> ​
>
> On Wed, Mar 25, 2015 at 5:46 AM, Praneesha Chandrasiri  > wrote:
>
>> Hi Iranga,
>>
>> Thanks for pointing this out!
>>
>> I will work on this.
>>
>> On Wed, Mar 25, 2015 at 6:11 PM, Iranga Muthuthanthri 
>> wrote:
>>
>>> I am trying out CEP Sample  based on [1] in local mode. In the
>>> perquisite section Step 2 mentions about the  storm deployment which points
>>> to the apache storm page.
>>>
>>>  Would like to know if this means, it is needed to setup  and run a
>>> storm topology locally as mentioned in [2] by running
>>>
>>> org.wso2.carbon.event.processor.storm.jar , if so what would be the
>>> fully qualified class name?
>>>
>>> Suggest that the documentation could be made more descriptive.
>>>
>>> [1]
>>> https://docs.wso2.com/display/CEP400/Sample+2001+-+Simple+filter+query+with+Apache+Storm+deployment
>>>
>>> [2]
>>> https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Iranga Muthuthanthri
>>> (M) -0777-255773
>>> Team Product Management
>>>
>>>
>>
>>
>> --
>> Thanks & Best Regards,
>> *Praneesha Chandrasiri*
>> *Technical Writer*
>> *WSO2 Inc. *
>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>> *E-mail: pranee...@wso2.com *
>>
>>
>
>
> --
> 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.
>



-- 

*S. Suhothayan*
Technical Lead & Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* *
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan
 | linked-in:
http://lk.linkedin.com/in/suhothayan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP 4.0.0-M3] Steps for Running Sample 2001

2015-03-25 Thread Tishan Dahanayakage
​Hi Iranga,
Documentation [2] is outdated as of the current implementation. We need to
change that appropriately. [3] explains how to set up a Storm Cluster. But
you can ignore storm.yaml configs if you are runinng in the localhost as in
the sample. You just need to bring up storm and zoo keeper nodes.
@Suho
I could not find any simple official documentation on running Storm on
single node. We can either create new guide or point to [3] and say that
user can skip storm.yaml configurations. WDYT?

Thanks,
Tishan
​

On Wed, Mar 25, 2015 at 5:46 AM, Praneesha Chandrasiri 
wrote:

> Hi Iranga,
>
> Thanks for pointing this out!
>
> I will work on this.
>
> On Wed, Mar 25, 2015 at 6:11 PM, Iranga Muthuthanthri 
> wrote:
>
>> I am trying out CEP Sample  based on [1] in local mode. In the perquisite
>> section Step 2 mentions about the  storm deployment which points to the
>> apache storm page.
>>
>>  Would like to know if this means, it is needed to setup  and run a storm
>> topology locally as mentioned in [2] by running
>>
>> org.wso2.carbon.event.processor.storm.jar , if so what would be the
>> fully qualified class name?
>>
>> Suggest that the documentation could be made more descriptive.
>>
>> [1]
>> https://docs.wso2.com/display/CEP400/Sample+2001+-+Simple+filter+query+with+Apache+Storm+deployment
>>
>> [2]
>> https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm
>>
>>
>>
>>
>>
>> --
>> Thanks & Regards
>>
>> Iranga Muthuthanthri
>> (M) -0777-255773
>> Team Product Management
>>
>>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: pranee...@wso2.com *
>
>


-- 
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] gsoc 2015

2015-03-25 Thread Mohanadarshan Vivekanandalingam
On Wed, Mar 25, 2015 at 7:01 PM, Mohamed ZAJITH 
wrote:

> hi
> i am mohamedzajith from university of Jaffna. participating in the Google
> summer of code 2015
> proposal 2: Siddhi editor for WSO2 CEP
> i will try my best to reach your expectations
>
> if there is any template for this GSOC proposals, if it so, can you please
> send me a proposal template or else i'll send a common one.
>

No Zajith, there is no any specific proposal template.. You can come up
with a proposal structure that make sense and convey your idea..

Thanks,
Mohan


>
> regards,
> mohamedzajith
>



-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Pls merge the pull request

2015-03-25 Thread Pubudu Dodangoda
Sorry about the mistake(there were .idea files)
I ignored them and created a new pull request as suggested by Dunith and
Lakshman

Please merge the pull request [2]


[2] https://github.com/wso2/carbon-analytics-common/pull/4

Thank You and Kind Regards,

On Wed, Mar 25, 2015 at 4:55 PM, Pubudu Dodangoda  wrote:

>
> Hi Dunith,
>
> Please merge the pull request [1]
>  which consists
> of the back-end code for analytics dashboard
>
> [1] https://github.com/wso2/carbon-analytics-common/pull/3
>
> Thank You and Regards,
> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>



-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Is] Exception is got when logging to dashboard from secondary user account

2015-03-25 Thread Lakshani Gamage
Hi Darshana,

On Wed, Mar 25, 2015 at 7:56 PM, Darshana Gunawardana 
wrote:

> Hi,
>
> This seems to be issue with user store manager configuration. I suspect
> this is due to invalid user dn pattern in new user store config.
>
> Please go to the /repository/deployment/server/userstores/ folder
> and open relevant user store config xml and try removing UserDNPattern
> property.
>

There isn't UserDNPattern property in relevant user store config.xml. I
have attached the xml file.


>
> And were you able to login to the mgt console with a user of new user
> store domain?
>

Yes.

Thanks,
Lakshani.


>
> Regards,
> Darshana
>
> On Wed, Mar 25, 2015 at 10:18 AM, Lakshani Gamage 
> wrote:
>
>> Hi all,
>> I cloned carbon-identity[1] and product_is[2] from github. ]. I created a
>> secondary user store and added a user to that store with all permission.
>> When I'm trying to log in to dashboard using that user, I got following
>> exception in the log. Even though I got following exception I could log in
>> to the dashboard.When I trying to log in to management console using the
>> same user, I didn't get any exception.
>>
>> ERROR
>> {org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler}
>> -  Claim handling failed!
>> org.wso2.carbon.identity.application.authentication.framework.exception.FrameworkException:
>> Error occurred while getting all user claims for
>> org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser@60eb7206
>> in carbon.super
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleLocalClaims(DefaultClaimHandler.java:344)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleClaimMappings(DefaultClaimHandler.java:92)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handleClaimMappings(DefaultStepBasedSequenceHandler.java:623)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handlePostAuthentication(DefaultStepBasedSequenceHandler.java:409)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:126)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:124)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:95)
>> at
>> org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doPost(CommonAuthenticationServlet.java:53)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>> at
>> org.apache.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:501)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>> at
>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.j

Re: [Dev] [Is] Exception is got when logging to dashboard from secondary user account

2015-03-25 Thread Darshana Gunawardana
Hi,

This seems to be issue with user store manager configuration. I suspect
this is due to invalid user dn pattern in new user store config.

Please go to the /repository/deployment/server/userstores/ folder
and open relevant user store config xml and try removing UserDNPattern
property.

And were you able to login to the mgt console with a user of new user store
domain?

Regards,
Darshana

On Wed, Mar 25, 2015 at 10:18 AM, Lakshani Gamage  wrote:

> Hi all,
> I cloned carbon-identity[1] and product_is[2] from github. ]. I created a
> secondary user store and added a user to that store with all permission.
> When I'm trying to log in to dashboard using that user, I got following
> exception in the log. Even though I got following exception I could log in
> to the dashboard.When I trying to log in to management console using the
> same user, I didn't get any exception.
>
> ERROR
> {org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler}
> -  Claim handling failed!
> org.wso2.carbon.identity.application.authentication.framework.exception.FrameworkException:
> Error occurred while getting all user claims for
> org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser@60eb7206
> in carbon.super
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleLocalClaims(DefaultClaimHandler.java:344)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleClaimMappings(DefaultClaimHandler.java:92)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handleClaimMappings(DefaultStepBasedSequenceHandler.java:623)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handlePostAuthentication(DefaultStepBasedSequenceHandler.java:409)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:126)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:124)
> at
> org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:95)
> at
> org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doPost(CommonAuthenticationServlet.java:53)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.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:501)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
> at
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
> at
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
> at
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
> at
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadD

Re: [Dev] Create HTTP HEAD not support endpoint

2015-03-25 Thread Dimuthu De Lanerolle
Hi Tharindu,

Were you able to achieve this? I think you can write your own rest service
and host-in tomcat server instance as follows [1]

[1]
https://github.com/wso2/product-apim/tree/master/modules/integration/tests-common/backend-service/src/main/java/org/wso2/am/integration.services/jaxrs/

Regards

On Mon, Mar 23, 2015 at 5:50 PM, Tharindu Dharmarathna 
wrote:

> Hi all,
>
> I want to create and deploy endpoint which does not support Http HEAD to
> write a test case . Is there any work around to write this one ?
>
>
> Thanks and Regards
>
> *Tharindu Dharmarathna*Associate Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <%2B94779109091>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Is] Exception is got when logging to dashboard from secondary user account

2015-03-25 Thread Lakshani Gamage
Hi all,
I cloned carbon-identity[1] and product_is[2] from github. ]. I created a
secondary user store and added a user to that store with all permission.
When I'm trying to log in to dashboard using that user, I got following
exception in the log. Even though I got following exception I could log in
to the dashboard.When I trying to log in to management console using the
same user, I didn't get any exception.

ERROR
{org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler}
-  Claim handling failed!
org.wso2.carbon.identity.application.authentication.framework.exception.FrameworkException:
Error occurred while getting all user claims for
org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser@60eb7206
in carbon.super
at
org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleLocalClaims(DefaultClaimHandler.java:344)
at
org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleClaimMappings(DefaultClaimHandler.java:92)
at
org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handleClaimMappings(DefaultStepBasedSequenceHandler.java:623)
at
org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handlePostAuthentication(DefaultStepBasedSequenceHandler.java:409)
at
org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:126)
at
org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:124)
at
org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:95)
at
org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doPost(CommonAuthenticationServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.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:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
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:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache

Re: [Dev] Which Git Repository belongs, org.wso2.carbon.transport.mgt.feature

2015-03-25 Thread Dhanuka Ranasinghe
Hi guys,

We encounter another issue, which is, we can't find what is the correct Git
repo for org.wso2.carbon.throttle.core. Could you please help on this.

Cheers,
Dhanuka

*Dhanuka Ranasinghe*

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

phone : +94 715381915

On Wed, Mar 25, 2015 at 9:28 AM, Imesh Gunaratne  wrote:

> Hi Dhanuka,
>
> We do not use any of the stratos components in carbon repositories as we
> have donated stratos to Apache. @KasunG: Appreciate if you could explain
> why we have renamed them.
>
> Thanks
>
> On Tue, Mar 24, 2015 at 8:23 PM, Dhanuka Ranasinghe 
> wrote:
>
>> org.wso2.carbon.relay Feature has wrong org.wso2.carbon.core version. In
>> the Nexus org.wso2.carbon.relay.feature-4.3.1.zip file feature.xml
>> , org.wso2.carbon.core version is 4.3.1 but it should be 4.3.0
>>
>> *Dhanuka Ranasinghe*
>>
>> Senior Software Engineer
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 715381915
>>
>> On Tue, Mar 24, 2015 at 2:56 PM, KasunG Gajasinghe 
>> wrote:
>>
>>> org.wso2.carbon.stratos.* was renamed to org.wso2.carbon.tenant.*
>>>
>>>
>>>
>>> On Tue, Mar 24, 2015 at 2:47 PM, Thushara Ranawaka 
>>> wrote:
>>>
 Hi Carbon, ESB and Stratos team,

 Kindly advice on which git repository maintain below features. Is there
 any common place that I can find deprecated feature list?

 org.wso2.carbon.statistics.transport.feature
 org.wso2.carbon.ec2.client.feature
 org.wso2.carbon.mediation.security.server.feature
 org.wso2.carbon.localentry.server.feature
 org.wso2.carbon.endpoint.server.feature
 org.wso2.carbon.rest.api.feature
 org.wso2.carbon.sequences.server.feature
 org.wso2.carbon.transports.passthru.feature
 org.wso2.carbon.mediation.templates.server.feature
 org.wso2.carbon.throttle.feature
 org.wso2.stratos.apimgt.dashboard.ui.feature
 org.wso2.carbon.rm.server.feature
 org.wso2.carbon.sequences.ui.feature
 org.wso2.carbon.proxyadmin.server.feature

 org.wso2.carbon.stratos.common.feature
 org.wso2.carbon.stratos.deployment.feature

 Since we could not found above features shall we consider them as
 deprecated and comment them out?

 Thanks,

 On Fri, Mar 20, 2015 at 9:51 AM, Kasun Gajasinghe 
 wrote:

> Hi,
>
> Transport mail is managed by esb team and should be located under
> carbon-mediation.
>
> Xfer and mex are deprecated and is no longer shipped. You can remove
> these features. I believe caching server feature is deprecated too.
>
> Registry extensions is in carbon-registry.
>
> Functionality of Jaxws features has been merged to webapp mgt
> features.
>
> KasunG
>
> On Mar 20, 2015, at 8:23 AM, Dhanuka Ranasinghe 
> wrote:
>
> while building product-apim , I couldn't find Git repos for following
> features. Could you please help me to find these.
>
> org.wso2.carbon.transport.mgt.feature
> org.wso2.carbon.transport.mail.feature
> org.wso2.carbon.xfer.feature
> org.wso2.carbon.mex.feature
> org.wso2.carbon.mediation.security.server
> org.wso2.carbon.statistics.transport.feature
> org.wso2.carbon.ec2.client.feature
> org.wso2.carbon.registry.extensions.feature
> org.wso2.carbon.caching.server.feature
> org.wso2.carbon.jaxws.webapp.mgt.server.feature
> org.wso2.carbon.jaxws.webapp.mgt.feature
> org.wso2.carbon.bam.message.tracer.handler.feature
> org.wso2.carbon.mediator.bam.feature
>
> *Dhanuka Ranasinghe*
>
> Senior Software Engineer
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 715381915
>
> On Thu, Mar 19, 2015 at 5:58 PM, Dhanuka Ranasinghe 
> wrote:
>
>> No they have told that it has been removed from carbon-commons. It's
>> not in here [1].
>>
>> [1]  https://github.com/wso2/carbon-commons/blob/4.3.6/pom.xml
>>
>> Cheers,
>>
>> *Dhanuka Ranasinghe*
>>
>> Senior Software Engineer
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 715381915
>>
>> On Thu, Mar 19, 2015 at 5:51 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi Dhanuka,
>>>
>>> Isnt it in carbon-commons ?
>>> In  [1] I can see org.wso2.carbon.transport.mgt.feature
>>> If so, I think carbon team manages this.
>>>
>>>
>>> [1] -
>>> https://github.com/wso2/carbon-commons/tree/master/features/transport-mgt
>>>
>>> On Thu, Mar 19, 2015 at 5:43 PM, Dhanuka Ranasinghe <
>>> dhan...@wso2.com> wrote:
>>>
 Hi,

 When I tried to build product-apim with carbon 4.4.0 I am getting
 following error. So could you please let us know, exactly which Git
 repository has/maintain  org.wso2.carbon.transport.mgt.feature

 [ERRO

Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-25 Thread Lakshani Gamage
Congratulations Malithi

On Wed, Mar 25, 2015 at 4:40 PM, Dulanja Liyanage  wrote:

> Congratulations Malithi! :)
>
> On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby 
> wrote:
>
>> Hi All,
>>
>> It's my pleasure to announce Malithi Edirisinghe as a WSO2 Committer.
>> Malithi has been a valuable contributor for WSO2 Identity Server
>> product, and in recognition of her contribution to WSO2, she has been voted
>> as a WSO2 Committer.
>>
>> Malithi, congratulations and keep up the good work!
>>
>> Thanks & Regards.
>>
>> --
>>
>> *Johann Dilantha Nallathamby*
>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>> Integration 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
>>
>>
>
>
> --
> Thanks & Regards,
> Dulanja Liyanage
> WSO2 Inc.
> M: +94776764717
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshani Gamage

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


[Dev] WSO2 Developer Studio 4.0.0-Milestone 0 Released !

2015-03-25 Thread Awanthika Senarath
*WSO2 Developer Studio 4.0.0-Milestone 0 Released!*

WSO2 Developer Studio team is pleased to announce the release of WSO2
Developer Studio 4.0.0-Milestone 0.

WSO2 Developer Studio 4.0.0 - Milestone 0 is the Desktop Development Tool
based on Eclipse Che SDK, cloud IDE.

This Milestone release is mainly focused on creating a Desktop Application
for the Eclipse Che Cloud IDE for Windows, Linux and MacOS and this enables
project creation in the offline mode in the IDE.

The distribution is available to download at [1].

Please report any issues you may find in our Jira
https://wso2.org/jira/browse/TOOLS


[1] http://builder1.us1.wso2.org/~developerstudio/developer-studio/4.0.0/M0/



-- 
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][MB] Truncate Tables Script MSSQL

2015-03-25 Thread Pumudu Ruhunage
Hi,

While doing mb cluster testing when i wants to start from clean database
i've used attached db drop sql script with dsetup. only catch is that mssql
user have to have drop/create database privileges to run this script. Make
sure to changes database names if anyone using this script.

Regards,

On Tue, Feb 10, 2015 at 2:16 PM, Ramith Jayasinghe  wrote:

> shall we commit this to a scratch/personal area?
>
> On Tue, Feb 10, 2015 at 2:15 PM, Pamod Sylvester  wrote:
>
>> Good stuff. This will be useful when carrying out tests, so that we will
>> not need to drop the DB entirely.
>>
>> On Tue, Feb 10, 2015 at 2:10 PM, Akalanka Pagoda Arachchi <
>> darsha...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> Attached truncate tables script to be used in testing/dev when MB is
>>> configured to be used with SQL Server.
>>>
>>> Thanks,
>>> Akalanka.
>>>
>>> --
>>> *Darshana Akalanka Pagoda Arachchi,*
>>> *Software Engineer*
>>> *078-4721791 <078-4721791>*
>>>
>>
>>
>>
>> --
>> *Pamod Sylvester *
>>  *Senior Software Engineer *
>> Integration Technologies Team, WSO2 Inc.; http://wso2.com
>> email: pa...@wso2.com cell: +94 77 7779495
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
> P: +94 777542851
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com


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


Re: [Dev] [CEP 4.0.0-M3] Steps for Running Sample 2001

2015-03-25 Thread Praneesha Chandrasiri
Hi Iranga,

Thanks for pointing this out!

I will work on this.

On Wed, Mar 25, 2015 at 6:11 PM, Iranga Muthuthanthri 
wrote:

> I am trying out CEP Sample  based on [1] in local mode. In the perquisite
> section Step 2 mentions about the  storm deployment which points to the
> apache storm page.
>
>  Would like to know if this means, it is needed to setup  and run a storm
> topology locally as mentioned in [2] by running
>
> org.wso2.carbon.event.processor.storm.jar , if so what would be the fully
> qualified class name?
>
> Suggest that the documentation could be made more descriptive.
>
> [1]
> https://docs.wso2.com/display/CEP400/Sample+2001+-+Simple+filter+query+with+Apache+Storm+deployment
>
> [2]
> https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm
>
>
>
>
>
> --
> Thanks & Regards
>
> Iranga Muthuthanthri
> (M) -0777-255773
> Team Product Management
>
>


-- 
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888*
*E-mail: pranee...@wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [CEP 4.0.0-M3] Steps for Running Sample 2001

2015-03-25 Thread Iranga Muthuthanthri
I am trying out CEP Sample  based on [1] in local mode. In the perquisite
section Step 2 mentions about the  storm deployment which points to the
apache storm page.

 Would like to know if this means, it is needed to setup  and run a storm
topology locally as mentioned in [2] by running

org.wso2.carbon.event.processor.storm.jar , if so what would be the fully
qualified class name?

Suggest that the documentation could be made more descriptive.

[1]
https://docs.wso2.com/display/CEP400/Sample+2001+-+Simple+filter+query+with+Apache+Storm+deployment

[2]
https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm





-- 
Thanks & Regards

Iranga Muthuthanthri
(M) -0777-255773
Team Product Management
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MDM-Android-Aent] About adding Android dependency to maven build script

2015-03-25 Thread Kasun Dananjaya Delgolla
Hi All,

$subject is not available as an official Google release. But we could find
a repo by a different party, but it does not has the SDK version (21) which
we need to build our Agent. Building the Agent using maven is a major
requirement because currently it has to be done manually by importing it to
Eclipse.

Can we host these libraries in our own repo? Or WDYT as a solution to this?

Thanks

-- 
Kasun Dananjaya Delgolla

Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Tel:  +94 11 214 5345
Fax: +94 11 2145300
Mob: + 94 771 771 015
Blog: http://kddcodingparadise.blogspot.com
Linkedin: *http://lk.linkedin.com/in/kasundananjaya
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Kasun Bandara
Hi Milan,

I encountered the same issue and solved it through the way suggested by
@Rasika and @Thilini. But if you are following the [1] tutorial; you might
encounter another dependency issue with axis2-client (if the libraries are
corrupted or not in the repo). In order to mitigate that issue you can add
the following dependency to the pom.xml as the fourth dependency.


org.apache.axis2.wso2
axis2-client
1.6.1.wso2v10



[1]
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

Thank you,

Regards,

Kasun.


On Wed, Mar 25, 2015 at 3:02 PM, Milan Perera  wrote:

> Hi Rasika, Thilini, Thusitha,
>
> @Rasika & Thilini: it worked
> @Thusitha: In order to pick them from the local repo, it has to be
> downloaded prior to that. As Rasika and Thilini mentioned, those
> configuration of the pom.xml solved the problem by downloading relevant
> dependencies from given repositories.
>
> Thank you.
>
> Regards,
>
> On Wed, Mar 25, 2015 at 2:30 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Milan,
>>
>> According to the link you are trying to pick them from the local repo
>>
>> *
>> > location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar"/>
>> > location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v10/axis2-client-1.6.1.wso2v10.jar"
>>  />
>> > location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar"
>>  />
>> *
>>
>> Check whether those are on your local repository
>>
>> Thanks
>> Best Regards
>> /Thusitha
>>
>> On Wed, Mar 25, 2015 at 2:22 PM, Milan Perera  wrote:
>>
>>> ​Hi​,
>>>
>>> ​I'm following a tutorial [1] which is about ​building a Carbon
>>> Component. When I added below mentioned dependencies to my pom.xml, IDE
>>> showed $subject and maven build also failed.
>>> ​I have cleaned .m2 repo and updated, still the problem remains.​
>>>
>>>
>>> ​
>>> 
>>> org.apache.axis2.wso2
>>> axis2
>>> *1.6.1.wso2v10*
>>> 
>>> 
>>> org.apache.ws.commons.axiom.wso2
>>> axiom
>>> *1.2.11.wso2v4*
>>> 
>>> 
>>> wsdl4j.wso2
>>> wsdl4j
>>> *1.6.2.wso2v4*
>>> 
>>> ​
>>>
>>> ​Any help is appreciated to resolve this issue.
>>>
>>> Thank you.​
>>>
>>> ​[1] ​
>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>>
>>>
>>> --
>>> Milan Harindu Perera
>>> Software Engineer
>>> *WSO2, Inc*
>>> (+94) 77 309 7088
>>> lean . enterprise . middleware
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>>
>>
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
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] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-25 Thread Supun Sethunga
Hi,

While adding dependencies, came to a situations where, spark-core-1.2.1
needs org.spark-project.protobuf

in
runtime, and apache.mesos
 needs the
com.google.protobuf
 in
runtime. i.e. following two dependencies are needed in runtime.
(AFAIK org.spark-project.protobuf is same as the  com.google.protobuf, but
maintained by spark)


  com.google.protobuf
  protobuf-java
  2.5.0



  org.spark-project.protobuf
  protobuf-java
  2.5.0-spark


But when I bundle these in the ML feature, one of the jars get replaced by
the other.
i.e.:  org.spark-project.protobuf:protobuf-java
com.google.protobuf:protobuf-java
   Here, the first one get replaced by the second one.

Does this happen because of the same artifactIDs? Any possible solutions?

Thanks,
Supun

On Wed, Mar 25, 2015 at 4:43 PM, Sameera Jayasoma  wrote:

> We are badly in need to of a Orbit bundle catalogue :(
>
> Any bright ideas to generate one?
>
> Thanks,
> Sameera.
>
> On Tue, Mar 24, 2015 at 5:47 PM, Nirmal Fernando  wrote:
>
>> This is not scalable model IMO. We can't really get all necessary
>> non-OSGi bundles as separate Orbits thinking someone will use it in future.
>> I think best way would be, if someone wanted to create a new orbit bundle,
>> he needs to search existing orbits and see whether the same jar is being
>> used in another orbit bundle and fix those bundles accordingly after
>> creating the orbit.
>>
>> On Wed, Mar 11, 2015 at 2:57 PM, Supun Sethunga  wrote:
>>
>>> Hi Kasun,
>>>
>>> Then again the problem is, one of the three non-osgi jars: "org.scalanlp
>>> » breeze_2.10" has dependencies for another set of non-osgi jars, and so
>>> on. This grows in a tree manner :)
>>>
>>> Please note that the groupId should be in this format -
 org.wso2.orbit..
>>>
>>> Noted.
>>>
>>> @Harsha :  Yes, Scala-lang package is available as OSGI. But the spark
>>> ones (spark-mllib, spark-streaming)  are not available as osgi bundles.
>>>
>>> Thanks,
>>> Supun.
>>>
>>> On Wed, Mar 11, 2015 at 2:48 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Yes better to have orbit bundle and did you check whether those
 dependencies available as OSGi in public ? I think there should be for
 scala libraries.


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Wed, Mar 11, 2015 at 2:15 AM, KasunG Gajasinghe 
 wrote:

>
> It's better to create three separate orbit bundles for the
> dependencies. Please note that the groupId should be in this format -
> org.wso2.orbit..
>
> On Wed, Mar 11, 2015 at 2:31 PM, Danushka Fernando  > wrote:
>
>> Refer to other osgi bundles. AFAIR what we do is add them as
>> dependencies and import the packages needed for those libraries. We are 
>> not
>> recommending to use dynamic imports as well. And we export the packages 
>> of
>> the libraries.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Mar 11, 2015 at 2:24 PM, Supun Sethunga 
>> wrote:
>>
>>> Hi,
>>>
>>> Im in the process of creating an orbit bundle for Apache Spark-mllib
>>> 1.2.1.
>>> Among the dependencies of mllib, there are three jars that are *not*
>>> *osgi/orbit* bundles (Refer [1] ).
>>>
>>> Thus, whats the correct way of importing these packages to the
>>> bundle? is it:
>>>(A) Adding the three libraries as dependencies, and import them
>>> as private packages under "Private-package" in pom?
>>>(B) OR, Creating another set of orbit bundles for those three
>>> dependent non-osgi jars and import them under "Import-package" in pom?
>>>
>>> OR is there any other way? Appreciate any clarification.
>>>
>>> [1]
>>> https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0
>>>
>>> Thanks,
>>> Supun
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>

[Dev] Pls merge the pull request

2015-03-25 Thread Pubudu Dodangoda
Hi Dunith,

Please merge the pull request [1]
 which consists of
the back-end code for analytics dashboard

[1] https://github.com/wso2/carbon-analytics-common/pull/3

Thank You and Regards,
-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-25 Thread Sameera Jayasoma
We are badly in need to of a Orbit bundle catalogue :(

Any bright ideas to generate one?

Thanks,
Sameera.

On Tue, Mar 24, 2015 at 5:47 PM, Nirmal Fernando  wrote:

> This is not scalable model IMO. We can't really get all necessary non-OSGi
> bundles as separate Orbits thinking someone will use it in future. I think
> best way would be, if someone wanted to create a new orbit bundle, he needs
> to search existing orbits and see whether the same jar is being used in
> another orbit bundle and fix those bundles accordingly after creating the
> orbit.
>
> On Wed, Mar 11, 2015 at 2:57 PM, Supun Sethunga  wrote:
>
>> Hi Kasun,
>>
>> Then again the problem is, one of the three non-osgi jars: "org.scalanlp
>> » breeze_2.10" has dependencies for another set of non-osgi jars, and so
>> on. This grows in a tree manner :)
>>
>> Please note that the groupId should be in this format -
>>> org.wso2.orbit..
>>
>> Noted.
>>
>> @Harsha :  Yes, Scala-lang package is available as OSGI. But the spark
>> ones (spark-mllib, spark-streaming)  are not available as osgi bundles.
>>
>> Thanks,
>> Supun.
>>
>> On Wed, Mar 11, 2015 at 2:48 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Yes better to have orbit bundle and did you check whether those
>>> dependencies available as OSGi in public ? I think there should be for
>>> scala libraries.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Wed, Mar 11, 2015 at 2:15 AM, KasunG Gajasinghe 
>>> wrote:
>>>

 It's better to create three separate orbit bundles for the
 dependencies. Please note that the groupId should be in this format -
 org.wso2.orbit..

 On Wed, Mar 11, 2015 at 2:31 PM, Danushka Fernando 
 wrote:

> Refer to other osgi bundles. AFAIR what we do is add them as
> dependencies and import the packages needed for those libraries. We are 
> not
> recommending to use dynamic imports as well. And we export the packages of
> the libraries.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Mar 11, 2015 at 2:24 PM, Supun Sethunga 
> wrote:
>
>> Hi,
>>
>> Im in the process of creating an orbit bundle for Apache Spark-mllib
>> 1.2.1.
>> Among the dependencies of mllib, there are three jars that are *not*
>> *osgi/orbit* bundles (Refer [1] ).
>>
>> Thus, whats the correct way of importing these packages to the
>> bundle? is it:
>>(A) Adding the three libraries as dependencies, and import them as
>> private packages under "Private-package" in pom?
>>(B) OR, Creating another set of orbit bundles for those three
>> dependent non-osgi jars and import them under "Import-package" in pom?
>>
>> OR is there any other way? Appreciate any clarification.
>>
>> [1]
>> https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0
>>
>> Thanks,
>> Supun
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


 --

 *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



 ___
 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
>>>
>>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
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

Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-25 Thread Dulanja Liyanage
Congratulations Godwin! :)

On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby  wrote:

> Hi All,
>
> It's my pleasure to announce Amila Godwin Shrimal as a WSO2 Committer.
> Godwin 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.
>
> Godwin, congratulations and keep up the good work!
>
> Thanks & Regards.
>
> --
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration 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
>
>


-- 
Thanks & Regards,
Dulanja Liyanage
WSO2 Inc.
M: +94776764717
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-25 Thread Dulanja Liyanage
Congratulations Malithi! :)

On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby  wrote:

> Hi All,
>
> It's my pleasure to announce Malithi Edirisinghe as a WSO2 Committer.
> Malithi has been a valuable contributor for WSO2 Identity Server product,
> and in recognition of her contribution to WSO2, she has been voted as a
> WSO2 Committer.
>
> Malithi, congratulations and keep up the good work!
>
> Thanks & Regards.
>
> --
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration 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
>
>


-- 
Thanks & Regards,
Dulanja Liyanage
WSO2 Inc.
M: +94776764717
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-25 Thread Sameera Jayasoma
We are in the process of getting rid of transitive dependencies from
orbits, carbon components etc.

If your component requires the original Spark libraries for compilation
then there are obvious issues in your Spark orbit bundle. A component
should be able compile using orbits and other component dependencies. If
this is not possible, then your component dependencies are not properly
"OSGified"

A component shouldn't depend on transitive dependencies. Thats the plan. If
you see issues with this approach, please explain.

Thanks,
Sameera.



On Tue, Mar 24, 2015 at 11:00 AM, Gokul Balakrishnan  wrote:

> Hi Kernel team,
>
> Any idea on $subject? Shouldn't the transitive dependencies of the orbit
> bundle be visible to the component referring to the bundle at compile time?
> Should we just refer to the 3rd party jar (the orbit bundle is wrapping) in
> the component and use the orbit in the feature, or should we use the orbit
> bundle for both? Would be great if you could clarify.
>
> Thanks,
>
> On 23 March 2015 at 14:59, Niranda Perera  wrote:
>
>> Hi,
>>
>> As of the current orbit bundle guideline [1], we have to mark the
>> dependencies as optional. I believe this results in transitive dependencies
>> of that particular bundle not being exposed.
>>
>> Because of this, I have experienced compilation failures, when I put
>> orbit bundles as component dependencies.
>> For an example, in carbon analytics components, when I import spark-core
>> orbit, I encsounter dependency errors (But when I import the original spark
>> dependency this does not occur)
>>
>> so, is it a good practice for us to say that, orbit bundles should be
>> used in the runtime, where as in the compile time, use the original jars?
>> essentially, is it okay to include original jars in the components and
>> only include orbits in the features? (because earlier, I was under the
>> impression that, once an orbit bundle is created, it should be used BOTH in
>> the components and in the feature)
>>
>> would be great if you could clarify this matter.
>>
>> rgds
>>
>> [1]
>> https://docs.google.com/a/wso2.com/document/d/1I3nWPnG6139YobZzQWPFOUxYEmHxqf9ieWykmQupPtc/edit#
>>
>> --
>> *Niranda Perera*
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-71-554-8430
>> Twitter: @n1r44 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Balakrishnan Gokulakrishnan*
> Software Engineer,
> WSO2, Inc. http://wso2.com
> Mob: +94 77 593 5789 | +1 650 272 9927
>



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


Re: [Dev] [ESB] Some special characters are not preserved as encoded in ESB

2015-03-25 Thread Asanka Abeyweera
Hi,

I don't want to convert & to ". I just want "&" to appear as it is
in the response.

On Wed, Mar 25, 2015 at 5:12 PM, Sriashalya Srivathsan 
wrote:

> Hi,
>
> I tried this  in following way
>
> 
>  
> 
>  
>  
>   
>
> I'm  getting the correct form like
>
> LogMediator To: /services/dev1, MessageID:
> urn:uuid:9e40fb79-4d1e-444f-95dc-7818410591d0, Direction: request, name =
> This is & < > ' " Test
>
>
> Thank you ,
>
> Rgds,
>
> On Wed, Mar 25, 2015 at 4:17 AM, Asanka Abeyweera 
> wrote:
>
>> Hi all,
>>
>> Is it possible to preserve the encoded characters like " in the
>> message body when sending through a proxy?
>>
>> On Sat, Sep 20, 2014 at 2:08 PM, Ishara Premadasa 
>> wrote:
>>
>>> Hi Miyuru,
>>>
>>> Is there any configuration available for keep the encodings?
>>> Thanks!
>>> Ishara
>>>
>>> On Fri, Sep 19, 2014 at 12:16 AM, Miyuru Wanninayaka 
>>> wrote:
>>>
 This behavior comes from axiom.

 OMElement omElement = AXIOMUtil.stringToOM("This is
 & < > ' " Test ");
 System.out.println(omElement.toString());

 generates

 This is & < > ' " Test 

 @Do you know a way to turn this off in axiom level.



 On Fri, Sep 19, 2014 at 9:01 AM, Ishara Premadasa 
 wrote:

> Hi all,
>
> I observed that when we send encoded special characters in msg context
> to ESB some of these characters are decoded inside ESB. Please see the
> example used below.
>
> My input message is like this,
>
> 
> This is & < > ' " Test 
> 
>
> When sending this into a proxy service and logged in the ESB, result
> looks as this.
>
> http://www.w3.org/2003/05/soap-envelope";>*This
> is & < > ' " test *
>
> You can see that ampersand and less than encodings are preserved but
> greater than, single and double quotes are decoded. On a side this [1]
> explains that only the & and < characters are strictly illegal to have in
> XML. I was wondering whether ESB also follows this reason.
>
> Is there any specific reason why this happens?  In addition if it is
> required to keep these characters encoded inside ESB what should be the 
> way
> to do that?
>
> Thanks!
> Ishara
>
> [1]
> http://stackoverflow.com/questions/14228463/why-is-ok-to-be-in-value-of-xml-file-but-is-not
>
> --
> Ishara Premasada
> Software Engineer,
> WSO2 Inc. http://wso2.com/
>
>
> *Blog   :  http://isharapremadasa.blogspot.com/
> Twitter   :
> https://twitter.com/ishadil Mobile   : 
> +94
> 714445832 <%2B94%20714445832>*
>
>
>


 --
 Miyuru Wanninayaka
 Senior Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788

>>>
>>>
>>>
>>> --
>>> Ishara Premasada
>>> Software Engineer,
>>> WSO2 Inc. http://wso2.com/
>>>
>>>
>>> *Blog   :  http://isharapremadasa.blogspot.com/
>>> Twitter   :
>>> https://twitter.com/ishadil Mobile   : +94
>>> 714445832 <%2B94%20714445832>*
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Asanka Abeyweera
>> Software Engineer
>> WSO2 Inc.
>>
>> Phone: +94 712228648
>> Blog: a5anka.github.io
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> S.Sriashalya,
> Associate Software Engineer,
> WSO2.
>



-- 
Asanka Abeyweera
Software Engineer
WSO2 Inc.

Phone: +94 712228648
Blog: a5anka.github.io
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Pls merge the pull request

2015-03-25 Thread Dimuthu De Lanerolle
[Dev]

On Wed, Mar 25, 2015 at 3:30 PM, Dimuthu De Lanerolle 
wrote:

> Hi Krishantha,
>
> Pls merge the pull request [1] which consists some important refactoring
> of code.
>
> [1] https://github.com/wso2/product-apim/pull/71
>
> Regards
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-25 Thread Nirmal Fernando
Okay, had a chat with Kasun, and realized we need to create new orbit
bundles, if the maintainer of a Jar is different (hadoop and google for
example), regardless of its usage.

We'll do accordingly. Thanks.

On Wed, Mar 25, 2015 at 3:20 PM, Nirmal Fernando  wrote:

> Any thoughts? We are creating Orbit bundles for Spark and Hadoop-Client
> dependencies and ending up with finding lot of non-OSGi dependencies.
>
> On Tue, Mar 24, 2015 at 5:47 PM, Nirmal Fernando  wrote:
>
>> This is not scalable model IMO. We can't really get all necessary
>> non-OSGi bundles as separate Orbits thinking someone will use it in future.
>> I think best way would be, if someone wanted to create a new orbit bundle,
>> he needs to search existing orbits and see whether the same jar is being
>> used in another orbit bundle and fix those bundles accordingly after
>> creating the orbit.
>>
>> On Wed, Mar 11, 2015 at 2:57 PM, Supun Sethunga  wrote:
>>
>>> Hi Kasun,
>>>
>>> Then again the problem is, one of the three non-osgi jars: "org.scalanlp
>>> » breeze_2.10" has dependencies for another set of non-osgi jars, and so
>>> on. This grows in a tree manner :)
>>>
>>> Please note that the groupId should be in this format -
 org.wso2.orbit..
>>>
>>> Noted.
>>>
>>> @Harsha :  Yes, Scala-lang package is available as OSGI. But the spark
>>> ones (spark-mllib, spark-streaming)  are not available as osgi bundles.
>>>
>>> Thanks,
>>> Supun.
>>>
>>> On Wed, Mar 11, 2015 at 2:48 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Yes better to have orbit bundle and did you check whether those
 dependencies available as OSGi in public ? I think there should be for
 scala libraries.


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * *
 *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 *
 *harshathirimannlinked-in: **http:
 **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 *

 *Lean . Enterprise . Middleware*


 On Wed, Mar 11, 2015 at 2:15 AM, KasunG Gajasinghe 
 wrote:

>
> It's better to create three separate orbit bundles for the
> dependencies. Please note that the groupId should be in this format -
> org.wso2.orbit..
>
> On Wed, Mar 11, 2015 at 2:31 PM, Danushka Fernando  > wrote:
>
>> Refer to other osgi bundles. AFAIR what we do is add them as
>> dependencies and import the packages needed for those libraries. We are 
>> not
>> recommending to use dynamic imports as well. And we export the packages 
>> of
>> the libraries.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Mar 11, 2015 at 2:24 PM, Supun Sethunga 
>> wrote:
>>
>>> Hi,
>>>
>>> Im in the process of creating an orbit bundle for Apache Spark-mllib
>>> 1.2.1.
>>> Among the dependencies of mllib, there are three jars that are *not*
>>> *osgi/orbit* bundles (Refer [1] ).
>>>
>>> Thus, whats the correct way of importing these packages to the
>>> bundle? is it:
>>>(A) Adding the three libraries as dependencies, and import them
>>> as private packages under "Private-package" in pom?
>>>(B) OR, Creating another set of orbit bundles for those three
>>> dependent non-osgi jars and import them under "Import-package" in pom?
>>>
>>> OR is there any other way? Appreciate any clarification.
>>>
>>> [1]
>>> https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0
>>>
>>> Thanks,
>>> Supun
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
>
> *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
>
>
>
> ___
> 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


>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> http://wso2.com/
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> _

Re: [Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-25 Thread Nirmal Fernando
Any thoughts? We are creating Orbit bundles for Spark and Hadoop-Client
dependencies and ending up with finding lot of non-OSGi dependencies.

On Tue, Mar 24, 2015 at 5:47 PM, Nirmal Fernando  wrote:

> This is not scalable model IMO. We can't really get all necessary non-OSGi
> bundles as separate Orbits thinking someone will use it in future. I think
> best way would be, if someone wanted to create a new orbit bundle, he needs
> to search existing orbits and see whether the same jar is being used in
> another orbit bundle and fix those bundles accordingly after creating the
> orbit.
>
> On Wed, Mar 11, 2015 at 2:57 PM, Supun Sethunga  wrote:
>
>> Hi Kasun,
>>
>> Then again the problem is, one of the three non-osgi jars: "org.scalanlp
>> » breeze_2.10" has dependencies for another set of non-osgi jars, and so
>> on. This grows in a tree manner :)
>>
>> Please note that the groupId should be in this format -
>>> org.wso2.orbit..
>>
>> Noted.
>>
>> @Harsha :  Yes, Scala-lang package is available as OSGI. But the spark
>> ones (spark-mllib, spark-streaming)  are not available as osgi bundles.
>>
>> Thanks,
>> Supun.
>>
>> On Wed, Mar 11, 2015 at 2:48 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Yes better to have orbit bundle and did you check whether those
>>> dependencies available as OSGi in public ? I think there should be for
>>> scala libraries.
>>>
>>>
>>> *Harsha Thirimanna*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>> * *
>>> *email: **hars...@wso2.com* * cell: +94 71 5186770  ,
>>> +94 *
>>> *774617784twitter: **http://twitter.com/
>>> *
>>> *harshathirimannlinked-in: **http:
>>> **//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> On Wed, Mar 11, 2015 at 2:15 AM, KasunG Gajasinghe 
>>> wrote:
>>>

 It's better to create three separate orbit bundles for the
 dependencies. Please note that the groupId should be in this format -
 org.wso2.orbit..

 On Wed, Mar 11, 2015 at 2:31 PM, Danushka Fernando 
 wrote:

> Refer to other osgi bundles. AFAIR what we do is add them as
> dependencies and import the packages needed for those libraries. We are 
> not
> recommending to use dynamic imports as well. And we export the packages of
> the libraries.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Mar 11, 2015 at 2:24 PM, Supun Sethunga 
> wrote:
>
>> Hi,
>>
>> Im in the process of creating an orbit bundle for Apache Spark-mllib
>> 1.2.1.
>> Among the dependencies of mllib, there are three jars that are *not*
>> *osgi/orbit* bundles (Refer [1] ).
>>
>> Thus, whats the correct way of importing these packages to the
>> bundle? is it:
>>(A) Adding the three libraries as dependencies, and import them as
>> private packages under "Private-package" in pom?
>>(B) OR, Creating another set of orbit bundles for those three
>> dependent non-osgi jars and import them under "Import-package" in pom?
>>
>> OR is there any other way? Appreciate any clarification.
>>
>> [1]
>> https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0
>>
>> Thanks,
>> Supun
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


 --

 *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



 ___
 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
>>>
>>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> http://wso2.com/
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.c

Re: [Dev] GSoc 2015 | Recommendation Solution for WSO2 Machine Learner | Requesting Clarification

2015-03-25 Thread Nirmal Fernando
On Wed, Mar 25, 2015 at 1:20 PM, Buddhika Jayawardhana <
buddhika...@cse.mrt.ac.lk> wrote:

> Then what about the REST APIs for report recommendations and get
> recommendations. They are sub APIs of machine learners API, aren't they ?(eg:
> When storing data :POST /recommendations/datasets)
>
> On 25 March 2015 at 11:51, Nirmal Fernando  wrote:
>
>> Hi Buddhika,
>>
>> On Wed, Mar 25, 2015 at 11:48 AM, Buddhika Jayawardhana <
>> buddhika...@cse.mrt.ac.lk> wrote:
>>
>>> Dear Nirmal,
>>>
>>> I went through the M1 release notes. This is what I understood about
>>> integration of  proposed Recommendations Solution with WSo2 machine
>>> learner. Please point me out if I have understood anything wrong.
>>>
>>>- The REST API for Recommendations will be a sub API of WSo2 machine
>>>learner.(say recommendations)
>>>- Users are allowed to choose different recommendations algorithm
>>>and create a project .
>>>- Data set can be stored in to the database using a Post request
>>>similar to POST /recommendations/datasets
>>>- Corresponding model for a particular analysis can be retrieved GET
>>>/recommendations/models/{name}
>>>
>>>
>> I think recommendation is just an algorithm type, and you can think as
>> in, you build a new model using a recommendation algorithm and use model's
>> predict API to output the recommendations.
>>
>>
>>> Thank You.
>>>
>>>
>>> On 24 March 2015 at 11:20, Nirmal Fernando  wrote:
>>>
 Hi Buddhika,

 Proposal looks good and I have few suggestions;

 * Stick only to JSON for the rest API. (no need to have XML)
 * Give a high priority to the recommendation algorithm integration.
 * Include a section, on what you have already done.

 Thanks.

 On Tue, Mar 24, 2015 at 7:46 AM, Nirmal Fernando 
 wrote:

> Yes, Buddhika, I think we need a Java based implementation.
>
> On Tue, Mar 24, 2015 at 2:43 AM, Buddhika Jayawardhana <
> buddhika...@cse.mrt.ac.lk> wrote:
>
>> Dear Developers,
>>
>> I was studying about Spark mllib. Can I use python to implement the
>> recommendations part instead of java ? Would it bring difficulties when
>> integrating with wso2 machine learner?
>>
>> Thank You.
>>
>> On 23 March 2015 at 21:25, Buddhika Jayawardhana <
>> buddhika...@cse.mrt.ac.lk> wrote:
>>
>>> Thank You Nirmal,
>>> I will go through this.
>>>
>>> On 23 March 2015 at 19:52, Nirmal Fernando  wrote:
>>>
 Thanks for the proposal. We'll review it.

 Please try out the M1 release for a better understanding on the
 back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1

 On Tue, Mar 10, 2015 at 12:51 PM, Buddhika Jayawardhana <
 buddhika...@cse.mrt.ac.lk> wrote:

> This is the draft of my project proposal. I would like to have
> your kind comments and advises to improve it.
>
>
> On 9 March 2015 at 11:06, Nirmal Fernando  wrote:
>
>>
>> On Mon, Mar 9, 2015 at 10:59 AM, Buddhika Jayawardhana <
>> buddhika...@cse.mrt.ac.lk> wrote:
>>
>>> Hello again,
>>>
>>> I did some research about REST architecture and about
>>> recommendations systems. From that knowledge I decided to develop 
>>> the
>>> deliverables in following order.
>>>
>>>
>>>1.  REST API to report user interactions with the
>>>Retail Web Store
>>>2.  REST API to get recommendations for a given user
>>>3.  Integrate Spark's recommendation algorithms into
>>>ML
>>>4.  Java script based API client to be used in the
>>>Website.
>>>
>>>
>>>- .   Is the above order OK or should I change it?
>>>
>>> Looks good!
>>
>>>
>>>-
>>>- .   As the initial stage there is a lot design work to
>>>be done.  Is it sufficient if I follow the Oracle tutorial on 
>>> JAX-RS (
>>>http://docs.oracle.com/javaee/6/tutorial/doc/gilik.html)?
>>>
>>> Are you asking whether it's ok to use JAX-RS as the REST
>> implementation? If it is the question, yes it's ok.
>>
>>>
>>>-
>>>- .   How can I learn about WSo2 machine Learner?(to get
>>>an idea about the level of abstraction that I will get to work 
>>> with )
>>>
>>>
>> You have to wait a week or two till we get a Milestone release
>> out. For the time being please go through the slide deck I shared. 
>> This
>> shouldn't be a problem for the project, since integration with the 
>> ML, can
>> be done at a later stage of the project. :-)
>>
>>> Thank you.
>>

Re: [Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Milan Perera
Hi Rasika, Thilini, Thusitha,

@Rasika & Thilini: it worked
@Thusitha: In order to pick them from the local repo, it has to be
downloaded prior to that. As Rasika and Thilini mentioned, those
configuration of the pom.xml solved the problem by downloading relevant
dependencies from given repositories.

Thank you.

Regards,

On Wed, Mar 25, 2015 at 2:30 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Milan,
>
> According to the link you are trying to pick them from the local repo
>
> *
>  location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar"/>
>  location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v10/axis2-client-1.6.1.wso2v10.jar"
>  />
>  location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar"
>  />
> *
>
> Check whether those are on your local repository
>
> Thanks
> Best Regards
> /Thusitha
>
> On Wed, Mar 25, 2015 at 2:22 PM, Milan Perera  wrote:
>
>> ​Hi​,
>>
>> ​I'm following a tutorial [1] which is about ​building a Carbon
>> Component. When I added below mentioned dependencies to my pom.xml, IDE
>> showed $subject and maven build also failed.
>> ​I have cleaned .m2 repo and updated, still the problem remains.​
>>
>>
>> ​
>> 
>> org.apache.axis2.wso2
>> axis2
>> *1.6.1.wso2v10*
>> 
>> 
>> org.apache.ws.commons.axiom.wso2
>> axiom
>> *1.2.11.wso2v4*
>> 
>> 
>> wsdl4j.wso2
>> wsdl4j
>> *1.6.2.wso2v4*
>> 
>> ​
>>
>> ​Any help is appreciated to resolve this issue.
>>
>> Thank you.​
>>
>> ​[1] ​
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>>
>> --
>> Milan Harindu Perera
>> Software Engineer
>> *WSO2, Inc*
>> (+94) 77 309 7088
>> lean . enterprise . middleware
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware

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


Re: [Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Thilini Cooray
Hi Milan,

I was able to resolve this issue by adding following repository to the
pom.xml




wso2.releases
WSO2 Releases Repository

http://maven.wso2.org/nexus/content/repositories/releases/


true
daily
ignore



wso2-nexus
WSO2 internal Repository

http://maven.wso2.org/nexus/content/groups/wso2-public/


true
daily
ignore





On Wed, Mar 25, 2015 at 2:22 PM, Milan Perera  wrote:

> ​Hi​,
>
> ​I'm following a tutorial [1] which is about ​building a Carbon Component.
> When I added below mentioned dependencies to my pom.xml, IDE showed
> $subject and maven build also failed.
> ​I have cleaned .m2 repo and updated, still the problem remains.​
>
>
> ​
> 
> org.apache.axis2.wso2
> axis2
> *1.6.1.wso2v10*
> 
> 
> org.apache.ws.commons.axiom.wso2
> axiom
> *1.2.11.wso2v4*
> 
> 
> wsdl4j.wso2
> wsdl4j
> *1.6.2.wso2v4*
> 
> ​
>
> ​Any help is appreciated to resolve this issue.
>
> Thank you.​
>
> ​[1] ​
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
E-mail : thili...@wso2.com

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


Re: [Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Thusitha Thilina Dayaratne
Hi Milan,

According to the link you are trying to pick them from the local repo

*



*

Check whether those are on your local repository

Thanks
Best Regards
/Thusitha

On Wed, Mar 25, 2015 at 2:22 PM, Milan Perera  wrote:

> ​Hi​,
>
> ​I'm following a tutorial [1] which is about ​building a Carbon Component.
> When I added below mentioned dependencies to my pom.xml, IDE showed
> $subject and maven build also failed.
> ​I have cleaned .m2 repo and updated, still the problem remains.​
>
>
> ​
> 
> org.apache.axis2.wso2
> axis2
> *1.6.1.wso2v10*
> 
> 
> org.apache.ws.commons.axiom.wso2
> axiom
> *1.2.11.wso2v4*
> 
> 
> wsdl4j.wso2
> wsdl4j
> *1.6.2.wso2v4*
> 
> ​
>
> ​Any help is appreciated to resolve this issue.
>
> Thank you.​
>
> ​[1] ​
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2015-03-25 Thread KasunG Gajasinghe
Hi all,

Please verify whether the fixes you added to kernel are available in this
Release Candidate. If not, please alert asap.

I have tested the RC1, and this is ready to release. Here's my +1.

On Wed, Mar 25, 2015 at 12:24 AM, Jayanga Dissanayake 
wrote:

> Hi Devs,
>
> This is the *1st* release candidate of WSO2 Carbon Kernel 4.4.0.
>
> This release fixes the following issues:
> https://wso2.org/jira/browse/CARBON-15213?filter=12181
>
> Please download, test and vote.
>
> *Source & binary distribution files:*
>
> http://maven.wso2.org/nexus/content/repositories/staging/org/wso2/carbon/wso2carbon/4.4.0/
>
> *Maven staging repository:*
> http://maven.wso2.org/nexus/content/repositories/orgwso2carbon-018/
>
> *The tag to be voted upon :*
> https://github.com/wso2/carbon4-kernel/tree/v4.4.0-RC1
>
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
> Thanks,
> Carbon Team.
>
> *Jayanga Dissanayake*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
>



-- 

*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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Rasika Perera
Hi Milan,

Try adding followings to your "pom.xml".




wso2.releases
WSO2 Releases Repository
http://maven.wso2.org/nexus/content/repositories/releases/


true
daily
ignore




wso2-nexus
WSO2 internal Repository
http://maven.wso2.org/nexus/content/groups/wso2-public/


true
daily
ignore




Thank you

On Wed, Mar 25, 2015 at 2:22 PM, Milan Perera  wrote:

> ​Hi​,
>
> ​I'm following a tutorial [1] which is about ​building a Carbon Component.
> When I added below mentioned dependencies to my pom.xml, IDE showed
> $subject and maven build also failed.
> ​I have cleaned .m2 repo and updated, still the problem remains.​
>
>
> ​
> 
> org.apache.axis2.wso2
> axis2
> *1.6.1.wso2v10*
> 
> 
> org.apache.ws.commons.axiom.wso2
> axiom
> *1.2.11.wso2v4*
> 
> 
> wsdl4j.wso2
> wsdl4j
> *1.6.2.wso2v4*
> 
> ​
>
> ​Any help is appreciated to resolve this issue.
>
> Thank you.​
>
> ​[1] ​
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> 
>
> ___
> 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


[Dev] [FastTrackTraining][Carbon] Dependency not found

2015-03-25 Thread Milan Perera
​Hi​,

​I'm following a tutorial [1] which is about ​building a Carbon Component.
When I added below mentioned dependencies to my pom.xml, IDE showed
$subject and maven build also failed.
​I have cleaned .m2 repo and updated, still the problem remains.​


​

org.apache.axis2.wso2
axis2
*1.6.1.wso2v10*


org.apache.ws.commons.axiom.wso2
axiom
*1.2.11.wso2v4*


wsdl4j.wso2
wsdl4j
*1.6.2.wso2v4*

​

​Any help is appreciated to resolve this issue.

Thank you.​

​[1] ​
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/


-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware

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