Re: [Dev] [Builder] Jenkins build became unstable: product-as #802

2015-12-11 Thread Shashika Karunatilaka
Hi Manuri,

Did you check whether the webapp is deployed after it went to ghost mode
while it sending the request to the webapp

Thank you.

On Fri, Dec 11, 2015 at 1:08 PM, Manuri Amaya Perera <manu...@wso2.com>
wrote:

> Here what the failing test does is waiting for a web app to switch to
> ghost mode and then sending a request. What should happen is once the ghost
> webapp gets a request the actual webapp should be deployed and serve the
> request. But here it seems that the request times out before the actual
> webapp is deployed.
>
> The fix would be retrying the request until a time limit exceeds.
>
> Thank you.
>
>
>
> On Thu, Dec 3, 2015 at 10:13 AM, Manuri Amaya Perera <manu...@wso2.com>
> wrote:
>
>> I'll look into this.
>>
>> On Wed, Dec 2, 2015 at 12:58 PM, <cbuil...@wso2.org> wrote:
>>
>>> See <https://wso2.org/jenkins/job/product-as/802/>
>>>
>>> ___
>>> Builder mailing list
>>> buil...@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/builder
>>>
>>
>>
>>
>> --
>>
>> *Manuri Amaya Perera*
>>
>> *Software Engineer*
>>
>> *WSO2 Inc.*
>>
>> *Blog: http://manuriamayaperera.blogspot.com
>> <http://manuriamayaperera.blogspot.com>*
>>
>
>
>
> --
>
> *Manuri Amaya Perera*
>
> *Software Engineer*
>
> *WSO2 Inc.*
>
> *Blog: http://manuriamayaperera.blogspot.com
> <http://manuriamayaperera.blogspot.com>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Best Regards,*
*Shashika karunatilaka,*

*B.Sc in Computer Science,*
*University of Colombo School of Computing,*
*Senior Software Engineer, StarHub Inc (www.starhub.com
<http://www.starhub.com>)*
http://shashikabokks.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add a Servlet in DSS

2015-08-05 Thread Shashika Karunatilaka
 719411002 +94+719411002
 blog: *http://madhawa-gunasekara.blogspot.com
 http://madhawa-gunasekara.blogspot.com*
 linkedin: *http://lk.linkedin.com/in/mgunasekara
 http://lk.linkedin.com/in/mgunasekara*

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




-- 
*Best Regards,*
*Shashika karunatilaka,*

*B.Sc in Computer Science,*
*University of Colombo School of Computing,*
*Senior Software Engineer, StarHub Inc (www.starhub.com
http://www.wso2.com)*
http://shashikabokks.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the recommended database server for local databases of a deployment environment?

2015-07-28 Thread Shashika Karunatilaka
Hi Lakshani,

AFAIK its ok to use H2 as local. According to the documentation it
says([1]) to use industry-standard RDBMS such as Oracle, PostgreSQL, MySQL,
MS SQL, etc

[1] https://docs.wso2.com/display/CLUSTER420/Setting+up+the+Database

Thank you.

On Tue, Jul 28, 2015 at 3:02 PM, Lakshani Gamage laksh...@wso2.com wrote:

 Hi all,

 I have to setup APPM internal deployment. In one slice(VM) there are one
 gateway, one IDP, one publisher and one store. There are two or more slices
 with above components. In the deployment environment, UM_DB, REG_DB and
 AM_DB are used as shared MYSQL databases.

 Upto now, I used H2 for local carbon db. Is it the recommended way? Do I
 need to use MYSQL for local db as well?

 Please share your ideas.

 Thanks,
 --
 Lakshani Gamage

 *Software Engineer*
 Mobile : +94 (0) 71 5478184 %2B94%20%280%29%20773%20451194

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




-- 
*Best Regards,*
*Shashika karunatilaka,*

*B.Sc in Computer Science,*
*University of Colombo School of Computing,*
*Senior Software Engineer, StarHub Inc (www.starhub.com
http://www.wso2.com)*
http://shashikabokks.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] how to set up WSO2 APP manager for this special case?

2015-07-02 Thread Shashika Karunatilaka
/cgi-bin/mailman/listinfo/dev





 --

 *Sam Sivayogam*



 Software Engineer

 Mobile  : +94 772 906 439
 Office   : +94 112 145 345

 *WSO2, Inc. :* wso2.com

 lean.enterprise.middleware.

 ___
 Dev mailing list
 Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware

 email : rush...@wso2.com
 javascript:_e(%7B%7D,'cvml','rush...@wso2.com');
 mobile : +94772310855



 ___
 Dev mailing list
 Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Best Regards,*
*Shashika karunatilaka,*

*B.Sc in Computer Science,*
*University of Colombo School of Computing,*
*Software Engineer, WSO2 Inc(www.wso2.com http://www.wso2.com)*
*D. S. Senanayeka College.*
http://shashikabokks.wordpress.com


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


[Dev] Please review and merge tenant deletion support PRs

2015-06-25 Thread Shashika Karunatilaka
Hi,

Please find the tenant deletion support PRs( [1], [2], [3], [4]) and test
case for product-as [5]

[1] https://github.com/wso2/carbon4-kernel/pull/250
[2] https://github.com/wso2/carbon-multitenancy/pull/43
[3] https://github.com/wso2/carbon-commons/pull/104
[4] https://github.com/wso2/carbon-registry/pull/84
[5] https://github.com/wso2/product-as/pull/107

Thank you.
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge the PR for carbon-platform-integration-utils

2015-06-17 Thread Shashika Karunatilaka
Please review and merge following PR [1]

[1] https://github.com/wso2/carbon-platform-integration-utils/pull/48

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Saneth Dharmakeerthi

2015-06-08 Thread Shashika Karunatilaka
Many Congrats Saneth

On Tue, Jun 9, 2015 at 11:27 AM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi all,

 It's my pleasure to welcome Saneth Dharmakeerthi as a WSO2 Committer.

 Saneth, 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 . middleware.

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-05 Thread Shashika Karunatilaka
Hi Nilmini,

Please find the Documentation link[1] for ws-discovery feature.

[1]
https://docs.google.com/document/d/1DH83Dh9eKLqIglFBTaKHG12yV5dw_LmR_JkOEIo9evo/edit#heading=h.z6c7wruwli2j

Thank you.

On Wed, Jun 3, 2015 at 10:48 AM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi Manoj/Supun

 Jira created to track on [1]

 @Manoj: other than xml processing improvement i have added all the things
 mentioned in the code review.

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

 On Wed, Jun 3, 2015 at 10:38 AM, Supun Malinga sup...@wso2.com wrote:



 On Wed, Jun 3, 2015 at 10:34 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi Manoj

 As per discussion i had with sameera, it will be done in the future as a
 enhancement.


 Let's create a jira to track this..

 thanks,


 Thank you.

 On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shashika,

 Can you check the pull request with the suggestions of the last code
 review. IIRC we suggested to remove usage of axiom for xml processing.

 Regards,
 Manoj


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

 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Please review and merge the implementation of feature [2] and test
 cases [3] on JIRA [1]

 [1] https://wso2.org/jira/browse/WSAS-1954
 [2] https://github.com/wso2/carbon-deployment/pull/99
 [3] https://github.com/wso2/product-as/pull/70

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




 --
 Supun Malinga,

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Hi Manoj

As per discussion i had with sameera, it will be done in the future as a
enhancement.

Thank you.

On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shashika,

 Can you check the pull request with the suggestions of the last code
 review. IIRC we suggested to remove usage of axiom for xml processing.

 Regards,
 Manoj


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

 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Please review and merge the implementation of feature [2] and test cases
 [3] on JIRA [1]

 [1] https://wso2.org/jira/browse/WSAS-1954
 [2] https://github.com/wso2/carbon-deployment/pull/99
 [3] https://github.com/wso2/product-as/pull/70

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Hi Manoj/Supun

Jira created to track on [1]

@Manoj: other than xml processing improvement i have added all the things
mentioned in the code review.

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

On Wed, Jun 3, 2015 at 10:38 AM, Supun Malinga sup...@wso2.com wrote:



 On Wed, Jun 3, 2015 at 10:34 AM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi Manoj

 As per discussion i had with sameera, it will be done in the future as a
 enhancement.


 Let's create a jira to track this..

 thanks,


 Thank you.

 On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shashika,

 Can you check the pull request with the suggestions of the last code
 review. IIRC we suggested to remove usage of axiom for xml processing.

 Regards,
 Manoj


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

 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Please review and merge the implementation of feature [2] and test
 cases [3] on JIRA [1]

 [1] https://wso2.org/jira/browse/WSAS-1954
 [2] https://github.com/wso2/carbon-deployment/pull/99
 [3] https://github.com/wso2/product-as/pull/70

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




 --
 Supun Malinga,

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WS-Discovery support for JAX-WS/JAX-RS services

2015-06-02 Thread Shashika Karunatilaka
Please review and merge the implementation of feature [2] and test cases
[3] on JIRA [1]

[1] https://wso2.org/jira/browse/WSAS-1954
[2] https://github.com/wso2/carbon-deployment/pull/99
[3] https://github.com/wso2/product-as/pull/70

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running the Application server

2015-06-01 Thread Shashika Karunatilaka
HI,

Can you try running using java 1.6

On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi,

 Are you getting this in a fresh pack?
 Thanks
 /Thusitha

 On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry nas...@wso2.com wrote:

 Hi,
 i get the following error when i try to run the application server. Can
 anyone help me with this?


 JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79
 CARBON_HOME environment variable is set to
 /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
 wso2server.sh: 260: cd: can't cd to
 /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0
 Could not load Logmanager org.apache.juli.ClassLoaderLogManager
 java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 at java.util.logging.LogManager$1.run(LogManager.java:191)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.util.logging.LogManager.clinit(LogManager.java:181)
 at java.util.logging.Logger.demandLogger(Logger.java:339)
 at java.util.logging.Logger.getLogger(Logger.java:393)
 at com.sun.jmx.remote.util.ClassLogger.init(ClassLogger.java:55)
 at
 sun.management.jmxremote.ConnectorBootstrap.clinit(ConnectorBootstrap.java:823)
 at sun.management.Agent.startLocalManagementAgent(Agent.java:144)
 at sun.management.Agent.startAgent(Agent.java:264)
 at sun.management.Agent.startAgent(Agent.java:456)
 Error: Could not find or load main class
 org.wso2.carbon.bootstrap.Bootstrap

 M.R.Aaquibah Nashry
 *Intern, Engineering*
 Mobile : +94 773946123
 Tel  : +94 112662541
 nas...@wso2.com

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




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

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tenant Cleanup Interval

2015-05-22 Thread Shashika Karunatilaka
Hi Bathiya,

Its also the same as in latest kernel versions.

Thank you.

On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 Hi Malaka,

 In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
 sure about latest kernels.

 -Dtenant.idle.time=1 \

 Thanks,
 Bhathiya

 On Fri, May 22, 2015 at 11:31 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 Can we change the default value for $subject.

 I tried setting following in carbon.xml. It does not seem to be working.

 Tenant
 LoadingPolicy
 LazyLoading
 IdleTime1/IdleTime
 /LazyLoading
 !-- EagerLoading
Include*,!foo.com,!bar.com/Include
 /EagerLoading--
 /LoadingPolicy
 /Tenant

 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.

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




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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Null pointer exception thrown when opening admin console

2015-05-21 Thread Shashika Karunatilaka
Hi Anuja,

Does this happen while you loggin to the management console?

Thank you.

On Thu, May 21, 2015 at 1:25 PM, Anuja Herath an...@wso2.com wrote:

 Hi,

 I'm getting below exception when opening admin console.

 [2015-05-21 13:24:10,355] ERROR
 {org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Tenant
 domain has not been set in CarbonContext

 java.lang.NullPointerException: Tenant domain has not been set in
 CarbonContext

 at
 org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)

 at
 org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:365)

 at
 org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)

 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)

 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)

 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)

 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)

 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:359)

 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)

 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)

 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)

 at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.loginWithRememberMeCookie(AuthenticationAdminStub.java:1724)

 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.loginWithRememberMeCookie(AuthenticationAdminClient.java:99)

 at
 org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:109)

 at
 org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)

 at
 org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticateWithCookie(BasicAuthUIAuthenticator.java:96)

 at
 org.wso2.carbon.ui.CarbonUILoginUtil.saveOriginalUrl(CarbonUILoginUtil.java:118)

 at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:276)

 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)

 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)

 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)

 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)

 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)

 at
 

Re: [Dev] [MB] Null pointer exception thrown when opening admin console

2015-05-21 Thread Shashika Karunatilaka
Hi Anuja,

What is the MB version you are using, and this issue is fixed in the carbon
kernel 4.4.0, on this JIRA [1]

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

On Thu, May 21, 2015 at 2:04 PM, Anuja Herath an...@wso2.com wrote:

 Hi Shashika,

 Yes, It happens when I login into console.

 Thank You.

 On Thu, May 21, 2015 at 2:03 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi Anuja,

 Does this happen while you loggin to the management console?

 Thank you.

 On Thu, May 21, 2015 at 1:25 PM, Anuja Herath an...@wso2.com wrote:

 Hi,

 I'm getting below exception when opening admin console.

 [2015-05-21 13:24:10,355] ERROR
 {org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Tenant
 domain has not been set in CarbonContext

 java.lang.NullPointerException: Tenant domain has not been set in
 CarbonContext

 at
 org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)

 at
 org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:365)

 at
 org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)

 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)

 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)

 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)

 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)

 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:359)

 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)

 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)

 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)

 at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.loginWithRememberMeCookie(AuthenticationAdminStub.java:1724)

 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.loginWithRememberMeCookie(AuthenticationAdminClient.java:99)

 at
 org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:109)

 at
 org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)

 at
 org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticateWithCookie(BasicAuthUIAuthenticator.java:96)

 at
 org.wso2.carbon.ui.CarbonUILoginUtil.saveOriginalUrl(CarbonUILoginUtil.java:118)

 at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:276)

 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)

 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)

 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)

 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408

[Dev] Please review and merge the fix for CARBON-15235

2015-05-20 Thread Shashika Karunatilaka
Please review and merge the PR[1] for jira[2]

[1] https://github.com/wso2/wso2-axis2/pull/46
[2] https://wso2.org/jira/browse/CARBON-15235
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to check whether a logged in user has admin role

2015-05-20 Thread Shashika Karunatilaka
HI Thilini,

Did you ended this started tenant flow

Thanks

On Thu, May 21, 2015 at 9:53 AM, Thilini Cooray thili...@wso2.com wrote:

 Hi,

 I was able to resolve the issue with the support of IS team.

 The problem has occurred because I was trying to authenticate a user of a
 different tenant domain using an admin of super tenant.
 IS maintains tenant isolation, therefore it cannot be done.

 So for each tenant domain we need to start a separate tenant flow and do
 the authentication within the flow of the tenant domain of the current user.
 After authentication, I retrieved all roles of the authenticated user and
 checked whether he has admin role.

 Following is the implementation.

 String tenantDomain = MultitenantUtils.getTenantDomain(username);
 PrivilegedCarbonContext.startTenantFlow();
 PrivilegedCarbonContext.getThreadLocalCarbonContext()
.setTenantDomain(tenantDomain, true);

 UserStoreManager userstoremanager =
   CarbonContext.getThreadLocalCarbonContext().getUserRealm()
.getUserStoreManager();

 String tenantAwareUsername = 
 MultitenantUtils.getTenantAwareUsername(username);

 //authenticate user provided credentials
 if (userstoremanager.authenticate(tenantAwareUsername, password)) {
log.info(username +  user authenticated successfully);
//Get admin role name of the current domain
String adminRoleName =
  
 CarbonContext.getCurrentContext().getUserRealm().getRealmConfiguration()
   .getAdminRoleName();

String[] userRoles = 
 userstoremanager.getRoleListOfUser(tenantAwareUsername);

//user is only authorized for exporting and importing if he is an admin of 
 his
// domain
if (Arrays.asList(userRoles).contains(adminRoleName)) {
   log.info(username +  is authorized to import and export APIs);
}
 }

 Thanks.


 On Thu, May 14, 2015 at 8:15 PM, Darshana Gunawardana darsh...@wso2.com
 wrote:

 On Thu, May 14, 2015 at 6:38 PM, Thilini Cooray thili...@wso2.com
 wrote:

 Hi,

 I am implementing API export feature for APIM.

 I want to check whether a logged in user has admin role, because we are
 going to allow only admin users to export and import APIs.


 If a particular feature needed to restricted, we usually done using
 permission based manner. ie. To access RemoteUserStoreManager
 functionalities, user needed to have /permission/admin/configure/security
 permission.


 Following is the source which I tried. But 
 userStoreManager.authenticate(username,
 password) does not authenticate tenant admins.


 The authenticate method of the remote RemoteUserStoreManagerService does
 not create a session for given username password, rather just check whether
 given credentials are correct.

 The sample [1] can use as a reference to authenticate and invoke methods
 in RemoteUserStoreManagerService.

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples/user-mgt/remote-user-mgt/src/main/java/org/wso2/remoteum/sample/RemoteUMClient.java

 Thanks,
 Darshana.


 I get the session cookie by login using super tenant credentials.

 Any help is appreciated.

 Thank you.


 ServiceClient serviceClient;
 Options option;

RemoteUserStoreManagerServiceStub userStoreManager =
  new RemoteUserStoreManagerServiceStub(null, SERVICE_URL +
  
 RemoteUserStoreManagerService);

serviceClient = userStoreManager._getServiceClient();
option = serviceClient.getOptions();
option.setManageSession(true);

 option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING,
   sessionCookie);

//Checking whether current user is authenticated and he has admin role
if (userStoreManager.authenticate(username, password)) {

   String adminRoleName =
 
 CarbonContext.getCurrentContext().getUserRealm().getRealmConfiguration()
  .getAdminRoleName();

   if (userStoreManager.isExistingRole(adminRoleName)) {
  userName = username;
  LOG.info(username +  user authenticated successfully);
  return true;
   }
}


 --
 Best Regards,

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

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

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




 --
 Regards,


 *Darshana Gunawardana*Software Engineer
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859*Lean . Enterprise . Middleware




 --
 Best Regards,

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

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

 ___
 

Re: [Dev] Can we add multiple product groups in automation.xml

2015-05-17 Thread Shashika Karunatilaka
Hi all,

After offline chat had with dharshanaw this issue got fixed by
setting executionEnvironment to platform in automation.xml

Thank you

On Sun, May 17, 2015 at 3:37 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Im in the process of creating platform test case.I need to get some
 registry data in GREG product for my test case. My test case runs inside
 the Application server.
 When i add 2 product groups in automation.xml it throws an exception [1],
 according to schema its possible to add multiple product groups, what
 should be the issue, i have attached my automation.xml as well.


 [1]

 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on
 project org.wso2.appserver.platform.tests: Execution default-test of goal
 org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: There was
 an error in the forked process

 [ERROR] java.lang.ExceptionInInitializerError

 [ERROR] at
 org.wso2.carbon.automation.engine.context.AutomationContext.init(AutomationContext.java:141)

 [ERROR] at
 org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:41)

 [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.IllegalArgumentException: Error While reading
 configurations[Ljava.lang.StackTraceElement;@2d7aece8

 [ERROR] at
 org.wso2.carbon.automation.engine.configurations.AutomationConfiguration.clinit(AutomationConfiguration.java:26)

 [ERROR] ... 10 more

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we add multiple product groups in automation.xml

2015-05-17 Thread Shashika Karunatilaka
Im in the process of creating platform test case.I need to get some
registry data in GREG product for my test case. My test case runs inside
the Application server.
When i add 2 product groups in automation.xml it throws an exception [1],
according to schema its possible to add multiple product groups, what
should be the issue, i have attached my automation.xml as well.


[1]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on
project org.wso2.appserver.platform.tests: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: There was
an error in the forked process

[ERROR] java.lang.ExceptionInInitializerError

[ERROR] at
org.wso2.carbon.automation.engine.context.AutomationContext.init(AutomationContext.java:141)

[ERROR] at
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:41)

[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.IllegalArgumentException: Error While reading
configurations[Ljava.lang.StackTraceElement;@2d7aece8

[ERROR] at
org.wso2.carbon.automation.engine.configurations.AutomationConfiguration.clinit(AutomationConfiguration.java:26)

[ERROR] ... 10 more

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
!--

  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
  ~
  ~  WSO2 Inc. licenses this file to you 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.

--
automation xmlns=automation_mapping.xsd
!--  =  --
!--   Parameters--
!--  =  --
configurations
!--
 Change this to edit wait time for test artifact deployment
--
deploymentDelay6/deploymentDelay
!--
 Change this to product|platform/cloud to execute test on specific environment
--
executionEnvironmentstandalone/executionEnvironment
!--
 Change this to user/tenant to execute test with user mode or tenant mode
--
multiTenantModefalse/multiTenantMode
!--
 Change this to true if you want to generate coverage statistics
--
coveragetrue/coverage
!--
 Change this to true if you want to enable framework dashboard
--
frameworkDashboardfalse/frameworkDashboard
!--
 Browser type with used by framework to execute UI test, supported types - chrome|firefox|opera|ie|htmlUnit
--
/configurations
tools
selenium
!-- Change to enable remote webDriver --
!-- URL of remote webDriver server  --
remoteDriverUrl enable=truehttp://10.100.2.51:/wd/hub//remoteDriverUrl

!-- Type of the browser selenium tests are running --
browser
browserTypefirefox/browserType
!-- path to webDriver executable - required only for chrome--
webdriverPath enable=false/home/test/name/webDriver/webdriverPath
/browser
/selenium
/tools
!--
Database configuration to be used for data service testing. DB configuration in dbs files will be replaced with
   below configuration at test run time
--
datasources
datasource name=dataService
urljdbc:h2:testDB/url
usernamewso2carbon/username
passwordwso2carbon/password
driverClassNameorg.h2.Driver/driverClassName
/datasource
datasource name=dataService1
urljdbc:h2:testDB/url
usernamewso2carbon/username

Re: [Dev] [BPS][Carbon] A way to delay shutdown of hazelcast instance at server shutdown

2015-05-07 Thread Shashika Karunatilaka
HI Vinod,

AFAIK you have to implement [1] in BPS to handle these scenario in server
shutdown.

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

Thank you.

On Thu, May 7, 2015 at 8:58 PM, Vinod Kavinda vi...@wso2.com wrote:

 Hi all,

 I'm working on the issue [1] where we need to shutdown a time scheduler in
 BPS, before the hazelcast instance, at the server shutdown.

 I found this issue [2], but it is unresolved. Is there any workarounds?

 [1] - https://wso2.org/jira/browse/BPS-470
 [2] - https://wso2.org/jira/browse/CARBON-14719

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

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Removing Temporary main() method

2015-04-20 Thread Shashika Karunatilaka
Hi Johan,

Shall i remove this main method from [1]

[1]
https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/authorization/PermissionTreeUtil.java

On Mon, Apr 20, 2015 at 10:10 AM, Rajith Vitharana raji...@wso2.com wrote:

 Hi Anjana,

 Removed main method from DBUtils.java

 Thanks,

 On Mon, Apr 20, 2015 at 7:36 AM, Anjana Fernando anj...@wso2.com wrote:

 Rajith please do the needful for the DBUtils class.

 Cheers,
 Anjana.

 On Sun, Apr 19, 2015 at 5:39 PM, Gayan Gunawardana ga...@wso2.com
 wrote:

 Hi,

 Will it be possible to remove main method from following locations
 [1],[2] if they are not necessary.

 [1]
 https://github.com/wso2/carbon-data/blob/master/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DBUtils.java

 [2]
 https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/authorization/PermissionTreeUtil.java

 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933




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




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Prasanna Dangalla

2015-04-08 Thread Shashika Karunatilaka
Congrats Prasanna

On Thu, Apr 9, 2015 at 9:14 AM, Thilini Cooray thili...@wso2.com wrote:

 Congratulations, Prasanna !

 On Thu, Apr 9, 2015 at 9:02 AM, Aruna Karunarathna ar...@wso2.com wrote:

 Congratulations Prasa...!!!

 On Wed, Apr 8, 2015 at 7:37 PM, Dinesh J Weerakkody dine...@wso2.com
 wrote:

 Congratulations Prasanna...

 Thanks

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

 On Thu, Apr 9, 2015 at 8:06 AM, Sagara Gunathunga sag...@wso2.com
 wrote:

 It's my pleasure to welcome Prasanna Dangalla as a WSO2 committer.
 Prasanna, welcome aboard and 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



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




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




 --
 Best Regards,

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

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API subscribe not working in tenant mode in test automation`

2015-04-05 Thread Shashika Karunatilaka
Thanks Tharindu,
After adding Api provider as amuser11-AT-wso2.com solved the issue.

On Sat, Apr 4, 2015 at 8:32 PM, Tharindu Dharmarathna tharin...@wso2.com
wrote:

 Hi Saneth,

 I checked with Shashika regarding this issue  happen when give provider
 name incorrectly. Because We are replacing '@' mark in tenant domain
 seperation in provider in to '-AT-'  therefore we have to give provider
 name  by replacing @ mark from that '-AT-' mark .


 Thanks
 Tharindu

 On Sat, Apr 4, 2015 at 1:19 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi Shashika,

 Is there any detail log available in server side about this error.

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Sat, Apr 4, 2015 at 12:50 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi Saneth,

 yes, can do the same thing.it works from ui.

 On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 HI Shashika,

 Can you manually do the subscription from the same user (
 amuse...@wso2.com)?
 Check whether the given user has subscription permition.

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,

 Currently i'm writing on a test case to publish a api through tenant
 and want to subscribe that api and need to invoke the api i have created,
 But im getting below error when calling
 org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method
 {error : true, message :
 org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the
 subscription for user: amuse...@wso2.com}

 This process works fine when doing it using super tenant mode.
 Im using api manager 1.8.0.

 Thank you.
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792



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




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API subscribe not working in tenant mode in test automation`

2015-04-04 Thread Shashika Karunatilaka
Hi,

Currently i'm writing on a test case to publish a api through tenant and
want to subscribe that api and need to invoke the api i have created,
But im getting below error when calling
org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method
{error : true, message :
org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the
subscription for user: amuse...@wso2.com}

This process works fine when doing it using super tenant mode.
Im using api manager 1.8.0.

Thank you.
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API subscribe not working in tenant mode in test automation`

2015-04-04 Thread Shashika Karunatilaka
Hi Saneth,

yes, can do the same thing.it works from ui.

On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 HI Shashika,

 Can you manually do the subscription from the same user (amuse...@wso2.com
 )?
 Check whether the given user has subscription permition.

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi,

 Currently i'm writing on a test case to publish a api through tenant and
 want to subscribe that api and need to invoke the api i have created,
 But im getting below error when calling
 org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method
 {error : true, message :
 org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the
 subscription for user: amuse...@wso2.com}

 This process works fine when doing it using super tenant mode.
 Im using api manager 1.8.0.

 Thank you.
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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





-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Enabling ghost mode in test environment

2015-03-24 Thread Shashika Karunatilaka
Hi,

I need to write a test case to get the first request to a deployed web app
after the web app went to ghost mode or unloaded. how should i enable ghost
mode, web app idle time in test environment?

Thank you.

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enabling ghost mode in test environment

2015-03-24 Thread Shashika Karunatilaka
Hi Saneth,

Thanks for the info, i will try with the steps you mentioned


On Wed, Mar 25, 2015 at 7:52 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi Shashika,

 Small correction on CarbonTestServerManager and MultipleServersManager.
 As it shows in the code block  and  reference links in [2] and [3] in my
 previous mail, you have to create a instance of CarbonTestServerManager
 with your required parameters and using MultipleServersManager  you can
 start the server.

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Tue, Mar 24, 2015 at 11:17 PM, Saneth Dharmakeerthi sane...@wso2.com
 wrote:

 Hi Shashika,

- Only way to enable the Ghost mode in test environment is to
changing the repository/conf/carbon.xml.

 You have to copy the edited carbon.xml  at @BeforeClass method and
 restore the carbon.xml at @AfterClasss method.
 You can do this task by using applyConfiguration  methods in
 org.wso2.carbon.integration.common.utils.mgt.ServerConfigurationManager.java.
 For sample usage of ServerConfigurationManager [1].

- *Do not edit the **wso2server.sh* and configure the webapp and
tenant unloading time.
 For this you have to start a new
server with a port offset and pass those parameters. You can use one
of following ways.
   - Using CarbonTestServerManager.java. Usage and more details can
   be found in [2] mail thread and [3]
   - Using MultipleServersManager.java

 private HashMapString, String serverPropertyMap = new
 HashMapString, String();

 private MultipleServersManager manager = new MultipleServersManager();


 @BeforeClass(alwaysRun = true)

 public void init() throws Exception {

 // to start the server from a different port offset

 *int portOffset = 1;*

 *int idleTime = 1;*

 *serverPropertyMap.put(-DportOffset,
 Integer.toString(portOffset));*

 *serverPropertyMap.put(-Dtenant.idle.time,
 Integer.toString(idleTime));*

 AutomationContext autoCtx = new AutomationContext();

 CarbonTestServerManager server =

 new CarbonTestServerManager(autoCtx,
 System.getProperty(carbon.zip), serverPropertyMap);

 manager.startServers(server);


 UserPopulator userPopulator = new UserPopulator(AS,
 appServerInstance0002);

 userPopulator.populateUsers();

 }


 same as -*Dtenant.idle.time *u can  add the *-Dwebapp.idle.time*


 [1]
 https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIManagerConfigurationChangeTest.java
 [2][Dev] How to set tenant idle time in writing integration test for AS
 5.2.1
 [3
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/products/esb/4.7.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/test/servers/NewInstanceTestCase.java]

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 On Tue, Mar 24, 2015 at 10:14 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi Mahesh,

 AFAIK we cant enable ghost mode in test environment by editing
 carbon.xml.

 On Tue, Mar 24, 2015 at 10:02 PM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Hi Shashika,

 You can enable Ghost mode deployment from setting the value 'true' in
 repository/conf/carbon.xml

  GhostDeployment
 Enabled*true*/Enabled
 PartialUpdatefalse/PartialUpdate
  /GhostDeployment


 And to set the webapp unloading time u can do following,

 open wso2server.sh in vim editor ( sudo vi wso2server.sh)
 Add following line in the bottom section ( inside do while )

 -Dwebapp.idle.time=1 \


 Thanks

 On Tue, Mar 24, 2015 at 7:44 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,

 I need to write a test case to get the first request to a deployed web
 app after the web app went to ghost mode or unloaded. how should i enable
 ghost mode, web app idle time in test environment?

 Thank you.

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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






-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev

[Dev] Please review and merge the PR for CARBON-15199

2015-03-24 Thread Shashika Karunatilaka
Hi,

Please review and merge the following PR [1] for Jira [2]

[1] https://github.com/wso2/carbon-deployment/pull/82
[2] https://wso2.org/jira/browse/CARBON-15199

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enabling ghost mode in test environment

2015-03-24 Thread Shashika Karunatilaka
Hi Mahesh,

AFAIK we cant enable ghost mode in test environment by editing carbon.xml.

On Tue, Mar 24, 2015 at 10:02 PM, Mahesh Chinthaka mahe...@wso2.com wrote:

 Hi Shashika,

 You can enable Ghost mode deployment from setting the value 'true' in
 repository/conf/carbon.xml

  GhostDeployment
 Enabled*true*/Enabled
 PartialUpdatefalse/PartialUpdate
  /GhostDeployment


 And to set the webapp unloading time u can do following,

 open wso2server.sh in vim editor ( sudo vi wso2server.sh)
 Add following line in the bottom section ( inside do while )

 -Dwebapp.idle.time=1 \


 Thanks

 On Tue, Mar 24, 2015 at 7:44 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi,

 I need to write a test case to get the first request to a deployed web
 app after the web app went to ghost mode or unloaded. how should i enable
 ghost mode, web app idle time in test environment?

 Thank you.

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Shashika Karunatilaka
HI Inosh,

AFAIK its Gson now. As an example DSS 3.2.1 onwards, Application server it
uses Gson message formatter and builder. But in the ESB it uses Jsonpath
please refer this [1]

[1] https://docs.wso2.com/display/ESB480/About+this+Release

Thank you.

On Mon, Mar 23, 2015 at 7:25 PM, Inosh Perera ino...@wso2.com wrote:

 Hi all,
 What is platform standard library used for JSON parsing? I have seen some
 variation such as Gson, Jackson, jsonpath.

 Regards,
 Inosh

 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-identity java8support branch not work with the JDK 1.7

2015-03-19 Thread Shashika Karunatilaka
Hi Prabath,

Check the following PR [1], this component is moved to carbon-commons in
master branch not in the java8support branch.

[1] https://github.com/wso2/carbon-identity/pull/139

On Thu, Mar 19, 2015 at 11:36 AM, Prabath Ariyarathna prabat...@wso2.com
wrote:

 Hi Shashika.

 Thanks for the reply.
 This compilation issue is coming from the carbon-identity java8support
 branch. so can we do something for fix this dependency issue from the IS
 side ?


 On Thu, Mar 19, 2015 at 11:29 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi Prabath,

 This is due to missing dependency for org.wso2.carbon.ndatasource.common
 https://github.com/shashikap/carbon-identity/commit/373a0df6d2daab8a32a62112dda41318ca497370,
 but this org.wso2.carbon.identity.user.store.configuration.ui is now in
 carbon-commons[1] not in carbon-identity.

 [1]
 https://github.com/wso2/carbon-commons/tree/master/components/userstore-config/org.wso2.carbon.identity.user.store.configuration.ui

 Thank you.

 On Thu, Mar 19, 2015 at 11:22 AM, Prabath Ariyarathna prabat...@wso2.com
  wrote:

 Hi IS Team.

 I'm testing ESB with kernel 4.4.0 on the JDK 1.7 and carbon-identity is
 on of the dependency. So I tried to compile carbon-identity java8support
 branch on the JDK 1.7.
 and getting following compilation issues from the *WSO2 Carbon -
 Identity User Store Configuration UI*

 ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project
 org.wso2.carbon.identity.user.store.configuration.ui: Compilation failure:
 Compilation failure:

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[28,41]
 error: package org.wso2.carbon.ndatasource.common does not exist

 [ERROR]

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[90,63]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[165,66]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[96,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[98,22]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[100,22]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[148,30]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[150,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[152,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java

Re: [Dev] Carbon-identity java8support branch not work with the JDK 1.7

2015-03-19 Thread Shashika Karunatilaka
Hi Prabath,

This is due to missing dependency for org.wso2.carbon.ndatasource.common
https://github.com/shashikap/carbon-identity/commit/373a0df6d2daab8a32a62112dda41318ca497370,
but this org.wso2.carbon.identity.user.store.configuration.ui is now in
carbon-commons[1] not in carbon-identity.

[1]
https://github.com/wso2/carbon-commons/tree/master/components/userstore-config/org.wso2.carbon.identity.user.store.configuration.ui

Thank you.

On Thu, Mar 19, 2015 at 11:22 AM, Prabath Ariyarathna prabat...@wso2.com
wrote:

 Hi IS Team.

 I'm testing ESB with kernel 4.4.0 on the JDK 1.7 and carbon-identity is on
 of the dependency. So I tried to compile carbon-identity java8support
 branch on the JDK 1.7.
 and getting following compilation issues from the *WSO2 Carbon - Identity
 User Store Configuration UI*

 ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
 (default-compile) on project
 org.wso2.carbon.identity.user.store.configuration.ui: Compilation failure:
 Compilation failure:

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[28,41]
 error: package org.wso2.carbon.ndatasource.common does not exist

 [ERROR]

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[90,63]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[165,66]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[96,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[98,22]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[100,22]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[148,30]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[150,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[152,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[171,26]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 [ERROR]
 /Users/prabath/projects/esb/jdk_1.8_migration/final/carbon-identity/components/identity/org.wso2.carbon.identity.user.store.configuration.ui/src/main/java/org/wso2/carbon/identity/user/store/configuration/ui/client/UserStoreConfigAdminServiceClient.java:[173,22]
 error: cannot find symbol

 [ERROR]

 [ERROR] class UserStoreConfigAdminServiceClient

 

Re: [Dev] [BAM] NullPointerException in the BAM 3.0 server start up

2015-03-19 Thread Shashika Karunatilaka
HI Niranda,

This issue is fixed in following Jira [1]

https://wso2.org/jira/browse/CARBON-15140

Thank you.

On Thu, Mar 19, 2015 at 2:57 PM, Niranda Perera nira...@wso2.com wrote:

 Hi all,

 I'm working on the BAM 3.0 M2 and in the server start up, when logging
 into the console, a 'NullPointerException: Tenant domain has not been set
 in CarbonContext' is thrown. Please see the stack trace below.

 [2015-03-19 14:52:30,402] ERROR
 {org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Tenant
 domain has not been set in CarbonContext
 java.lang.NullPointerException: Tenant domain has not been set in
 CarbonContext
 at
 org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
 at
 org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:365)
 at
 org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:359)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.loginWithRememberMeCookie(AuthenticationAdminStub.java:1724)
 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.loginWithRememberMeCookie(AuthenticationAdminClient.java:99)
 at
 org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:109)
 at
 org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
 at
 org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticateWithCookie(BasicAuthUIAuthenticator.java:96)
 at
 org.wso2.carbon.ui.CarbonUILoginUtil.saveOriginalUrl(CarbonUILoginUtil.java:118)
 at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:276)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
 

[Dev] Adding missed dependency on carbon-identitiy-java8support branch

2015-03-17 Thread Shashika Karunatilaka
Hi Johann,

Please review and merge the following PR [1]
Missed dependency : org.wso2.carbon.ndatasource.common
https://github.com/shashikap/carbon-identity/commit/373a0df6d2daab8a32a62112dda41318ca497370

[1] https://github.com/wso2/carbon-identity/pull/139

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants

2015-03-12 Thread Shashika Karunatilaka
Hi Kala,

Can you provide the error trace here.

Thank you.

On Thu, Mar 12, 2015 at 8:19 PM, Godwin Amila Shrimal god...@wso2.com
wrote:

 Hi Kala,

 What is the ESB version you are using here ? mean time can you attach the
 wso2carbon.log file.


 Thanks
 Godwin


 On Thu, Mar 12, 2015 at 8:16 PM, Kala Weerawardana k...@wso2.com wrote:

 Hi,

 I created an ESB cluster fronted by ELB. Created a LDAP server through
 ApacheDS.

 When creating a tenant the bellow error occurred.

 ERROR - TenantPersistor Error in changing the tenant admin password for
 tenant domain:

 To fix this, I applied the patch related to [1]. The problem solved and I
 was able to create tenants without a problem.


- Now when I try to log in with the created tenants I get an error
saying,

 Login failed! Please recheck the username and password and try again.


- Then I tried to edit the tenant giving a new password and update.
Got an error saying,

ERROR - TenantMgtAdminService Error in changing the
 tenant admin password, tenant domain:


 Is there a solution for this?


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


 Thank you,
 Kala
 --
 Kala C. Weerawardana
 *Software Engineer - QA Team*
 *WSO2 Inc. *
 Mobile :  +94 (0) 716189886 +94 (0) 772877683
 Blog : http://castakai.blogspot.com
 k...@wso2.com




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

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

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Removing -DhttpPort, -DhttpsPort system properties

2015-03-10 Thread Shashika Karunatilaka
Hi all,

Do we need to have the *-DhttpPort, **-DhttpsPort *as system properties
when running the carbon server.
IMO if we need to change the ports we have portOffset to run from different
ports or if there is a necessity of changing them we can change it in
catalina-server.xml. In that case do we need to have *-DhttpPort, *
*-DhttpsPort. *

WDYT?

Thank you.

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] Getting tenant domain and tenant admin username from the tenant id

2015-03-09 Thread Shashika Karunatilaka
HI Chathura,

If you start a tenant flow you can set the tenant Id and from that you can
get the tenant domain from below code
PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantId(tenantId,
true);
setTenantId with boolean argument it will resolve the tenant domain. or
else you can get from
PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantDomain();

To get the admin user name you can use realmConfig
PrivilegedCarbonContext.getThreadLocalCarbonContext().getUserRealm().getRealmConfiguration().getAdminUserName()

Thank you.

On Mon, Mar 9, 2015 at 4:48 PM, Chathura Dilan chathu...@wso2.com wrote:

 Hi All,

 Is there a way to get the tenant domain name and the tenant admin username
 when tenantId is provided to
 PrivilegedCarbonContext.getThreadLocalCarbonContext()?


 Thanks

 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer** - WSO2 Inc.**)*
 www.dilan.me

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please commit the diff for CARBON-15184

2015-03-09 Thread Shashika Karunatilaka
Hi Sameera,

Please find the PR [1] here with

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

Thank you.

On Fri, Mar 6, 2015 at 6:59 PM, Sameera Jayasoma same...@wso2.com wrote:

 Done. Please send a PR to the Git repository.

 On Fri, Mar 6, 2015 at 6:20 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Hi

 Please commit the attached diff in the JIRA[1]

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

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Platform Build Error

2015-03-07 Thread Shashika Karunatilaka
HI Yasith,

Whats the Java version you are building the source..

Thank you

On Sat, Mar 7, 2015 at 8:14 PM, Yasith Lokuge yasi...@gmail.com wrote:

 I tried mvn compile -x

 This is what I got;




 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 55.941 s
 [INFO] Finished at: 2015-03-07T20:03:03+05:30
 [INFO] Final Memory: 779M/2455M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy-mars) on
 project rampart-integration: Artifac
 t has not been packaged yet. When used on reactor artifact, copy should be
 executed after packaging: see MDEP-187. - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (co
 py-mars) on project rampart-integration: Artifact has not been packaged
 yet. When used on reactor artifact, copy should be executed after pa
 ckaging: see MDEP-187.
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Artifact has
 not been packaged yet. When used on reactor artifact, copy should be
  executed after packaging: see MDEP-187.
 at
 org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:224)
 at
 org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.copyArtifact(CopyMojo.java:133)
 at
 org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.doExecute(CopyMojo.java:111)
 at
 org.apache.maven.plugin.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:167)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 [ERROR]
 [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/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :rampart-integration

 On Sat, Mar 7, 2015 at 8:13 PM, Yasith Lokuge yasi...@gmail.com wrote:

 Hi Tharindu,

 I have already added that part to the POM file but got the error when
 building platform.



 On Sat, Mar 7, 2015 at 8:10 PM, Yasith Lokuge yasi...@gmail.com wrote:

 Thanks for the reply Tharindu, I'll try and let you know.

 On Sat, Mar 7, 2015 at 8:08 PM, Tharindu Edirisinghe tharin...@wso2.com
  wrote:

 Hi Yasith,

 I assume you have built Orbit and Kernel and then you are trying to
 build the Platform (turing). You are getting this error because the
 required dependencies are not resolved. Please try adding the following
 repository details under the project tag in the pom file of the platform
 and then build the platform.

 repositories
 repository
 idwso2-nexus/id
 nameWSO2 internal Repository/name
  

[Dev] Please commit the diff for CARBON-15184

2015-03-06 Thread Shashika Karunatilaka
Hi

Please commit the attached diff in the JIRA[1]

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

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Ashan Manathunga

2015-03-06 Thread Shashika Karunatilaka
Many Congrats Ashan:D

On Fri, Mar 6, 2015 at 4:55 PM, Harsha Kumara hars...@wso2.com wrote:

 Congratulations Ashan!

 On Fri, Mar 6, 2015 at 4:53 PM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratz Ashan.

 On Fri, Mar 6, 2015 at 4:45 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 Hi All
 It's my pleasure to welcome Ashan as a WSO2 Committer.

 Ashan, welcome aboard and keep up the good work!

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Delivery

 WSO2 Inc.
 http://wso2.com


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




 --
 Thanks  Regards
 --
 Srisunmugaraja Paraparan
 Software Engineer,
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email : parapa...@wso2.com, mobile : +94 77 0362151

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Review and merge the PR for WSAS-1907

2015-03-04 Thread Shashika Karunatilaka
Hi Supun

Updated the PR[1] accordingly

[1] https://github.com/wso2/product-as/pull/49

On Wed, Mar 4, 2015 at 8:02 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Shashika,

 Let's add the features into default and worker profile as well..

 thanks,

 On Wed, Mar 4, 2015 at 5:03 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Hi,

 Please review and merge the PR [1] for [2].

 [1] https://github.com/wso2/product-as/pull/49
 [2] https://wso2.org/jira/browse/WSAS-1907

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 Supun Malinga,

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Chamila de Alwis

2015-03-04 Thread Shashika Karunatilaka
Congrats Chamila

On Thu, Mar 5, 2015 at 11:19 AM, Vijitha Ekanayake vijit...@wso2.com
wrote:

 Congratulations Chamila !!!

 On Thu, Mar 5, 2015 at 11:12 AM, Aiyadurai Rajeevan rajeev...@wso2.com
 wrote:

 Congrats Chamila :)

 Thanks  Regards,
 S.A.Rajeevan
 Software Engineer WSO2 Inc
 E-Mail: rajeev...@wso2.com | Mobile : +94776411636

 On Thu, Mar 5, 2015 at 11:10 AM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations Chamila! :)

 On Thu, Mar 5, 2015 at 11:07 AM, Dakshika Jayathilaka daksh...@wso2.com
  wrote:

 Congratz Chamilad...!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Mar 5, 2015 at 10:22 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Congrats Chamila. :)

 Good job! ^_^

 On Thu, Mar 5, 2015 at 10:14 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Chamila !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Thu, Mar 5, 2015 at 10:08 AM, Prasanna Dangalla prasa...@wso2.com
  wrote:

 Congratulations Chamilad

 On Thu, Mar 5, 2015 at 10:01 AM, Imesh Gunaratne im...@wso2.com
 wrote:

 Hi Devs,

 It's my pleasure to welcome Chamila de Alwis as a WSO2 Committer.
 Chamila, welcome aboard and keep up the good work!

 Thanks

 --
 *Imesh Gunaratne*
 Technical Lead
 WSO2 Inc: http://wso2.com
 T: +94 11 214 5345 M: +94 77 374 2057
 W: http://imesh.gunaratne.org
 Lean . Enterprise . Middleware


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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788
 Blog - https://shivabalachandran.wordpress.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




 --
 *Jerad Rutnam*
 *Software Engineer*

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com

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



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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start Tenant Flow Code sample should need to be changed in 4.2.0 documentation

2015-03-02 Thread Shashika Karunatilaka
Hi

Need to remove the references to getCurrentContext() and the code block
need to be changed 4.2.0 documentation.

Thank you.

On Mon, Mar 2, 2015 at 7:56 AM, Nilmini Perera nilm...@wso2.com wrote:

 Hi,

 Thanks for the mail Shashika.

 I remember removing the references to getCurrentContext() from the Carbon
 4.3.0 docs as it is no longer valid. Should we do the same for Carbon 4.2.0
 ? or is it just this particular code block that needs to be changed?

 Regards,
 Nilmini

 On Sun, Mar 1, 2015 at 12:15 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi,

 Start Tenant Flow Code sample should need to be changed in 4.2.0
 documentation[1]. currently in the documentation its getting CarbonContext
 from the PrivilegedCarbonContext.getCurrentContext().
 getCurrentContext() is deprecated in the 4.2.0, no longer available in
 4.3.0. This is fixed in 4.3.0 documentation[2]. It should need to be
 changed to get from getThreadLocalCarbonContext().

 try{
 PrivilegedCarbonContext.startTenantFlow();
 PrivilegedCarbonContext privilegedCarbonContext =
PrivilegedCarbonContext*.getCurrentContext();*
 *change to* *-PrivilegedCarbonContext.getThreadLocalCarbonContext();*
privilegedCarbonContext.setTenantId(tenantId);
privilegedCarbonContext.setTenantDomain(tenantDomain);
// set other stuff like registry etc. if needed

   doSomething();
 } finally {
PrivilegedCarbonContext.endTenantFlow();
 }

 [1] https://docs.wso2.com/display/Carbon420/CarbonContext+API
 [2] https://docs.wso2.com/display/Carbon430/CarbonContext+API
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 --
 You received this message because you are subscribed to the Google Groups
 WSO2 Documentation group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to documentation+unsubscr...@wso2.com.
 For more options, visit https://groups.google.com/a/wso2.com/d/optout.




 --
 Nilmini Perera

 Senior Technical Writer
 WSO2 Inc.

 Mobile: 0094776722152




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Start Tenant Flow Code sample should need to be changed in 4.2.0 documentation

2015-02-28 Thread Shashika Karunatilaka
Hi,

Start Tenant Flow Code sample should need to be changed in 4.2.0
documentation[1]. currently in the documentation its getting CarbonContext
from the PrivilegedCarbonContext.getCurrentContext().
getCurrentContext() is deprecated in the 4.2.0, no longer available in
4.3.0. This is fixed in 4.3.0 documentation[2]. It should need to be
changed to get from getThreadLocalCarbonContext().

try{
PrivilegedCarbonContext.startTenantFlow();
PrivilegedCarbonContext privilegedCarbonContext =
   PrivilegedCarbonContext*.getCurrentContext();*
*change to* *-PrivilegedCarbonContext.getThreadLocalCarbonContext();*
   privilegedCarbonContext.setTenantId(tenantId);
   privilegedCarbonContext.setTenantDomain(tenantDomain);
   // set other stuff like registry etc. if needed

  doSomething();
} finally {
   PrivilegedCarbonContext.endTenantFlow();
}

[1] https://docs.wso2.com/display/Carbon420/CarbonContext+API
[2] https://docs.wso2.com/display/Carbon430/CarbonContext+API
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Registry related tenant data deletion

2015-02-26 Thread Shashika Karunatilaka
HI Kishanthan,

Currently i have done some implementation on registry related data
deletion, removing solr indexes. But there are scenarios i have to consider
where deleting registry related data in mounted environment.

Thank you.

On Fri, Feb 27, 2015 at 10:00 AM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 Hi Senaka,

 We have an approach known as TenantMgtListener, where all the registered
 listeners will get notified when a tenant is created or deleted. There are
 methods (onPreDelete, onPostDelete, etc) that gets called by the tenant-mgt
 core component during tenant deletion. So for all component specific data
 deletion, we can use this listener approach. And from tenant-mgt/kernel
 point of view, we only have to deal with the kernel level registry data,
 when deleting a tenant.

 @Shashika, can we have an update on this please? Where are we with
 registry level tenant data deletion?

 On Wed, Feb 25, 2015 at 7:35 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Shashika,

 So do you plan to create API methods on a per kernel component and per
 product component basis? I would find that rather scattered and hard to
 maintain. Though this looks justifiable from a kernel's point of view how
 would you repeat the same at a component level? My thought was that you'd
 be creating some new or adding to an existing component and you'll
 aggregate all tenant clean-up functionality in there making it easier to
 execute cross component operations. But, this is my personal viewpoint and
 it could be that I'm missing something.

 Thanks,
 Senaka.

 On Wed, Feb 25, 2015 at 10:21 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI Senaka,

 Main reason for putting this method inside the kernel is, because when
 creating a tenant all the user management data addition resides inside the
 kernel, and all the registry related data addition reside inside the. and
 each data deletion methods also reside inside the kernel, so this is the
 main reason for putting this method inside kernel to delete all the tenant
 registry data

 Thank you.

 On Wed, Feb 25, 2015 at 2:39 PM, Senaka Fernando sen...@wso2.com
 wrote:

 Shashika,

 Apart from whatever tool that you build (again for a specific tenant
 administration purpose), who else will need to invoke this API method? My
 feeling is that this method does not belong inside the registry kernel or
 components. WDYT?

 Thanks,
 Senaka.


 On Wed, Feb 25, 2015 at 3:18 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi Senaka/all

 To do delete the DB related data one option is to add a new method to
 registry api called deleteAllTenantData(or suitable one) so i have to
 implement this method on every dependent registry classes, Is it ok to
 introduce new method to registry api?

 As i see when deleting a registry resources it goes to
 UserRegistry-CacheBackRegistry-EmbeddedRegistry and it calls data
 deletion DAOs. So in my case do i need to go through this flow to delete
 the DB data or is it enough calling the DB queries in UserRegistry tenant
 data deletion method

 Also i have another concern, as an example let say there is an
 association related operation  so to do that it will go above process I
 mentioned and call the DAOs, those DAOs are implemented in a structural
 manner where JDBCAssociationDAO implemented all the AssociationDAO
 operation, in my case do i need to adhere to above structure where adding
 all the registry related table data deletion methods to interface and
 implement it or else is it ok to call the queries directly?

 Thank you.

 On Tue, Feb 24, 2015 at 10:52 AM, Danesh Kuruppu dan...@wso2.com
 wrote:

 Hi Shashika,

 In solr indexing, we store the resource by its tenant_id
 (indexed_document_id = resourcePath + tenant + tenantId)

 e.g: Assume you stored resource from the tenant1, indexed document id
 looks like below,

 id: /_system/governance/services/aaa/aaa/1.0.0*tenantId1*

 You can get all resource store under tenantId using wildcard search.

 id:**tenantId1*


 In Solr server, they have provided an api to delete by query.

 deleteByQuery(String query)


 We can write new method in SolrClient to support this and call it
 from your component. Currently we only support delete index by resource 
 id
 where we need resource path.

 Thanks
 Danesh

 On Mon, Feb 23, 2015 at 7:14 PM, Senaka Fernando sen...@wso2.com
 wrote:

 Hi Shashika,

 I believe this is the only way to do this. There are several things
 to note here.

 1. In memory data - Ideally unloading the tenant should clean-up all
 of this and if it does not there is an issue.
 2. DB data - all the tables have a tenant-id column. What you need
 is a query to delete all records matching that tenant id.
 3. Solr Index etc and Registry Extensions deployed on the Filesystem
 - These should be in corresponding folder/files structures either 
 having a
 tenant id or tenant domain. I don't recall this is as X, Y, and Z and I
 don't think anyone else would do too. You can

Re: [Dev] Registry related tenant data deletion

2015-02-24 Thread Shashika Karunatilaka
Hi Senaka/all

To do delete the DB related data one option is to add a new method to
registry api called deleteAllTenantData(or suitable one) so i have to
implement this method on every dependent registry classes, Is it ok to
introduce new method to registry api?

As i see when deleting a registry resources it goes to
UserRegistry-CacheBackRegistry-EmbeddedRegistry and it calls data
deletion DAOs. So in my case do i need to go through this flow to delete
the DB data or is it enough calling the DB queries in UserRegistry tenant
data deletion method

Also i have another concern, as an example let say there is an association
related operation  so to do that it will go above process I mentioned and
call the DAOs, those DAOs are implemented in a structural manner where
JDBCAssociationDAO implemented all the AssociationDAO operation, in my case
do i need to adhere to above structure where adding all the registry
related table data deletion methods to interface and implement it or else
is it ok to call the queries directly?

Thank you.

On Tue, Feb 24, 2015 at 10:52 AM, Danesh Kuruppu dan...@wso2.com wrote:

 Hi Shashika,

 In solr indexing, we store the resource by its tenant_id
 (indexed_document_id = resourcePath + tenant + tenantId)

 e.g: Assume you stored resource from the tenant1, indexed document id
 looks like below,

 id: /_system/governance/services/aaa/aaa/1.0.0*tenantId1*

 You can get all resource store under tenantId using wildcard search.

 id:**tenantId1*


 In Solr server, they have provided an api to delete by query.

 deleteByQuery(String query)


 We can write new method in SolrClient to support this and call it from
 your component. Currently we only support delete index by resource id where
 we need resource path.

 Thanks
 Danesh

 On Mon, Feb 23, 2015 at 7:14 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Shashika,

 I believe this is the only way to do this. There are several things to
 note here.

 1. In memory data - Ideally unloading the tenant should clean-up all of
 this and if it does not there is an issue.
 2. DB data - all the tables have a tenant-id column. What you need is a
 query to delete all records matching that tenant id.
 3. Solr Index etc and Registry Extensions deployed on the Filesystem -
 These should be in corresponding folder/files structures either having a
 tenant id or tenant domain. I don't recall this is as X, Y, and Z and I
 don't think anyone else would do too. You can scan the code (Registry
 Kernel, Registry Component and Governance Component) but it can be tedious.
 So, may be you can setup a tenant and grep for tenant-id/domain or grep for
 -1234 and carbon.super in the filesystem.
 4. Other related data - The kernel alone uses the filesystem (inside
 repository/deployment) which you might need to clean. There are temporary
 files created that many require cleaning and also logs, if you are
 interested in a full wipeout. The registry utilises some of these standard
 features from the kernel and some information (mostly transient) can be
 found in those.

 Appreciate some help from others in the G-Reg team to identify anything I
 missed.

 Thanks,
 Senaka.

 On Mon, Feb 23, 2015 at 6:02 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,

 Im in the process of deleting a tenant and all its related resources,so
 what i came up with is to delete all the resources related to that tenant
 using a direct DB call is there any other options to delete these data.
 and if i to continue on the above approach what are the areas i have to
 concern

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --


 *[image: http://wso2.com] http://wso2.comSenaka Fernando*
 Solutions Architect; WSO2 Inc.; http://wso2.com



 *Member; Apache Software Foundation; http://apache.org
 http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P: +1
 408 754 7388 %2B1%20408%20754%207388; ext: 51736*;


 *M: +44 782 741 1966 %2B44%20782%20741%201966Linked-In:
 http://linkedin.com/in/senakafernando
 http://linkedin.com/in/senakafernando*Lean . Enterprise . Middleware

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




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Registry related tenant data deletion

2015-02-22 Thread Shashika Karunatilaka
Hi,

Im in the process of deleting a tenant and all its related resources,so
what i came up with is to delete all the resources related to that tenant
using a direct DB call is there any other options to delete these data.
and if i to continue on the above approach what are the areas i have to
concern

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deleting tenant related data from the DB level

2015-02-18 Thread Shashika Karunatilaka
HI Johan,

Requirement here is to delete the tenant using API methods. Yes, to do that
i'm breaking the tenant deletion in to several methods.
Here I'm following the process of reverting the tenant creation.
As steps I'm trying to remove all the user management related data and
registry related data.
To remove the user management data I'm deleting the users, user roles, user
permissions so on.
During this i encountered the above issue of deleting the tenant admin. Yes
there is no way of deleting the tenant admin, here we trying to delete the
admin user, its roles. directly calling the DB. Do you see any other better
approach for this?

Thank you.

On Wed, Feb 18, 2015 at 1:33 PM, Johann Nallathamby joh...@wso2.com wrote:

 Can you please clarify, what is the requirement here ? As I can see you
 are trying to break tenant deletion into several methods. If DB
 transactions are not handled properly this will lead to inconsistent state.

 Currently we rely on cascade delete functionality of the database and that
 will make sure all the data is wiped out without leaving data in
 inconsistent state. Only for LDAP you have to separately delete the OUs
 which contain users and groups.

 Deleting tenant admin is also not something we support right now under the
 assumption we cannot change tenant admin once a tenant has been created.



 On Wed, Feb 18, 2015 at 12:31 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 For scenarios like above (delete tenant admin user) which we cannot use
 the APIs, use the hard delete approach.

 On Tue, Feb 17, 2015 at 10:06 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI Kishanthan,

 Yes, calling delete user API will internally delete all(roles,
 permissions) data associated with that user. But there is a scenario where
 we cannot delete the tenant admin user.
 And my question here was, let say if this deleting process breaks at
 some point, then it will remain those tenant related(none deleted) data in
 the system. shouldn't this deletion process be atomic?

 Thank you

 On Mon, Feb 16, 2015 at 7:35 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Shouldn't calling delete user API will internally delete all (roles,
 permissions) data associated with that user?

 On Fri, Feb 13, 2015 at 11:01 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI all,

 When adding tenant it creates some of DB level operations sequentially
 as an *example*,
 In tenant creation it creates a user, creates user roles, add
 permissions to the roles and so on
 when deleting there are few options

1. Delete the role permissions for the user role, delete user
roles for the user finally delete the user
2. Delete  all the users, roles, role permissions data associated
to that tenant

 what would be the best approach?

 Thank you

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan
 http://twitter.com/kishanthan*




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*

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




 --
 Thanks  Regards,

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

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to delete All Claims of Dialect

2015-02-17 Thread Shashika Karunatilaka
Hi

Im in the process of deleting a tenant so to do that i need to delete all
the Dialects associated to that tenant but it doesnt allow to delete all
the claims associated that Dialect, is there any reason for not allowing
this. found that it was because of below line[1]

[1]
https://github.com/wso2/carbon4-kernel/blob/72fd99ad7fa602d838e1ec6984bb56712d64a8e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/dao/ClaimDAO.java#L383
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to delete All Claims of Dialect

2015-02-17 Thread Shashika Karunatilaka
Hi all,

Found that this was due to referential integrity constraints

On Tue, Feb 17, 2015 at 2:42 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi

 Im in the process of deleting a tenant so to do that i need to delete all
 the Dialects associated to that tenant but it doesnt allow to delete all
 the claims associated that Dialect, is there any reason for not allowing
 this. found that it was because of below line[1]

 [1]
 https://github.com/wso2/carbon4-kernel/blob/72fd99ad7fa602d838e1ec6984bb56712d64a8e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/dao/ClaimDAO.java#L383
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deleting tenant related data from the DB level

2015-02-16 Thread Shashika Karunatilaka
HI Kishanthan,

Yes, calling delete user API will internally delete all(roles, permissions)
data associated with that user. But there is a scenario where we cannot
delete the tenant admin user.
And my question here was, let say if this deleting process breaks at some
point, then it will remain those tenant related(none deleted) data in the
system. shouldn't this deletion process be atomic?

Thank you

On Mon, Feb 16, 2015 at 7:35 PM, Kishanthan Thangarajah kishant...@wso2.com
 wrote:

 Shouldn't calling delete user API will internally delete all (roles,
 permissions) data associated with that user?

 On Fri, Feb 13, 2015 at 11:01 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI all,

 When adding tenant it creates some of DB level operations sequentially
 as an *example*,
 In tenant creation it creates a user, creates user roles, add permissions
 to the roles and so on
 when deleting there are few options

1. Delete the role permissions for the user role, delete user roles
for the user finally delete the user
2. Delete  all the users, roles, role permissions data associated to
that tenant

 what would be the best approach?

 Thank you

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to Delete Tenant admin user

2015-02-15 Thread Shashika Karunatilaka
adding dev@

On Mon, Feb 16, 2015 at 10:12 AM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi,

 I want to delete all the users associated to a tenant, to do that i'm
 taking the tenant's realm and get all the users and delete them. but when
 deleting admin user it doesnt allow to delete. I noticed that this is
 because when getting the tenant's realm it loads the tenant.
 How to achieve this??

 Thank you.

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] HTTP Status 403 when trying to view the WSDL through the browser

2015-02-15 Thread Shashika Karunatilaka
HI Thusitha,

You have to set false in HideAdminServiceWSDLstrue/HideAdminServiceWSDLs
on CARBON_HOME/repository/conf/carbon.xml

Thank you.


On Mon, Feb 16, 2015 at 10:41 AM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi All,

 I'm trying to develop a simple carbon component based on [1]. After
 creating the component, I created the bundle and put it in the dropins
 folder and restarted the WSO2 Application server.
 When I try to access the wsdl of the created component as
 https://localhost:9443/services/OrderService?wsdl

 I'm getting 403 forbidden error.
 [image: Inline image 1]

 Is there any settings that I need to configure in order to view the WSDLs,
 which are deployed as Admin services?

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

 Thank you.
 /Thusitha
 --
 Thusitha Dayaratne
 Software Engineer | WSO2 Inc

 Emailthusit...@wso2.com
 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com


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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AS] Polling Station Sample JS Code Patch for Google Chrome and Other Browsers

2015-02-12 Thread Shashika Karunatilaka
HI Rasika,

Please create public JIRA here [1] and attach your fix.

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

On Thu, Feb 12, 2015 at 5:27 PM, Rasika Perera rasi...@wso2.com wrote:

 Hi all,

 WSO2 AS v5.2.1, Polling Station sample
 https://docs.wso2.com/display/AS521/The+Polling+Station does not work
 with Google Chrome and exceptional user agents. Because it is hard coded
 for IE, Gecko based(FF) and Opera. The documentation already has a
 recommendation for Firefox.

 [image: Inline image 1]

 Since, nowadays XMLSerializer() is supported by all `webkit` and `gecko`
 based browsers, I did a code patch for the `WSRequest.js` file.

 Now it is working for any user agent with `gecko-` or `web-kit` engines
 including Google Chrome and Safari.

 Please consider adding this file to the next release.

 NOTE: diff file and modified version of the file is attached.

 --
 With Regards,

 *Rasika Perera*
 Software Engineer
 M: +94 71 680 9060 E: rasi...@wso2.com
 LinkedIn: http://lk.linkedin.com/in/rasika90

 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deleting tenant related data from the DB level

2015-02-12 Thread Shashika Karunatilaka
HI all,

When adding tenant it creates some of DB level operations sequentially
as an *example*,
In tenant creation it creates a user, creates user roles, add permissions
to the roles and so on
when deleting there are few options

   1. Delete the role permissions for the user role, delete user roles for
   the user finally delete the user
   2. Delete  all the users, roles, role permissions data associated to
   that tenant

what would be the best approach?

Thank you

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Can't add tenants in latest ES pack

2015-02-09 Thread Shashika Karunatilaka
Hi Supun,

I will look in to this

Thank you.

On Tue, Feb 10, 2015 at 9:39 AM, Supun Malinga sup...@wso2.com wrote:

 Shashika, since you are familiar with MT component, can you please own
 this and fix?.
 thanks,

 On Tue, Feb 10, 2015 at 3:14 AM, Harsha Kumara hars...@wso2.com wrote:

 Hi Shashika/Ayesha,

 Got same issue while creating a tenant in latest SS pack with the
 upgraded multitenancy version.  The issue seems to be causes with[1] . The
 get element by id returns html element. When building the RegEX the value
 of the html element need to be taken out.

 [1] -
 https://github.com/wso2/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.common.ui/src/main/resources/web/registry_common/js/registry_validation.js#L129

 Thanks,
 Harsha

 On Mon, Feb 9, 2015 at 1:28 PM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi Shashika,

 Thanks for the response.
 But still I am getting error saying The username contains illegal
 characters  when adding tenants with some usernames only(ex: aysh,
 a). And no backend errors.

 Created this Jira reporting the issue.
 https://wso2.org/jira/browse/STORE-595

 Thanks!
 - Ayesha

 On Mon, Feb 9, 2015 at 11:51 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI ayesh,

 This is due to missing the package *org.wso2.carbon.tenant.mgt.message*
  export in [1]. Now this was fixed in the carbon-multitenancy 4.3.4.

 [1]
 https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/pom.xml

 On Mon, Feb 9, 2015 at 11:36 AM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi,

 I am facing $Subject and getting below error when trying to add a new
 tenant.

 [2015-02-09 11:09:57,765] ERROR
 {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} -  Failed to add 
 tenant
 config. tenant-domain: a.com, tenant-admin: ayesha.
 org.apache.axis2.AxisFault:
 org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:2718)
 at
 org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
 at
 org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:67)
 at
 org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:136)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at
 org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke

Re: [Dev] [ES] Can't add tenants in latest ES pack

2015-02-09 Thread Shashika Karunatilaka
Seems this was a issue after adding this [1] to fix the following jira[2]

[1]
https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt.ui/src/main/resources/web/tenant-mgt/add_tenant.jsp#L154
[2] https://wso2.org/jira/browse/REGISTRY-2326

On Tue, Feb 10, 2015 at 9:48 AM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi Supun,

 I will look in to this

 Thank you.

 On Tue, Feb 10, 2015 at 9:39 AM, Supun Malinga sup...@wso2.com wrote:

 Shashika, since you are familiar with MT component, can you please own
 this and fix?.
 thanks,

 On Tue, Feb 10, 2015 at 3:14 AM, Harsha Kumara hars...@wso2.com wrote:

 Hi Shashika/Ayesha,

 Got same issue while creating a tenant in latest SS pack with the
 upgraded multitenancy version.  The issue seems to be causes with[1] . The
 get element by id returns html element. When building the RegEX the value
 of the html element need to be taken out.

 [1] -
 https://github.com/wso2/carbon-registry/blob/master/components/registry/org.wso2.carbon.registry.common.ui/src/main/resources/web/registry_common/js/registry_validation.js#L129

 Thanks,
 Harsha

 On Mon, Feb 9, 2015 at 1:28 PM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi Shashika,

 Thanks for the response.
 But still I am getting error saying The username contains illegal
 characters  when adding tenants with some usernames only(ex: aysh,
 a). And no backend errors.

 Created this Jira reporting the issue.
 https://wso2.org/jira/browse/STORE-595

 Thanks!
 - Ayesha

 On Mon, Feb 9, 2015 at 11:51 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI ayesh,

 This is due to missing the package
 *org.wso2.carbon.tenant.mgt.message* export in [1]. Now this was
 fixed in the carbon-multitenancy 4.3.4.

 [1]
 https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/pom.xml

 On Mon, Feb 9, 2015 at 11:36 AM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi,

 I am facing $Subject and getting below error when trying to add a new
 tenant.

 [2015-02-09 11:09:57,765] ERROR
 {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} -  Failed to add 
 tenant
 config. tenant-domain: a.com, tenant-admin: ayesha.
 org.apache.axis2.AxisFault:
 org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:2718)
 at
 org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
 at
 org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:67)
 at
 org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:136)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at
 org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter

Re: [Dev] [ES] Can't add tenants in latest ES pack

2015-02-08 Thread Shashika Karunatilaka
HI ayesh,

This is due to missing the package *org.wso2.carbon.tenant.mgt.message* export
in [1]. Now this was fixed in the carbon-multitenancy 4.3.4.

[1]
https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/pom.xml

On Mon, Feb 9, 2015 at 11:36 AM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Hi,

 I am facing $Subject and getting below error when trying to add a new
 tenant.

 [2015-02-09 11:09:57,765] ERROR
 {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} -  Failed to add tenant
 config. tenant-domain: a.com, tenant-admin: ayesha.
 org.apache.axis2.AxisFault:
 org/wso2/carbon/tenant/mgt/message/TenantDeleteClusterMessage
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:2718)
 at
 org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
 at
 org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:67)
 at
 org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:136)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
 at
 

[Dev] Please review and merge the PR on DSS

2015-02-05 Thread Shashika Karunatilaka
Hi,

Please review and merge the following PR [1] for [2]

[1] https://github.com/wso2/product-dss/pull/13
[2] https://wso2.org/jira/browse/CARBON-15046

Thank You
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue when running two AS instances on Windows command prompt.

2015-01-28 Thread Shashika Karunatilaka
Hi Irham,

I Tried your scenario on windows 7 mac VM, two instance on same command
prompt(START /B CMD /C CALL wso2server.bat and wso2server.bat -DportOffset=8
).
I used AS 6.0.0 SNAPSHOT pack and it works.

On Thu, Jan 29, 2015 at 10:43 AM, Aruna Karunarathna ar...@wso2.com wrote:



 On Thu, Jan 29, 2015 at 10:40 AM, Shani Ranasinghe sh...@wso2.com wrote:

 Hi,

 This could be because the embedded H2 cannot create two instance at the
 same time. Please make sure that there are no two instances running which
 bind to the same WSO2CARBON_DB.


 This is because the same carbon_home is set in the other instance also.
 Try initiating the other server instance in a new Command prompt.




 On Thu, Jan 29, 2015 at 10:11 AM, Irham Iqbal iq...@wso2.com wrote:

 Hi,

 When i am trying to run two AS instance using one command prompt i am
 getting some exceptions.

 I have started the first instance(pack wso2as-1) using START /B CMD /C
 CALL wso2server.bat command to run this as background process then
 after when the server has started up ,i went to a different AS pack
 wso2as-2 from the same command prompt and run wso2server.bat
 -DportOffset=8 then only i am getting the exceptions. In the exception
 it's seems like it still using the older pack's path as carbon home.
 I have attached the error log.

 Thanks,
 Iqbal

 --
 Irham Iqbal
 Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware
 phone: +94 777888452

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




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




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the PR for Product-as

2015-01-27 Thread Shashika Karunatilaka
Hi,

Please merge the pull request [1] for product-as

[1] https://github.com/wso2/product-as/pull/40

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge the following Test case for Product-as

2015-01-27 Thread Shashika Karunatilaka
HI

Please review and merge the following PR[1] on following JIRA [2]

[1] https://github.com/wso2/product-as/pull/41
[2] https://wso2.org/jira/browse/WSAS-1798



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Comparing two json objects

2015-01-26 Thread Shashika Karunatilaka
H Shiva/Dimuthu

Thanks for the prompt reply.
@Shiva
i used that JsonAssert according to the blog i mentioned, and added the
below dependency

dependency

groupIdorg.skyscreamer/groupId
artifactIdjsonassert/artifactId
version1.2.3/version

/dependency


On Mon, Jan 26, 2015 at 5:36 PM, Dimuthu De Lanerolle dimut...@wso2.com
wrote:

 Hi Shashika,

 Hope this helpsl.

 [1]
 http://stackoverflow.com/questions/2253750/compare-two-json-objects-in-java
 [2] simple.parser.JSONParser -
 https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-tests/src/main/java/org/wso2/carbon/integration/common/tests/JaggeryServerTest.java

 Regards

 On Mon, Jan 26, 2015 at 5:34 PM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Shashika,

 You can try JsonUnit https://github.com/lukas-krecan/JsonUnit. It can
 compare two JSON objects and report differences. It's built on top of
 Jackson.

 E.g-
 assertJsonEquals({\test\:1}, {\n\test\: 2\n});

 Results -
 java.lang.AssertionError: JSON documents are different:
 Different value found in node test. Expected 1, got 2.

 or You can try JsonAssert [1].

 [1] - http://jsonassert.skyscreamer.org/quickstart.html



 Thank you,
 Shiva Balachandran


 On Mon, Jan 26, 2015 at 5:13 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,

 Currently i need to do the $subject for a test case, found this blog
 [1]. what is the best way of doing $subject

 [1]
 http://madhukaudantha.blogspot.com/2014/03/comparing-json-java-testing.html


 Thank you.

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

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

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




 --
 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Comparing two json objects

2015-01-26 Thread Shashika Karunatilaka
Hi,

Currently i need to do the $subject for a test case, found this blog [1].
what is the best way of doing $subject

[1]
http://madhukaudantha.blogspot.com/2014/03/comparing-json-java-testing.html

Thank you.

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-22 Thread Shashika Karunatilaka
adding Suho

On Fri, Jan 16, 2015 at 11:13 PM, KasunG Gajasinghe kas...@wso2.com wrote:

 Hi,

 This feature will be merged into Kernel 4.4.0-SNAPSHOT. The downstream
 projects should depend on kernel 4.3.0. So, there won't be any build breaks.

 Further, repo is currently depending carbon-multitenancy kernel 4.3.0. So,
 we might have to wait until a release happens from that repo. Otherwise, we
 will have to create a parallel branch.


 On Fri, Jan 16, 2015 at 12:28 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi All,

 when I delete tenant in wso2as-6.0.0-SNAPSHOT, got the following exception

 Error executing query DELETE FROM UM_CLAIM_BEHAVIOR WHERE UM_TENANT_ID =
 ? for tenant: 1

 org.h2.jdbc.JdbcSQLException: Table UM_CLAIM_BEHAVIOR not found; SQL
 statement:

 DELETE FROM UM_CLAIM_BEHAVIOR WHERE UM_TENANT_ID = ? [42102-140]

 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)

 at org.h2.message.DbException.get(DbException.java:167)


 seems like UM_CLAIM_BEHAVIOR  table is not in database. How should I
 proceed in this case?

 On Thu, Jan 15, 2015 at 8:45 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Was this code reviewed ? The new method in the listener does not follow
 the same convention as others. It says onPreDelete, but other methods
 don't follow pre/post convention and you don't have hooks for all pre
 process actions.

 Can you please add pre process hooks for all the methods in that case ?
 Because if we miss to add it this time we won't be able to add it until
 next major release of this repo. So please use the opportunity to fix it.

 Also the comment on the interface is not correct. It says something
 specific to your implementation.

 On Wed, Jan 14, 2015 at 3:10 PM, Aruna Karunarathna ar...@wso2.com
 wrote:

 I believe we need to merge all these PR's related to tenant deletion at
 onetime coordinated manner. Otherwise there will be build breaks.


 Regards,
 Aruna

 On Wed, Jan 14, 2015 at 3:06 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi all,

 I have created PRs for the respective repositories(I have added a
 comment in each PR). Please merge the Tenant deletion PRs and merge the
 following PRs.

 *carbon-multitenancy*

 JIRA : http://goog_2064092294/https://wso2.org/jira/browse/WSAS-1882
 PR : https://github.com/wso2-dev/carbon-multitenancy/pull/16

 *carbon-storage-management*

 JIRA :  https://wso2.org/jira/browse/SS-454
 https://github.com/wso2-dev/carbon-event-processing/pull/45
 PR : https://github.com/wso2-dev/carbon-storage-management/pull/97

 *carbon-event-processing*

 JIRA : https://wso2.org/jira/browse/CEP-1000
 https://github.com/wso2-dev/carbon-event-processing/pull/45
 PR : https://github.com/wso2-dev/carbon-event-processing/pull/45

 *carbon-identity*

 JIRA : https://wso2.org/jira/browse/IDENTITY-2984
 https://github.com/wso2-dev/carbon-event-processing/pull/45
 PR : https://github.com/wso2-dev/carbon-identity/pull/63


 Thank You

 On Mon, Jan 12, 2015 at 10:48 AM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI all,

 Below are my findings for the wso2 repos that uses the above
 listener class, please correct me if i missed any.


 Repo

 Componenent

 class

 carbon-multitenancy

 (org.wso2.carbon.theme.mgt.util)

 ThemeLoadingListener.java

 (org.wso2.carbon.keystore.mgt)

 KeystoreTenantMgtListener.java

 carbon-storage-management

 (org.wso2.carbon.cassandra.server)

 TenantCreationListener.java

 (org.wso2.carbon.hdfs.mgt)

 HDFSTenantCreationListener.java

 carbon-event-processing

 (org.wso2.carbon.event.stream.manager.core.internal.util.helper)

 TenantMgtListenerImpl.java

 carbon-identity

 (org.wso2.carbon.idp.mgt.internal )

 TenantManagementListener.java

 (org.wso2.carbon.identity.application.authentication.framework.listener)


 AuthenticationEndpointTenantActivityListener.java

 product-af

 (org.wso2.carbon.appfactory.listners.tenant)

 AppFactoryTenantMgtListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 CloudEnvironmentPermissionListener.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 CloudEnvironmentPermissionListener.java

 (org.wso2.carbon.appfactory.listners.tenant)

 DefaultRolesCreatorForTenant.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 AppFactoryTenantKeyStoreMgtListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 AppFactoryTenantKeyStoreMgtListener.java

 (org.wso2.carbon.appfactory.listners.tenant)

 AppFactoryTenantActivationListener.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 S2IntegrationTenantActivationListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 S2IntegrationTenantActivationListener.java

 private-paas

 (org.apache.stratos.theme.mgt.util)

 ThemeLoadingListener.java

 On Fri, Jan 9, 2015 at 8:47 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi all,

 I will include newly added method to all respective repositories of
 *TenantMgtListener* interface, and also will create necessary JIRAs

 Thank you

Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-14 Thread Shashika Karunatilaka
Hi all,

I have created PRs for the respective repositories(I have added a comment
in each PR). Please merge the Tenant deletion PRs and merge the following
PRs.

*carbon-multitenancy*

JIRA : http://goog_2064092294/https://wso2.org/jira/browse/WSAS-1882
PR : https://github.com/wso2-dev/carbon-multitenancy/pull/16

*carbon-storage-management*

JIRA :  https://wso2.org/jira/browse/SS-454
https://github.com/wso2-dev/carbon-event-processing/pull/45
PR : https://github.com/wso2-dev/carbon-storage-management/pull/97

*carbon-event-processing*

JIRA : https://wso2.org/jira/browse/CEP-1000
https://github.com/wso2-dev/carbon-event-processing/pull/45
PR : https://github.com/wso2-dev/carbon-event-processing/pull/45

*carbon-identity*

JIRA : https://wso2.org/jira/browse/IDENTITY-2984
https://github.com/wso2-dev/carbon-event-processing/pull/45
PR : https://github.com/wso2-dev/carbon-identity/pull/63


Thank You

On Mon, Jan 12, 2015 at 10:48 AM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 HI all,

 Below are my findings for the wso2 repos that uses the above listener
 class, please correct me if i missed any.


 Repo

 Componenent

 class

 carbon-multitenancy

 (org.wso2.carbon.theme.mgt.util)

 ThemeLoadingListener.java

 (org.wso2.carbon.keystore.mgt)

 KeystoreTenantMgtListener.java

 carbon-storage-management

 (org.wso2.carbon.cassandra.server)

 TenantCreationListener.java

 (org.wso2.carbon.hdfs.mgt)

 HDFSTenantCreationListener.java

 carbon-event-processing

 (org.wso2.carbon.event.stream.manager.core.internal.util.helper)

 TenantMgtListenerImpl.java

 carbon-identity

 (org.wso2.carbon.idp.mgt.internal )

 TenantManagementListener.java

 (org.wso2.carbon.identity.application.authentication.framework.listener)

 AuthenticationEndpointTenantActivityListener.java

 product-af

 (org.wso2.carbon.appfactory.listners.tenant)

 AppFactoryTenantMgtListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 CloudEnvironmentPermissionListener.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 CloudEnvironmentPermissionListener.java

 (org.wso2.carbon.appfactory.listners.tenant)

 DefaultRolesCreatorForTenant.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 AppFactoryTenantKeyStoreMgtListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 AppFactoryTenantKeyStoreMgtListener.java

 (org.wso2.carbon.appfactory.listners.tenant)

 AppFactoryTenantActivationListener.java

 (org.wso2.carbon.appfactory.stratos.listeners)

 S2IntegrationTenantActivationListener.java

 (org.wso2.carbon.appfactory.s2.listeners)

 S2IntegrationTenantActivationListener.java

 private-paas

 (org.apache.stratos.theme.mgt.util)

 ThemeLoadingListener.java

 On Fri, Jan 9, 2015 at 8:47 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Hi all,

 I will include newly added method to all respective repositories of
 *TenantMgtListener* interface, and also will create necessary JIRAs

 Thank you

 On Fri, Jan 9, 2015 at 1:02 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 [fowarding to dev]

 Since new method introduced in *TenantMgtListener *interface, There may
 be build failures after committing this. how should we proceed with
 that?


 Hi Carbon team,

 Please review and merge the pull requests [1] and [2] that is include
 the changes in tenant deletion support.

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/134
 [2] https://github.com/wso2-dev/carbon-multitenancy/pull/15

 Thanks
 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*




 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*


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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the recommended JSON message builder/formatter?

2015-01-12 Thread Shashika Karunatilaka
HI Vijayaratha,

You can get some idea, Follow this [1]

[1]
http://charithaka.blogspot.co.uk/2013/10/the-difference-between-json-streaming.html

On Mon, Jan 12, 2015 at 12:44 PM, Vijayaratha Vijayasingam rat...@wso2.com
wrote:

 Hi;
 I see 3 implementations for JSON message handling.

- org.apache.synapse.commons.json.*
- org.apache.axis2.json.JSON*
- org.apache.axis2.json.JSONBadgerfish*


 Are we using axis2 implementation/moved to synapse implementation? What
 are the pros in synapse implementation?

 Thanks.

 --
 -Ratha

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Different usage of wso2/carbon-multitenancy-TenantMgtListener and wso2/platform-TenantMgtListener

2015-01-11 Thread Shashika Karunatilaka
Hi,

What is the different usage
of wso2/carbon-multitenancy-TenantMgtListener[1] and
wso2/platform-TenantMgtListener[2] found that both these components are of
org.wso2.carbon.stratos.common.listeners

[1]
https://github.com/wso2/carbon-multitenancy/blob/819ab55e65b0ea2894c7c5d1a37ef527b43be2f6/components/tenant-mgt/org.wso2.carbon.tenant.common/src/main/java/org/wso2/carbon/stratos/common/listeners/TenantMgtListener.java
[2]
https://github.com/wso2/platform/blob/e5ac79db4820b88b739694ded697384854a3afba/components/stratos/org.wso2.carbon.stratos.common/src/main/java/org/wso2/carbon/stratos/common/listeners/TenantMgtListener.java


Thank you.
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure due to missing package in axiom 1.2.11.wso2v5

2015-01-11 Thread Shashika Karunatilaka
HI Pamod,

As per our offline chat, can you try to build the product using java 1.6

Thank you.

On Thu, Jan 8, 2015 at 8:43 PM, Pamod Sylvester pa...@wso2.com wrote:

 Hi All,

 When building our product we're seeing the following issue,

 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
 (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)
 * Missing requirement: axiom 1.2.11.wso2v5 (axiom 1.2.11.wso2v5) requires
 'package org.w3c.dom 0.0.0' but it could not be found*
 * Cannot satisfy dependency:*
 *  From: axis2 1.6.1.wso2v11 (axis2 1.6.1.wso2v11)*
 *  To: package javax.mail.internet 1.4.0*
 * Cannot satisfy dependency:*
 *  From: org.wso2.carbon.andes 4.3.0.SNAPSHOT (org.wso2.carbon.andes
 4.3.0.SNAPSHOT)*
 *  To: package org.apache.axis2.clustering [1.6.1.wso2v11,1.7.0)*
 * Cannot satisfy dependency:*
 *  From: WSO2 Carbon - Feature - Andes 4.3.0.SNAPSHOT
 (org.wso2.carbon.andes.feature.group 4.3.0.SNAPSHOT)*
 *  To: org.wso2.carbon.andes.server.feature.group [4.3.0.SNAPSHOT]*
 * Cannot satisfy dependency:*
 *  From: WSO2 Carbon - Feature - Andes - Server 4.3.0.SNAPSHOT
 (org.wso2.carbon.andes.server.feature.group 4.3.0.SNAPSHOT)*
 *  To: org.wso2.carbon.andes [4.3.0.SNAPSHOT]*

 Also found some what slimier issues being pointed out in [1], but a proper
 solution was not discussed. Please do advice. Also I've attached the full
 log trace.

 [1] http://www.eclipse.org/forums/index.php/t/373379/

 Thanks,
 Pamod

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

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-11 Thread Shashika Karunatilaka
HI all,

Below are my findings for the wso2 repos that uses the above listener
class, please correct me if i missed any.


Repo

Componenent

class

carbon-multitenancy

(org.wso2.carbon.theme.mgt.util)

ThemeLoadingListener.java

(org.wso2.carbon.keystore.mgt)

KeystoreTenantMgtListener.java

carbon-storage-management

(org.wso2.carbon.cassandra.server)

TenantCreationListener.java

(org.wso2.carbon.hdfs.mgt)

HDFSTenantCreationListener.java

carbon-event-processing

(org.wso2.carbon.event.stream.manager.core.internal.util.helper)

TenantMgtListenerImpl.java

carbon-identity

(org.wso2.carbon.idp.mgt.internal )

TenantManagementListener.java

(org.wso2.carbon.identity.application.authentication.framework.listener)

AuthenticationEndpointTenantActivityListener.java

product-af

(org.wso2.carbon.appfactory.listners.tenant)

AppFactoryTenantMgtListener.java

(org.wso2.carbon.appfactory.s2.listeners)

CloudEnvironmentPermissionListener.java

(org.wso2.carbon.appfactory.stratos.listeners)

CloudEnvironmentPermissionListener.java

(org.wso2.carbon.appfactory.listners.tenant)

DefaultRolesCreatorForTenant.java

(org.wso2.carbon.appfactory.stratos.listeners)

AppFactoryTenantKeyStoreMgtListener.java

(org.wso2.carbon.appfactory.s2.listeners)

AppFactoryTenantKeyStoreMgtListener.java

(org.wso2.carbon.appfactory.listners.tenant)

AppFactoryTenantActivationListener.java

(org.wso2.carbon.appfactory.stratos.listeners)

S2IntegrationTenantActivationListener.java

(org.wso2.carbon.appfactory.s2.listeners)

S2IntegrationTenantActivationListener.java

private-paas

(org.apache.stratos.theme.mgt.util)

ThemeLoadingListener.java

On Fri, Jan 9, 2015 at 8:47 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi all,

 I will include newly added method to all respective repositories of
 *TenantMgtListener* interface, and also will create necessary JIRAs

 Thank you

 On Fri, Jan 9, 2015 at 1:02 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 [fowarding to dev]

 Since new method introduced in *TenantMgtListener *interface, There may
 be build failures after committing this. how should we proceed with that?


 Hi Carbon team,

 Please review and merge the pull requests [1] and [2] that is include the
 changes in tenant deletion support.

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/134
 [2] https://github.com/wso2-dev/carbon-multitenancy/pull/15

 Thanks
 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*




 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*


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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-10 Thread Shashika Karunatilaka
Hi Kishanthan

Sure, I will find the relevant wso2 repos that uses the above listener class
and send PRs with the fixes.

Thank you

On Sat, Jan 10, 2015 at 12:29 PM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 First can you find the wso2 repos that use the above listener class and
 send them PRs with the fixes? This update task has to be a one time
 coordinated task. We need to fix all the places at once and for this we
 need to be ready with the PRs.

 On Fri, Jan 9, 2015 at 1:02 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 [fowarding to dev]

 Since new method introduced in *TenantMgtListener *interface, There may
 be build failures after committing this. how should we proceed with that?


 Hi Carbon team,

 Please review and merge the pull requests [1] and [2] that is include the
 changes in tenant deletion support.

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/134
 [2] https://github.com/wso2-dev/carbon-multitenancy/pull/15

 Thanks
 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*




 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*


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




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: Pull request to include tenant deletion support

2015-01-09 Thread Shashika Karunatilaka
Hi all,

I will include newly added method to all respective repositories of
*TenantMgtListener* interface, and also will create necessary JIRAs

Thank you

On Fri, Jan 9, 2015 at 1:02 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 [fowarding to dev]

 Since new method introduced in *TenantMgtListener *interface, There may
 be build failures after committing this. how should we proceed with that?


 Hi Carbon team,

 Please review and merge the pull requests [1] and [2] that is include the
 changes in tenant deletion support.

 [1] https://github.com/wso2-dev/carbon4-kernel/pull/134
 [2] https://github.com/wso2-dev/carbon-multitenancy/pull/15

 Thanks
 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*




 --
 Lakshman Udayakantha
 WSO2 Inc. www.wso2.com
 lean.enterprise.middleware
 Mobile: *0711241005*


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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when Building Product-IS from Git repository

2015-01-06 Thread Shashika Karunatilaka
Hi Lasitha,

Can you provide the full error trace

Thank you

On Tue, Jan 6, 2015 at 4:34 PM, Lasitha Wattaladeniya lasit...@wso2.com
wrote:

 Hi team,

 I'm trying to build the IS product from Git repository (version
 5.1.0-SNAPSHOT). I have checked out carbon kernel tag 4.3.0
 [1], Carbon-Identity branch release-4.3.0 [2] and Product-IS [3]. I was
 able to build carbon-kernel and carbon-identity but couldn't build
 product-is. There's a confusion in versions. I could manually resolve some
 errors but it seems time consuming. Anyone knows how to overcome this ?

 [1]. https://github.com/wso2/carbon4-kernel/tree/4.3.0
 [2]. https://github.com/wso2/carbon-identity/tree/release-4.3.0
 [3]. https://github.com/wso2/product-is

 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error when Building Product-IS from Git repository

2015-01-06 Thread Shashika Karunatilaka
Hi Lasith,

Just checked your error trace, since carbon kernel released please remove
the SNAPSHOT version for the kernel bundles

Thank you

On Tue, Jan 6, 2015 at 4:52 PM, Lasitha Wattaladeniya lasit...@wso2.com
wrote:

 Hi shashika,

 this is the first error I get ,

 Reactor Summary:
 [INFO]
 [INFO] WSO2 Identity Server .. SUCCESS [0.183s]
 [INFO] WSO2 Identity Server Styles Parent  SUCCESS [0.031s]
 [INFO] Identity Server: UI styles  FAILURE [7.677s]
 [INFO] WSO2 IS - Features Aggregator Module .. SKIPPED
 [INFO] WSO2 IS - Style Features .. SKIPPED
 [INFO] WSO2 IS - Utils Features .. SKIPPED
 [INFO] WSO2 Carbon - Identity UI Feature . SKIPPED
 [INFO] WSO2 IS - IS Profile Generation ... SKIPPED
 [INFO] Identity Server ... SKIPPED
 [INFO] WSO2 Cloud Identity - Tenant Configuration User Interface  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 8.598s
 [INFO] Finished at: Tue Jan 06 16:48:15 IST 2015
 [INFO] Final Memory: 18M/981M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.wso2.identity.styles: Could
 not resolve dependencies for project
 org.wso2.identity:org.wso2.identity.styles:bundle:5.1.0-SNAPSHOT: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.core:jar:4.3.0-SNAPSHOT in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]


 If I go and change the version to 4.3.0, only it gets fixed but later I
 get another error and that goes on.

 On Tue, Jan 6, 2015 at 4:37 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Hi Lasitha,

 Can you provide the full error trace

 Thank you

 On Tue, Jan 6, 2015 at 4:34 PM, Lasitha Wattaladeniya lasit...@wso2.com
 wrote:

 Hi team,

 I'm trying to build the IS product from Git repository (version
 5.1.0-SNAPSHOT). I have checked out carbon kernel tag 4.3.0
 [1], Carbon-Identity branch release-4.3.0 [2] and Product-IS [3]. I was
 able to build carbon-kernel and carbon-identity but couldn't build
 product-is. There's a confusion in versions. I could manually resolve some
 errors but it seems time consuming. Anyone knows how to overcome this ?

 [1]. https://github.com/wso2/carbon4-kernel/tree/4.3.0
 [2]. https://github.com/wso2/carbon-identity/tree/release-4.3.0
 [3]. https://github.com/wso2/product-is

 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi

2015-01-05 Thread Shashika Karunatilaka
Congrats Akalanka...

On Mon, Jan 5, 2015 at 11:56 PM, Hemika Kodikara hem...@wso2.com wrote:

 Congratulations Akalanka!

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

 Mobile : +9477762

 On Mon, Jan 5, 2015 at 8:17 PM, Naasheer Ali naashe...@wso2.com wrote:

 Congratulations Akalanka...

 Regards,
 --

 *Naasheer Ali* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: naashe...@wso2.com

 On Mon, Jan 5, 2015 at 7:32 PM, Damith Wickramasinghe dami...@wso2.com
 wrote:

 Congratzz Akalanka... !!!

 On Mon, Jan 5, 2015 at 6:57 PM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Akalanka !!!

 On Mon, Jan 5, 2015 at 4:34 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations Akalanka !!

 On Mon, Jan 5, 2015 at 4:32 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Congratulations Akalanka !!

 On Mon, Jan 5, 2015 at 3:09 PM, Inshaf Mahath ins...@wso2.com
 wrote:

 Congrats Akalanka.. 

 On Mon, Jan 5, 2015 at 3:02 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Congrats Akalanka..!!!

 On Mon, Jan 5, 2015 at 2:58 PM, Hasitha Amal De Silva 
 hasit...@wso2.com wrote:

 Congrats Akalanka ! :)

 On Mon, Jan 5, 2015 at 2:51 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Akalanka!

 On Mon, Jan 5, 2015 at 2:47 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:39 PM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Akalanka !

 On Mon, Jan 5, 2015 at 2:38 PM, Pranavan Theivendram 
 pranav...@wso2.com wrote:

 Congratz Akalanka :)

 On Mon, Jan 5, 2015 at 2:34 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Akalanka :)

 On Mon, Jan 5, 2015 at 2:32 PM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Akalanka,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 regards
 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com



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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




 --

 *Regards,*

 *T.Pranavan*

 *Software Engineering intern, WSO2*
 *Mobile - +94775136836 %2B94775136836*

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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 Cheers,

 Hasitha Amal De Silva
  Software Engineer
 Mobile : 0772037426
 Blog: http://devnutshell.tumblr.com/
 WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )

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




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

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




 --
 Inshaf Mahath
 Associate Software Engineer
 Mobile: +94775907181
 WSO2 Inc.
 Lean . Enterprise . Middleware


 ___
 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




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


 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Commiters += Ishara Cooray

2015-01-05 Thread Shashika Karunatilaka
Congrats Ishara..

On Tue, Jan 6, 2015 at 7:21 AM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations ..!!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Jan 5, 2015 at 3:04 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Ishara!!!

 On Mon, Jan 5, 2015 at 1:55 PM, Amani Soysa am...@wso2.com wrote:

 Congratz Ishara!!!

 On Mon, Jan 5, 2015 at 1:30 PM, Senduran Balasubramaniyam 
 sendu...@wso2.com wrote:

 Congratulations Ishara !!

 On Mon, Jan 5, 2015 at 12:23 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Ishara!

 On Mon, Jan 5, 2015 at 12:18 PM, Hasitha Amal De Silva 
 hasit...@wso2.com wrote:

 Congrats Ishara :)

 On Mon, Jan 5, 2015 at 12:15 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Ishara !

 On Mon, Jan 5, 2015 at 12:13 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Ishara :)

 On Mon, Jan 5, 2015 at 12:10 PM, Ashan Dhananjaya ash...@wso2.com
 wrote:

 congratZz Ishara!!

 On Mon, Jan 5, 2015 at 12:06 PM, Roshan Deniyage rosh...@wso2.com
  wrote:

 Congratz Ishara!!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Mon, Jan 5, 2015 at 11:57 AM, Sumedha Kodithuwakku 
 sumed...@wso2.com wrote:

 Congratzz Ishara..!!!

 On Mon, Jan 5, 2015 at 11:50 AM, Kasun De Silva kas...@wso2.com
  wrote:

 Congratz Ishara..!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Jan 5, 2015 at 11:49 AM, Amila Maha Arachchi 
 ami...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Ishara Cooray as a WSO2 Committer. 
 Ishara is
 a member of WSO2 Cloud team and she has done a great contribution 
 to WSO2
 Cloud and has shown great enthusiasm in her work. In recognition 
 of her
 contribution, she has been voted as a WSO2 Committer.

 Ishara, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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




 --
 *Sumedha Kodithuwakku*
 Software Engineer
 WSO2 Inc. : wso2.com
 lean . enterprise . middleware

 Email: sumed...@wso2.com;  Mobile: +94 71 808 1124 |  +1 (602)
 451-7224
 Blog: http://sumedhask.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




 --
 Ashan Dhananjaya Kumara
 Trainee Software Engineer, WSO2 Inc.
 Inc: *WSO2 Inc. *
 Phone : +94715547461
 Blog : http://ashandhananjaya.blogspot.com/
 Twitter  : https://twitter.com/Dhananjaya92
 Say ello :https://ello.co/ashandk





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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




 --
 Cheers,

 Hasitha Amal De Silva
  Software Engineer
 Mobile : 0772037426
 Blog: http://devnutshell.tumblr.com/
 WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.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




 --
 Amani Soysa
 Associate Technical Lead
 Mobile: +94772325528
 WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Committers += Inosh Perera

2015-01-05 Thread Shashika Karunatilaka
Congrats Inosh

On Mon, Jan 5, 2015 at 8:14 PM, Gayan Gunawardana ga...@wso2.com wrote:

 Congratzzz Inosh...!

 On Mon, Jan 5, 2015 at 3:05 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Inosh!!!

 On Mon, Jan 5, 2015 at 2:07 PM, Dumidu Handakumbura dum...@wso2.com
 wrote:

 Congrats Inosh!

 On Mon, Jan 5, 2015 at 1:56 PM, Sam Sivayogam s...@wso2.com wrote:

 Congratz, Inosh!!!

 On Mon, Jan 5, 2015 at 1:16 PM, Manoj Gunawardena man...@wso2.com
 wrote:

 Congratulations Inosh !

 On Mon, Jan 5, 2015 at 1:12 PM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Inosh !

 On Mon, Jan 5, 2015 at 1:11 PM, Kasun De Silva kas...@wso2.com
 wrote:

 Congrats Inosh!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Jan 5, 2015 at 1:09 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 12:37 PM, Jerad Rutnam je...@wso2.com
 wrote:

 Congratulations Inosh! :)

 On Mon, Jan 5, 2015 at 12:35 PM, Harshan Liyanage 
 hars...@wso2.com wrote:

 Congradz Inosh !!!

 Lakshitha Harshan
 Software Engineer
 Mobile: *+94724423048*
 Email: hars...@wso2.com
 Blog : http://harshanliyanage.blogspot.com/
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

 On Mon, Jan 5, 2015 at 12:34 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Inosh!

 On Mon, Jan 5, 2015 at 12:33 PM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratz, Inosh!!!


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

 On Mon, Jan 5, 2015 at 12:24 PM, Sameera Perera 
 samee...@wso2.com wrote:

 Hi devs,

 Its my pleasure to welcome Inosh Perera as a WSO2 Committer.

 Inosh, welcome aboard and keep up the good work.

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* http://wso2.com/
 lean.enterprise.middleware



 ___
 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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.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




 --
 *Jerad Rutnam*
 *Software Engineer - UI*

 WSO2 Inc.
 lean | enterprise | middleware
 M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com

 ___
 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



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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




 --
 Manoj Gunawardena
 Tech Lead
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 2291643

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




 --
 *Sam Sivayogam*

 Software Engineer
 Mobile  : +94 772 906 439
 Office   : +94 112 145 345
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 *Dumidu Handakumbura*
 Software Engineer - QA
 WSO2 Inc; http://www.wso2.com/.
 Mobile;
 *+9406740 %2B9406740 *

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




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

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




 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] WSO2 Committers += Awanthika Senarath

2015-01-05 Thread Shashika Karunatilaka
Congrats Awanthika

On Tue, Jan 6, 2015 at 8:04 AM, Susinda Perera susi...@wso2.com wrote:

 Congratulations Awanthika
 On 5 Jan 2015 16:37, Lasitha Wattaladeniya lasit...@wso2.com wrote:

 Congratulations :)

 On Mon, Jan 5, 2015 at 4:33 PM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Congratulations Awanthika!!!

 On Mon, Jan 5, 2015 at 3:03 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Awanthika!!!

 On Mon, Jan 5, 2015 at 1:36 PM, Denuwanthi De Silva 
 denuwan...@wso2.com wrote:

 Congratulations Awanthika !! :)

 On Mon, Jan 5, 2015 at 1:16 PM, Sithumini Senevirathne 
 sithumi...@wso2.com wrote:

 Congratulations Awanthika

 On Mon, Jan 5, 2015 at 1:10 PM, Supun Sethunga sup...@wso2.com
 wrote:

 Congratz Awanthika!!

 On Mon, Jan 5, 2015 at 1:08 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Awanthika!

 On Mon, Jan 5, 2015 at 1:07 PM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Awanthika ... !!!

 On Mon, Jan 5, 2015 at 1:04 PM, Buddhima Wijeweera 
 buddh...@wso2.com wrote:

 Congratulations Awanthika!!!

 On Mon, Jan 5, 2015 at 12:59 PM, Thilini Anoratna 
 thili...@wso2.com wrote:

 Congratz !! :)

 On Mon, Jan 5, 2015 at 12:55 PM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Awanthika...!!!

 On Mon, Jan 5, 2015 at 12:48 PM, Jasintha Dasanayake 
 jasin...@wso2.com wrote:

 Hi All,

 It's my distinct pleasure to welcome Awanthika Senarath as a
 WSO2 Committer.

 Awanthika  has  been a valuable contributor for WSO2 Developer
 Studio since she joined WSO2. In recognition of her contributions 
 to WSO2,
 She has been voted as a WSO2 Committer.

 Awanthika, Congratulations and Keep up the good work!

 Thanks and Regards,
 /Jasintha

 --

 *Jasintha Dasanayake*

 *Senior Software EngineerWSO2 Inc. | http://wso2.com
 http://wso2.com/lean . enterprise . middleware*


 *mobile :- 0711368118 0711368118*

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




 --
 Thilini Anoratna
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile : +94 (0) 778955654
 Email: thili...@wso2.com

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Mobile: +94 71 427 9966
 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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




 --
 --
 Sithumini Senevirathne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: sithumi...@wso2.com,   mobile: +94 756977999

 ___
 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




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

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




 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blog : http://yasassriratnayake.blogspot.com/
 http://yasassriratnayake.blogspot.com/*

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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 

Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-05 Thread Shashika Karunatilaka
Congrats Ayesha...

On Tue, Jan 6, 2015 at 9:10 AM, Tharindu Dharmarathna tharin...@wso2.com
wrote:

 Congrats Ayesha !!

 On Tue, Jan 6, 2015 at 8:57 AM, Samith Dassanayake sam...@wso2.com
 wrote:

 Congratz Ayesha!

 On Tue, Jan 6, 2015 at 8:49 AM, Milinda Perera milin...@wso2.com wrote:

 Congratulations Ayesha ..!

 On Mon, Jan 5, 2015 at 3:12 PM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Ayesha !!!

 On Mon, Jan 5, 2015 at 3:06 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Ayesha!!!

 On Mon, Jan 5, 2015 at 2:46 PM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:33 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Ayesha :)

 On Mon, Jan 5, 2015 at 2:27 PM, Asitha Nanayakkara asi...@wso2.com
 wrote:

 Congratulations Ayesha!!!

 --
 *Asitha Nanayakkara*
 Software Engineer
 WSO2, Inc. http://wso2.com/
 Mob: + 94 77 85 30 682


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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 ___
 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




 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

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




 --
 Thilini Shanika
 Software Engineer
 WSO2, Inc.; http://wso2.com
 20, Palmgrove Avenue, Colombo 3

 E-mail: tgtshan...@gmail.com


 ___
 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




 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.


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




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-05 Thread Shashika Karunatilaka
Congrats Sameera

On Tue, Jan 6, 2015 at 8:58 AM, Samith Dassanayake sam...@wso2.com wrote:

 Congratz Sameera!

 On Tue, Jan 6, 2015 at 8:47 AM, Milinda Perera milin...@wso2.com wrote:

 Congratulations Sameera ...!

 On Tue, Jan 6, 2015 at 7:20 AM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Sameera !!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Jan 5, 2015 at 3:11 PM, Thilini Shanika thili...@wso2.com
 wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 3:08 PM, Danesh Kuruppu dan...@wso2.com wrote:

 Congrats Sameera!!!

 On Mon, Jan 5, 2015 at 2:47 PM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Congrats!

 On Mon, Jan 5, 2015 at 2:33 PM, Lasitha Wattaladeniya 
 lasit...@wso2.com wrote:

 Congratulations Sameera :)

 On Mon, Jan 5, 2015 at 2:28 PM, Himasha Guruge himas...@wso2.com
 wrote:

 Congrats! :)

 On Mon, Jan 5, 2015 at 1:42 PM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Sameera !!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Jan 5, 2015 at 1:36 PM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congratzz :)

 On Mon, Jan 5, 2015 at 1:32 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Sameera!

 On Mon, Jan 5, 2015 at 1:21 PM, Malintha Adikari 
 malin...@wso2.com wrote:

 Congratulations..

 On Mon, Jan 5, 2015 at 7:48 AM, Sajini De Silva 
 saj...@wso2.com wrote:

 Congratulations Sameera !!!

 On Mon, Jan 5, 2015 at 1:17 PM, Manoj Gunawardena 
 man...@wso2.com wrote:

 Congratulations Sameera !

 On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha 
 ruch...@wso2.com wrote:

 Hi All,

 It's my pleasure to welcome Sameera Jayaratna as a WSO2
 Committer. Sameera is a member of WSO2 UES/ES team and has done 
 a great
 contribution to WSO2 ES product showing a great enthusiasm in 
 her work. In
 recognition of her contribution, she has been voted as a WSO2 
 Committer.

 Sameera, welcome aboard and keep up the good work..

 /Ruchira

 --

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

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

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




 --
 Manoj Gunawardena
 Tech Lead
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 Mobile : +94 77 2291643

 ___
 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




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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 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



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




 --
 Himasha Guruge
 *Software Engineer*
 WS*O2* *Inc.*
 Mobile: +94 777459299
 himas...@wso2.com

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




 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com

 ___
 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


 

Re: [Dev] WSO2 Committers += Isuru Ranawaka

2014-12-28 Thread Shashika Karunatilaka
Congrats Isuru

On Mon, Dec 29, 2014 at 10:11 AM, Kasun De Silva kas...@wso2.com wrote:

 Congratz Isuru..!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Mon, Dec 29, 2014 at 10:10 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations..

 On Mon, Dec 29, 2014 at 10:06 AM, Milinda Perera milin...@wso2.com
 wrote:

 Congratulations Isuru ... :)

 On Mon, Dec 29, 2014 at 9:39 AM, Chamin Nalinda cha...@wso2.com wrote:

 Congratulations Isuru :)

 On Sun, Dec 28, 2014 at 7:26 PM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Congrats!

 On Mon, Dec 29, 2014 at 8:15 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Isuru !!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Dec 29, 2014 at 7:53 AM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Hi devs,

 Its my pleasure to welcome Isuru Ranawaka as a WSO2 Committer.

 IsuruR, welcome aboard and keep up the good work.

 Thanks.

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

 cell: +94 77 556 5206
 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




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




 --
 *Chamin Nalinda*

 Intern - Engineering
 WSO2 Inc. http://www.wso2.com
 lean.enterprise.middleware

 Mobile: (+94) 77 241 66 04
 Linkedin: https://www.linkedin.com/in/chaminnalinda
 Web: http://www.ckreativity.com
 Blog: http://techspiro.blogspot.com/


 ___
 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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

 ___
 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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Buddhima Wijeweera

2014-12-28 Thread Shashika Karunatilaka
Congrats Buddhima

On Mon, Dec 29, 2014 at 10:11 AM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Congratulations..

 On Mon, Dec 29, 2014 at 10:07 AM, Milinda Perera milin...@wso2.com
 wrote:

 Congratulations Buddhima ... :)

 On Mon, Dec 29, 2014 at 10:03 AM, Vijitha Ekanayake vijit...@wso2.com
 wrote:

 Congratulations Buddhima ..!!!

 On Mon, Dec 29, 2014 at 8:58 AM, Tharindu Dharmarathna 
 tharin...@wso2.com wrote:

 Congrats!

 On Mon, Dec 29, 2014 at 8:56 AM, Abimaran Kugathasan abima...@wso2.com
  wrote:

 Congrats!

 On Mon, Dec 29, 2014 at 8:15 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Buddhima !!!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Mon, Dec 29, 2014 at 7:55 AM, Kasun Indrasiri ka...@wso2.com
 wrote:

 Hi devs,

 Its my pleasure to welcome Buddhima Wijeweera as a WSO2 Committer.

 Buddhima, welcome aboard and keep up the good work.

 Thanks.

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

 cell: +94 77 556 5206
 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




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




 --

 *Tharindu Dharmarathna*Associate Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94779109091 %2B94779109091*

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




 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

 ___
 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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun De Silva

2014-12-27 Thread Shashika Karunatilaka
Congrats kasun

On Sat, Dec 27, 2014 at 10:24 PM, Pirinthapan Mahendran 
pirintha...@wso2.com wrote:

 Congratulations Kasun..!!



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Sat, Dec 27, 2014 at 10:21 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi all,

 Thanks all for helping Kasun to become a committer.

 dimuthu


 On Sat, Dec 27, 2014 at 10:20 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:


 -- Forwarded message --
 From: Dimuthu Leelarathne dimut...@wso2.com
 Date: Sat, Dec 27, 2014 at 10:18 PM
 Subject: [Dev] WSO2 Committers += Kasun De Silva
 To: WSO2 Developers' List dev@wso2.org
 Cc: Kasun De Silva kas...@wso2.com


 Hi all,

 WSO2 welcomes Kasun De Silva as WSO2 committer!

 Congratulations!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware



 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware



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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-22 Thread Shashika Karunatilaka
Hi all

Thank all for your responses.

On Sun, Dec 21, 2014 at 10:45 PM, Harsha Thirimanna hars...@wso2.com
wrote:

 Hi Rajith,

 AFAIK, we are normally using axis2.xml file and change that file according
 to the requirement. Your are talking about the sample running and that [1]
 has mentioned the easy way to run the samples just pointing to the
 different file. We don't do that in actual deployment.

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


 *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  ,
 +94 *
 *774617784twitter: **http://twitter.com/
 http://twitter.com/afkham_azeez*
 *harshathirimannlinked-in: **http:
 http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*

 *Lean . Enterprise . Middleware*


 On Sun, Dec 21, 2014 at 10:33 PM, Rajith Siriwardena raj...@wso2.com
 wrote:

 Hi,

 ​
 ​E
 ven
 ​ ​
 though
 ​renaming
  axis2_nhttp.xml
  ​to
 axis2.xml

 ​enables
  to use the NHTTP transport
 ​, c
 orrect way to do it
 ​, is by
  changing it in the carbon.xml to point to desired axis2.xml

   !--
 Location of the main Axis2 configuration descriptor file,
 a.k.a. axis2.xml file

 This can be a file on the local file system, or a URL

 e.g.
 1. /home/repository/axis2.xml - An absolute path
 2. conf/axis2.xml - In this case, the path is relative to
 CARBON_HOME
 3. file:///home/carbon/repository/axis2.xml
 4. http://repository/conf/axis2.xml
 --

 ConfigurationFile${carbon.home}/repository/conf/axis2/axis2.xml/ConfigurationFile

 This is mentioned in [1] under Configuring WSO2 ESB to use the NHTTP
 transport


 Thanks,
 Rajith

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


 On Sun, Dec 21, 2014 at 1:50 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 If a user wants to use nhttp transport, he can use this file by renaming
 it to axis2.xml



 Touched, not typed. Erroneous words are a feature, not a typo.
 On Dec 21, 2014 1:19 PM, Harsha Thirimanna hars...@wso2.com wrote:

 This is just a file that configured for nhttp but not use. Carbon only
 loads axis2.xml only.
 On Dec 21, 2014 12:47 PM, Shashika Karunatilaka shashi...@wso2.com
 wrote:

 Hi,

 What's the purpose of using axis2_nhttp.xml rather than using the
 axis2.xml as Axis2 configuration descriptor in ESB.

 Thank You.

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 ___
 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




 --
 *Rajith Siriwardana*
 Software Engineer | WSO2 Cloud
 WSO2 Inc. | http://wso2.com
 *lean. enterprise. middleware*

 ---
 *http://people.apache.org/~siriwardana
 http://people.apache.org/~siriwardana*

 ___
 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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-20 Thread Shashika Karunatilaka
Hi,

What's the purpose of using axis2_nhttp.xml rather than using the
axis2.xml as Axis2 configuration descriptor in ESB.

Thank You.

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Roshan Deniyage

2014-12-18 Thread Shashika Karunatilaka
Congrats Roshan...:)


On Fri, Dec 19, 2014 at 10:03 AM, Aiyadurai Rajeevan rajeev...@wso2.com
wrote:

 Congrats Roshan..:)

 Thanks  Regards,
 S.A.Rajeevan
 Software Engineer WSO2 Inc
 E-Mail: rajeev...@wso2.com | Mobile : +94776411636

 On Fri, Dec 19, 2014 at 9:20 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Congratulations Roshan...

 On Fri, Dec 19, 2014 at 8:57 AM, Danesh Kuruppu dan...@wso2.com wrote:

 Congratulation Roshan!!

 On Fri, Dec 19, 2014 at 8:16 AM, Rajkumar Rajaratnam rajkum...@wso2.com
  wrote:

 Congratulation Roshan!!

 On Fri, Dec 19, 2014 at 8:07 AM, Ravindra Ranwala ravin...@wso2.com
 wrote:

 Congrats Roshan !



 On Fri, Dec 19, 2014 at 8:02 AM, Shiroshica Kulatilake sh...@wso2.com
  wrote:

 Congrats !!!

 On Fri, Dec 19, 2014 at 8:01 AM, Anuruddha Premalal 
 anurud...@wso2.com wrote:

 Congratulation Roshan!!

 On Fri, Dec 19, 2014 at 6:44 AM, Kasun De Silva kas...@wso2.com
 wrote:

 Congratz Roshan!!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Fri, Dec 19, 2014 at 1:29 AM, Thanuja Jayasinghe 
 than...@wso2.com wrote:

 Congratz Roshan!!!

 On Thu, Dec 18, 2014 at 12:59 PM, Prabath Ariyarathna 
 prabat...@wso2.com wrote:

 Congratulations Roshan

 On Thu, Dec 18, 2014 at 11:23 PM, Harsha Kumara hars...@wso2.com
  wrote:

 Congratulations Roshan!

 On Thu, Dec 18, 2014 at 10:24 PM, Vijitha Ekanayake 
 vijit...@wso2.com wrote:

 Congratulations Roshan 

 On Thu, Dec 18, 2014 at 10:10 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:

 Hi all,

 WSO2 welcomes Roshan Deniyage as WSO2 committer!

 Congratulations!

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

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



 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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



 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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



 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com
 http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *






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



 --
 *Thanuja Lakmal*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94715979891 +94758009992

 ___
 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



 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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



 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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



 --
 Ravindra Ranwala
 Software Engineer
 WSO2, Inc: http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 Mobile: +94714198770


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



 --
 Rajkumar Rajaratnam
 Committer  PMC Member, Apache Stratos
 Software Engineer, WSO2

 Mobile : +94777568639
 Blog : rajkumarr.com

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



 --

 Danesh Kuruppu
 Software Engineer
 WSO2 Inc,
 Mobile: +94 (77) 1690552

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



 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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


 

[Dev] DSS give a java.lang.OutOfMemoryError

2014-12-15 Thread Shashika Karunatilaka
HI,
I was trying to send some JSON data to my data base through DSS. i tried
this [1] curl command to send the data, but it doesnt update my database
and gave a java.lang.OutOfMemoryError on DSS server after some time.
Here with i have attached my .dbs file as well.
I tried this on DSS 3.2.2 and the same command works fine in the DSS 3.2.1

[1] curl -X PUT
-d'{_putaddbird:{name:,color:green,weight:14}}' -H
'Content-Type:application/json'
http://10.100.5.188:9763/services/uactivitydb/addbird
http://www.google.com/url?q=http%3A%2F%2F10.100.5.188%3A9763%2Fservices%2Fuactivitydb%2Faddbirdsa=Dsntz=1usg=AFQjCNEiQ8_5pUiZLSdPIT0B7Yh3i1z8RQ

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792


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


Re: [Dev] DSS give a java.lang.OutOfMemoryError

2014-12-15 Thread Shashika Karunatilaka
Hi Udara,
No when sending from the try it tool it works fine

Thank you

On Tue, Dec 16, 2014 at 7:28 AM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Do you get the same behavior when you so the same put method using tryit



 Touched, not typed. Erroneous words are a feature, not a typo.
 On Dec 16, 2014 5:54 AM, Danushka Fernando danush...@wso2.com wrote:

 I think best way to identify the root cause is to have a heap dump and
 analyze it.

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

 On Mon, Dec 15, 2014 at 11:14 PM, Chamila De Alwis chami...@wso2.com
 wrote:

 Hi Shashika,

 Before the OutOfMemoryError, do you get any errors in the carbon log?
 Can you enable DEBUG level and find out?


 Regards,
 Chamila de Alwis
 Software Engineer | WSO2 | +94772207163
 Blog: code.chamiladealwis.com



 On Mon, Dec 15, 2014 at 10:29 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 HI,
 I was trying to send some JSON data to my data base through DSS. i
 tried this [1] curl command to send the data, but it doesnt update my
 database and gave a java.lang.OutOfMemoryError on DSS server after some
 time.
 Here with i have attached my .dbs file as well.
 I tried this on DSS 3.2.2 and the same command works fine in the DSS
 3.2.1

 [1] curl -X PUT
 -d'{_putaddbird:{name:,color:green,weight:14}}' -H
 'Content-Type:application/json'
 http://10.100.5.188:9763/services/uactivitydb/addbird
 http://www.google.com/url?q=http%3A%2F%2F10.100.5.188%3A9763%2Fservices%2Fuactivitydb%2Faddbirdsa=Dsntz=1usg=AFQjCNEiQ8_5pUiZLSdPIT0B7Yh3i1z8RQ

 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 ___
 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



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Meaning of the ESB samples client parameters

2014-12-14 Thread Shashika Karunatilaka
Hi Prabath,
Hope this [1] will be useful for you

[1]
http://stackoverflow.com/questions/20322025/what-are-the-differences-between-different-client-running-modes-of-esb


Thank You.

On Mon, Dec 15, 2014 at 11:47 AM, Prabath Ariyarathna prabat...@wso2.com
wrote:

 Thanks Maheeka for the reference.

 On Mon, Dec 15, 2014 at 11:41 AM, Maheeka Jayasuriya mahe...@wso2.com
 wrote:

 Hi Prabath,

 As mentioned in [1]

 Gateway / dumb client mode

 By specifying only a transport URL, the client operates in the dumb
 client mode, where it sends the message to the ESB and depends on the
 ESB rules for proper mediation and routing of the message to the ultimate
 destination.
 ant stockquote -Dtrpurl=esb
 Proxy client mode

 The client uses the prxurl as an HTTP proxy to send the request.
 Therefore, by setting the prxurl to the ESB, the client can ensure that
 the message would reach the ESB for mediation. The client can optionally
 set a WS-Addressing EPR if required.
 ant stockquote -Dprxurl=esb [-Daddurl=addressingEPR]

 [1] https://docs.wso2.com/display/ESB481/Using+the+Sample+Clients


 Thanks,

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 On Mon, Dec 15, 2014 at 11:36 AM, Prabath Ariyarathna prabat...@wso2.com
  wrote:

 Hi All.

 I'm learning about the EBS these days as my fast track training program.
 When I'm trying to execute given ESB samples I found following parameter
 given in client executing steps. Can someone explain me what are the real
 meaning of followings.

 -Dtrpurl
 -Dprxurl

 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *






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



 --

 *Prabath Ariyarathna*

 *Associate Technical Lead*

 *WSO2, Inc. *

 *lean . enterprise . middleware *


 *Email: prabat...@wso2.com prabat...@wso2.com*

 *Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

 *Flicker : https://www.flickr.com/photos/47759189@N08
 https://www.flickr.com/photos/47759189@N08*

 *Mobile: +94 77 699 4730 *






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



-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deleting web apps when deleting the tenant in App server.

2014-11-26 Thread Shashika Karunatilaka
Hi all,
Currently im in the process of adding tenant deletion to the AS, Some of
the tenant deletion features are implemented in this [1
https://docs.google.com/a/wso2.com/document/d/1FOh6MDqD8Qnuhw7I9JguN8SsDBrmVQNGxG_fghFjVNE/edit],
So to successfully delete a tenant i need to delete the web apps, repos
etc.. associated with that tenant. After some inspection i found that after
deactivation of tenant still the web app can access from the url. So to
delete the web apps associated to deleting tenant, do the same
process(normal web app deletion, undeploy and deleting) as it does to
delete the web apps, is this a correct approach to starts with?


[1]
https://docs.google.com/a/wso2.com/document/d/1FOh6MDqD8Qnuhw7I9JguN8SsDBrmVQNGxG_fghFjVNE/edit

Thank you.

-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asitha Nanayakkara

2014-11-23 Thread Shashika Karunatilaka
Congrats Asitha

On Mon, Nov 24, 2014 at 10:09 AM, Rajeevan Vimalanathan rajeev...@wso2.com
wrote:

 Congratz Asitha...!!!

 On Mon, Nov 24, 2014 at 10:07 AM, Gayashan Amarasinghe gayas...@wso2.com
 wrote:

 Congratulations Nanayakkara!!! =)

 On Mon, Nov 24, 2014 at 10:01 AM, Roshan Wijesena ros...@wso2.com
 wrote:

 Congratulations!!

 On Mon, Nov 24, 2014 at 9:50 AM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Asitha,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!

 thanks and best regards

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

 E: ram...@wso2.com

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

 E: ram...@wso2.com
 P: +94 777542851


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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Shashika Karunatilaka
Congrats Sajini

On Tue, Nov 18, 2014 at 2:17 PM, Supun Malinga sup...@wso2.com wrote:

 Congrats Sajini! :)

 On Tue, Nov 18, 2014 at 2:13 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Congratulations Sajini !!!

 On Tue, Nov 18, 2014 at 2:08 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Sajini !!!

 On Tue, Nov 18, 2014 at 8:13 AM, Ashan Dhananjaya ash...@wso2.com
 wrote:

 congratzz sajini. all da very best!! happy for u.

 On Tue, Nov 18, 2014 at 1:26 PM, Ramith Jayasinghe ram...@wso2.com
 wrote:

 Hi Sajini,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2 committer.
 Keep up the good work!

 thanks and best regards

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

 E: ram...@wso2.com

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




 --
 Ashan Dhananjaya Kumara
 Trainee Software Engineer, WSO2 Inc.
 Inc: *WSO2 Inc. *
 Phone : +94715547461
 Blog : http://ashandhananjaya.blogspot.com/
 Twitter  : https://twitter.com/Dhananjaya92
 Say ello :https://ello.co/ashandk





 ___
 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




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

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

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




 --
 Supun Malinga,

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

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] How to write a Siddhi query to get the total count from an Event Table

2014-11-13 Thread Shashika Karunatilaka
HI supun,
you can use the count function and grouping it by Initial_state(group by
Initial_state)

Thanks

On Fri, Nov 14, 2014 at 12:23 PM, Seshika Fernando sesh...@wso2.com wrote:

 Why dont you use the sum(Initial_state) function with a group by
 Initial_state?

 On Fri, Nov 14, 2014 at 12:12 PM, Supun Muthutantrige sup...@wso2.com
 wrote:

 Hii all,

 There is a mysql table with the following content.


 The format of the in stream

state:HTS
state:HFS
state:HTM
state:HTS
state:HTL
state:HFS
state:MTS
state:HTS
state:HTL
state:MFM
state:HTS
state:HFS​


 The following siddhi query is used to populate the above table.


 --

 define table MarkovModel (State_Transition string, Initial_state string,
 countP double) from ('datasource.name'='FD_ToolBox_DB', 
 'database.name'='FDtoolbox',
 'table.name'='MarkovModel');

 from every a = inStream - b = inStream
 select a.Event as initialState, b.Event as transState,
 concat(a.Event,b.Event) as StateTransition
 insert into forCalculation;

 from forCalculation[((StateTransition!=MarkovModel.State_Transition)
 in MarkovModel)]
 select StateTransition, initialState, 1.0 as stateTrans_count
 insert into insertIntoModel;


 from forCalculation[((StateTransition==MarkovModel.State_Transition) in
 MarkovModel)]#window.length(1) join MarkovModel
 on forCalculation.StateTransition == MarkovModel.State_Transition
 select StateTransition, initialState, (MarkovModel.countP+1) as
 updatedState_count
 insert into updateModel;


 --

 Want to know how get the total count of *Initial_state*'s from the above
 table as a continuation to the above query.

 Ex: HFS - 2
   HTL - 2
   HTM - 1
   HTS - 4
   MFM - 1
   MTS - 1

 Would appreciate any suggestions.

 Thank you
 Regards

 *Supun Rasitha Muthutantrige*
 Software Engineer | Intern
 WSO2 Inc: http://wso2.com
 lean.enterprise.middleware
 Mobile: 0758374608



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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB platform build failiure : Compilation failure in Apache Synapse - Non-blocking HTTP/s Transport

2014-11-10 Thread Shashika Karunatilaka
Hi,

Im getting an error when building ESB platform from source(error log also
attached),

=

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0:compile
(default-compile) on project synapse-nhttp-transport: Compilation failure:
Compilation failure:

[ERROR]
/Users/shashika/Documents/WSO2_PRODUCT_BUILD/carbon/platform/turing-chunk07/dependencies/synapse/2.1.2-wso2v4/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/ocsp/OCSPVerifier.java:[229,41]
cannot find symbol

[ERROR] symbol  : constructor
AuthorityInformationAccess(org.bouncycastle.asn1.ASN1Sequence)

[ERROR] location: class
org.bouncycastle.asn1.x509.AuthorityInformationAccess

[ERROR]

[ERROR]
/Users/shashika/Documents/WSO2_PRODUCT_BUILD/carbon/platform/turing-chunk07/dependencies/synapse/2.1.2-wso2v4/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/crl/CRLVerifier.java:[149,60]
incompatible types

[ERROR] found   : org.bouncycastle.asn1.ASN1Primitive

[ERROR] required: org.bouncycastle.asn1.DERObject

 end of error log ===


my java version is 1.6.0_65, and maven version is 3.0.5

downloaded the platform from this [1]
[1] https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk07/


Thank you.
-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792

[INFO] 

[INFO] Reactor Summary:

[INFO] 

[INFO] ODE ... SUCCESS [0.343s]

[INFO] ODE :: Agents . SUCCESS [1.207s]

[INFO] ODE :: Utilities .. SUCCESS [1.983s]

[INFO] ODE :: Java Concurrent Objects (JACOB)  SUCCESS [0.571s]

[INFO] ODE :: BPEL Schemas ... SUCCESS [4.255s]

[INFO] ODE :: BPEL Test Script Files . SUCCESS [0.457s]

[INFO] ODE :: OBJ  SUCCESS [0.465s]

[INFO] ODE :: APIs ... SUCCESS [0.653s]

[INFO] ODE :: JCA Connector .. SUCCESS [0.291s]

[INFO] ODE :: DAO Interfaces . SUCCESS [0.325s]

[INFO] ODE :: OpenJPA DAO Impl ... SUCCESS [3.544s]

[INFO] ODE :: JCA Resource Archive ... SUCCESS [0.309s]

[INFO] ODE :: JCA Server . SUCCESS [0.262s]

[INFO] ODE :: BPEL Scheduler Simple .. SUCCESS [0.535s]

[INFO] ODE :: BPEL Compiler .. SUCCESS [1.358s]

[INFO] ODE :: Interface Layers Common  SUCCESS [0.417s]

[INFO] ODE :: BPEL Query Language  SUCCESS [0.771s]

[INFO] ODE :: Hibernate DAO Implementation ... SUCCESS [4.961s]

[INFO] ODE :: Command Line Tools . SUCCESS [0.371s]

[INFO] ODE :: Process Store .. SUCCESS [2.256s]

[INFO] ODE :: Runtime Engine . SUCCESS [1.745s]

[INFO] ODE :: OpenJPA DDL Generation . SUCCESS [5.962s]

[INFO] ODE :: Hibernate DAO DDL Generation ... SUCCESS [3.112s]

[INFO] ODE :: JCA Connector Implementation ... SUCCESS [0.335s]

[INFO] ODE :: BPEL Tests . SUCCESS [0.629s]

[INFO] ODE :: AXIS2 .. SUCCESS [0.732s]

[INFO] ODE :: Extensions . SUCCESS [0.010s]

[INFO] ODE :: Extensions E4X . SUCCESS [0.477s]

[INFO] ODE :: Extensions Long Running  SUCCESS [0.357s]

[INFO] ode.wso2 .. SUCCESS [2.200s]

[INFO] Apache Synapse - Secure vault . SUCCESS [0.875s]

[INFO] Apache Synapse  SUCCESS [0.742s]

[INFO] Apache Synapse - Commons classes .. SUCCESS [1.246s]

[INFO] Apache Synapse - Transports ... SUCCESS [0.504s]

[INFO] Apache Synapse - Non-blocking HTTP/s Transport  FAILURE [0.701s]

[INFO] Apache Synapse - PIPE Transport ... SKIPPED

[INFO] Apache Synapse - VFS Transport  SKIPPED

[INFO] Apache Synapse - Tasks classes  SKIPPED

[INFO] Apache Synapse - Core . SKIPPED

[INFO] Apache Synapse - FIX Transport  SKIPPED

[INFO] Apache Synapse - Extensions ... SKIPPED

[INFO] Apache Synapse - Samples .. SKIPPED

[INFO] Apache Synapse - Patches .. SKIPPED

[INFO] Apache Synapse - Experimental code  SKIPPED

[INFO] Apache Synapse - Web Application .. SKIPPED

[INFO] 

Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-06 Thread Shashika Karunatilaka
Congrats Asanka..

On Fri, Nov 7, 2014 at 10:06 AM, Isuru Ranawaka isu...@wso2.com wrote:

 Congratulations Asanka

 On Fri, Nov 7, 2014 at 9:58 AM, Anuruddha Premalal anurud...@wso2.com
 wrote:

 Congratulations Asanka!!

 On Fri, Nov 7, 2014 at 9:32 AM, Niranjan Karunanandham niran...@wso2.com
  wrote:

 Congrats Asanka!!

 On Fri, Nov 7, 2014 at 9:24 AM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Congratulations Asanka...!

 On Fri, Nov 7, 2014 at 9:20 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Asanka !

 On Fri, Nov 7, 2014 at 9:18 AM, Roshan Deniyage rosh...@wso2.com
 wrote:

 Congrats asanka!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 https://twitter.com/roshku*
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratulations, Asanka...!!!


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

 On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya hasit...@wso2.com
 wrote:

 Congratulations, Asanka...!!!

 On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Asanka!

 On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana 
 raji...@wso2.com wrote:

 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe 
 ram...@wso2.com wrote:

 Hi Asanka,
  Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!
 thanks and best regards,

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

 E: ram...@wso2.com


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




 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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




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


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



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



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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




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

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

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




 --

 *Niranjan Karunanandham*
 Senior Software Engineer - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com

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




 --
 *Anuruddha Premalal*
 Software Eng. | WSO2 Inc.
 Mobile : +94710461070
 Web site : www.regilandvalley.com


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




 --
 Best Regards
 Isuru Ranawaka
 M: +94714629880
 Blog : http://isurur.blogspot.com/

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-06 Thread Shashika Karunatilaka
Congratulations Harsha...

On Fri, Nov 7, 2014 at 11:05 AM, Thilini Anoratna thili...@wso2.com wrote:

 Congratz Harsha!!  :)

 On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera buddh...@wso2.com
 wrote:

 Congratulations Harsha !!!

 On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena ros...@wso2.com wrote:

 Congratulations..!!

 On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Harsha...!!!

 On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Harsha !

 On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Congratulations Harsha

 On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi Everyone,

 It's my pleasure to welcome Harsha Kumara as a WSO2 Committer.
 Harsha has always been a key member of the Storage Server team 
 contributing
 immensely to SS related developments ever since he joined us a few 
 months
 back. In recognition of his contributions, ownership shown towards the
 tasks/responsibilities assigned to him, and commitment, he's been voted 
 as
 a WSO2 committer.

 Harsha, Welcome aboard and keep up the awesome 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




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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




 --
 Roshan Wijesena.
 Senior Software Engineer-WSO2 Inc.
 Mobile: *+94752126789*
 Email: ros...@wso2.com
 *WSO2, Inc. :** wso2.com http://wso2.com/*
 lean.enterprise.middleware.

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




 --
 Buddhima Wijeweera
 Software Engineer; WSO2 Inc.; http://wso2.com ,

 Email: buddh...@wso2.com
 Blog:   https://buddhimawijeweera.wordpress.com
 GitHub Profile: https://github.com/Buddhima

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




 --
 Thilini Anoratna
 Software Engineering Intern
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile : +94 (0) 778955654
 Email: thili...@wso2.com

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-04 Thread Shashika Karunatilaka
Congrats Niranjan

On Tue, Nov 4, 2014 at 4:50 PM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations Nira...!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Tue, Nov 4, 2014 at 4:44 PM, Kasun De Silva kas...@wso2.com wrote:

 Congrats Niranjan..!!

 *Kasun de Silva*
 Software Engineer | *WSO2 Inc.*; http://wso2.com
 lean.enterprise.middleware

 email   : kas...@wso2.com
 mobile : +94 77 794 4260


 On Tue, Nov 4, 2014 at 4:38 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Congrats 


 On Tue, Nov 4, 2014 at 4:35 PM, Milinda Perera milin...@wso2.com
 wrote:

 Congrats Niranjan ..

 On Tue, Nov 4, 2014 at 4:26 PM, Mahesh Chinthaka mahe...@wso2.com
 wrote:

 Congratulations Niranjan...!!!

 On Tue, Nov 4, 2014 at 4:22 PM, Nipuni Perera nip...@wso2.com wrote:

 Congratulations Niranjan




 On Tue, Nov 4, 2014 at 4:14 PM, Srisunmugaraja Paraparan 
 parapa...@wso2.com wrote:

 Congratulations Niranjan ...

 On Tue, Nov 4, 2014 at 4:08 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 4:04 PM, Suhan Dharmasuriya suh...@wso2.com
  wrote:

 Congrats Niranjan!!!

 On Tue, Nov 4, 2014 at 4:00 PM, Shiroshica Kulatilake 
 sh...@wso2.com wrote:

 Congrats !!

 On Tue, Nov 4, 2014 at 3:51 PM, Jayanga Dissanayake 
 jaya...@wso2.com wrote:

 Congratulations Niranjan...

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

 On Tue, Nov 4, 2014 at 12:35 PM, Isuruwan Herath 
 isuru...@wso2.com wrote:

 Congratulations !!!

 On Tue, Nov 4, 2014 at 12:32 PM, KasunG Gajasinghe 
 kas...@wso2.com wrote:

 Congratulations Niranjan!

 On Tue, Nov 4, 2014 at 12:30 PM, Godwin Amila Shrimal 
 god...@wso2.com wrote:

 Congratulations Niranjan...!

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

 Congratulations Niranjan !!

 On Tue, Nov 4, 2014 at 12:20 PM, Abimaran Kugathasan 
 abima...@wso2.com wrote:

 Congrats Niranjan!

 On Tue, Nov 4, 2014 at 12:15 PM, Kasun Dissanayake 
 kas...@wso2.com wrote:

 Congradzzz Nira !!!

 On Tue, Nov 4, 2014 at 12:06 PM, Inosh Perera 
 ino...@wso2.com wrote:

 Congratulations Niranjan !!



 On Tue, Nov 4, 2014 at 11:56 AM, Rajeevan Vimalanathan 
 rajeev...@wso2.com wrote:

 Congratz Niranjan...!!!

 On Tue, Nov 4, 2014 at 11:54 AM, Gayashan Amarasinghe 
 gayas...@wso2.com wrote:

 Congratulations Niranjan!!! :)

 On Tue, Nov 4, 2014 at 11:47 AM, Prasanna Dangalla 
 prasa...@wso2.com wrote:

 Congratulations !!!

 On Tue, Nov 4, 2014 at 11:45 AM, Aruna Karunarathna 
 ar...@wso2.com wrote:

 Congratulations Nira..!!!

 On Tue, Nov 4, 2014 at 11:44 AM, Kalpa Welivitigoda 
 kal...@wso2.com wrote:

 Congratulations Niranjan !

 On Tue, Nov 4, 2014 at 11:43 AM, Sameera Perera 
 samee...@wso2.com wrote:

 Hi all,

 It's my pleasure to announce Niranjan as a WSO2
 Committer.  He has been an active contributor for
 WSO2 Enterprise Mobility Manager.

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

 --

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* http://wso2.com/
 lean.enterprise.middleware



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




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

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




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


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




 --
 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




 --
 *Gayashan Amarasinghe*
 Software Engineer | Platform TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94718314517
 Blog : gayashan-a.blogspot.com

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




 --
 Best Regards,
 V.Rajeevan
 Software Engineer,
 WSO2 Inc. :http://wso2.com

 Mobile : +94 773090875
 Email : rajeev...@wso2.com

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




 --
 Inosh Perera
 Software 

Re: [Dev] Some missing code segment in CEP Writing custom output aggregator documentation

2014-10-30 Thread Shashika Karunatilaka
Hi Tishan,
yes code segment is missing from OutputAttributeAggregator class, i will
create a doc JIRA and assign it to Praneesha

On Thu, Oct 30, 2014 at 2:57 PM, Tishan Dahanayakage tis...@wso2.com
wrote:

 Hi Shashika,

 Code segment is missing from OutputAttributeAggregator class. isn't it?
 Please raise a doc JIRA and assign it to Praneesha.

 On Thu, Oct 30, 2014 at 2:46 PM, Shashika Karunatilaka shashi...@wso2.com
  wrote:

 Hi,
 There is some missing code segment in CEP Writing custom output
 aggregator documentation [1].  *destroy method* ( which needs to be
 included when overriding) is missing from the  
 *OuputAttributeAggregatorFactory
 class.*
 Missed code segment :
 @Override
 public void destroy() {
 }


 [1]
 https://docs.wso2.com/display/CEP310/Writing+a+Custom+OutputAttributeAggregator

 Thank You.
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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

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




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Some missing code segment in CEP Writing custom output aggregator documentation

2014-10-30 Thread Shashika Karunatilaka
Hi Tishan,
I have created a JIRA on [1].

[1] https://wso2.org/jira/browse/DOCUMENTATION-1223

Thank You.

On Thu, Oct 30, 2014 at 3:24 PM, Shashika Karunatilaka shashi...@wso2.com
wrote:

 Hi Tishan,
 yes code segment is missing from OutputAttributeAggregator class, i will
 create a doc JIRA and assign it to Praneesha

 On Thu, Oct 30, 2014 at 2:57 PM, Tishan Dahanayakage tis...@wso2.com
 wrote:

 Hi Shashika,

 Code segment is missing from OutputAttributeAggregator class. isn't it?
 Please raise a doc JIRA and assign it to Praneesha.

 On Thu, Oct 30, 2014 at 2:46 PM, Shashika Karunatilaka 
 shashi...@wso2.com wrote:

 Hi,
 There is some missing code segment in CEP Writing custom output
 aggregator documentation [1].  *destroy method* ( which needs to be
 included when overriding) is missing from the  
 *OuputAttributeAggregatorFactory
 class.*
 Missed code segment :
 @Override
 public void destroy() {
 }


 [1]
 https://docs.wso2.com/display/CEP310/Writing+a+Custom+OutputAttributeAggregator

 Thank You.
 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

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




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

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




 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >