[Dev] Selenium version compatibility issues with Firefox

2018-01-22 Thread Asanka Vithanage
x.FirefoxDriver.(FirefoxDriver.java:120)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:98)




With Firefox Version 51.0.1  Selenium version 3.0.1
geckodriver-v0.11.1-linux64

Getting Below Error:

1516684747075   geckodriver INFOListening on 127.0.0.1:23008
Jan 23, 2018 10:49:07 AM org.openqa.selenium.remote.ProtocolHandshake
createSession
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on
the remote end
1516684747304   geckodriver::marionette INFOStarting browser
/usr/lib/firefox/firefox.sh with args ["-marionette"]

(firefox:1860): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(firefox:1860): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(firefox:1860): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(firefox:1860): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed
1516684748848   Marionette  INFOListening on port 45886

(/usr/lib/firefox/plugin-container:1946): GLib-GObject-CRITICAL **:
g_object_ref: assertion 'object->ref_count > 0' failed

(/usr/lib/firefox/plugin-container:1946): GLib-GObject-CRITICAL **:
g_object_unref: assertion 'object->ref_count > 0' failed

(/usr/lib/firefox/plugin-container:1946): GLib-GObject-CRITICAL **:
g_object_ref: assertion 'object->ref_count > 0' failed

(/usr/lib/firefox/plugin-container:1946): GLib-GObject-CRITICAL **:
g_object_unref: assertion 'object->ref_count > 0' failed
Jan 23, 2018 10:49:11 AM org.openqa.selenium.remote.ProtocolHandshake
createSession
INFO: Falling back to original OSS JSON Wire Protocol.
Jan 23, 2018 10:49:11 AM org.openqa.selenium.remote.ProtocolHandshake
createSession
INFO: Falling back to straight W3C remote end connection
Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 4.871 sec
<<< FAILURE!
init(com.wso2.finance.intergration.tests.testcases.ui.StoreUITestCase)
Time elapsed: 4.809 sec  <<< FAILURE!
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote
session. desired capabilities = Capabilities [{marionette=true,
firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@7a52f2a2,
browserName=firefox,
moz:firefoxOptions=org.openqa.selenium.firefox.FirefoxOptions@7a52f2a2,
version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18
09:49:13 -0700'
System info: host: 'asankav-ThinkPad-T540p', ip: '127.0.0.1', os.name:
'Linux', os.arch: 'amd64', os.version: '4.4.0-62-generic', java.version:
'1.8.0_45'
Driver info: driver.version: FirefoxDriver
at
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
at
org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:259)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:247)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:242)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:238)
at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:127)


-- 
Asanka Vithanage
Associate Technical Lead -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AWS Cluster Mode Certificate Issue

2017-07-09 Thread Asanka Vithanage
Hi Júnior,

In AWS cluster mode, HazelCast required a public certificate to build an
SSL connection with AWS API. The certificate changes from AWS region to
region and time to time. Hence you need to figure out which certificate
actually required to import based on your AWS region. Adding verisign g5
root certificate resolved this issue for me once, check [1]

By starting the wso2 server with SSL debug logs, you can find out the exact
details of SSL handshake.

*sh wso2server.sh -Djavax.net.debug=ssl:handshake*

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

On Sun, Jul 9, 2017 at 8:22 AM, Sashika Wijesinghe <sash...@wso2.com> wrote:

> Hi Júnior,
>
> You need to add the certificate authorities public key cert (CA pub cert)
> or if it is a self-signed certificate you need to add the public key cert
> to client-truststore.jks.
>
> On Wed, Jun 28, 2017 at 7:35 PM, Júnior <fjunio...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to setup a WSO2 Cluster using aws mode but I am receiving
>> this error:
>>
>> javax.net.ssl.SSLHandshakeException: 
>> sun.security.validator.ValidatorException:
>> PKIX path building failed: 
>> sun.security.provider.certpath.SunCertPathBuilderException:
>> unable to find valid certification path to requested target {
>> com.hazelcast.cluster.impl.TcpIpJoinerOverAWS}
>> com.hazelcast.core.HazelcastException: javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to
>> find valid certification path to requested target
>> at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:
>> 67)
>>
>> Do you know which certificate I need to add to the truststore?
>>
>> Thanks,
>>
>> --
>> Francisco Ribeiro
>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Sashika WijesingheSoftware Engineer - QA Team*
> Mobile : +94 (0) 774537487
> sash...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Asanka Vithanage
Associate Technical Lead -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi Thilini/Abimaran,

I got the rational behind the design. Thank you very much for the
explanations.

On Thu, Jul 7, 2016 at 5:45 PM, Abimaran Kugathasan <abima...@wso2.com>
wrote:

>
>
> On Thu, Jul 7, 2016 at 5:02 PM, Asanka Vithanage <asan...@wso2.com> wrote:
>
>> Hi All,
>>
>> Thanks for all the replies.
>>
>> @Roshan
>>
>> We can't remove subscriptions by going to the Application, Application
>> only lists logged in users subscriptions.
>>
>> @Lakshman/Bhathiya/Chamin
>>
>> Yes, I understand we can achieve delete API following these steps. But
>> those are actually workarounds.
>>
>> Why don't we allow API publish user to delete subscriptions to that API ?
>> So he can delete the API after removing subscriptions.
>> Even at some situations, API Published user("userPub") may want to remove
>> subscriptions selectively.I don't see a way to do that as well.
>>
>
> You can block the subscription, but only the subscriber can unsubscribe
> it.
>
>>
>>
>>
>> On Thu, Jul 7, 2016 at 4:22 PM, Chamin Dias <cham...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Change the lifecycle to "Block"
>>> Then existing users (already who subscribed) cannot use the API, also
>>> new users are not able to subscribe to the blocked API.
>>> In this state also, you are not allowed to delete the API form the API
>>> publisher since there is a subscriber.
>>>
>>> If you want to delete the API, you can do the following.
>>> Change the lifecycle to "Deprecate"
>>> After that, Change the lifecycle to "Retire".
>>> Then go the home page of the API publisher, locate the API then you will
>>> see that there are "0 users" with the API. Now you should be able to delete
>>> the API.
>>>
>>> Thanks.
>>>
>>> On Thu, Jul 7, 2016 at 4:17 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>>> wrote:
>>>
>>>>
>>>> On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage <asan...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Using API Publisher and Store, I am trying to achieve the $Subject.
>>>>> But it seems via current store and publisher UIs, we can't do that.
>>>>>
>>>>> Let's think we create two users called userPub and userSub with only
>>>>> login and Manage permissions.
>>>>> Then "userPub" login to the API Publisher and create/Publish an API.
>>>>> Then "userSub" login to the API Store and subscribe to the above  API.
>>>>> Now "userPub" want to the delete the API, But Publisher does not allow
>>>>> to delete the API due to the subscriptions.
>>>>> Now the question is how do delete the subscriptions, Though I logged
>>>>> to store with user "userPub" I can't find a way to remove the 
>>>>> subscription.
>>>>> So, as a result, I can't figure out a way to delete the API.
>>>>>
>>>>> Do we have a way to delete the API in this kind of situation?
>>>>> Appreciate your thoughts.
>>>>>
>>>>
>>>> You can demote to created and then delete.
>>>>
>>>> Thanks,
>>>> Bhathiya
>>>>
>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Asanka Vithanage
>>>>> Senior Software Engineer -QA
>>>>> Mobile: +94 0716286708
>>>>> Email: asan...@wso2.com
>>>>> WSO2 Inc. www.wso2.com
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Bhathiya Jayasekara*
>>>> *Senior Software Engineer,*
>>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>>
>>>> *Phone: +94715478185 <%2B94715478185>*
>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>>> <http://www.linkedin.com/in/bhathiyaj>*
>>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>>> *Blog: http://movingaheadblog.blogspot.com
>>>> <http://movingaheadblog.blogspot.com/>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Chamin Dias
>>> *Software Engineer*
>>> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
>>> Email : cham...@wso2.com
>>> Blog : https://chamindias.wordpress.com/
>>>
>>
>>
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi All,

Thanks for all the replies.

@Roshan

We can't remove subscriptions by going to the Application, Application only
lists logged in users subscriptions.

@Lakshman/Bhathiya/Chamin

Yes, I understand we can achieve delete API following these steps. But
those are actually workarounds.

Why don't we allow API publish user to delete subscriptions to that API ?
So he can delete the API after removing subscriptions.
Even at some situations, API Published user("userPub") may want to remove
subscriptions selectively.I don't see a way to do that as well.



On Thu, Jul 7, 2016 at 4:22 PM, Chamin Dias <cham...@wso2.com> wrote:

> Hi,
>
> Change the lifecycle to "Block"
> Then existing users (already who subscribed) cannot use the API, also new
> users are not able to subscribe to the blocked API.
> In this state also, you are not allowed to delete the API form the API
> publisher since there is a subscriber.
>
> If you want to delete the API, you can do the following.
> Change the lifecycle to "Deprecate"
> After that, Change the lifecycle to "Retire".
> Then go the home page of the API publisher, locate the API then you will
> see that there are "0 users" with the API. Now you should be able to delete
> the API.
>
> Thanks.
>
> On Thu, Jul 7, 2016 at 4:17 PM, Bhathiya Jayasekara <bhath...@wso2.com>
> wrote:
>
>>
>> On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage <asan...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Using API Publisher and Store, I am trying to achieve the $Subject. But
>>> it seems via current store and publisher UIs, we can't do that.
>>>
>>> Let's think we create two users called userPub and userSub with only
>>> login and Manage permissions.
>>> Then "userPub" login to the API Publisher and create/Publish an API.
>>> Then "userSub" login to the API Store and subscribe to the above  API.
>>> Now "userPub" want to the delete the API, But Publisher does not allow
>>> to delete the API due to the subscriptions.
>>> Now the question is how do delete the subscriptions, Though I logged to
>>> store with user "userPub" I can't find a way to remove the subscription.
>>> So, as a result, I can't figure out a way to delete the API.
>>>
>>> Do we have a way to delete the API in this kind of situation? Appreciate
>>> your thoughts.
>>>
>>
>> You can demote to created and then delete.
>>
>> Thanks,
>> Bhathiya
>>
>>
>>>
>>>
>>> --
>>> Asanka Vithanage
>>> Senior Software Engineer -QA
>>> Mobile: +94 0716286708
>>> Email: asan...@wso2.com
>>> WSO2 Inc. www.wso2.com
>>>
>>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>> *Blog: http://movingaheadblog.blogspot.com
>> <http://movingaheadblog.blogspot.com/>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamin Dias
> *Software Engineer*
> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
> Email : cham...@wso2.com
> Blog : https://chamindias.wordpress.com/
>



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi,

Sorry. Topic should be changed as [APIM 200] How API publisher can delete a
API which has subscriptions

On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage <asan...@wso2.com> wrote:

> Hi All,
>
> Using API Publisher and Store, I am trying to achieve the $Subject. But it
> seems via current store and publisher UIs, we can't do that.
>
> Let's think we create two users called userPub and userSub with only login
> and Manage permissions.
> Then "userPub" login to the API Publisher and create/Publish an API.
> Then "userSub" login to the API Store and subscribe to the above  API.
> Now "userPub" want to the delete the API, But Publisher does not allow to
> delete the API due to the subscriptions.
> Now the question is how do delete the subscriptions, Though I logged to
> store with user "userPub" I can't find a way to remove the subscription.
> So, as a result, I can't figure out a way to delete the API.
>
> Do we have a way to delete the API in this kind of situation? Appreciate
> your thoughts.
>
> --
> Asanka Vithanage
> Senior Software Engineer -QA
> Mobile: +94 0716286708
> Email: asan...@wso2.com
> WSO2 Inc. www.wso2.com
>
>


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi All,

Using API Publisher and Store, I am trying to achieve the $Subject. But it
seems via current store and publisher UIs, we can't do that.

Let's think we create two users called userPub and userSub with only login
and Manage permissions.
Then "userPub" login to the API Publisher and create/Publish an API.
Then "userSub" login to the API Store and subscribe to the above  API.
Now "userPub" want to the delete the API, But Publisher does not allow to
delete the API due to the subscriptions.
Now the question is how do delete the subscriptions, Though I logged to
store with user "userPub" I can't find a way to remove the subscription.
So, as a result, I can't figure out a way to delete the API.

Do we have a way to delete the API in this kind of situation? Appreciate
your thoughts.

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Migration from previous ESB releases to ESB 500

2016-06-16 Thread Asanka Vithanage
Hi Viraj,

We are using MS Sql Server and Oracle DBMSs on cluster setups.

Appreciate if guys answer my previous question.  So We can plan the testing
efforts as required.

On Wed, Jun 15, 2016 at 10:19 PM, Viraj Senevirathne <vir...@wso2.com>
wrote:

> Hi Asanka,
>
> What is the DB you are using in current deployment?
>
> Regards,
>
> On Mon, Jun 13, 2016 at 10:54 AM, Asanka Vithanage <asan...@wso2.com>
> wrote:
>
>> Hi ESB Team,
>>
>> When moving to ESB 500 from previous ESB releases, Is there any migration
>> effort requied?
>>
>> If DB level migration required, Can you guys provide migrations scripts.
>> So we can test the migration scenarios.
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Viraj Senevirathne
> Software Engineer; WSO2, Inc.
>
> Mobile : +94 71 958 0269
> Email : vir...@wso2.com
>



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Migration from previous ESB releases to ESB 500

2016-06-12 Thread Asanka Vithanage
Hi ESB Team,

When moving to ESB 500 from previous ESB releases, Is there any migration
effort requied?

If DB level migration required, Can you guys provide migrations scripts. So
we can test the migration scenarios.

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting Build failure on product-apim repo

2016-03-30 Thread Asanka Vithanage
on[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command[ERROR]   mvn  -rf
:org.wso2.carbon.am.integration.backend.test[JENKINS] Archiving
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/org.wso2.am.multitenancy.dashboard.ui/pom.xml
to 
org.wso2.am/org.wso2.am.multitenancy.dashboard.ui/2.0.0-SNAPSHOT/org.wso2.am.multitenancy.dashboard.ui-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/org.wso2.am.multitenancy.dashboard.ui/target/org.wso2.am.multitenancy.dashboard.ui-2.0.0-SNAPSHOT.jar
to 
org.wso2.am/org.wso2.am.multitenancy.dashboard.ui/2.0.0-SNAPSHOT/org.wso2.am.multitenancy.dashboard.ui-2.0.0-SNAPSHOT.jar
[JENKINS] Archiving
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-common/backend-service/pom.xml
to org.wso2.am/test-artifacts/2.0.0-SNAPSHOT/test-artifacts-2.0.0-SNAPSHOT.pom




On Tue, Mar 29, 2016 at 6:45 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Hi Asanka,
>
> This is strange. We are building APIM with java 8 everyday[1]. But we've
> never seen this before. May be something was wrong in your system. Can you
> try again?
>
> [1] https://wso2.org/jenkins/view/product-builds/job/product-apim__java8/
>
> Thanks,
> Bhathiya
>
> On Tue, Mar 29, 2016 at 6:08 PM, Asanka Vithanage <asan...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> We are trying to build API Manager master branch using locally deployed
>> jenkins server.
>>
>> We are having following configuration on the jenkins machine
>> mvn version =Apache Maven 3.0.5
>> Java version=1.8.0_77
>>
>> When building we are getting below stack trace. when checked the
>>
>> /home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-integration/tests-backend/target/carbontmp1459253504310/wso2am-2.0.0-SNAPSHOT
>>  folder,
>> We see only repository folder there. Unzipped Product Build distribution( 
>> modules/distribution/product/target/wso2am-2.0.0-SNAPSHOT) also has 
>> repository folder only.
>>
>> Appreciate any help to identify a solution.
>>
>>
>> [INFO] *--- maven-surefire-plugin:2.18:test (default-test) @ 
>> org.wso2.carbon.am.integration.backend.test ---
>> *[INFO] Surefire report directory: 
>> /home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-integration/tests-backend/target/surefire-reports
>>
>> ---
>>  T E S T S
>> ---
>>
>> Running TestSuite
>>
>> INFO  
>> [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager]
>>  - Extracting carbon zip file..
>>
>> ERROR 
>> [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension]
>>  - Fail to start carbon server
>> java.io.FileNotFoundException: Server startup script not found at 
>> /home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-integration/tests-backend/target/carbontmp1459253504310/wso2am-2.0.0-SNAPSHOT/bin
>>  at 
>> org.wso2.carbon.automation.engine.frameworkutils.TestFrameworkUtils.getStartupScriptFileName(TestFrameworkUtils.java:78)
>>  at 
>> org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager.instrumentForCoverage(CarbonServerManager.java:427)
>>  at 
>> org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager.setUpCarbonHome(CarbonServerManager.java:212)
>>  at 
>> org.wso2.carbon.automation.extensions.servers.carbonserver.TestServerManager.startServer(TestServerManager.java:107)
>>  at 
>> org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:50)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>  at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:606)
>>  at 
>> org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:75)
>>  at 
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
>>  at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
>>  at org.testng.TestNG.run(TestNG.java:983)
>>  at 
>> org.apache.maven.surefire.test

[Dev] Getting Build failure on product-apim repo

2016-03-29 Thread Asanka Vithanage
.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:52)[ERROR]
at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)[ERROR] at
org.testng.TestNG.run(TestNG.java:983)[ERROR] at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)[ERROR]
at 
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)[ERROR]
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)[ERROR]
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)[ERROR]
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)[ERROR]
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)[ERROR]
Caused by: java.lang.reflect.InvocationTargetException[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[ERROR]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[ERROR]
at java.lang.reflect.Method.invoke(Method.java:606)[ERROR] at
org.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:75)[ERROR]
at 
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)[ERROR]
... 8 more[ERROR] Caused by: java.lang.RuntimeException: Fail to start
carbon server[ERROR] at
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension.handleException(CarbonServerExtension.java:70)[ERROR]
at 
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:54)[ERROR]
... 14 more[ERROR] Caused by: java.io.FileNotFoundException: Server
startup script not found at
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-integration/tests-backend/target/carbontmp1459253504310/wso2am-2.0.0-SNAPSHOT/bin[ERROR]
at 
org.wso2.carbon.automation.engine.frameworkutils.TestFrameworkUtils.getStartupScriptFileName(TestFrameworkUtils.java:78)[ERROR]
at 
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager.instrumentForCoverage(CarbonServerManager.java:427)[ERROR]
at 
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager.setUpCarbonHome(CarbonServerManager.java:212)[JENKINS]
Archiving 
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/org.wso2.am.multitenancy.dashboard.ui/pom.xml
to 
org.wso2.am/org.wso2.am.multitenancy.dashboard.ui/2.0.0-SNAPSHOT/org.wso2.am.multitenancy.dashboard.ui-2.0.0-SNAPSHOT.pom[ERROR]
at 
org.wso2.carbon.automation.extensions.servers.carbonserver.TestServerManager.startServer(TestServerManager.java:107)[ERROR]
at 
org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:50)[ERROR]
... 14 more[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack
trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run
Maven using the -X switch to enable full debug logging.[ERROR] [ERROR]
For more information about the errors and possible solutions, please
read the following articles:[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command[ERROR]   mvn  -rf
:org.wso2.carbon.am.integration.backend.test


[JENKINS] Archiving
/home/ubuntu/.jenkins/jobs/APIManager110BuildConfig/workspace/modules/integration/tests-common/backend-service/pom.xml
to org.wso2.am/test-artifacts/2.0.0-SNAPSHOT/test-artifacts-2.0.0-SNAPSHOT.pom




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Possible confusion between MSF4J Annotation and JAX-RS Annotation

2016-03-08 Thread Asanka Vithanage
Hi All,

Currently MSF4J do support few annotations as listed on [1]. They seams to
be look like JAX-RS annotations.
Even while using annotations we do imports like
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;

So users may tend to think we do support JAX-RS annotations(Personally
myself tend believe the same). But we are supporting only few annotations
and not all the JAX-RS annotations[2].
Basically we haven't fully implemented JAX-RS spec [2] and heard that we
are not going to do that in future as well.
So I believe we should update our documentation to clarify about this
situation.
WDYT?

Further AFAIU with this approach Developers will loose the freedom to use
other JAX-RS implementations like Jersey as well. Hence Devs wont be able
to use other JAX-RS annotations for their developments.
Do we have any workaround or solution to overcome this situation.


[1] https://docs.wso2.com/display/MSF4J100/Key+Concepts
[2] https://jax-rs-spec.java.net/nonav/2.0-rev-a/apidocs/index.html

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] MSF4J framework support for transports like JMS, AMQP, VFS, ...

2016-02-24 Thread Asanka Vithanage
Hi All,

Do we support $Subject. I didn't see any documentation or samples on this
area.


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Microservices in fat jar mode should have inbuilt HTTPS support

2016-02-24 Thread Asanka Vithanage
Hi,

In this case cant we implement same approach as OSGI for fat jar mode.
Basically at Micro service development stage we define the config file in a
default path and bundle it inside Jar file. Then execution level read the
config and define HTTPS transport accordingly.

On Wed, Feb 24, 2016 at 12:38 PM, Afkham Azeez <az...@wso2.com> wrote:

> It is not practical to allow hardcoding of HTTP related parameters such as
> keystore password etc. so the best approach is passing in the config file.
> For OSGi mode, the Netty transport bundle will look for the transport
> config file in the default path and load it if found.
>
> On Wed, Feb 24, 2016 at 12:28 PM, Asanka Vithanage <asan...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> Currently if we need to enable HTTPS for micro service [in fat jar mode]
>> we should define it on a netty-transports.yml file and run the jar file
>> with define configuration. check the doc [1].
>>
>> I believe we should provide both HTTP and HTTPS inbuilt support in fat
>> jar mode.Since current way supporting HTTPS is not much user friendly. Do
>> we have an any technical limitation in providing this support?  WDYT?
>>
>> Further we don't have any documentation or sample which explains how to
>> enable HTTPS on osgi mode as well.
>>
>> [1]
>> https://docs.wso2.com/display/MSF4J100/Invoking+Your+Microservice+via+HTTPS
>>
>> --
>> Asanka Vithanage
>> Senior Software Engineer -QA
>> Mobile: +94 0716286708
>> Email: asan...@wso2.com
>> WSO2 Inc. www.wso2.com
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com* <az...@wso2.com>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Microservices in fat jar mode should have inbuilt HTTPS support

2016-02-23 Thread Asanka Vithanage
Hi All,

Currently if we need to enable HTTPS for micro service [in fat jar mode] we
should define it on a netty-transports.yml file and run the jar file with
define configuration. check the doc [1].

I believe we should provide both HTTP and HTTPS inbuilt support in fat jar
mode.Since current way supporting HTTPS is not much user friendly. Do we
have an any technical limitation in providing this support?  WDYT?

Further we don't have any documentation or sample which explains how to
enable HTTPS on osgi mode as well.

[1]
https://docs.wso2.com/display/MSF4J100/Invoking+Your+Microservice+via+HTTPS

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ML] DATASET and Project only visible to created user

2015-07-23 Thread Asanka Vithanage
Hi All,

As per the current ML implementation, DATASET and Projects only visible to
the user who created them. Other users who have same kind of permissions
can not view the content.

But within other wso2 products we see the different behavior.

For Ex. API created within super tenant space by UserA can viewed by UserB
Note: UserA and UserB have same set of permissions

Do we have made any design decision to restrict access to other users in
this case?

Created [1] to track the issue.

[1] https://wso2.org/jira/browse/ML-163



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
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-26 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 danush...@wso2.com
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 mahe...@wso2.com
 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 saj...@wso2.com
 wrote:

 Are you using an externel cassandra?

 On Thu, Mar 26, 2015 at 11:25 AM, Mahesh Chinthaka mahe...@wso2.com
 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 asan...@wso2.com
 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 saj...@wso2.com
 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 mahe...@wso2.com
 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

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

2015-03-25 Thread Asanka Vithanage
)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

 at java.lang.Thread.run(Thread.java:744)

 Caused by: org.wso2.carbon.event.core.exception.EventBrokerException: Can
 not subscribe to topic
 /registry/notifications/StoreLifecycleStateChange/_system/governance/recipes/SendSearchedTweets
 Error registering consumer: org.wso2.andes.AMQSecurityException: Cannot
 subscribe to queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b
 as it already has an existing exclusive consumer [error code 403: access
 refused]

 at
 org.wso2.carbon.event.core.internal.delivery.jms.JMSDeliveryManager.subscribe(JMSDeliveryManager.java:136)

 at
 org.wso2.carbon.event.core.internal.CarbonEventBroker.loadExistingSubscriptions(CarbonEventBroker.java:79)

 ... 88 more

 Caused by: javax.jms.JMSException: Error registering consumer:
 org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
 carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
 an existing exclusive consumer [error code 403: access refused]

 at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2087)

 at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2030)

 at
 org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)

 at
 org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:621)

 at
 org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)

 at
 org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2028)

 at org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1024)

 at
 org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1173)

 at
 org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1073)

 at
 org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)

 at
 org.wso2.carbon.event.core.internal.delivery.jms.JMSDeliveryManager.subscribe(JMSDeliveryManager.java:129)

 ... 89 more

 Caused by: org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
 carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b as it already has
 an existing exclusive consumer [error code 403: access refused]

 at
 org.wso2.andes.client.handler.ConnectionCloseMethodHandler.methodReceived(ConnectionCloseMethodHandler.java:85)

 at
 org.wso2.andes.client.handler.ClientMethodDispatcherImpl.dispatchConnectionClose(ClientMethodDispatcherImpl.java:192)

 at
 org.wso2.andes.framing.amqp_0_91.ConnectionCloseBodyImpl.execute(ConnectionCloseBodyImpl.java:140)

 at
 org.wso2.andes.client.state.AMQStateManager.methodReceived(AMQStateManager.java:111)

 at
 org.wso2.andes.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:515)

 at
 org.wso2.andes.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:456)

 at
 org.wso2.andes.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:96)

 at
 org.wso2.andes.client.protocol.AMQProtocolHandler$2.run(AMQProtocolHandler.java:466)

 at org.wso2.andes.pool.Job.processAll(Job.java:109)

 at org.wso2.andes.pool.Job.run(Job.java:157)

 ... 3 more

 [2015-03-25 22:24:10,722]  INFO
 {org.wso2.andes.server.handler.ConnectionCloseOkMethodHandler} -  Received
 Connection-close-ok
 [2015-03-25 22:24:10,718] ERROR {org.wso2.andes.client.AMQConnection} -
 Throwable Received but no listener set: org.wso2.andes.AMQException: Cannot
 subscribe to queue carbon:3e71a8984895669b7c4f0334a876bfccd0b1dfde6e90d39b
 as it already has an existing exclusive consumer [error code 403: access
 refused]

 --
 *Mahesh Chinthaka Vidanagama* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 63 63 083 | Work: +94 112 145 345
 Email: mahe...@wso2.com | Web: www.wso2.com

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




 --
 Sajini De SIlva
 Software Engineer; WSO2 Inc.; http://wso2.com ,
 Email: saj...@wso2.com
 Blog: http://sajinid.blogspot.com/
 Git hub profile: https://github.com/sajinidesilva

 Phone: +94 712797729


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Observed ERROR {com.hazelcast.spi.impl.PartitionIteratingOperation} on Manager Node while restating AS worker Nodes

2015-03-17 Thread Asanka Vithanage
Hi,

It seams we are observing the same issue
https://github.com/hazelcast/hazelcast/issues/1019

On Tue, Mar 17, 2015 at 10:59 AM, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 Observed following error on AS 520 manager Node when restarting the AS
 worker Nodes. Issue seams Intermittent.
 Have we observed this issue before ? Any solutions/explanations?

 *Cluster Details:*
 niginx fronted 1 Manager/ 2 worker node AS 520 (with Service
 Pack1-hazelcast_3.0.1.wso2v1.jar)  cluster, each node runs on separate
 machines.
 Local registry mounted to H2
 Config and Governance registry mounted on a Mysql Database

 Manager Node: 192.168.48.90  Wrk Node 1: 192.168.48.91   Wrk Node 2:
 192.168.48.92


 *Steps followed:*
 1. Cluster was running nearly 2 weeks continuously
 2. AS cluster used to host back-end services required for ESB
 3. AS Services invoked thorough ESB continously as a long running/load test
 4. Due to a OOM issue on worker Node2 , restarted the cluster

 *Issue:*

 TID: [0] [AS] [2015-03-17 02:06:34,207]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} -
 Member left [a3ee426a-153e-4ebc-95d5-95292370ec23]: /192.168.48.92:4000
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AS] [2015-03-17 04:49:47,567]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} -
 Member joined [a5d7cd86-fc94-409b-9720-e68210e6906c]: /192.168.48.92:4000
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AS] [2015-03-17 04:50:18,641] ERROR
 {com.hazelcast.spi.impl.PartitionIteratingOperation} -
 [192.168.48.90]:4000 [wso2.as.domain] [unknown]
 java.lang.NullPointerException
 {com.hazelcast.spi.impl.PartitionIteratingOperation}
 com.hazelcast.nio.serialization.HazelcastSerializationException:
 java.lang.NullPointerException
 at
 com.hazelcast.nio.serialization.SerializationServiceImpl.handleException(SerializationServiceImpl.java:298)
 at
 com.hazelcast.nio.serialization.SerializationServiceImpl.writeObject(SerializationServiceImpl.java:254)
 at
 com.hazelcast.nio.serialization.ByteArrayObjectDataOutput.writeObject(ByteArrayObjectDataOutput.java:262)
 at
 com.hazelcast.spi.impl.PartitionIteratingOperation$PartitionResponse.writeData(PartitionIteratingOperation.java:130)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:129)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:36)
 at
 com.hazelcast.nio.serialization.StreamSerializerAdapter.write(StreamSerializerAdapter.java:36)
 at
 com.hazelcast.nio.serialization.SerializationServiceImpl.writeObject(SerializationServiceImpl.java:252)
 at
 com.hazelcast.nio.serialization.ByteArrayObjectDataOutput.writeObject(ByteArrayObjectDataOutput.java:262)
 at
 com.hazelcast.spi.impl.NormalResponse.writeData(NormalResponse.java:79)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:129)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:36)
 at
 com.hazelcast.nio.serialization.StreamSerializerAdapter.write(StreamSerializerAdapter.java:48)
 at
 com.hazelcast.nio.serialization.SerializationServiceImpl.toData(SerializationServiceImpl.java:176)
 at
 com.hazelcast.nio.serialization.SerializationServiceImpl.toData(SerializationServiceImpl.java:157)
 at
 com.hazelcast.spi.impl.NodeEngineImpl.toData(NodeEngineImpl.java:151)
 at
 com.hazelcast.spi.impl.BasicOperationService.send(BasicOperationService.java:639)
 at
 com.hazelcast.spi.impl.ResponseHandlerFactory$RemoteInvocationResponseHandler.sendResponse(ResponseHandlerFactory.java:120)
 at
 com.hazelcast.spi.impl.BasicOperationService.processOperation(BasicOperationService.java:385)
 at
 com.hazelcast.spi.impl.BasicOperationService.processPacket(BasicOperationService.java:309)
 at
 com.hazelcast.spi.impl.BasicOperationService.access$400(BasicOperationService.java:102)
 at
 com.hazelcast.spi.impl.BasicOperationService$BasicOperationProcessorImpl.process(BasicOperationService.java:756)
 at
 com.hazelcast.spi.impl.BasicOperationScheduler$ProcessTask.run(BasicOperationScheduler.java:186)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 at
 com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)
 Caused by: java.lang.NullPointerException
 at com.hazelcast.map.MapEntrySet.writeData(MapEntrySet.java:60)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:129)
 at
 com.hazelcast.nio.serialization.DataSerializer.write(DataSerializer.java:36)
 at
 com.hazelcast.nio.serialization.StreamSerializerAdapter.write(StreamSerializerAdapter.java:36

[Dev] Observed ERROR {com.hazelcast.spi.impl.PartitionIteratingOperation} on Manager Node while restating AS worker Nodes

2015-03-16 Thread Asanka Vithanage
-9750-36fb5dd6f6d7]: /192.168.48.91:4000
{org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Observed ERROR {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Error while updating wso2carbon-sts in STSDeploymentInterceptor {org.wso2.carbon.core.deployment.DeploymentInterceptor}

2015-03-10 Thread Asanka Vithanage
.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:79)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
?xml version=1.0 encoding=ISO-8859-1?

!--
  ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com)
  ~
  ~ Licensed under the Apache License, Version 2.0 (the License);
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an AS IS BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  --
wso2registry

!--
For details on configuring different config  governance registries see;
http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances
--

currentDBConfigwso2registry/currentDBConfig
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot

dbConfig name=wso2registry
dataSourcejdbc/WSO2CarbonDB/dataSource
/dbConfig

dbConfig name=wso2Mount
dataSourcejdbc/WSO2RegDB/dataSource
/dbConfig

remoteInstance url=https://localhost:9443/registry;
idinstanceid/id
dbConfigwso2Mount/dbConfig
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot
cacheIdroot@jdbc:mysql://192.168.48.7:3306/esb480sp2regdb/cacheId
/remoteInstance

mount path=/_system/config overwrite=true
instanceIdinstanceid/instanceId
targetPath/_system/esb/targetPath
/mount

mount path=/_system/governance overwrite=true
instanceIdinstanceid/instanceId
targetPath/_system/governance/targetPath
/mount

   !--handler class=org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/vnd.apache.synapse/property
/filter
/handler

handler class=org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/vnd.apache.esb/property
/filter
/handler

handler class=org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/vnd.apache.axis2/property
/filter
/handler

handler class=org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/vnd.apache.wsas/property
/filter
/handler

handler class=org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/wsdl+xml/property
/filter
/handler

handler class=org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler
filter class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
property name=mediaTypeapplication/x-xsd+xml/property
/filter
/handler --

!--remoteInstance url=https://localhost:9443/registry;
idinstanceid/id
usernameusername/username
passwordpassword/password
/remoteInstance--

!--remoteInstance url=https://localhost:9443/registry;
idinstanceid/id
dbConfigwso2registry/dbConfig
readOnlyfalse/readOnly
enableCachetrue/enableCache
registryRoot//registryRoot
/remoteInstance--

!--mount path=/_system/config overwrite=true|false|virtual
instanceIdinstanceid/instanceId
targetPath/_system/nodes/targetPath
/mount--


versionResourcesOnChangetrue/versionResourcesOnChange

!-- NOTE: You can edit the options under StaticConfiguration only before

Re: [Dev] ESB sample 354 startup fails with FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error

2015-03-04 Thread Asanka Vithanage
Hi,

Thanks Chanaka for pointing out the doc, Still its doesn't clearly mention
what configuration sections need for which sample. It seams like we are
asking user to follow all the steps on
https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples.

I dont think its reasonable to ask from an user who only needs to try out
few samples to do all these stuffs. Better to think about these stuffs when
we doing doc revamps for future releases.


On Wed, Mar 4, 2015 at 1:52 PM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Asanka,

 In fact our documentation has mentioned about this in the samples setup
 page[1]. There is a link to this page from the sample page[2] you have
 referred. We don't need to fix anything from the documentation. But we need
 to check why it is not there in the p2-repo.

 Ruby support

 For Ruby support you need to install *WSO2 Carbon - JRuby Engine for
 Mediation*. This is available in the WSO2 P2 repository. Use the WSO2
 Carbon Component Manager UI in the management console to connect to the
 WSO2 P2 repository and install *WSO2 Carbon - JRuby Engine for Mediation*.
 This will install a JRuby 1.3 engine in the ESB runtime.

 Alternatively, you can also download and install the JRuby engine
 manually. Download the jruby-complete-1.3.0.wso2v1.jar file from the WSO2
 P2 repository and copy it into the ESB_HOME/
 repository/components/dropins directory.


 [1]
 https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringtheESBforScriptMediatorSupport

 [2]
 https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation



 Thanks,

 Chanaka


 On Wed, Mar 4, 2015 at 12:46 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 When trying to start ESB 480, ESB 481 with sample 354, I am observing the
 below error [5].
 As per Jira [1] and [2] , User needs to install
 jruby-complete-1.3.0.wso2v1.jar
 http://dist.wso2.org/p2/carbon/releases/3.0.0/plugins/jruby-complete-1.3.0.wso2v1.jar
 resolve the mentioned issue.

 But our documentation[3] doesn't mention anything about this. So we need
 to update the sample doc.

 Further i cant find the  jruby-complete-1.3.0.wso2v1.jar
 http://dist.wso2.org/p2/carbon/releases/3.0.0/plugins/jruby-complete-1.3.0.wso2v1.jar
 library on latest turing P2 repo [4]. Any idea why we don't provide library
 on latest P2 repo?



 [1] https://wso2.org/jira/browse/ESBJAVA-1863
 [2] https://wso2.org/jira/browse/CARBON-8773
 [3]
 https://docs.wso2.com/display/ESB481/Sample+353%3A+Using+Ruby+Scripts+for+Mediation
 [4] http://product-dist.wso2.com/p2/carbon/releases/turing/plugins/

 [5]
 [2015-03-04 12:26:34,315]  INFO - XMLConfigurationBuilder Generating the
 Synapse configuration model by parsing the XML configuration
 [2015-03-04 12:26:34,376] FATAL - ServiceBusInitializer Failed to
 initialize ESB due to a fatal error
 java.lang.NoClassDefFoundError: org/jruby/runtime/builtin/IRubyObject
 at
 com.sun.script.jruby.JRubyScriptEngineFactory.getScriptEngine(JRubyScriptEngineFactory.java:134)
 at
 javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:270)
 at
 org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:477)
 at
 org.apache.synapse.mediators.bsf.ScriptMediator.init(ScriptMediator.java:168)
 at
 org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createSpecificMediator(ScriptMediatorFactory.java:102)
 at
 org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.InMediatorFactory.createSpecificMediator(InMediatorFactory.java:48)
 at
 org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
 at
 org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
 at
 org.apache.synapse.config.xml.SequenceMediatorFactory.createSpecificMediator(SequenceMediatorFactory.java:87)
 at
 org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
 at
 org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.java:204)
 at
 org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:81)
 at
 org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:161

[Dev] Is it really possible to setup a AS cluster with Nginx as mentioned on doc https://docs.wso2.com/display/CLUSTER420/Configuring+Nginx

2015-02-24 Thread Asanka Vithanage
Hi All,

As per the doc [1], Here we are exposing URL *http://as.wso2.com
http://as.wso2.com* to the outside users through nginx while keeping
inside cluster URL as *http://**wso2.as.com http://wso2.as.com *(setting
mgt node hostname as wso2.as.com)

Since here we are exposing *http://as.wso2.com http://as.wso2.com* to the
outside world, We should display the WSDL and service endpoints matching to
the URL *http://as.wso2.com http://as.wso2.com* on management console
UI.So users can use WSDL URLs display on management console UI  and access
the services.(so requests going through the nginx)

But AFAIK in AS, management console UI display WSDL URLs and Service
endpoints according to the value set on mgt node hostname.
So there should be some way to set the LB exposing URL on AS side, we can
do this on ESB by setting parameter WSDLEPRPrefix.

It seams WSDLEPRPrefix does not work on AS and setting proxyName on
catalina-server.xml also not helpful.

Appreciate if any one can help on how to setup cluster as doc explains or
else i believe we need to change the documentation[1] since we cant setup a
AS cluster with nginx as mentioned on the doc.

WDYT?




​



[1] https://docs.wso2.com/display/CLUSTER420/Configuring+Nginx

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics

2015-02-05 Thread Asanka Vithanage
Hi Pamod,

Yes, Simply we should implement and support following two on here

1. Allow to use same subscription ID among different topics.
2. Allow to create many subscriptions to a single topic with a single ID
(Should have possiblity to enable and disable this feature)


On Thu, Feb 5, 2015 at 7:59 PM, Pamod Sylvester pa...@wso2.com wrote:

 Hi Asanka,

 For different topics ideally yes it should be allowed IMO. Add to that
 even for the same topic based on the JMS 2.0 spec, subscriptions with the
 same topic should be allowed.

 maybe a suggestion could be to make this behaviour optional. WDYT?

 Thanks,
 Pamod


 On Thursday, February 5, 2015, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 AFFAIR even in MB 220, we didn't allow to create durable subscriptions
 with same ID for two topics.I observed same in MB 330 M2 pack as well.
 Basically with current implementation at a given time, MB cluster could
 have only an one subscriber with a given ID (irrespective of subscribed
 topic).

 But I believe users should have the ability to create durable
 subscriptions with a single ID to different topics.

 AFAIU current implementation restricts many use cases.For Ex.
 A company wants there employees to use their EmpID to subscribe on
 different company news channels.

 So shouldn't we allow to reuse same ID to create durable subscriptions on
 different topics?   WDYT?


 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com



 --
 *Pamod Sylvester *
  *Senior Software Engineer *
 Integration Technologies Team, WSO2 Inc.; http://wso2.com
 email: pa...@wso2.com cell: +94 77 7779495




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] When Topic publisher connected through different nodes, Subscribers don't receive all the published messages

2015-02-05 Thread Asanka Vithanage
HI MB Team,

Observed $Subject while following the below steps

Steps:
1. Setup a 4 node MB cluster pointing to MS Sql Server
2. Create a topic Subscriber from a Mb Node ex. MB1
3. Publish 100,000 messages from each node ex. MB2 and MB3 node
4. Check whether subscriber receive all the published messages

Here though we expects subscriber receive totally 200,000 messages, we only
received around 100,000 messages. So there is a message loss and Reported
[1] to track the issue.

When many publishers connected only through one node, subscriber received
expected number of messages. So it seems when only publishers connected
through more than one nodes, MB cluster does not perform as expected.



[1] https://wso2.org/jira/browse/MB-916

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics

2015-02-05 Thread Asanka Vithanage
Hi All,

AFFAIR even in MB 220, we didn't allow to create durable subscriptions with
same ID for two topics.I observed same in MB 330 M2 pack as well. Basically
with current implementation at a given time, MB cluster could have only an
one subscriber with a given ID (irrespective of subscribed topic).

But I believe users should have the ability to create durable subscriptions
with a single ID to different topics.

AFAIU current implementation restricts many use cases.For Ex.
A company wants there employees to use their EmpID to subscribe on
different company news channels.

So shouldn't we allow to reuse same ID to create durable subscriptions on
different topics?   WDYT?


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] 'Hazelcast Instance Not Active' Exception when gracefully shutting down mb server

2015-01-28 Thread Asanka Vithanage
Hi Pumudu,

I observed same issue yesterday and reported under
https://wso2.org/jira/browse/MB-914

On Thu, Jan 29, 2015 at 11:02 AM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi,

 I'm getting Hazelcast Instance Not Active Exception when trying to
 gracefully shutdown the mb 3.0.0 server. Attached here is the error log.
 Have anyone faced this issue before ?

 Following are the steps to reproduce :

 Built message broker 3.0.0 from git source.
 Run mb server instance and run few samples in MB (subscribe/publish some
 topics queues etc.).
 Try to gracefully shutdown the mb server.

 Note that these exceptions won't throw if there were no operations done by
 MB instance before shutting down.

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

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BAM]Shouldn't we rename Mediation Data Agent to Mediation Stat Data Agent

2014-12-10 Thread Asanka Vithanage
Hi All,

As per [1] , we are actually setting up a mediation stat data agent but our
docs say this as Setting Up Mediation Data Agent.
So IMO this misleads with BAM Mediator[2] so Shouldn't we rename Mediation
Data Agent to Mediation Stat Data Agent our documentations.

[1] https://docs.wso2.com/display/BAM250/Setting+up+Mediation+Data+Agent
[2] https://docs.wso2.com/display/BAM250/Setting+up+BAM+Mediator

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting 504 Gateway timeout on nginx fronted BPS 320 cluster

2014-12-05 Thread Asanka Vithanage
Hi All,

We have setup a BPS 320 cluster on QA cloud (1 manager and 2 worker
nodes)with nginx LB.In this setup when we keep the setup idle and try to
login back using admin console UI, We are getting a 504 Gateway time out.
Once restart the manager node we were able to login back and we observed
this incident several times.
Is this a known issue(Google says this happens due to network delays) ? or
Do we need to have any specific config on nginx configuration to avoid this.

We are running with below nginx config and adding proxyPort and proxyName=
mgt.bps.com to the catalina-server.xml.

Mgr 1 :192.168.48.113
Wrk 1: 192.168.48.114
Wrk 2: 192.168.48.115
nginx :192.168.48.115


http {


# load balancing among the worker nodes - HTTP
upstream wrk.bps.com {
server 192.168.48.114:9763;
server 192.168.48.115:9763;

}

server {
  listen 80;
  server_name wrk.bps.wso2.com;
  location / {
  proxy_pass http://wrk.bps.com;
  }
}

# load balancing among the worker nodes - HTTPS
# To configure load balancing for HTTPS instead of HTTP, just use “https”
as the protocol.
upstream ssl.wrk.bps.com {
  server 192.168.48.114:9443;
  server 192.168.48.115:9443;
}

server {
  listen 443;
  server_name wrk.bps.wso2.com;
  ssl on;
  ssl_certificate /etc/nginx/ssl/wrk.crt;
  ssl_certificate_key /etc/nginx/ssl/wrk.key;
  location / {
  proxy_pass https://ssl.wrk.bps.com;
  }
}

server {
listen 443;
server_name mgt.bps.com;
ssl on;
ssl_certificate /etc/nginx/ssl/mgt.crt;
ssl_certificate_key /etc/nginx/ssl/mgt.key;
location / {
proxy_pass https://192.168.48.113:9443/;
}
}



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS] Build failures due to integration test failures on product-bps wso2-dev git repo

2014-12-04 Thread Asanka Vithanage
.com
 lean. enterprise. middleware

 phone: +94 71 668 4620




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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting errors when use get-property xpath function

2014-11-09 Thread Asanka Vithanage
Hi Sumedha,
I have tried this as well.But it also didn't work for me.

On Sun, Nov 9, 2014 at 10:30 PM, Sumedha Kodithuwakku sumed...@wso2.com
wrote:

 Hi Asanka,

 If you are using synapse specific xpath functions like get-property()
 within a xpath 2.0 function you have to use them with the prefix syn.

 i.e:
 property xmlns:fn=http://www.w3.org/2005/xpath-functions;
 name=MY_VALUE expression=fn:replace(*syn:*
 get-property('ERROR_URL_POSTFIX'),'\\/','/')/

 Thanks
 SumedhaS

 On Fri, Nov 7, 2014 at 12:34 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 When invoke the following proxy service on ESB 481 using soapui, I am
 getting the below exception.

 Note: ESB runs with  synapse.xpath.dom.failover.enabled=true property

 Am i getting these exceptions due to any configuration issues on proxy or
 is there any more configurations required on ESB side.
 Appreciate any help on this.

 ?xml version=1.0 encoding=UTF-8?
 proxy xmlns=http://ws.apache.org/ns/synapse;
name=MyProxyA
transports=https,http
statistics=disable
trace=disable
startOnLoad=true
target
   inSequence
  log
 property name=ERROR_URL value=\/greet?name=Hi/
 property xmlns:fn=http://www.w3.org/2005/xpath-functions;
   name=MY_VALUE

 expression=fn:replace(get-property('ERROR_URL'),'\\/','/')/
  /log
   /inSequence
   outSequence
  send/
   /outSequence
   endpoint
  address uri=
 https://10.100.0.58:9473/services/SimpleStockQuoteService/
   /endpoint
/target
description/
 /proxy


 Issue:

 [2014-11-06 22:31:35,731] ERROR - SynapseXPath Evaluation of the XPath
 expression fn:replace(get-property('ERROR_URL_POSTFIX'),'\\/','/') resulted
 in an error
 net.sf.saxon.trans.XPathException: Unknown system function get-property()
 at
 net.sf.saxon.expr.parser.ExpressionParser.grumble(ExpressionParser.java:263)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2375)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionArgument(ExpressionParser.java:2532)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2336)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseExpression(ExpressionParser.java:455)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parse(ExpressionParser.java:391)
 at
 net.sf.saxon.expr.parser.ExpressionTool.make(ExpressionTool.java:94)
 at
 net.sf.saxon.xpath.XPathEvaluator.createExpressionInternal(XPathEvaluator.java:235)
 at net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:376)
 at
 org.apache.synapse.util.xpath.SynapseXPath.evaluateDOMXPath(SynapseXPath.java:529)
 at
 org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(SynapseXPath.java:364)
 at
 org.apache.synapse.mediators.MediatorProperty.getEvaluatedExpression(MediatorProperty.java:138)
 at
 org.apache.synapse.mediators.builtin.LogMediator.setCustomProperties(LogMediator.java:192)
 at
 org.apache.synapse.mediators.builtin.LogMediator.getSimpleLogMessage(LogMediator.java:153)
 at
 org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:119)
 at
 org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
 at
 org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
 at
 org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
 at
 org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180

Re: [Dev] Getting errors when use get-property xpath function

2014-11-09 Thread Asanka Vithanage
)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:344)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:168)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.transform.TransformerException:
java.lang.NullPointerException
at
org.apache.xpath.jaxp.JAXPExtensionsProvider.extFunction(JAXPExtensionsProvider.java:204)
at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208)
at org.apache.xpath.XPath.execute(XPath.java:337)
at org.apache.xpath.XPath.execute(XPath.java:303)
at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:129)
at
org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at
org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
... 24 more
Caused by: java.lang.NullPointerException
at
org.apache.xpath.jaxp.JAXPExtensionsProvider.extFunction(JAXPExtensionsProvider.java:197)
... 30 more
[2014-11-09 22:41:43,204]  INFO - LogMediator STATUS = Executing default
'fault' sequence, ERROR_CODE = 0, ERROR_MESSAGE = Evaluation of the XPath
expression fn:replace(syn:get-property('ERROR_URL_POSTFIX'),'\\/','/')
resulted in an error


On Sun, Nov 9, 2014 at 10:39 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi Sumedha,
 I have tried this as well.But it also didn't work for me.

 On Sun, Nov 9, 2014 at 10:30 PM, Sumedha Kodithuwakku sumed...@wso2.com
 wrote:

 Hi Asanka,

 If you are using synapse specific xpath functions like get-property()
 within a xpath 2.0 function you have to use them with the prefix syn.

 i.e:
 property xmlns:fn=http://www.w3.org/2005/xpath-functions;
 name=MY_VALUE expression=fn:replace(*syn:*
 get-property('ERROR_URL_POSTFIX'),'\\/','/')/

 Thanks
 SumedhaS

 On Fri, Nov 7, 2014 at 12:34 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 When invoke the following proxy service on ESB 481 using soapui, I am
 getting the below exception.

 Note: ESB runs with  synapse.xpath.dom.failover.enabled=true property

 Am i getting these exceptions due to any configuration issues on proxy
 or is there any more configurations required on ESB side.
 Appreciate any help on this.

 ?xml version=1.0 encoding=UTF-8?
 proxy xmlns=http://ws.apache.org/ns/synapse;
name=MyProxyA
transports=https,http
statistics=disable
trace=disable
startOnLoad=true
target
   inSequence
  log
 property name=ERROR_URL value=\/greet?name=Hi/
 property xmlns:fn=http://www.w3.org/2005/xpath-functions;
   name=MY_VALUE

 expression=fn:replace(get-property('ERROR_URL'),'\\/','/')/
  /log
   /inSequence
   outSequence
  send/
   /outSequence
   endpoint
  address uri=
 https://10.100.0.58:9473/services/SimpleStockQuoteService/
   /endpoint
/target
description/
 /proxy


 Issue:

 [2014-11-06 22:31:35,731] ERROR - SynapseXPath Evaluation of the XPath
 expression fn:replace(get-property('ERROR_URL_POSTFIX'),'\\/','/') resulted
 in an error
 net.sf.saxon.trans.XPathException: Unknown system function get-property()
 at
 net.sf.saxon.expr.parser.ExpressionParser.grumble(ExpressionParser.java:263)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2375)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep(ExpressionParser.java:1731)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseStepExpression(ExpressionParser.java:1654)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseRelativePath(ExpressionParser.java:1573)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parsePathExpression(ExpressionParser.java:1557)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1447)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseExprSingle(ExpressionParser.java:517)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionArgument(ExpressionParser.java:2532)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseFunctionCall(ExpressionParser.java:2336)
 at
 net.sf.saxon.expr.parser.ExpressionParser.parseBasicStep

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-07 Thread Asanka Vithanage

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




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


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




 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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




 --
 Dushan Abeyruwan | Associate Tech Lead
 Integration Technologies Team
 PMC Member Apache Synpase
 WSO2 Inc. http://wso2.com/
 Blog:http://dushansview.blogspot.com/
 Mobile:(0094)713942042


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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-07 Thread Asanka Vithanage
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

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




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


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




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/
 https://github.com/abimaran  https://twitter.com/abimaran


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




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


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




 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com



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




 --
 Vinuri Perera
 Software Engineer | WSO2 Inc

 M : 0711518805


 ___
 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



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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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



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



 ___
 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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting errors when use get-property xpath function

2014-11-06 Thread Asanka Vithanage
:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:344)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:168)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.transform.TransformerException: Could not find
function: get-property
at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:610)
at
org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1507)
at
org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1446)
at
org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1345)
at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1278)
at
org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1236)
at
org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1142)
at
org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1063)
at
org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:1005)
at
org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:930)
at
org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:870)
at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:834)
at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:807)
at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:790)
at org.apache.xpath.compiler.XPathParser.Argument(XPathParser.java:1469)
at
org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1537)
at
org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1446)
at
org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1345)
at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1278)
at
org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1236)
at
org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1142)
at
org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1063)
at
org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:1005)
at
org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:930)
at
org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:870)
at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:834)
at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:807)
at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:790)
at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:129)
at org.apache.xpath.XPath.init(XPath.java:178)
at org.apache.xpath.XPath.init(XPath.java:266)
at org.apache.xpath.jaxp.XPathImpl.compile(XPathImpl.java:400)
... 23 more



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to remove jsonObject element from xml to json converted message

2014-11-04 Thread Asanka Vithanage
Hi,
Thanks for the replies. I was able to get error message removing JsonObject
element using following enrich mediator block.

enrich
   source clone=true xpath=$body//jsonObject//error/
   target type=body/
 /enrich

On Tue, Nov 4, 2014 at 5:07 AM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:

 Hi Asanka,

 If I understood your requirement correctly, you can try this out.

 In your code, figure out a way to access the xml based or json based
 custom error response that you generate, so that you can easily assign that
 value to an OMNode or a JSONObject.
 Once that is done, using the way we generally access an OMNode or
 JSONObject, you can simply extract the error message and display the
 content.

 Hope this may help.

 Thanks.



 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Tue, Nov 4, 2014 at 12:22 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Hi Asanka,

 Is your requirement to get the final output as json or xml ?
 If it is xml then you can change the payload factory media-type to xml

 Thanks
 Senduran

 On Tue, Nov 4, 2014 at 10:09 AM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi,

 I customized API manager main sequence to change the default error
 message according to below format.so now i am getting the error messages as
 below.

 *PayloadFactory:*

 property name=ERROR_DETAIL value=Unsupported Transport. The
 requested resource  is not available./
 property name=ERROR_URL_POSTFIX expression=$axis2:REST_URL_POSTFIX/
 property name=ERROR_FORMAT_LINK value=
 http://errors.api.wso2.com/wso2//
  property name=ERROR_CODE value=403/

 payloadFactory media-type=json
  format
 {
 message:$1,

   _links:{
 about:{
 href: $2
 },

 help:{
 href: $3$4
 }

 }

 }
 /format
 args
 arg xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=
 http://org.apache.synapse/xsd; evaluator=xml
 expression=$ctx:ERROR_DETAIL/
 arg xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=
 http://org.apache.synapse/xsd; evaluator=xml
 expression=$ctx:ERROR_URL_POSTFIX/
 arg xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=
 http://org.apache.synapse/xsd; evaluator=xml
 expression=$ctx:ERROR_FORMAT_LINK/
 arg xmlns:soapenv=
 http://www.w3.org/2003/05/soap-envelope; xmlns:ns3=
 http://org.apache.synapse/xsd; evaluator=xml
 expression=$ctx:ERROR_CODE/
 /args
/payloadFactory


 *Error Results:*

 XML:

 jsonObjecterrormessageThe requested resource is not 
 available./message_linksabouthrefHelloService1/1.0.0/greet?name=Hi/href/abouthelphrefhttp://errors.api.wso2.com/wso2/404
  
 http://errors.api.aligntech.com/wso2/404/href/help/_links/error/jsonObject

 Json:

 {jsonObject:{error:{message:The requested resource is not 
 available.,_links:{about:{href:HelloService1\/1.0.0\/greet?name=Hi},help:{href:http:\/\/errors.api.wso2.com
  http://errors.api.aligntech.com\/wso2\/404}


 Here my requirement is to remove the jsonObject element from the
 response and display only the error message. Is there any way to do this?
 Appreciate if anyone can provide some help on this.

 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --
 *Senduran *
 Software Engineer,
 WSO2, Inc.;  http://wso2.com/ http://wso2.com/
 Mobile: +94 77 952 6548

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





-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is there a way to remove jsonObject element from xml to json converted message

2014-11-03 Thread Asanka Vithanage
Hi,

I customized API manager main sequence to change the default error message
according to below format.so now i am getting the error messages as below.

*PayloadFactory:*

property name=ERROR_DETAIL value=Unsupported Transport. The requested
resource  is not available./
property name=ERROR_URL_POSTFIX expression=$axis2:REST_URL_POSTFIX/
property name=ERROR_FORMAT_LINK value=http://errors.api.wso2.com/wso2/
/
 property name=ERROR_CODE value=403/

payloadFactory media-type=json
 format
{
message:$1,

  _links:{
about:{
href: $2
},

help:{
href: $3$4
}

}

}
/format
args
arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml
expression=$ctx:ERROR_DETAIL/
arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml
expression=$ctx:ERROR_URL_POSTFIX/
arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml
expression=$ctx:ERROR_FORMAT_LINK/
arg xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns3=http://org.apache.synapse/xsd; evaluator=xml
expression=$ctx:ERROR_CODE/
/args
   /payloadFactory


*Error Results:*

XML:

jsonObjecterrormessageThe requested resource is not
available./message_linksabouthrefHelloService1/1.0.0/greet?name=Hi/href/abouthelphrefhttp://errors.api.wso2.com/wso2/404
http://errors.api.aligntech.com/wso2/404/href/help/_links/error/jsonObject

Json:

{jsonObject:{error:{message:The requested resource is not
available.,_links:{about:{href:HelloService1\/1.0.0\/greet?name=Hi},help:{href:http:\/\/errors.api.wso2.com
http://errors.api.aligntech.com\/wso2\/404}


Here my requirement is to remove the jsonObject element from the response
and display only the error message. Is there any way to do this?
Appreciate if anyone can provide some help on this.

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Does AS (or Carbon Server) make sure to properly start it self, before join with the cluster ?

2014-09-17 Thread Asanka Vithanage
Hi All,

I am currently testing on a ELB 211 fronted 1 manager/2 worker AS 521
cluster. Here when i am following below steps, i am getting below noted
errors on ELB stack traces.


*Steps:*

Setup a 1 manager/2 worker node ELB fronted setup

Invoke SimpleStockQuate service deployed on AS 521(http path) continuously
using jmeter script(with 1000 jmeter threads and 10 seconds ramp-up period)

Down the worker node using ./wso2server.sh stop command

Startup the downed worker node and check the ELB logs

*Issue:*

Intermittently observed following issue on ELB stack trace, but AS stack
traces does not show any thing except member left/member join messages


Note: I have tried above steps nearly 10 times and out of them 3 times
observed below error.[Attached ELB log for further reference]

TID: [0] [ELB] [2014-09-17 11:13:55,107]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent} -
 Member left [aa7c330e-eb71-488c-a905-79c3a07ba671]: /10.0.0.85:4300
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent}

TID: [0] [ELB] [2014-09-17 11:13:55,122]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent} -
 Member left [aa7c330e-eb71-488c-a905-79c3a07ba671]: /10.0.0.85:4300
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent}

TID: [0] [ELB] [2014-09-17 11:16:12,293]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent} -
 Member joined [cd2f1123-f734-456f-bc3f-7ae03ec0142a]: /10.0.0.85:4300
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent}

TID: [0] [ELB] [2014-09-17 11:16:12,297]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent} -
 Member joined [cd2f1123-f734-456f-bc3f-7ae03ec0142a]: /10.0.0.85:4300
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent}

TID: [0] [ELB] [2014-09-17 11:16:15,423]  INFO
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent} -
 Application member Host:10.0.0.85, Remote Host:null, Port: 4300,
HTTP:9765, HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker,
Active:true joined application cluster
{org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent}

TID: [0] [ELB] [2014-09-17 11:16:16,139]  WARN
{org.apache.synapse.transport.passthru.TargetHandler} -  Connection closed
by target host before receiving the request
{org.apache.synapse.transport.passthru.TargetHandler}

TID: [0] [ELB] [2014-09-17 11:16:16,169]  INFO
{org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Failed to send message to Member Host:10.0.0.85, Remote Host:null, Port:
4300, HTTP:9765, HTTPS:9445, Domain: wso2.as.domain, Sub-domain:worker,
Active:true . Error Code: 101508
{org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}

TID: [0] [ELB] [2014-09-17 11:16:16,170] ERROR
{org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint} -
 Error sending request! Connection timeout after request is read by the
host as.wso2.com . Error code: 101508 Protocol State: RESPONSE HEAD
{org.wso2.carbon.lb.endpoint.endpoint.TenantAwareLoadBalanceEndpoint}



After analyzing AS and ELB stack-traces, i felt that AS worker nodes join
the cluster before it properly initialized. So when ELB handover the job to
AS worker nodes, It fails to do the job.


Does my observation make sense here or is there any other reason for this
behavior?


WDYT?



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
TID: [0] [ELB] [2014-09-17 10:46:24,517]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2 Carbon... {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System : Linux 3.13.0-30-generic, amd64 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home: /usr/local/java/jdk1.7.0_67/jre {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version : 1.7.0_67 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  : Java HotSpot(TM) 64-Bit Server VM 24.65-b04,Oracle Corporation {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  : /home/ubuntu/ELBTest/wso2elb-2.1.1 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [ELB] [2014-09-17 10:46:24,519]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir: /home/ubuntu/ELBTest/wso2elb-2.1.1/tmp {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID

[Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)

2014-09-09 Thread Asanka Vithanage
(TCPTransport.java:808)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)
... 80 more
Caused by: java.rmi.AccessException: Registry.Registry.bind disallowed;
origin /192.168.17.30 is non-local host
at sun.rmi.registry.RegistryImpl.checkAccess(RegistryImpl.java:257)
at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:149)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:409)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at sun.rmi.transport.Transport$1.run(Transport.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
... 3 more


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)

2014-09-09 Thread Asanka Vithanage
Hi Dumidu,

Thanks, Its working.

On Tue, Sep 9, 2014 at 5:29 PM, Dumidu Handakumbura dum...@wso2.com wrote:

 Hi,

 Try adding the following to the wso2server.sh script.

 -Dcom.sun.management.jmxremote \
 -Dcom.sun.management.jmxremote.authenticate=false \
 -Dcom.sun.management.remote.ssl=false \
 -Djava.rmi.server.hostname=IP \

 Regards,

 On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi,

 I need to remotely monitor ELB (hosted on an cloud instance) using
 Jconsole.With default settings i am getting a connection failed from
 jconsole side.
 Then tried changing as HostNamecloud_instance_public_ip/HostName on
 repository/conf/etc/jmx.xml. now when starting the ELB server getting error
 [1].

 Tried ELB starting with -Djava.rmi.server.hostname= as well, as
 mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring
 ,but still no luck.

 Can anyone point me to a solution?

 [1]

 [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize
 RMI server
 java.io.IOException: Cannot bind to URL [rmi://192.168.17.30:/jmxrmi]:
 javax.naming.NoPermissionException [Root exception is
 java.rmi.ServerException: RemoteException occurred in server thread; nested
 exception is:
 java.rmi.AccessException: Registry.Registry.bind disallowed; origin /
 192.168.17.30 is non-local host]
 at
 javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)
 at
 javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)
 at
 org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130

Re: [Dev] How to connect to a wso2 server remotely using JConsole (deployed on a cloud instance)

2014-09-09 Thread Asanka Vithanage
Hi Isuru,
I am using ELB 210. Jconsole couldn't connect with ELB as mentioned on the
doc.
May be since my ELB running on a open stack cloud instance.

On Wed, Sep 10, 2014 at 6:58 AM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 You should be able to connect via jconsole as mentioned in [1] without any
 modifications to JVM arguments.

 You just need to look for JMX Service URL in the logs and use that in
 jconsole. Then you need to provide credentials of a user with Server
 Admin permission.

 Which ELB version are you trying?

 [1] https://docs.wso2.com/display/ESB480/JMX+Monitoring

 On Tue, Sep 9, 2014 at 5:35 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi Dumidu,

 Thanks, Its working.

 On Tue, Sep 9, 2014 at 5:29 PM, Dumidu Handakumbura dum...@wso2.com
 wrote:

 Hi,

 Try adding the following to the wso2server.sh script.

 -Dcom.sun.management.jmxremote \
 -Dcom.sun.management.jmxremote.authenticate=false \
 -Dcom.sun.management.remote.ssl=false \
 -Djava.rmi.server.hostname=IP \

 Regards,

 On Tue, Sep 9, 2014 at 5:25 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi,

 I need to remotely monitor ELB (hosted on an cloud instance) using
 Jconsole.With default settings i am getting a connection failed from
 jconsole side.
 Then tried changing as HostNamecloud_instance_public_ip/HostName on
 repository/conf/etc/jmx.xml. now when starting the ELB server getting error
 [1].

 Tried ELB starting with -Djava.rmi.server.hostname= as well, as
 mentioned on doc https://docs.wso2.com/display/ESB480/JMX+Monitoring
 ,but still no luck.

 Can anyone point me to a solution?

 [1]

 [2014-09-09 07:05:09,882] ERROR - JMXServerManager Could not initialize
 RMI server
 java.io.IOException: Cannot bind to URL [rmi://
 192.168.17.30:/jmxrmi]: javax.naming.NoPermissionException [Root
 exception is java.rmi.ServerException: RemoteException occurred in server
 thread; nested exception is:
 java.rmi.AccessException: Registry.Registry.bind disallowed; origin
 /192.168.17.30 is non-local host]
 at
 javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)
 at
 javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)
 at
 org.wso2.carbon.core.init.JMXServerManager.startJMXService(JMXServerManager.java:121)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:197)
 at
 org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.server.admin.internal.ServerAdminServiceComponent.activate(ServerAdminServiceComponent.java:106)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107

Re: [Dev] Error on a fresh installation of WSO2 ELB 2.0.3

2014-09-02 Thread Asanka Vithanage
(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
at
org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


[2]
https://docs.wso2.com/display/IS500/OpenID+Connect+with+the+WSO2+Identity+Server+and+WSO2+OAuth2+Playground




On Thu, Feb 6, 2014 at 3:26 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Diego,

 ELB 2.1.0 was released under Carbon 4.2.0 latest version and during Carbon
 4.2.0 release the clustering implementation has changed from Axis2
 clustering to Hazelcast.

 I don't recommend you to test your AS 5.1.0 to be used with ELB 2.1.0. You
 can either use ESB 2.0.3 with AS 5.1.0 or you can use the latest AS 5.2.1
 version on your environment.

 I think that may be one issue on your environment. You can find our
 release-matrix on [1],

 [1] http://wso2.com/products/carbon/release-matrix/

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188


 On Thu, Feb 6, 2014 at 3:14 PM, Diego dseoan...@gmail.com wrote:

 Hi all!
 We have a development environment with a running cluster of ESB and AS
 using both ELB 2.0.3 (for ES 4.7.0) and ELB 2.1.0 (for AS 5.1.0).

 Now we need to deploy a testing environment with the same configuration,
 from a fresh installation, and when we try to start ELB 2.0.3 are getting
 this FATAL error:

 [2014-02-05 15:10:07,031] FATAL - LoadBalanceEndpointServiceComponent
 Failed to register Tenant Aware Load Balance Endpoint in Send Mediator.

 [2014-02-05 15:10:07,038] ERROR - LoadBalanceEndpointServiceComponent
 Failed to activate Endpoint Admin bundle

 org.wso2.carbon.lb.endpoint.TenantAwareLoadBalanceEndpointException:
 Failed to register Tenant Aware Load Balance Endpoint in Send Mediator.

 The only config file we changed was the loadbalancer.conf, and setted
 it exactly the same as the file on the development environment (actually is
 a copy from the Development Environmet loadbalancer.conf file with the
 domains and hostnames changed)


 Any clues on what's going on?


 Thank you very much!

 ___
 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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Asanka Vithanage
Congratz Waruna...!!!


On Fri, Aug 1, 2014 at 2:17 PM, Uvindra Dias Jayasinha uvin...@wso2.com
wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and WSO2
 product platform. In acknowledgement of his contributions, he's been voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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




 --
 Regards,
 Uvindra

 Mobile: 33962

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi All,

According to the current BAM  implementation, We are supporting message and
activity search  based on the Cassandra indexing via message console UI.

Currently to make data indexing work, we have to define indexing on tBox
and deploy it.But even after tBox deployed, indexing won't get executed
till we publish new set of data.
So According to this there is no way to index existing cassandra data set
through BAM.
If its possible how can i achieve that?

Further since indexing can be considered as separate feature directly bind
with cassandra, I believe we should provide a separate UI to execute
indexing stuffs and It will increase the usability of BAM indexing feature.
WDYT?




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi Pandula,

As per the BAM team secondary index should index the already existing data
as well. When we create a secondary index on a cassandra column family,It
should start the indexing process immediately so there shouldn't be a
requirement to publish data again.

I agree with your concern about load handling but as per Cassandra doc [1],
It won't be a problem.But we have to do a test run to make sure.

[1]http://www.datastax.com/docs/1.0/ddl/indexes


On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam pand...@wso2.com
wrote:

 Hi Asanka,

 As in BAM 241, Cassandra indexing will affect only for the data which
 receive after adding the index, and there is no mechanism to index the
 already existing data. If this implemented, we have to handle the size of
 already
 existing data, and the load it will create, and the time it will take to
 complete the process. I believe, it will be better if this can be added to
 BAM road map with a proper solution to all the upcoming problems.

 Thanks,
 Pandula


 On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 According to the current BAM  implementation, We are supporting message
 and activity search  based on the Cassandra indexing via message console UI.

 Currently to make data indexing work, we have to define indexing on tBox
 and deploy it.But even after tBox deployed, indexing won't get executed
 till we publish new set of data.
 So According to this there is no way to index existing cassandra data set
 through BAM.
 If its possible how can i achieve that?

 Further since indexing can be considered as separate feature directly
 bind with cassandra, I believe we should provide a separate UI to execute
 indexing stuffs and It will increase the usability of BAM indexing feature.
 WDYT?




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM -Message and Activity search based on Cassandra indexing

2014-07-25 Thread Asanka Vithanage
Hi Pandula,

I am trying on a standalone pack with built-in cassandra. Basically we can
add secondary indexs by updating the tBox streams.properties file, for Ex.
we can add below line to Mediation_Statistics_Monitoring toolBox to create
secondary indexs on direction,resource_id,stats_type fields.

streams.definitions.defn1.secondaryindexes=direction,resource_id,stats_type

My Point here is once we deploy the TBox with secondary indexes, It should
start indexing immediately.Reported Bug[1] for this issue.

[1] https://wso2.org/jira/browse/BAM-1715




On Fri, Jul 25, 2014 at 3:38 PM, Pandula Kariyawasam pand...@wso2.com
wrote:

 Hi Asanka,

 It was a different story at that time :). Anyway, have you tried this out
 in the latest pack in standalone mode, with built in Cassandra, and
 Datastax Cassandra? Is there any special configuration to enable this? if
 secondary index should index the already existing data, and if it is not
 working in current release, then there is a bug, either on Cassandra side,
 or on BAM side. You can get this confirm by adding indexing externally
 using Cassandra CLI (As in doc you shared above) This should index the data
 which are already there in the column. If it doesn't work, then Cassandra
 side has a problem, else you have to debug with BAM team.

 Thanks,
 Pandula


 On Fri, Jul 25, 2014 at 2:38 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi Pandula,

 As per the BAM team secondary index should index the already existing
 data as well. When we create a secondary index on a cassandra column
 family,It should start the indexing process immediately so there shouldn't
 be a requirement to publish data again.

 I agree with your concern about load handling but as per Cassandra doc
 [1], It won't be a problem.But we have to do a test run to make sure.

 [1]http://www.datastax.com/docs/1.0/ddl/indexes


 On Fri, Jul 25, 2014 at 2:03 PM, Pandula Kariyawasam pand...@wso2.com
 wrote:

 Hi Asanka,

 As in BAM 241, Cassandra indexing will affect only for the data which
 receive after adding the index, and there is no mechanism to index the
 already existing data. If this implemented, we have to handle the size of
 already
 existing data, and the load it will create, and the time it will take to
 complete the process. I believe, it will be better if this can be added to
 BAM road map with a proper solution to all the upcoming problems.

 Thanks,
 Pandula


 On Fri, Jul 25, 2014 at 12:49 PM, Asanka Vithanage asan...@wso2.com
 wrote:

 Hi All,

 According to the current BAM  implementation, We are supporting message
 and activity search  based on the Cassandra indexing via message console 
 UI.

 Currently to make data indexing work, we have to define indexing on
 tBox and deploy it.But even after tBox deployed, indexing won't get
 executed till we publish new set of data.
 So According to this there is no way to index existing cassandra data
 set through BAM.
 If its possible how can i achieve that?

 Further since indexing can be considered as separate feature directly
 bind with cassandra, I believe we should provide a separate UI to execute
 indexing stuffs and It will increase the usability of BAM indexing feature.
 WDYT?




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --

 *Pandula Kariyawasam K.B.*
 *Senior Software Engineer - QA*
 Mobile: +94772314510

 http://www.wso2.com




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM pack haven't updated with latest carbon level config changes

2014-07-16 Thread Asanka Vithanage
[Moving to Dev List]


On Thu, Jul 17, 2014 at 11:22 AM, Asanka Vithanage asan...@wso2.com wrote:

 Hi BAM Team.

 As per the Jira [1], 'versionResourcesOnChange' on registry.xml should be
 set to false as shown below.
 versionResourcesOnChangefalse/versionResourcesOnChange

 But when check the registry.xml on BAM pack still value has set to true,
 eventhough patch 0009 available on the Pack.On the same build wso2am-1.7.1
 pack has the correct values.

 Please do the needful to fix.


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


 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB 2.2.0] Failed to start correct profile in the nohup mode

2014-05-29 Thread Asanka Vithanage
Hi Nirmal,

You should be able to start Cassandra and Zookeeper profiles in nohup mode
in below way But it seems profiles fail to start properly when tried with
the start.
Reported a public jira for that issue[1].

Profile can be start in below ways without any issues:

Cassandra Profile:
nohup ./wso2server.sh -Dprofile=cassandra 

Zookeeper Profile:
nohup ./wso2server.sh -Dprofile=zookeeper 


[1] https://wso2.org/jira/browse/MB-695


On Wed, May 28, 2014 at 3:57 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi All,

 MB profiles failed to start in the nohup mode (./bin/wso2server.sh
 -Dprofile=cassandra start) due to a bug in the start-up scripts.

 nohup bash $CARBON_HOME/bin/wso2server.sh  /dev/null 21 
 nohup bash $CARBON_HOME/bin/wso2server.sh *-Dprofile=$PROF*  /dev/null
 21 

 We might want to document this.
 --

 Thanks  regards,
 Nirmal

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



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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Do we required to ship MB 220 with enabling Flow control by default?

2014-05-06 Thread Asanka Vithanage
Hi All,

With MB 220 we are going to introduce a new feature to flow control the
publisher. Currently by default MB pack comes with enabling that feature.

But AFAIU flow control requires only on systems which expose to high
message loads.for such systems we could enable the Flow control feature as
required.

So don't it a good idea to disable flow control on default pack and allow
users to select whether they required flow control?

WDYT?



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Do we required to ship MB 220 with enabling Flow control by default?

2014-05-06 Thread Asanka Vithanage
Hi Paul,

My suggestion based on the user perspective.With Current flow control
implementation when there is a load, publishers are getting blocked and
messages are not publishing to broker side till the available free memory
increased.
So publisher will get a considerable time to publish the messages and due
to that user won't see published messages reflect on broker side as quick
as before.
This will confuse a new user who don't knows the internals and May be users
feel MB performs slowly and will affect the user impression on MB.

So IMO enable flow control feature should given to the user to decide.

Apart from that we couldn't able to measure any memory use or negative due
to flow control enabling.







On Tue, May 6, 2014 at 3:40 PM, Paul Fremantle p...@wso2.com wrote:

 What is the impact of leaving it enabled by default?  Is there some
 greater memory use, slow down or other negative?

 Paul
 On 6 May 2014 06:04, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 With MB 220 we are going to introduce a new feature to flow control the
 publisher. Currently by default MB pack comes with enabling that feature.

 But AFAIU flow control requires only on systems which expose to high
 message loads.for such systems we could enable the Flow control feature as
 required.

 So don't it a good idea to disable flow control on default pack and allow
 users to select whether they required flow control?

 WDYT?



 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Jayaweera

2014-04-21 Thread Asanka Vithanage
Congratz. !!!


On Mon, Apr 21, 2014 at 9:36 PM, Bhathiya Jayasekara bhath...@wso2.comwrote:

 Congratulations Waruna...


 On Fri, Apr 18, 2014 at 7:53 PM, Nandika Jayawardana nand...@wso2.comwrote:

 Hi All,

 It's my  pleasure to announce Waruna Jayaweera as a WSO2 Committer.
 Waruna has  been a valuable contributor for WSO2 BPS / BRS products and in
 recognition of his contributions to WSO2, he has been voted as a WSO2
 Committer.

 Waruna, Congratulations and Keep up the good work!

 Thanks and Regards,
 Nandika

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

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




 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com http://wso2.com*

 *Phone: +94715478185 %2B94715478185*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 http://www.linkedin.com/in/bhathiyaj*
 *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
 *Blog: http://movingaheadblog.blogspot.com
 http://movingaheadblog.blogspot.com/*

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Do we have capability to configure Key-store/Trust-Stores tenant vice

2014-04-17 Thread Asanka Vithanage
Hi All,
Currently we can configure the Key-store/Trust-Stores as per doc [1],but
Doc does not say anything about tenant mode key-store configurations.

Is it possible to configure separate Key-store/Trust-Stores per each
tenant? Like Tenant1 with keyStore1/Trust-Store1 , Tenant2 with
keyStore2/Trust-Store2,.etc
If possible can any one explain the configuration steps pls?


Note:
I am trying MB SSL connection scenarios for tenant modes and wanted to
configure separate Keystores for each tenant for testing.


[1] https://docs.wso2.org/display/Carbon420/Configuring+Keystores


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ushani Balasooriya

2014-03-19 Thread Asanka Vithanage
Congrats Ushani  !!!


On Thu, Mar 20, 2014 at 10:38 AM, Suneth Ranasinghe sun...@wso2.com wrote:

 Congratz Ushani...!!!


 On Thu, Mar 20, 2014 at 10:05 AM, Sandapa Handakumbura 
 sand...@wso2.comwrote:

 Congratulations Ushani!!!


 On Wed, Mar 19, 2014 at 1:18 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Hi,

 It's my pleasure to announce Ushani Balasooriya as a WSO2 commiter. She
 is an active member of the QA team and has been a great contributor during
 ESB, API-M, App-Factory  IS releases.

 Welcome aboard Ushani and keep up the good work!

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935

 wso2.com Lean Enterprise Midd
 leware

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




 --
 Sandapa Handakumbura
 Associate Technical Lead
 WSO2.Inc. ; http://wso2.com/
 M : +94777115866

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




 --
 Suneth Ranasinghe
 Senior Software Engineer - QA
 Mobile: +94717387198

 wso2.com
 Lean Enterprise Middleware

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Observed Zookeeper bug WARN [SendWorker:1:QuorumCnxManager$SendWorker@679] - Interrupted while waiting for message on queue on WSO2 MB cluster

2014-03-12 Thread Asanka Vithanage
Hi All,

We have observed already reported zookeeper bug  on our WSO2 MB cluster
while testing.
Our setup runs with 4 clustered zookeeper servers {version zookeeper-3.4.5}
.

Issue [1] could be observed on 2,3,4 zookeeper nodes and It seems this
error occurs after the  failure of first zookeeper node (due to an unknown
reason). Due to this issue our MB cluster becomes unusable and had to
restart the whole setup.

As per the Zookeper JIRA [2] and [3], observed issue has fixed on the
zookeper version 3.4.0, but we are still obsering this error on
zookeeper-3.4.5 version.


Attached full zookeeper.out file here.

[1]
2014-03-12 02:41:26,515 [myid:2] - WARN
[RecvWorker:1:QuorumCnxManager$RecvWorker@762] - Connection broken for id
1, my id = 2, error =
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at
org.apache.zookeeper.server.quorum.QuorumCnxManager$RecvWorker.run(QuorumCnxManager.java:747)
2014-03-12 02:41:26,515 [myid:2] - WARN
[RecvWorker:1:QuorumCnxManager$RecvWorker@765] - Interrupting SendWorker
2014-03-12 02:41:26,516 [myid:2] - WARN
[SendWorker:1:QuorumCnxManager$SendWorker@679] - Interrupted while waiting
for message on queue
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2095)
at
java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:389)
at
org.apache.zookeeper.server.quorum.QuorumCnxManager.pollSendQueue(QuorumCnxManager.java:831)
at
org.apache.zookeeper.server.quorum.QuorumCnxManager.access$500(QuorumCnxManager.java:62)
at
org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:667)
2014-03-12 02:41:26,516 [myid:2] - WARN
[SendWorker:1:QuorumCnxManager$SendWorker@688] - Send worker leaving thread


[2] https://issues.apache.org/jira/browse/ZOOKEEPER-939
[3] https://issues.apache.org/jira/browse/ZOOKEEPER-880
-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com


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


Re: [Dev] Are we allow users to update artifacts deployed through a CApp using Admin console UI

2014-01-21 Thread Asanka Vithanage
Hi Doc team,
Shall we update the carbon documentation appropriately then?


On Wed, Jan 22, 2014 at 11:25 AM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 CApp is a self contained project. So you cant update part of the project
 as every artifact in the CApp is part of it. If any update needed, it
 should be to whole CApp project and it should come through the process
 starting from DevStudio - Update Artifact - Repack CApp - Update CApp in
 Server. This is our recommendation.

 Other ways to update an artifact in CApp is not recommended. We need to
 update the docs.


 On Wed, Jan 22, 2014 at 11:10 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi All,

 If some user try to update a artifact deployed through an CApp as
 described in below scenario, What should be the our answer to an user?

 *Scenario:*
 1. User have created a CApp which include all the artifacts need to try
 out MS and MP on ESB [Attached a such artifact].
 2. Start the ESB server and Deploys the created CApp on ESB server
 3. Due to some reason user wants to just change an one Message Processor
 parameter like Maximum delivery attempts, So using admin console UI he
 changes the parameter value {[UI is the easiest way to do such a small
 change]
 4. Once user restart the server, he will experience the below listed
 exception on stack-trace due to artifact duplication.

 *Note*:
 With current CApp deploy architecture all artifacts deployed through a
 CApp keep on a temporarily location
 [wso2esb-4.8.1/repository/carbonapps/work/] and At every restart CApp will
 redeploy again.
 But if user edits one of capp deployed artifacts It will duplicate same
 artifact inside wso2esb-4.8.1/repository/deployment/server folder hierarchy
 as well.So artifact duplication happen at server restart time.


 So whats our stand on this kind of situation?
 May be we can say we are not allow to update CApp deployed artifacts
 through Admin console UI.
 But we do have real usability issue here, since users tend to use admin
 console UI to make a small changes on an artifact.
 Further our docs [1] does not say anything about this as well.

 [This concern is valid for all the wso2 products which supports CApp
 deployment]


 *Observed following Error:*

 [2014-01-21 18:17:55,517] ERROR - MessageProcessorDeployer Message
 Processor Deployment from the file :
 /home/asankav/servers/releasetest/ESB481/wso2esb-4.8.1/repository/carbonapps/work/1390308470104ESB_MSandMP_WSO2MB_Schenario_TestPack_O_CApp_1.0.0.car/MessageProcessorO1_1.0.0/MessageProcessorO1-1.0.0.xml
 : Failed.
 org.apache.synapse.SynapseException: Error scheduling job : JobDetail
 'synapse.message.processor.quartz.MessageProcessorO1-job':  jobClass:
 'org.apache.synapse.message.processor.impl.forwarder.ForwardingService
 concurrentExectionDisallowed: false persistJobDataAfterExecution: false
 isDurable: false requestsRecovers: false with trigger Trigger
 'DEFAULT.MessageProcessorO1-trigger':  triggerClass:
 'org.quartz.impl.triggers.SimpleTriggerImpl calendar: 'null'
 misfireInstruction: 4 nextFireTime: Tue Jan 21 18:17:55 IST 2014
 at
 org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.start(ScheduledMessageProcessor.java:153)
 at
 org.apache.synapse.message.processor.impl.ScheduledMessageProcessor.init(ScheduledMessageProcessor.java:108)
 at
 org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor.init(ScheduledMessageForwardingProcessor.java:43)
 at
 org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:52)
 at
 org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:190)
 at
 org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:140)
 at
 org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
 at
 org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:114)
 at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
 at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
 at
 org.wso2

[Dev] AS web app statistics toolBox should hosted on a public location

2013-12-06 Thread Asanka Vithanage
Hi All,
With AS 520 release,we introduced a feature to monitor web statistics and
Its have documented under [1]. But relevant BAM toolbox does not available
on any public location.

Shall we add web statistics toolBox to a public location , may be we can
add it to the location [2]?
And we need to update the doc[1] with relevant location as well.


[1]
http://docs.wso2.org/display/AS520/Web+Application+Statistics+Monitoring+with+BAM#WebApplicationStatisticsMonitoringwithBAM-Step2StarttheBusinessActivityMonitor

[2] http://wso2.com/products/business-activity-monitor/toolboxes/


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 05 packs 04-12-2013

2013-12-04 Thread Asanka Vithanage
Hi Supun,
Can you please share the P2 repo link as well.



On Wed, Dec 4, 2013 at 1:10 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Please find $subject. in [1].

 [1] http://ec2-54-205-250-106.compute-1.amazonaws.com/chunk-05/03-12-2013/

 thanks
 --
 Supun Malinga,

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How the kernel patches get apply when install the product features from P2 repo

2013-12-04 Thread Asanka Vithanage
Hi All,

I tried to install AS 521 features using a P2 repo [1] on carbon server
downloaded from location [2]
But seems repository/components/patches folder does not contain patch0001 ,
patch0002 , patch0003 even after feature installation.

Do we need to add above patches manually in this case? Or What steps do we
really need to follow when build the 4.2.0 based products on carbon sever?


[1]
http://ec2-107-22-16-108.compute-1.amazonaws.com/chunk-05/05-12-2013/p2-repo/
[2] http://wso2.com/products/carbon/


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dimuthu De Lanerolle

2013-11-25 Thread Asanka Vithanage
Congrats!!!


On Mon, Nov 25, 2013 at 8:08 PM, Nuwan Silva nuw...@wso2.com wrote:

 Congrats!!!


 On Mon, Nov 25, 2013 at 7:49 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats !


 On Mon, Nov 25, 2013 at 7:42 PM, Harsha Thirimanna hars...@wso2.comwrote:

 Congrad :)



 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * http://www.apache.org/*
 * email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770*
 * twitter: **http://twitter.com/ http://twitter.com/afkham_azeez*
 *harshathirimann linked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

  *Lean . Enterprise . Middleware*



 On Mon, Nov 25, 2013 at 7:40 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi All,

 It's my pleasure to welcome Dimuthu De Lanerolle to WSO2 developer
 community by granting WSO2 commitership. DimuthuD has been contributing
 greatly to product integration tests and test automation framework related
 developments over the last couple of months. In acknowledgement of his
 contributions, he's been voted as a WSO2 Committer. Welcome aboard and keep
 up the good work!


 Thanks,

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 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




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

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.

 lean . enterprise . middlewear.
 http://www.wso2.com

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 ESB 4.8.0 - Alpha Released !

2013-11-20 Thread Asanka Vithanage
Hi Lahiru,

We are still observing above issue on ESB 480 alpha and reported under[1].

And i have raised two more concerns regarding the logging with related to
the MS and Mp functionality under [2] and [3]




[1] https://wso2.org/jira/browse/ESBJAVA-2724

[2] https://wso2.org/jira/browse/ESBJAVA-2699
[3] https://wso2.org/jira/browse/ESBJAVA-2603



On Mon, Nov 18, 2013 at 11:39 AM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi Evanthika et al.,

 Please verify whether the issue reported at thread ESB 4.7.0 logs printed
 in high frequency when Message Broker is down is fixed in ESB 4.8.0.

 Thanks.



 On Fri, Nov 15, 2013 at 8:03 AM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Yes Subash,

 This was identified and reported as a bug for this release.

 https://wso2.org/jira/browse/ESBJAVA-2358
 https://wso2.org/jira/browse/ESBJAVA-2359

 Evanthika

 On Thu, Nov 14, 2013 at 9:26 PM, Subash Chaturanga sub...@wso2.comwrote:

 Hi Evanthika,
 In M5 packs, noticed that the default BAM mediation data publishing menu
 goes to a blank page (Refer [Monitor ESB from BAM 1.5.0] Mediation Data
 Publishing menu goes to a Blank Page !) and this is a blocker for people
 who wants to monitor ESB through BAM. Please check whether it is also fixed.


 On Wed, Nov 13, 2013 at 11:00 PM, Evanthika Amarasiri 
 evanth...@wso2.com wrote:

 Noted Dushan,

 Evanthika

 On Wed, Nov 13, 2013 at 10:49 PM, Dushan Abeyruwan dus...@wso2.comwrote:

 Hi
   It seems like connectors are not updated correctly with the Alpha
 pack shared, anyway for QA process for 4.8.0 Alpha please do download the
 latest connectors from [1]

 [1]https://svn.wso2.org/repos/wso2/people/shafreen/connectors/


 On Wed, Nov 13, 2013 at 8:16 PM, Shafreen Anfar shafr...@wso2.comwrote:

 Hi,

 ESB version 4.8.0 Alpha is available at,

 https://svn.wso2.org/repos/wso2/people/shafreen/ESB480/alpha/wso2esb-4.8.0.zip

 Connectors can be found in
 $ESB_HOME/repository/connectors

 --
 Regards,
 *Shafreen*
 Software Engineer
 WSO2 Inc
 Mobile : 077-556-395-1

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




 --
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/ http://wso2.com/*
 *Mobile:(+94)714408632 %28%2B94%29714408632*



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




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware



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




 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add new JMS parameter from Management Console?

2013-09-08 Thread Asanka Vithanage
)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.transport.mgt.stub.TransportAdminStub.updateGloballyDefinedInParameters(TransportAdminStub.java:3676)
 at
 org.wso2.carbon.transport.mgt.ui.TransportAdminClient.updateGloballyDefinedInParameters(TransportAdminClient.java:276)
 at
 org.apache.jsp.transport_002dmgt.update_005ftransport_jsp._jspService(org.apache.jsp.transport_002dmgt.update_005ftransport_jsp:164)
 
 Caused by: java.lang.ClassCastException: java.lang.String cannot be cast
 to org.apache.axiom.om.OMElement
 at
 org.apache.axis2.transport.jms.JMSConnectionFactory.init(JMSConnectionFactory.java:79)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.loadConnectionFactoryDefinitions(JMSConnectionFactoryManager.java:58)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.init(JMSConnectionFactoryManager.java:45)
 at
 org.apache.axis2.transport.jms.JMSListener.doInit(JMSListener.java:58)
 at
 org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:62)
 at
 org.wso2.carbon.core.transports.AbstractTransportService.updateGlobalTransportParameters(AbstractTransportService.java:125)
 ... 116 more

 I couldn't find information on docs also. [2]

 [1]
 http://stackoverflow.com/questions/18281262/wso2-esb-jms-listener-configuration-at-runtime
 [2] http://docs.wso2.org/wiki/display/ESB470/Configuring+Transports

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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





-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error throws when pointing AS 5.2.0 and BAM 2.3.0 to the same User store

2013-09-07 Thread Asanka Vithanage
Hi All,

When trying to point BAM 2.3.0 to an UseStore (which already pointed to AS
5.2.0), Observed following exception.


TID: [0] [BAM] [2013-09-06 23:43:06,035]  INFO
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
deployed Agent Client
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS}
TID: [0] [BAM] [2013-09-06 23:43:07,005]  INFO
{org.wso2.carbon.user.core.common.DefaultRealmService} -  Database already
exists. Not creating a new database.
{org.wso2.carbon.user.core.common.DefaultRealmService}
TID: [0] [BAM] [2013-09-06 23:43:07,060] ERROR
{org.wso2.carbon.user.core.util.DatabaseUtil} -  Database Error - Table
'WSO2CARBON_DB.UM_CLAIM_BEHAVIOR' doesn't exist
{org.wso2.carbon.user.core.util.DatabaseUtil}
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table
'WSO2CARBON_DB.UM_CLAIM_BEHAVIOR' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2127)
at
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2293)
at
org.wso2.carbon.user.core.profile.dao.ProfileConfigDAO.loadProfileConfigs(ProfileConfigDAO.java:127)
at
org.wso2.carbon.user.core.profile.builder.ProfileConfigurationBuilder.buildProfileConfigurationFromDatabase(ProfileConfigurationBuilder.java:84)
at
org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:339)
at
org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:109)
at
org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223)
at
org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:103)
at
org.wso2.carbon.user.core.common.DefaultRealmService.init(DefaultRealmService.java:116)
at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:67)
at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
TID: [0] [BAM] [2013-09-06 23:43:07,063] ERROR
{org.wso2.carbon.user.core.profile.builder.ProfileConfigurationBuilder} -
Database Error - Table 'WSO2CARBON_DB.UM_CLAIM_BEHAVIOR' doesn't exist
{org.wso2.carbon.user.core.profile.builder.ProfileConfigurationBuilder}
org.wso2.carbon.user.core.UserStoreException: Database Error - Table
'WSO2CARBON_DB.UM_CLAIM_BEHAVIOR' doesn't exist
at
org.wso2.carbon.user.core.profile.dao.ProfileConfigDAO.loadProfileConfigs(ProfileConfigDAO.java:152)
at
org.wso2.carbon.user.core.profile.builder.ProfileConfigurationBuilder.buildProfileConfigurationFromDatabase(ProfileConfigurationBuilder.java:84)
at

Re: [Dev] WSO2 Committers += Dhanuka

2013-09-03 Thread Asanka Vithanage
Congratz Dhanuka...!!!


On Wed, Sep 4, 2013 at 10:10 AM, Dhanuka Ranasinghe dhan...@wso2.comwrote:

 Hi

 Thanks guys

 Cheers
 Dhanuka


 On Tuesday, September 3, 2013, Darshana Gunawardana darsh...@wso2.com
 wrote:
  Congratulations Dhanuka...!!!
 
  On Tue, Sep 3, 2013 at 10:21 AM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:
 
  Congratulations Dhanuka... :)
 
  On Tue, Sep 3, 2013 at 10:16 AM, Pulasthi Supun pulas...@wso2.com
 wrote:
 
  Congrats Dhanuka :)
 
  On Tue, Sep 3, 2013 at 10:14 AM, Gayan Dhanushka gay...@wso2.com
 wrote:
 
  Congratzzz Dhanuka!!!
 
 
  On Tue, Sep 3, 2013 at 10:01 AM, Prabath Abeysekera praba...@wso2.com
 wrote:
 
  Hi All,
  It's my pleasure to welcome Dhanuka Ranasinghe as a WSO2 Committer.
 Dhanuka has been a great contributor to SS over the last couple of months
 handling all the responsibilities entrusted to him pretty satisfactorily.
 In acknowldgement of all his contributions, he's been voted as a WSO2
 committer.
  Dhanuka, Welcome aboard and keep up the good work!
 
 
  Cheers,
  Prabath
  --
  Prabath Abeysekara
  Associate Technical Lead, Data TG.
  WSO2 Inc.
  Email: praba...@wso2.com
  Mobile: +94774171471
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
 
  Gayan Dhanushka
  Software Engineer
  WSO2 Inc.
  http://wso2.com
 
  Mobile : 0716662327
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  --
  Pulasthi Supun
  Software Engineer; WSO2 Inc.; http://wso2.com,
  Email: pulas...@wso2.com
  Mobile: +94 (71) 9258281
  Blog : http://pulasthisupun.blogspot.com/
  Git hub profile: https://github.com/pulasthi
 
  Regards,
  Darshana Gunawardana
  Software Engineer
  WSO2 Inc.; http://wso2.com
  E-mail: darsh...@wso2.com
  Mobile: +94718566859
  Lean . Enterprise . Middleware
 

 --
 *Dhanuka Ranasinghe*

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

 lean . enterprise . middleware

 phone : +94 715381915


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Carbon 4.2.0 Release - RC2 Packs

2013-08-25 Thread Asanka Vithanage
Hi Sameera,

P2 repo not available on the provided location. Please do the needful to
provide P2 Repo.


On Sat, Aug 24, 2013 at 6:49 PM, Sameera Jayasoma same...@wso2.com wrote:

 +1. Will do from the next iteration onwards.

 Thanks,
 Sameera.


 On Sat, Aug 24, 2013 at 6:38 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Sameera,

 Is it possible to run all integration tests after building the packs.

 This will help us to identify issues early and get to know integration
 test status of each product.

 Thanks,
 Krishantha.


 On Sat, Aug 24, 2013 at 12:37 PM, Sameera Jayasoma same...@wso2.comwrote:

 Hi all,

 Here is the location[1]  to download the packs. I will add other
 products when they are available.

 thanks,
 Sameera.

 [1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc2/

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware

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





 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Welcome Rajeeva Uthayasangar as a WSO2 Committer

2013-08-25 Thread Asanka Vithanage
Congratz Rajeeva !!!


On Mon, Aug 26, 2013 at 10:37 AM, Chanika Geeganage chan...@wso2.comwrote:

 Congratz Rajeeva !!!


 On Mon, Aug 26, 2013 at 10:33 AM, Rajeev Sampath raje...@wso2.com wrote:

 Congrats!!


 On Mon, Aug 26, 2013 at 2:00 AM, Harshana Martin harsh...@wso2.comwrote:

 Hi All,

 It is our pleasure to welcome Rajeeva Uthayasangar as a WSO2 Committer.

 Rajeeva joined WSO2 Jaggery team and worked on implementing Jaggery
 Editor for WSO2 Developer Studio which is now distributed as a part of WSO2
 Developer Studio. Also she contributed to some of the important internal
 projects and completed them successfully.

 In recognition of her commitment and contributions, she has been voted
 as a Committer for WSO2.

 Rajeeva, Congratulations and Welcome Aboard! Keep up the good work!!

 Thanks and Regards,
 Nuwan  Harshana
 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05

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




 --
 Rajeev Sampath
 Senior Software Engineer
 WSO2, Inc.; http://www.wso2.com.

 Mobile:* +94716265766
 *

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




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Mobile: +94773522586

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Chanaka Fernando

2013-08-19 Thread Asanka Vithanage
Congrats Chanaka!!!


On Mon, Aug 19, 2013 at 11:26 AM, Susankha Nirmala susan...@wso2.comwrote:

 congratz chanaka !!!


 On Mon, Aug 19, 2013 at 11:11 AM, Pulasthi Supun pulas...@wso2.comwrote:

 congratz Chanaka!!


 On Mon, Aug 19, 2013 at 11:03 AM, Asanka Sanjeewa asan...@wso2.comwrote:

 Congratulation Chanaka.

 Regards,
 AsankaS.


 On Mon, Aug 19, 2013 at 11:00 AM, Hasitha Hiranya hasit...@wso2.comwrote:

 congratz Chanaka!!!


 On Mon, Aug 19, 2013 at 10:58 AM, Dhanuka Ranasinghe 
 dhan...@wso2.comwrote:

 congratz Chanaka!!!

  *Dhanuka Ranasinghe*

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

 lean . enterprise . middleware

 phone : +94 715381915


 On Mon, Aug 19, 2013 at 10:50 AM, Kasun Indrasiri ka...@wso2.comwrote:

  Hi all,

 Its my pleasure to welcome Chanaka Fernando as a WSO2 Committer.
 ChanakaF has been contributing to ESB for last couple of months and
 has done an excellent job in recent cloud connector work.

 Chanaka, welcome aboard and keep up the good work.

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

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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



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




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

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




 --
 *Asanka Sanjeewa*
 Senior Software Engineer
 Mobile: +94772532924
 WSO2 Inc. http://wso2.com/
 Blog: http://asanka-tech-blog.blogspot.com/


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




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

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




 --
 Susankha Nirmala
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Piyum Fernando

2013-08-15 Thread Asanka Vithanage
 Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 593 2146

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




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

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




 --
 Senior Software Engineer

 Mobile: +94 71 82 300 20


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




 --
 *Susinda Perera*
 Software Engineer
 Mobile:(+94)716049075

 WSO2 Inc. http://wso2.com/

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




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT
 apache.org shame...@apache.org*
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




 --
 Thanks and Regards*,
 Shani Ranasinghe*

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

 mobile: +94 77 2273555
 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab

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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What Transports really AS support

2013-08-09 Thread Asanka Vithanage
.carbon.core.CarbonAxisConfigurator.populateAxisConfiguration(CarbonAxisConfigurator.java:308)
at
org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:188)
... 42 more
Caused by: java.lang.ClassNotFoundException:
org.apache.synapse.transport.nhttp.HttpCoreNIOListener
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportReceivers(AxisConfigBuilder.java:625)
... 45 more



So are we really supporting these transports mention on doc? if not its
better to remove them from doc and axis2.xml


[1] http://docs.wso2.org/wiki/display/AS520/Carbon+Transports

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What Transports really AS support

2013-08-09 Thread Asanka Vithanage
Yes, Doc directly not saying AS support NIO but [2] on AS Doc implies our
all products support these transports.

[2] http://docs.wso2.org/wiki/display/AS520/Introduction+to+Transports


On Fri, Aug 9, 2013 at 12:10 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Well.. the doc does not say AS supports NIO. It says following transports
 are supported by the Carbon Platform. Problem here is, this doc is under
 AS. So, we might have to fix it.

 Coming back to your original issue, AS can't support NIO transport because
 it does not pack the necessary jars (synapse jars).


 On Fri, Aug 9, 2013 at 11:45 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi All,

 As per the [1] , AS supports HTTP,HTTPS, HTTP-NIO, HTTPS-NIO, MailTo,
 JMS, VFS, TCP, Local, UDP,FIX transports.

 But when i enable the HTTP-NIO transport Receiver on axis2.xml and try to
 restart the server following error throws on the stack trace and start fails


 [2013-08-09 11:39:58,296] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 org.apache.axis2.AxisFault: Exception occured while loading the Axis
 configuration from
 /home/asankav/servers/releasetest/AS520/8thAugust/wso2as-5.2.0-SNAPSHOT/repository/conf/axis2/axis2.xml
 at
 org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:190)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
 at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
 at
 org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
 at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
 at
 org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
 at
 org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
 at
 org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549

[Dev] Once enable a transport its get apply to each and every service deployed on AS

2013-08-09 Thread Asanka Vithanage
Hi All,

When enable the JMS transport on axis2.xml as specified on [1]. All the
deployed services enable the the JMS transport.so we can see every service
creating an queue on message broker.
IMO this should not happen.

Further suppose a situation like AS have 10 services deployed and user
wants to deploy a new service which needs  listen to an queue. In this kind
of situation user needs to update all previous services, simply he has to
go to Tranport management (Home Manage Services List Service Dashboard
Transport Management) page of each and every service and remove JMS
transport manually.

As i see after enabled the JMS transport on global level, user should allow
to select required transport on each service level. As we do on ESB proxy.

WDYT?

Note:
This concern is valid for other Transports as well.



[1] http://docs.wso2.org/wiki/display/MB210/Integrating+WSO2+AS

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cluster management node becomes unresponsive when try to update the https transport Listener of a deployed axis2 service

2013-08-08 Thread Asanka Vithanage
Hi All,
I observed $Subject on cluster setup. Reported under JIRA CARBON-14340
https://wso2.org/jira/browse/CARBON-14340

Can any one please explain why this update affects the manager node?

-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon 4.2.0] -Deployment synchronizer subversion error on worker/Manage separated setup

2013-08-06 Thread Asanka Vithanage
.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:114)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException:
Error while committing artifacts to the SVN repository
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.handleException(SVNBasedArtifactRepository.java:744)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:365)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.commit(DeploymentSynchronizer.java:145)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:114)
... 10 more
Caused by: org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: svn: Commit failed (details
follow):
svn: File or directory 'webapps' is out of date; try updating
svn: resource out of date; try updating
svn: CHECKOUT of '/svn/!svn/ver/1154/carbon420ELB/-1234/webapps': 409
Conflict (http://svnexample.wso2.com)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:339)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:306)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:345)
... 12 more
Caused by: org.tigris.subversion.javahl.ClientException: svn: Commit failed
(details follow):
svn: File or directory 'webapps' is out of date; try updating
svn: resource out of date; try updating
svn: CHECKOUT of '/svn/!svn/ver/1154/carbon420ELB/-1234/webapps': 409
Conflict (http://svnexample.wso2.com)
at
org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java:667)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java:648)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:333)
... 14 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: Commit failed (details
follow):
svn: File or directory 'webapps' is out of date; try updating
svn: resource out of date; try updating
svn: CHECKOUT of '/svn/!svn/ver/1154/carbon420ELB/-1234/webapps': 409
Conflict (http://svnexample.wso2.com)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:898)
at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:827)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java:665)
... 16 more


On Thu, Jul 25, 2013 at 4:09 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi ,

 we have observed following error looping on manager stack trace when try
 to deploy a web application.
 Even undeploying the web application not worked and we have to cleanup the
 svn.

 Noted: svnkit-bundle-1.0.0.jar available on the cluster

 TID: [0] [AS] [2013-07-25 15:47:58,120]  INFO
 {org.wso2.carbon.webapp.deployer.WebappDeployer} -  Deploying Web
 Application :
 /home/wso2/4.2.0/wso2as-5.2.0-SNAPSHOT/repository/tenants/9/webapps/booking-mvc_withoutjstl_cxf.war
 {org.wso2.carbon.webapp.deployer.WebappDeployer}
 TID: [0] [AS] [2013-07-25 15:48:07,246]  INFO
 {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} -  Deployed
 webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/t/
 asanka.com/webapps/booking-mvc_withoutjstl_cxf].File[/home/wso2/4.2.0/wso2as-5.2.0-SNAPSHOT/repository/tenants/9/webapps/booking-mvc_withoutjstl_cxf.warhttp://asanka.com/webapps/booking-mvc_withoutjstl_cxf%5D.File%5B/home/wso2/4.2.0/wso2as-5.2.0-SNAPSHOT/repository/tenants/9/webapps/booking-mvc_withoutjstl_cxf.war]
 {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer}
 TID: [0] [AS] [2013-07-25 15:48:08,498] ERROR
 {org.wso2

Re: [Dev] WSO2 Committers += Shashika Ubhayaratne

2013-08-05 Thread Asanka Vithanage
Congratz shashika... !!!


On Mon, Aug 5, 2013 at 11:49 AM, Suneth Ranasinghe sun...@wso2.com wrote:

 Congratz shashika... !


 On Mon, Aug 5, 2013 at 11:39 AM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Hi,

 Its my pleasure to welcome Shashika Ubhayaratne as a WSO2 Committer.

 Shashika has made some great contributions during the recent ESB release.

 Welcome aboard Shashika. Keep up the good work.

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935
 *
 *
 wso2.com Lean Enterprise Middleware

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




 --
 Suneth Ranasinghe
 Senior Software Engineer - QA
 Mobile: +94717387198
 *
 *
 wso2.com
 Lean Enterprise Middleware

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Geeth

2013-08-04 Thread Asanka Vithanage
Congrats Geeth...!!!


On Mon, Aug 5, 2013 at 10:28 AM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats Geeth


 On Mon, Aug 5, 2013 at 10:25 AM, Dunith Dhanushka dun...@wso2.com wrote:

 Congrats Geeth!


 On Mon, Aug 5, 2013 at 10:21 AM, Balakrishnan Gokulakrishnan 
 go...@wso2.com wrote:

 Congrats Geeth!

 On 5 August 2013 10:07, Sagara Gunathunga sag...@wso2.com wrote:


 It is my pleasure to welcome Geeth Munasinghe as a WSO2 Committer.

 Geeth, Welcome Aboard!   please keep up the good work!!



 Thanks !
 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com


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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Regards,

 Dunith Dhanushka,
 Senior Software Engineer - BAM,
 WSO2 Inc,

 Mobile - +94 71 8615744
 Blog - dunithd.wordpress.com http://blog.dunith.com
 Twitter - @dunithd http://twitter.com/dunithd

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




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

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Chanika

2013-08-04 Thread Asanka Vithanage
Congratz Chanika...!


On Mon, Aug 5, 2013 at 10:25 AM, Pushpalanka Jayawardhana la...@wso2.comwrote:

 Congratulation Chanika...!!!

 Pushpalanka Jayawardhana

 Software Engineer

 WSO2 Lanka (pvt) Ltd
 [image: 
 Facebook]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka
  [image:
 Twitter]http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka
  [image:
 LinkedIn]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fprofile%2Fview%3Fid%3D75175642%26trk%3Dtab_pro
  [image:
 Blogger]http://s.wisestamp.com/links?url=http%3A%2F%2Fpushpalankajaya.blogspot.com%2F
  [image:
 SlideShare]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.slideshare.net%2FPushpalanka
 Mobile: +94779716248

 http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fu%3Dc984892c0c4ca423%26v%3D3.13.2%26t%3D1361257731639%26promo%3D10%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_10


 On Mon, Aug 5, 2013 at 10:22 AM, Ishara Premadasa ish...@wso2.com wrote:

 Congratz Chanika :)


 On Mon, Aug 5, 2013 at 10:19 AM, Balakrishnan Gokulakrishnan 
 go...@wso2.com wrote:

 Congrats Chanika!!

 On 5 August 2013 09:24, Anjana Fernando anj...@wso2.com wrote:

 Hi everyone,

 It's my pleasure to announce Chanika as a WSO2 commiter. Chanika has
 done many contribution in improving DSS features. And I'm sure she will
 continue to be a key member in the team. Chanika, welcome aboard and keep
 it up! ..

 Cheers,
 Anjana.
 --
 *Anjana Fernando*
 Technical Lead
  WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Ishara Premasada
 Software Engineer,
 WSO2 Inc. http://wso2.com/
 *Blog   :  http://isharapremadasa.blogspot.com/
 Twitter   :  https://twitter.com/ishadil
 Mobile   : +94 714445832*



 ___
 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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mohanadarshan Vivekanandalingam

2013-08-01 Thread Asanka Vithanage
Congratulation Mohan...!!!


On Fri, Aug 2, 2013 at 8:33 AM, Darshana Gunawardana darsh...@wso2.comwrote:

 Congratulation Mohan...!!!


 On Fri, Aug 2, 2013 at 7:06 AM, Harsha Thirimanna hars...@wso2.comwrote:

 My congratulation!!!


 *Harsha Thirimanna*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 * http://www.apache.org/**
 email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770**
 twitter: **http://twitter.com/ http://twitter.com/afkham_azeez**
 harshathirimann
 linked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//
 www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
 *
 *
 *Lean . Enterprise . Middleware*
 *
 *


 On Thu, Aug 1, 2013 at 5:04 PM, Lasantha Fernando lasan...@wso2.comwrote:

 Congrats Mohan!!... :-)


 On 2 August 2013 00:24, Sriskandarajah Suhothayan s...@wso2.com wrote:

 Hi Folks,

 Its my pleasure to welcome Mohanadarshan Vivekanandalingam (Mohan) as a
 WSO2 Committer. He has contributed alot to CEP, already written four
 components and driving CEP 3.0.0 release.

 Mohan, welcome aboard and keep up the good work.

 Thanks.


 *S. Suhothayan
 *
 Associate Technical Lead,
  *WSO2 Inc. *http://wso2.com *
  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*
 *
 *




 --
 *Lasantha Fernando*
 Software Engineer - Data Technologies Team
 WSO2 Inc. http://wso2.com

 email: lasan...@wso2.com
 mobile: (+94) 71 5247551

 ___
 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




 --
 Regards,

 *
 Darshana Gunawardana
 *Software Engineer
 WSO2 Inc.; http://wso2.com*
 E-mail: darsh...@wso2.com
 **Mobile: +94718566859
 *
 Lean . Enterprise . Middleware


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Publish AS web statistics to BAM configurations have too much configuration steps

2013-07-31 Thread Asanka Vithanage
HI All,

I have try to configure  AS to publish web statistcs to BAM.But it seems
(on user perspective) there are so many configuration steps need to follow
to achieve this task.

Steps required:
1. Need to enable WebappDataPublishingdisable/WebappDataPublishing on
{AS_HOME}/repository/conf/etc/ and open bam.xml.

2. Need to select Enable webapp stats check box on HomeConfigureWebapp
Data Publishing through AS management console

3. Need to select  Enable BAM Statistics check box on individual web
application dashboard



I feel we can get rid of first two steps and just enough the third step.So
user can enable the web statistics publishing for a web app by following
just one simple step.
 WDYT?

Further that with current implementation we can't enable stat publishing
for services one by one.
We have to enable or disable stats publishing for all deployed services.
Isn't that better to allow enable stat publishing at each service level?



-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use CXF runtime feature in products

2013-07-30 Thread Asanka Vithanage
Hi Kasun,
Can you please list down the our products which required to include CXF
runtime feature? So i can add them to the AS 5.2.0 test plan.


On Mon, Jul 29, 2013 at 6:26 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 CCing Asela


 On Mon, Jul 29, 2013 at 5:06 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi Kasun


 On Sun, Jul 28, 2013 at 4:20 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi,

 Please include the CXF runtime feature in all the products that need CXF
 runtime for their webapps. We have got rid of generating the CXF runtime
 functionality during distribution, and improved it to be installed as a
 feature [1]. This is very helpful when merging two products via feature
 installation. Say, when installing GReg and IS features in to Carbon, we
 need to automatically copy the CXF runtime functionality along with it.
 With this new feature it is made possible. It's committed to
  features/as-runtimes/org.wso2.carbon.as.runtimes.cxf.feature/.

 It is pretty easy to use this feature.

 1. Remove the cxf jars copying section from your assembly descriptor
 (bin.xml) in distribution/, and the relevant dependencies from
 distribution/pom.xml.
 2. Add the feature *org.wso2.carbon.as.runtimes.cxf.feature* to
 p2-profile-gen for both default and worker profile (given that you have a
 worker profile.)

 +1, The old method that used the assembly.xml was added to greg
 this approach will be much better.

 Regards,
 Pulasthi

 The changes are already done for AS which can be found in revisions
 179163 and 179164. Please update this thread once you have done this
 especially if you are releasing the product with Carbon 4.2.0.

 [1] https://wso2.org/jira/browse/WSAS-1330

 Thanks,
 KasunG



 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com



  ,
 *email: **kasung AT spamfree wso2.com



 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe



 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org



 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg



 *
 *

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




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




 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com


  ,
 *email: **kasung AT spamfree wso2.com


 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe


 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org


 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


 *
 *

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use CXF runtime feature in products

2013-07-29 Thread Asanka Vithanage
Hi Kasun,

Please provide the required P2 repo to start testing this feature.



On Sun, Jul 28, 2013 at 4:20 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 Please include the CXF runtime feature in all the products that need CXF
 runtime for their webapps. We have got rid of generating the CXF runtime
 functionality during distribution, and improved it to be installed as a
 feature [1]. This is very helpful when merging two products via feature
 installation. Say, when installing GReg and IS features in to Carbon, we
 need to automatically copy the CXF runtime functionality along with it.
 With this new feature it is made possible. It's committed to
  features/as-runtimes/org.wso2.carbon.as.runtimes.cxf.feature/.

 It is pretty easy to use this feature.

 1. Remove the cxf jars copying section from your assembly descriptor
 (bin.xml) in distribution/, and the relevant dependencies from
 distribution/pom.xml.
 2. Add the feature *org.wso2.carbon.as.runtimes.cxf.feature* to
 p2-profile-gen for both default and worker profile (given that you have a
 worker profile.)

 The changes are already done for AS which can be found in revisions 179163
 and 179164. Please update this thread once you have done this especially if
 you are releasing the product with Carbon 4.2.0.

 [1] https://wso2.org/jira/browse/WSAS-1330

 Thanks,
 KasunG



 --
 *Kasun Gajasinghe*
 Software Engineer;
 Development Technologies Team, WSO2 Inc.; http://wso2.com



  ,
 *email: **kasung AT spamfree wso2.com



 ** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe



 *
 *
 *blog: **http://kasunbg.org* http://kasunbg.org



 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg



 *
 *

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSAS-1328 - Web apps fail look up for two jndi resources registered on global tomcat context

2013-07-28 Thread Asanka Vithanage
Hi Piyum,

Added required Context.xml , catalina-server.xml configuration files and
testing web application project to JIRA.
With above provided configurations web app fails to look up JNDI resources
registered on catalina-server.xml and linked at tomcat context level.
Hopes now you can be reproduce the issue.


On Sat, Jul 27, 2013 at 8:55 AM, Piyum Fernando pi...@wso2.com wrote:

 Hi AsankaV,

 I went through the $subject and it worked fine for me.
 Please attach your catalina-server.xml then I can have a look in to it.

 Thanks.

 --
 Piyum Fernando
 Software Engineer

 Mobile: +94 77 22 93 880
 Home:  +94 31 22 75 715




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Welcome Susankha Nirmala as a WSO2 Committer

2013-07-26 Thread Asanka Vithanage
Congratzz susankha !!


On Fri, Jul 26, 2013 at 12:16 PM, Udara Rathnayake uda...@wso2.com wrote:

 Congratulations Susankha !


 On Fri, Jul 26, 2013 at 12:09 PM, Ishara Premadasa ish...@wso2.comwrote:

 Congratulations Susankha!


 On Fri, Jul 26, 2013 at 11:57 AM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations Susankha !!!


  On Fri, Jul 26, 2013 at 11:51 AM, Sumedha Kodithuwakku 
 sumed...@wso2.com wrote:

 Congratz Susankha...!


 On Fri, Jul 26, 2013 at 11:49 AM, Pulasthi Supun pulas...@wso2.comwrote:

 Congratzz Susankha

 Regards
 Pulasthi


 On Fri, Jul 26, 2013 at 11:47 AM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:


 Congratz

 /Jasintha


 On Fri, Jul 26, 2013 at 11:39 AM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Congratzz Susankha




 On Fri, Jul 26, 2013 at 11:36 AM, Harshana Martin harsh...@wso2.com
  wrote:

 Hi All,

 It is my distinct pleasure to welcome Susankha Nirmala as a WSO2
 Committer.

 Susankha has made some great contributions to WSO2 Developer Studio
 and the Carbon Platform during the last couple of months and in 
 recognition
 of his commitment and contributions, he has been voted as a Committer
 for WSO2.

 Susankha, Congratulations and Welcome Aboard!

 Keep up the good work!!

 Thanks and Regards,
 Harshana
  --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05


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




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT
 apache.org shame...@apache.org*
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *
 http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 *Jasintha Dasanayake
 **Software Engineer
 WSO2 Inc. | http://wso2.com

 lean . enterprise . middleware
 *
 *
 *
 *mobile :- 077 291 6596*

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




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

 ___
 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




 --
 *Manula Chathurika Thantriwatte*
 Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 2492511

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




 --
 Ishara Premasada
 Software Engineer,
 WSO2 Inc. http://wso2.com/
 *Blog   :  http://isharapremadasa.blogspot.com/
 Twitter   :  https://twitter.com/ishadil
 Mobile   : +94 714445832*



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




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Carbon 4.2.0] -Deployment synchronizer subversion error on worker/Manage separated setup

2013-07-25 Thread Asanka Vithanage
 repository
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:116)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncCommit(CarbonDeploymentSchedulerTask.java:173)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:114)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by:
org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException:
Error while committing artifacts to the SVN repository
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.handleException(SVNBasedArtifactRepository.java:730)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:351)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.commit(DeploymentSynchronizer.java:145)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:114)
... 10 more
Caused by: org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: svn: Commit failed (details
follow):
svn: File or directory 'webapps' is out of date; try updating
svn: resource out of date; try updating
svn: CHECKOUT of '/svn/!svn/ver/478/carbon420/9/webapps': 409 Conflict (
http://svnexample.wso2.com)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:339)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:306)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:345)
... 12 more


-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Udara Rathnayake

2013-07-23 Thread Asanka Vithanage
Congratzz Udara ... !!!


On Wed, Jul 24, 2013 at 10:31 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Congrats Udara


 On Wed, Jul 24, 2013 at 10:09 AM, Jasintha Dasanayake 
 jasin...@wso2.comwrote:

 Congratulations

 /Jasintha


 On Tue, Jul 23, 2013 at 1:58 PM, Praveena Sarathchandra 
 pravee...@wso2.com wrote:

 Congratulations Udara!


 On Tue, Jul 23, 2013 at 11:50 AM, Chamath Bogahawatta 
 cham...@wso2.comwrote:

 Congratulations udara


 On Tue, Jul 23, 2013 at 11:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi All,

 Its my pleasure to welcome Udara Rathnayaka as a WSO2 Committer. Udara
 has made some great contributions to UES, Store  Jaggery during the last
 few months and in recognition of his commitment and contributions he has
 been voted as a committer.

 Udara, welcome aboard and keep up the good work.

 Best Regards,
 Nuwan

 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead; **WSO2 Inc. *
 *lean . enterprise . middleware |  http://wso2.com *
 *blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

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




 --


 _-_-_-_-_-_-_-_-_-_

 Thanks  Regards,
 Chamath.
 *+94 71 532 0009*

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




 --
 Best regards,
 *
 *
 *Praveena Sarathchandra,*

 Software Engineer,
 WSO2, Inc.
 lean . enterprise . middleware

 praveena.me | +94718732203


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




 --
 *Jasintha Dasanayake
 **
 Software Engineer
 WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 *
 *
 *
 *mobile :- 077 291 6596*

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ishara Premadasa

2013-06-20 Thread Asanka Vithanage
Congratulations Ishara!!!


On Fri, Jun 21, 2013 at 11:10 AM, Dulanja Liyanage dula...@wso2.com wrote:

 Congratulations Ishara! :)


 On Fri, Jun 21, 2013 at 10:21 AM, Shammi Jayasinghe sha...@wso2.comwrote:

 Hi,

 Its my pleasure to welcome Ishara Premadasa as WSO2 Committer.

 Ishara has been an excellent contributor for MB 2.1.0 and other related
 projects over the last few months and gave a great help on releasing Alpha,
 Beta and RC1 of MB 2.1.0. Thank you very much  for all your hard work.

 Ishara, welcome aboard and keep up the good work.


 --
 Best Regards,*

 Shammi Jayasinghe*
 Associate Tech Lead
 WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085


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




 --
 Dulanja Liyanage
 Senior Software Engineer - WSO2 Inc.
 M: +94776764717

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Improving MB 2.1.0 samples to get a clean map between samples in the pack and documentation

2013-06-05 Thread Asanka Vithanage
Hi Ishara,

As per my idea, I think we need some more samples under the WS client
section
5. WS client samples
  -- Web Service Client Sample   *  *
*  -- WS-Event Message Producer Client (yet to be added)
and WS-event
Message consumer client for Queue scenarios
*
*  ---Ws-event Message Publisher Client and Ws-event
Subscriber client for Topic Scenarios

*
Further as per [1], we are saying* *MB supports* Interoperability with
many languages / platforms via AMQP clients for Java, .Net, C, C++, PHP,
Ruby, Erlang and more
*
So its better to have a AMQP Compatible client sample as well on our docs
and samples.*
*

[1] http://wso2.com/products/message-broker/




On Thu, Jun 6, 2013 at 10:43 AM, Ishara Premadasa ish...@wso2.com wrote:

 Hi all,

 The current list of available samples in WSO2 MB has some inconsistencies
 as the sample content included in the pack is not mapping clearly with what
 is explained in the 'Samples' section of the documentation [1]. Therefore
 for the MB 2.1.0 release we have rearranged the sample directory to
 demonstrate this mapping between the sample and the doc as well as have
 added some new samples for newly added features.

 The following is the structure of the set of samples available now after
 the changes. The new samples are highlighted in bold.

 1. JMSClient samples
  --  JMS Queue Client: re-mapped with queue sender/receiver
 classes in doc
  --  JMS Topic Client : re-mapped with topic
 publisher/subscriber classes in doc
  *--  JMS Message Listener Client :  A sample to display
 async message listening aspects in both queue and topics

 2. Durable Topics Subscriber sample : A sample to display how the durable
 subscriptions work for  JMS Topics, mapped according to the existing doc in
 the samples guide.

 3. Hierarchical Topics Subscriber sample : A sample to display how
 hierarchical topic subscriptions works in MB
  *
 4. JMS Transports Sample - Not changed

 5. WS client samples
   -- Web Service Client Sample   *  *
 *  -- WS-Event Message Producer Client (yet to be added)

 *6. Message Broker Clustering Example  - Not changed
 *
 *
 *
 *
 All the sample guides are currently added into the MB documentation [2].
 Please suggest me if there is any sample required to be added here, in
 users' perspective.

 Thanks!
 Ishara

 [1] https://wso2.org/jira/browse/MB-196
 [2] http://docs.wso2.org/wiki/display/MB210/Samples


 --
 Ishara Premasada
 Software Engineer, Integrations TG
 WSO2 Inc. http://wso2.com/
 *Blog   :  http://isharapremadasa.blogspot.com/
 Twitter   :  https://twitter.com/ishadil
 Mobile   : +94 714445832*





-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dulanja Liyanage

2013-06-04 Thread Asanka Vithanage
Congrats Dulanja!!!


On Tue, Jun 4, 2013 at 12:25 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Congratz Dulanja...

 Regards,
 AsankaS.

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] MB support for the JMS Message Types and Message header properties

2013-05-29 Thread Asanka Vithanage
Hi All,

I have cover up the test on MB compatibility on JMS Message Types with
queue and Topic scenarios.According to that observed MB can support the all
JMS message types but with empty payload message observed
https://wso2.org/jira/browse/MB-262 issue.
Further found https://wso2.org/jira/browse/MB-271 issue while trying to
browse the queue with ObectMessages.


According to the JMS API following Message header properties should be
settable at message level,

JMSCorrelationID
JMSCorrelationIDAsBytes
JMSDeliveryMode
JMSDestination
JMSExpiration
JMSMessageID
JMSPriority
JMSRedelivered
JMSReplyTo
JMSTimestamp
JMSType

But when we set the following properties at message level,It seems MB
overwrites the property values
JMSDeliveryMode  https://wso2.org/jira/browse/MB-264
JMSExpirationhttps://wso2.org/jira/browse/MB-267
JMSMessageID  https://wso2.org/jira/browse/MB-273
JMSPriorityMB currently not providing message priority
feature,so we can skip this for now
JMSRedelivered https://wso2.org/jira/browse/MB-268
JMSTimestamp  https://wso2.org/jira/browse/MB-274


Further observed when we set the following properties at the
MessageProducer level, they won't get overwrites by the MB and delivered as
set.

JMSDeliveryMode
queueSender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
JMSPriority  queueSender.setPriority(1);
JMSExpiration  queueSender.setTimeToLive(9);


So are we intentionally overwriting these properties at MB level or are we
yet to implement these features?
Can we update the documentation on these, so users can understand what we
support exactly and what are the possible workarounds? (
https://wso2.org/jira/browse/MB-272)





-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: MB Pack available for testing

2013-05-17 Thread Asanka Vithanage
Hi All,

As per the current JIRA count, we have the following jiras open on MB alpha
release

*L1 Issues*
Have 9 L1's on open state
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10983

*L2 Issues*
Have 29 L2's on open state
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10984


So far I have covered testing on
 1. All the Topic and queue scenarios on standalone mode except In memory
and In order features.
 2. MB and ESB 4.6.0 Integration

Need to do:
 1. MB and ESB 4.7.0 Integration when get the working ESB release
 2. MB and AS, MB and DSS, MB and CEP integrations when documentation
available
 3. MB clustering scenarios
 4. More Load and performance tests when fix the current OutOfMemoryError
 5. In memory and In order features





On Wed, May 8, 2013 at 6:33 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi MB Team,

 Observed following issue https://wso2.org/jira/browse/MB-217 on the new
 pack got at today evening.
 Due to this issue its kind of difficult to proceed with testing, so can u
 have look on this and issue a new pack with the fix.


 On Tue, May 7, 2013 at 10:50 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi,

 Got the new MB pack yesterday evening with new model changes. Due to the
 model changes i have done an another cycle of testing on standalone mode.
 And currently focusing on clustering and Integration test scenarios.



 On Fri, May 3, 2013 at 4:46 PM, Shammi Jayasinghe sha...@wso2.comwrote:

 Hi Asanka,

 Thank you very much for reporting these issues which will be the actual
 experience of a new customer. We are in the process of fixing these bugs
 and we will provide you a candidate pack for the beta release as soon as we
  fix the reported L1s.

 Thanks
 Shammi


 On Fri, May 3, 2013 at 4:43 PM, Asanka Vithanage asan...@wso2.comwrote:

 HI All,

 Through out the last week , I have done testing on MB standalone mode
 and reported the identified issues.Further that updated the Test plan
 accordingly.

 During the testing period i felt the lack of proper documentations and
 samples, due to that it was not easy to start with MB. So I feel this will
 be same for users as well and  It will be really important to improve
 documentation and samples.


 I have found and reported following issues on MB 2.1.0 alpha release
 and most them are still on open state. So before going for the beta release
 we need to fix at least reported L1's.
 So its not recommendable to go for a beta release with current
 situation.

 *L1 Issues*
 Have 13 L1's on open state

 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10983

 *L2 Issues*
 Have 15 L2's on open state, 11 out of them are needed documentation
 improvements

 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10984





 On Mon, Apr 29, 2013 at 1:51 PM, Supun Malinga sup...@wso2.com wrote:

 dropping carbon-dev@ and adding dev@
 Please use dev@, carbon-dev@ is deprecated. :)

 -- Forwarded message --
 From: Asanka Vithanage asan...@wso2.com
 Date: Mon, Apr 29, 2013 at 1:20 PM
 Subject: Re: [Dev] MB Pack available for testing
 To: Shammi Jayasinghe sha...@wso2.com
 Cc: carbon-dev carbon-...@wso2.org


 Hi All,
 Today, I have started working on MB release again. Currently updating
 the test plan according to the scenarios explained by shammi.
 Will start the testing when get the new updated build.


 On Mon, Apr 22, 2013 at 11:33 AM, Asanka Vithanage 
 asan...@wso2.comwrote:

 Hi,
 I ll start the testing on MB with the released alpha pack.
 Plan is to first start with the standalone mode and then do the
 testing on clustering environment.
 Further i will update the QA test cases plan while proceeding with
 testing.



 On Mon, Apr 22, 2013 at 10:20 AM, Shammi Jayasinghe 
 sha...@wso2.comwrote:

 Hi QA Team,

 We have released the alpha pack of Message Broker 2.1.0 and It has
 been
 hosted in the location [1]. Could you please start testing that pack.

 [1]http://dist.wso2.org/downloads/message-broker/2.1.0/alpha
 /wso2mb-2.1.0.zip

 Thanks
 Shammi

 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2

Re: [Dev] Fwd: MB Pack available for testing

2013-05-08 Thread Asanka Vithanage
Hi MB Team,

Observed following issue https://wso2.org/jira/browse/MB-217 on the new
pack got at today evening.
Due to this issue its kind of difficult to proceed with testing, so can u
have look on this and issue a new pack with the fix.


On Tue, May 7, 2013 at 10:50 AM, Asanka Vithanage asan...@wso2.com wrote:

 Hi,

 Got the new MB pack yesterday evening with new model changes. Due to the
 model changes i have done an another cycle of testing on standalone mode.
 And currently focusing on clustering and Integration test scenarios.



 On Fri, May 3, 2013 at 4:46 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi Asanka,

 Thank you very much for reporting these issues which will be the actual
 experience of a new customer. We are in the process of fixing these bugs
 and we will provide you a candidate pack for the beta release as soon as we
  fix the reported L1s.

 Thanks
 Shammi


 On Fri, May 3, 2013 at 4:43 PM, Asanka Vithanage asan...@wso2.comwrote:

 HI All,

 Through out the last week , I have done testing on MB standalone mode
 and reported the identified issues.Further that updated the Test plan
 accordingly.

 During the testing period i felt the lack of proper documentations and
 samples, due to that it was not easy to start with MB. So I feel this will
 be same for users as well and  It will be really important to improve
 documentation and samples.


 I have found and reported following issues on MB 2.1.0 alpha release and
 most them are still on open state. So before going for the beta release we
 need to fix at least reported L1's.
 So its not recommendable to go for a beta release with current situation.

 *L1 Issues*
 Have 13 L1's on open state

 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10983

 *L2 Issues*
 Have 15 L2's on open state, 11 out of them are needed documentation
 improvements

 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10984





 On Mon, Apr 29, 2013 at 1:51 PM, Supun Malinga sup...@wso2.com wrote:

 dropping carbon-dev@ and adding dev@
 Please use dev@, carbon-dev@ is deprecated. :)

 -- Forwarded message --
 From: Asanka Vithanage asan...@wso2.com
 Date: Mon, Apr 29, 2013 at 1:20 PM
 Subject: Re: [Dev] MB Pack available for testing
 To: Shammi Jayasinghe sha...@wso2.com
 Cc: carbon-dev carbon-...@wso2.org


 Hi All,
 Today, I have started working on MB release again. Currently updating
 the test plan according to the scenarios explained by shammi.
 Will start the testing when get the new updated build.


 On Mon, Apr 22, 2013 at 11:33 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi,
 I ll start the testing on MB with the released alpha pack.
 Plan is to first start with the standalone mode and then do the
 testing on clustering environment.
 Further i will update the QA test cases plan while proceeding with
 testing.



 On Mon, Apr 22, 2013 at 10:20 AM, Shammi Jayasinghe 
 sha...@wso2.comwrote:

 Hi QA Team,

 We have released the alpha pack of Message Broker 2.1.0 and It has
 been
 hosted in the location [1]. Could you please start testing that pack.

 [1]http://dist.wso2.org/downloads/message-broker/2.1.0/alpha
 /wso2mb-2.1.0.zip

 Thanks
 Shammi

 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: MB Pack available for testing

2013-05-06 Thread Asanka Vithanage
Hi,

Got the new MB pack yesterday evening with new model changes. Due to the
model changes i have done an another cycle of testing on standalone mode.
And currently focusing on clustering and Integration test scenarios.



On Fri, May 3, 2013 at 4:46 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi Asanka,

 Thank you very much for reporting these issues which will be the actual
 experience of a new customer. We are in the process of fixing these bugs
 and we will provide you a candidate pack for the beta release as soon as we
  fix the reported L1s.

 Thanks
 Shammi


 On Fri, May 3, 2013 at 4:43 PM, Asanka Vithanage asan...@wso2.com wrote:

 HI All,

 Through out the last week , I have done testing on MB standalone mode and
 reported the identified issues.Further that updated the Test plan
 accordingly.

 During the testing period i felt the lack of proper documentations and
 samples, due to that it was not easy to start with MB. So I feel this will
 be same for users as well and  It will be really important to improve
 documentation and samples.


 I have found and reported following issues on MB 2.1.0 alpha release and
 most them are still on open state. So before going for the beta release we
 need to fix at least reported L1's.
 So its not recommendable to go for a beta release with current situation.

 *L1 Issues*
 Have 13 L1's on open state
 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10983

 *L2 Issues*
 Have 15 L2's on open state, 11 out of them are needed documentation
 improvements
 https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10984





 On Mon, Apr 29, 2013 at 1:51 PM, Supun Malinga sup...@wso2.com wrote:

 dropping carbon-dev@ and adding dev@
 Please use dev@, carbon-dev@ is deprecated. :)

 -- Forwarded message --
 From: Asanka Vithanage asan...@wso2.com
 Date: Mon, Apr 29, 2013 at 1:20 PM
 Subject: Re: [Dev] MB Pack available for testing
 To: Shammi Jayasinghe sha...@wso2.com
 Cc: carbon-dev carbon-...@wso2.org


 Hi All,
 Today, I have started working on MB release again. Currently updating
 the test plan according to the scenarios explained by shammi.
 Will start the testing when get the new updated build.


 On Mon, Apr 22, 2013 at 11:33 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi,
 I ll start the testing on MB with the released alpha pack.
 Plan is to first start with the standalone mode and then do the testing
 on clustering environment.
 Further i will update the QA test cases plan while proceeding with
 testing.



 On Mon, Apr 22, 2013 at 10:20 AM, Shammi Jayasinghe sha...@wso2.comwrote:

 Hi QA Team,

 We have released the alpha pack of Message Broker 2.1.0 and It has been
 hosted in the location [1]. Could you please start testing that pack.

 [1]http://dist.wso2.org/downloads/message-broker/2.1.0/alpha
 /wso2mb-2.1.0.zip

 Thanks
 Shammi

 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: MB Pack available for testing

2013-05-03 Thread Asanka Vithanage
HI All,

Through out the last week , I have done testing on MB standalone mode and
reported the identified issues.Further that updated the Test plan
accordingly.

During the testing period i felt the lack of proper documentations and
samples, due to that it was not easy to start with MB. So I feel this will
be same for users as well and  It will be really important to improve
documentation and samples.


I have found and reported following issues on MB 2.1.0 alpha release and
most them are still on open state. So before going for the beta release we
need to fix at least reported L1's.
So its not recommendable to go for a beta release with current situation.

*L1 Issues*
Have 13 L1's on open state
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10983

*L2 Issues*
Have 15 L2's on open state, 11 out of them are needed documentation
improvements
https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10984





On Mon, Apr 29, 2013 at 1:51 PM, Supun Malinga sup...@wso2.com wrote:

 dropping carbon-dev@ and adding dev@
 Please use dev@, carbon-dev@ is deprecated. :)

 -- Forwarded message --
 From: Asanka Vithanage asan...@wso2.com
 Date: Mon, Apr 29, 2013 at 1:20 PM
 Subject: Re: [Dev] MB Pack available for testing
 To: Shammi Jayasinghe sha...@wso2.com
 Cc: carbon-dev carbon-...@wso2.org


 Hi All,
 Today, I have started working on MB release again. Currently updating the
 test plan according to the scenarios explained by shammi.
 Will start the testing when get the new updated build.


 On Mon, Apr 22, 2013 at 11:33 AM, Asanka Vithanage asan...@wso2.comwrote:

 Hi,
 I ll start the testing on MB with the released alpha pack.
 Plan is to first start with the standalone mode and then do the testing
 on clustering environment.
 Further i will update the QA test cases plan while proceeding with
 testing.



 On Mon, Apr 22, 2013 at 10:20 AM, Shammi Jayasinghe sha...@wso2.comwrote:

 Hi QA Team,

 We have released the alpha pack of Message Broker 2.1.0 and It has been
 hosted in the location [1]. Could you please start testing that pack.

 [1]http://dist.wso2.org/downloads/message-broker/2.1.0/alpha
 /wso2mb-2.1.0.zip

 Thanks
 Shammi

 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com


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




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MB Pack available for testing

2013-04-22 Thread Asanka Vithanage
Hi,
I ll start the testing on MB with the released alpha pack.
Plan is to first start with the standalone mode and then do the testing on
clustering environment.
Further i will update the QA test cases plan while proceeding with testing.



On Mon, Apr 22, 2013 at 10:20 AM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi QA Team,

 We have released the alpha pack of Message Broker 2.1.0 and It has been
 hosted in the location [1]. Could you please start testing that pack.

 [1]http://dist.wso2.org/downloads/message-broker/2.1.0/alpha
 /wso2mb-2.1.0.zip

 Thanks
 Shammi

 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev