Re: [Dev] [DEV] Transport error: 411 Error: Length Required when logging into the publisher

2017-11-28 Thread Nuwan Silva
Added wire logs to see where this was coming from and it seems this is sent
back from the nginx instance.
Updating nginx to 1.12 resolved this. Thanks for the help Pubudu.

Cheers,
NuwanS.

On Mon, Nov 27, 2017 at 5:10 PM, Nuwan Silva <nuw...@wso2.com> wrote:

> Hi Pubudu,
>
> yes, Please find the Nginx configuration below;
>
> upstream ssl.pub.wso2.com {
> server 192.168.48.251:9443;
> ip_hash;
> }
>
> server {
> listen 443;
> server_name pub.dev.wso2.org;
> ssl on;
> ssl_certificate /etc/nginx/ssl/pub/publisher.crt;
> ssl_certificate_key /etc/nginx/ssl/pub/publisher.key;
> location / {
>proxy_set_header X-Forwarded-Host $host;
>proxy_set_header X-Forwarded-Server $host;
>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>proxy_set_header Host $http_host;
>proxy_read_timeout 5m;
>proxy_send_timeout 5m;
>proxy_redirect https://ssl.pub.wso2.com
> https://pub.dev.wso2.org;
>proxy_pass https://ssl.pub.wso2.com;
>
>proxy_http_version 1.1;
>proxy_set_header Upgrade $http_upgrade;
>proxy_set_header Connection "upgrade";
> }
>
> }
>
> On Mon, Nov 27, 2017 at 5:01 PM, Pubudu Gunatilaka <pubu...@wso2.com>
> wrote:
>
>> Hi Nuwan,
>>
>> Could you please verify whether you have Nginx configurations mentioned
>> in [1]?
>>
>> [1] - https://docs.wso2.com/display/CLUSTER44x/Configuring+NGINX
>>
>> Thank you!
>>
>> On Mon, Nov 27, 2017 at 7:19 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>>
>>> Im getting the below exception when logging into the API publisher. This
>>> is a distributed APIM cluster with IS as the auth manager, fronted by nginx
>>>
>>> Any idea why this is happening?
>>>
>>> TID: [-1234] [] [2017-11-27 11:02:46,453]  INFO
>>> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
>>> Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
>>> .permission.update.PermissionUpdater}
>>> TID: [-1234] [] [2017-11-27 11:02:46,790]  INFO {
>>> org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>>> url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
>>> org.apache.axis2.transport.http.HTTPSender}
>>> org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required
>>> at org.apache.axis2.transport.http.HTTPSender.handleResponse(HT
>>> TPSender.java:326)
>>> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
>>> ender.java:196)
>>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.j
>>> ava:77)
>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
>>> riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i
>>> nvoke(CommonsHTTPTransportSender.java:278)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>>> utInAxisOperation.java:430)
>>> at org.apache.axis2.description.OutInAxisOperationClient.execut
>>> eImpl(OutInAxisOperation.java:225)
>>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>>> ent.java:149)
>>> at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.l
>>> ogin(AuthenticationAdminStub.java:659)
>>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
>>> unction_login(APIProviderHostObject.java:267)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>>> ssorImpl.java:62)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.ja
>>> va:386)
>>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime
>>> .java:42)
>>> at org.jaggeryjs.rhino.publisher.modules.user.c1._c_anonymous_1
>>> (/publisher/modules/user/login.jag:19)
>>> at org.jaggeryjs.rhino.publisher.modules.user.c1.call(/publishe
>>> r/modules/user/login.jag)

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Nuwan Silva
yes seems its the same issues. I was able to resolve it by following the
steps in that thread.

Cheers,
NuwanS.

On Tue, Nov 28, 2017 at 3:31 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Nuwan,
>
> Are you using a load balancer to access the KM node? A similar issue is
> discussed in mail thread[1] where nginx sending a wrong certificate if
> the client doesn't send SNI information to the server.
>
> [1] Publisher/Store nodes are throwing an error "unable to find valid
> certification path to requested target
>
>
> On Tue, Nov 28, 2017 at 2:34 PM, Abimaran Kugathasan <abima...@wso2.com>
> wrote:
>
>> Hi Nuwan,
>>
>> Have you generated KeyStore for all the nodes? CN property belongs to
>> KeyStore. What's the value you have given to CN when you generate KeyStore?
>> Importing public keys to each other's client-truststore don't have any
>> impact on this problem.
>>
>> On Tue, Nov 28, 2017 at 11:29 AM, Isuru Haththotuwa <isu...@wso2.com>
>> wrote:
>>
>>> This means that the actual URL what it was trying to access
>>> (km.dev.wso2.org <http://km.dev.wso2.org>) presented a certificate with
>>> the CN gw.dev.wso2.org. <http://gw.dev.wso2.org>
>>> The server at the host km.dev.wso2.com should have a public certificate
>>> with the same hostname as CN. And since you seem to have a common domain
>>> dev.wso2.org, you can generate a SSL key pair with a wildcard - *.
>>> dev.wso2.org. No need to generate separately for each instance.
>>> <http://gw.dev.wso2.org>
>>>
>>> On Tue, Nov 28, 2017 at 11:21 AM, Nuwan Silva <nuw...@wso2.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I'm getting the above issue when trying to login to publisher. I have
>>>> added the certificates of all the instances of the deployment to a single
>>>> client-truststore and copied to all servers.
>>>>
>>>> checking via
>>>> keytool -list -v -keystore client-truststore.jks
>>>>
>>>> does show the certificates. What can be the cause of this?
>>>>
>>>> TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO
>>>> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
>>>> Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
>>>> .permission.update.PermissionUpdater}
>>>> TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO {
>>>> org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost
>>>> to url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
>>>> org.apache.axis2.transport.http.HTTPSender}
>>>> javax.net.ssl.SSLException: hostname in certificate didn't match: <
>>>> km.dev.wso2.org> != 
>>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>>> ory.verifyHostName(SSLProtocolSocketFactory.java:436)
>>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>>> ory.verifyHostName(SSLProtocolSocketFactory.java:302)
>>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>>> ory.verifyHostName(SSLProtocolSocketFactory.java:273)
>>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>>> ory.createSocket(SSLProtocolSocketFactory.java:183)
>>>> at org.apache.commons.httpclient.HttpConnection.open(HttpConnec
>>>> tion.java:707)
>>>> at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
>>>> ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM
>>>> anager.java:1361)
>>>> at org.apache.commons.httpclient.HttpMethodDirector.executeWith
>>>> Retry(HttpMethodDirector.java:387)
>>>> at org.apache.commons.httpclient.HttpMethodDirector.executeMeth
>>>> od(HttpMethodDirector.java:171)
>>>> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
>>>> lient.java:397)
>>>> at org.apache.axis2.transport.http.AbstractHTTPSender.executeMe
>>>> thod(AbstractHTTPSender.java:682)
>>>> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
>>>> ender.java:195)
>>>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.j
>>>> ava:77)
>>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
>>>> riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i

[Dev] [DEV] hostname in certificate didn't match: !=

2017-11-27 Thread Nuwan Silva
a:3091)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0.call(/publisher/site/blocks/user/login/ajax/login.jag)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0.exec(/publisher/site/blocks/user/login/ajax/login.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
at
org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
at
org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)
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:219)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
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:445)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)


-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] [DEV] Transport error: 411 Error: Length Required when logging into the publisher

2017-11-27 Thread Nuwan Silva
Hi Pubudu,

yes, Please find the Nginx configuration below;

upstream ssl.pub.wso2.com {
server 192.168.48.251:9443;
ip_hash;
}

server {
listen 443;
server_name pub.dev.wso2.org;
ssl on;
ssl_certificate /etc/nginx/ssl/pub/publisher.crt;
ssl_certificate_key /etc/nginx/ssl/pub/publisher.key;
location / {
   proxy_set_header X-Forwarded-Host $host;
   proxy_set_header X-Forwarded-Server $host;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header Host $http_host;
   proxy_read_timeout 5m;
   proxy_send_timeout 5m;
   proxy_redirect https://ssl.pub.wso2.com
https://pub.dev.wso2.org;
   proxy_pass https://ssl.pub.wso2.com;

   proxy_http_version 1.1;
   proxy_set_header Upgrade $http_upgrade;
   proxy_set_header Connection "upgrade";
}

}

On Mon, Nov 27, 2017 at 5:01 PM, Pubudu Gunatilaka <pubu...@wso2.com> wrote:

> Hi Nuwan,
>
> Could you please verify whether you have Nginx configurations mentioned in
> [1]?
>
> [1] - https://docs.wso2.com/display/CLUSTER44x/Configuring+NGINX
>
> Thank you!
>
> On Mon, Nov 27, 2017 at 7:19 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>
>> Im getting the below exception when logging into the API publisher. This
>> is a distributed APIM cluster with IS as the auth manager, fronted by nginx
>>
>> Any idea why this is happening?
>>
>> TID: [-1234] [] [2017-11-27 11:02:46,453]  INFO
>> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
>> Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
>> .permission.update.PermissionUpdater}
>> TID: [-1234] [] [2017-11-27 11:02:46,790]  INFO {
>> org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>> url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
>> org.apache.axis2.transport.http.HTTPSender}
>> org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required
>> at org.apache.axis2.transport.http.HTTPSender.handleResponse(
>> HTTPSender.java:326)
>> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
>> ender.java:196)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.
>> java:77)
>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
>> riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i
>> nvoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>> utInAxisOperation.java:430)
>> at org.apache.axis2.description.OutInAxisOperationClient.execut
>> eImpl(OutInAxisOperation.java:225)
>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>> ent.java:149)
>> at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.l
>> ogin(AuthenticationAdminStub.java:659)
>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
>> unction_login(APIProviderHostObject.java:267)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.
>> java:386)
>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime
>> .java:42)
>> at org.jaggeryjs.rhino.publisher.modules.user.c1._c_anonymous_1
>> (/publisher/modules/user/login.jag:19)
>> at org.jaggeryjs.rhino.publisher.modules.user.c1.call(/publishe
>> r/modules/user/login.jag)
>> at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRunti
>> me.java:2430)
>> at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.
>> java:269)
>> at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObjec
>> t.java:97)
>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime
>> .java:42)
>> at org.jaggeryjs.rhino.publisher.modules.user.c0._c_anonymous_1
>> (/publisher/modules/user/module.jag:5)
>> at org.jaggeryjs.rhino.publisher.modules.user.c0.call(/publishe
>> r/modules/user/module.jag)
>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime
>>

[Dev] [DEV] Transport error: 411 Error: Length Required when logging into the publisher

2017-11-27 Thread Nuwan Silva
(ApplicationDispatcher.java:485)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
at
org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)
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:219)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
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:445)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

Cheers,
NuwanS.
--


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2017-11-24 Thread Nuwan Silva
Checked the /etc/hosts file and it seems to be pointing correctly. Im using
the latest wum packs.

Cheers,
NuwanS.

On Fri, Nov 24, 2017 at 1:14 PM, Samitha Chathuranga <sami...@wso2.com>
wrote:

> Hi Nuwan,
>
> Probably there is a connection issue from store node to is-as-km node. Can
> you check whether the host mappings are correct in /etc/hosts file?
>
> Regards,
> Samitha
>
> On Fri, Nov 24, 2017 at 12:34 PM, Chalitha Waldeniyage <chali...@wso2.com>
> wrote:
>
>> Hi Nuwan,
>>
>> I'm working on similar setup and this flow is working for me(using 22nd
>> WUM pack). I'm suspecting your WUM updated pack is having some issue
>> Can you please check on this.
>>
>> Thank you,
>> Chalitha
>>
>>
>> On Fri, Nov 24, 2017 at 12:21 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>>
>>> Hi Team,
>>>
>>> While deploying the IS as the KM via puppet I used [1] with the
>>> pre-packaged IS that is updated through wum "wso2is-km-5.3.0.zip".
>>> Installation was successful and after deploying I tried to generate keys
>>> with the Default Application in the store. (please see below logs)
>>>
>>> I've notices this happens when the KM feature is not installed. but
>>> shouldnt the pre-packaged wum downloadable IS instance come with the
>>> feature installed?
>>>
>>> TID: [-1234] [] [2017-11-24 06:17:38,007] ERROR
>>> {org.apache.axis2.engine.AxisEngine} -  The service cannot be found for
>>> the endpoint reference (EPR) https://km.dev.wso2.org:9443/s
>>> ervices/APIKeyMgtSubscriberService
>>> org.apache.axis2.AxisFault: The service cannot be found for the endpoint
>>> reference (EPR) https://km.dev.wso2.org:9443/s
>>> ervices/APIKeyMgtSubscriberService
>>> at org.apache.axis2.engine.DispatchPhase.checkPostConditions(Di
>>> spatchPhase.java:78)
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>> at org.apache.axis2.transport.http.HTTPTransportUtils.processHT
>>> TPPostRequest(HTTPTransportUtils.java:173)
>>> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServl
>>> et.java:147)
>>> at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonS
>>> ervlet.java:231)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>> n.service(ServletRegistration.java:61)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>> ssAlias(ProxyServlet.java:128)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>> ce(ProxyServlet.java:68)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>> (DelegationServlet.java:68)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:303)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>> r.java:52)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>> r(HttpHeaderSecurityFilter.java:124)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilte
>>> r(CharacterSetFilter.java:61)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>> r(HttpHeaderSecurityFilter.java:124)
>>> at org.apache.catalina.core.ApplicationFilterChain.inter

[Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2017-11-24 Thread Nuwan Silva
Valve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)


[1] https://github.com/wso2/puppet-apim/tree/master/wso2is_prepacked

Cheers,
NuwanS.
-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] [DEV][puppet-apim]

2017-11-23 Thread Nuwan Silva
Thanks for the info but, do we need to configure spark cluster
configurations for traffic manager? If so why?

On Fri, Nov 24, 2017 at 10:57 AM, Samitha Chathuranga <sami...@wso2.com>
wrote:

> I'm not sure whether we are using dep-sync now since in APIM docker
>> patterns we removed depsync and added rsync.[1]
>>
> Using rsync [1] is completely external configuration with wso2 product
> configs, hence different to the usage of svn-dep-sync. But if you follow up
> with svn dep sync, required templates are already added to the template
> files and so you have to add only the required hiera data. Anyway now we
> recommend rsync over svn, so better to go with rsync.
>
> [1] - https://docs.wso2.com/display/AM210/Configuring+rsync+for+
> Deployment+Synchronization
>
> On Fri, Nov 24, 2017 at 10:36 AM, Prasanna Dangalla <prasa...@wso2.com>
> wrote:
>
>>
>> On Fri, Nov 24, 2017 at 10:08 AM, Anuruddha Liyanarachchi <
>> anurudd...@wso2.com> wrote:
>>
>>> Hi Nuwan,
>>>
>>> As per the current patterns, there is no HA in traffic manager. The
>>> approach you have taken should work. However, you will need to configure
>>> dep-sync between two nodes if you are deploying custom policies.
>>>
>> I'm not sure whether we are using dep-sync now since in APIM docker
>> patterns we removed depsync and added rsync.[1]
>>
>> [1] - https://github.com/wso2/docker-apim/blob/v2.1.0/docker-
>> compose/pattern-4/gateway-worker-2/worker-manager-rsync.sh
>>
>>>
>>> On Fri, Nov 24, 2017 at 9:54 AM, Nuwan Silva <nuw...@wso2.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> While deploying the puppet-apim [1] I had an issue where there was no
>>>> pattern for deploying Traffic Manager as an HA deployment. I added the
>>>> following snippet to achieve HA in the cluster. Do we have another way of
>>>> doing this? Please advise.
>>>>
>>>> wso2::clustering:
>>>>   enabled: true
>>>>   domain: tm.am.wso2.domain
>>>>   sub_domain: mgt
>>>>   local_member_host: "%{::ipaddress}"
>>>>   local_member_port: 4000
>>>> # WKA membership scheme
>>>>   membership_scheme: wka
>>>>   wka:
>>>> members:
>>>>   -
>>>> hostname: 192.168.48.33
>>>> port: 4000
>>>>   -
>>>> hostname: 192.168.48.34
>>>> port: 4000
>>>>
>>>>
>>>> [1] https://github.com/wso2/puppet-apim
>>>> [2] https://github.com/wso2/puppet-apim/issues/47
>>>>
>>>> Cheers,
>>>> NuwanS.
>>>> --
>>>>
>>>>
>>>> *Nuwan Silva*
>>>> *Associate Technical Lead*
>>>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>>>
>>>> WSO2 Inc.
>>>> lean . enterprise . middleware.
>>>> http://www.wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel  : +94 112 145 345
>>> a <thili...@wso2.com>nurudd...@wso2.com
>>>
>>
>>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>



-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


[Dev] [DEV][puppet-apim]

2017-11-23 Thread Nuwan Silva
Hi Team,

While deploying the puppet-apim [1] I had an issue where there was no
pattern for deploying Traffic Manager as an HA deployment. I added the
following snippet to achieve HA in the cluster. Do we have another way of
doing this? Please advise.

wso2::clustering:
  enabled: true
  domain: tm.am.wso2.domain
  sub_domain: mgt
  local_member_host: "%{::ipaddress}"
  local_member_port: 4000
# WKA membership scheme
  membership_scheme: wka
  wka:
members:
  -
hostname: 192.168.48.33
port: 4000
  -
hostname: 192.168.48.34
port: 4000


[1] https://github.com/wso2/puppet-apim
[2] https://github.com/wso2/puppet-apim/issues/47

Cheers,
NuwanS.
-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


[Dev] [APIM with IS as the KM] throwing org.apache.axis2.AxisFault: Mapping qname not fond for the package: java.util when invoking API

2017-11-14 Thread Nuwan Silva
)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:72)
at
org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:91)
at
org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:60)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)
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:452)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1756)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1715)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.axis2.AxisFault: Mapping qname not fond for the
package: java.util
at
org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:143)
... 68 more

Cheers,
NuwanS
-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] [APIM with IS as KM] increasing validity period of a access token

2017-11-13 Thread Nuwan Silva
sorry I missed that. I'm trying to set it on the UI from the api store.

On Tue, Nov 14, 2017 at 10:28 AM, Irham Iqbal <iq...@wso2.com> wrote:

> HI NuwanS,
>
> The above configurations are for default validity periods. Are you trying
> to generate the token from UI or Rest API?
>
> Thanks,
> Iqbal
>
> On Tue, Nov 14, 2017 at 9:59 AM, Nuwan Silva <nuw...@wso2.com> wrote:
>
>> I have a setup of APIM 2.1.0 with IS 5.3.0 as the KM (wum updated.)
>>
>> When trying to generate the access token with validity period set to "-1"
>> it defaults back to 3600. IS configuration is as follows in identity.xml;
>>
>> 
>> 300> deDefaultValidityPeriod>
>> 
>> 3600> lidityPeriod>
>> 
>> 3600> efaultValidityPeriod>
>> 
>> 84600
>>
>> am I missing something here? since atm, I cant generate an access token
>> with a validity period more than 3600s (without changing the configs in
>> identity.xml).
>>
>> Cheers,
>> NuwanS
>> --
>>
>>
>> *Nuwan Silva*
>> *Associate Technical Lead*
>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>
>> WSO2 Inc.
>> lean . enterprise . middleware.
>> http://www.wso2.com
>>
>
>
>
> --
> Irham Iqbal
> Software Engineer
> WSO2
> phone: +94 777888452
> <http://wso2.com/signature>
>
>


-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


[Dev] [APIM with IS as KM] increasing validity period of a access token

2017-11-13 Thread Nuwan Silva
I have a setup of APIM 2.1.0 with IS 5.3.0 as the KM (wum updated.)

When trying to generate the access token with validity period set to "-1"
it defaults back to 3600. IS configuration is as follows in identity.xml;



300


3600


3600

84600

am I missing something here? since atm, I cant generate an access token
with a validity period more than 3600s (without changing the configs in
identity.xml).

Cheers,
NuwanS
-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


[Dev] [IS as a KM] Where are the access tokens getting stored

2017-11-07 Thread Nuwan Silva
Hi All,

I have an APIM 2.1.0 instance with IS 5.3.0 as the Key Manager which was
setup as per [1]. So as per my understanding when tokens are generated they
should be stored in *IDN_OAUTH2_ACCESS_TOKEN *table of the WSO2AM_DB (APIM
related database).
I can generate, regenerate and invoke using the access tokens generated but
they are not stored in the mentioned table. I do see the subscriptions in
the database but no tokens.

Am I missing something here?

[1]
https://docs.wso2.com/display/AM210/Configuring+an+External+IDP+as+a+Key+Manager

Cheers,
NuwanS.
-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] [IS as a KM] Where are the access tokens getting stored

2017-11-07 Thread Nuwan Silva
Yup, missed this config in the IS side. Can see the tokens. Thanks Harsha.

Cheers,
NuwanS.

On Tue, Nov 7, 2017 at 5:32 PM, Harsha Kumara <hars...@wso2.com> wrote:

> Hi Nuwan,
>
> What's the data source that you configured in the identity.xml? Ideally,
> it should be AM_DB.
>
> Thanks,
> Harsha
>
> On Tue, Nov 7, 2017 at 4:41 PM, Nuwan Silva <nuw...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have an APIM 2.1.0 instance with IS 5.3.0 as the Key Manager which was
>> setup as per [1]. So as per my understanding when tokens are generated they
>> should be stored in *IDN_OAUTH2_ACCESS_TOKEN *table of the WSO2AM_DB
>> (APIM related database).
>> I can generate, regenerate and invoke using the access tokens generated
>> but they are not stored in the mentioned table. I do see the subscriptions
>> in the database but no tokens.
>>
>> Am I missing something here?
>>
>> [1] https://docs.wso2.com/display/AM210/Configuring+an+External+
>> IDP+as+a+Key+Manager
>>
>> Cheers,
>> NuwanS.
>> --
>>
>>
>> *Nuwan Silva*
>> *Associate Technical Lead*
>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://www.wso2.com
>>
>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618 <+94%2077%20550%205618>
> Blog:harshcreationz.blogspot.com
>



-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

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


Re: [Dev] GSoC 2017 - JMeter Test Manager for Distributed Deployments of WSO2 Servers

2017-03-10 Thread Nuwan Silva
Hi Thilina,

Glad you are interested in working on Jmeter Test Manager. As you might
have seen a sample description is available in [1].
If you have any questions regarding this please let us know.

[1] https://docs.wso2.com/display/GSoC/Project+Proposals+
for+2017#ProjectProposalsfor2017-Proposal14:JMeterTestManage
rforDistributedDeploymentsofWSO2Servers

Regards,
Nuwan.

On Fri, Mar 10, 2017 at 3:21 AM, Thilina Manamgoda <maanafun...@gmail.com>
wrote:

> Hi all,
>
> I am Thilina Manamgoda an undergraduate of department of Computer
> Engineering, University of Peradeniya Sri lanka. I am looking forward to
> participate in GSOC 2017. This is my second time participating Google
> summer of code. Previously I have worked with Apache Taverna where I added
> the CWL tool browsing support to the Taverna suite. After completing the
> project, I continued to work with the community and then became an Apache
> committer on  that project. This is my gsoc blog: http://maanadevgsoc2016.
> blogspot.com , here you can get all the details of my previous work.
>
> I am really interested in the project “JMeter Test Manager for Distributed
> Deployments of WSO2 Servers”. I have contributed to the project “wso2
> app-cloud” and have worked with Kubernetes framework previously when I was
> an Intern at wso2. Now I am going through  the documentation of Jmeter and 
> qa-tooling-smoketester.
> Will come back with more questions.
>
> Regards,
> Thilina Manamgoda
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer*
Mobile: +9477 980 4543

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


Re: [Dev] GSOC 2017 - Test Automation Tool

2017-02-24 Thread Nuwan Silva
Adding DharshanaW + Inthiquab

On Thu, Feb 23, 2017 at 8:20 PM, Uditha Kasun <udithakasun...@outlook.com>
wrote:

> Hi All,
>
> I am Uditha Kasun Senavirathna, a 3rd year Software
> Engineering undergraduate student from Sri Lanka Institute Of Information
> Technology. I am interested in implementing your GSOC 2017 proposal for  a
> Test Automation Tool. I currently have some experience with test
> automation using frameworks like Selenium, Sikuli using java. It would be
> much appreciated if you could provide more information regarding the test
> automation tool to be implemented.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer*
Mobile: +9477 980 4543

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


Re: [Dev] Test automation tool - GSoC Proposal 13

2017-02-23 Thread Nuwan Silva
Adding DharshanaW

On Wed, Feb 22, 2017 at 5:18 AM, Erandi Ganepola <erandiganep...@gmail.com>
wrote:

> Hi All,
>
> I am a final year student in MIT, University of Kelaniya. I went through
> the proposals in GSoC 2017 and I am interested in $subject. I followed the
> reference given in the documentation. But need to get more details on above
> task.
>
> Can someone please explain more about the expected product and mention
> more references to referer?
>
> Thanks and Regards,
>
> *Erandi Ganepola*
> Undergraduate
> BSc. Management and Information Technology
> University of Kelaniya, Sri Lanka
> +94710695692 <+94%2071%20069%205692>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer*
Mobile: +9477 980 4543

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


Re: [Dev] [MB]Schedule time interval for deleting expired messages

2016-09-05 Thread Nuwan Silva
Shouldn’t the time interval be a configuration?


On Mon, Sep 5, 2016 at 11:28 AM, Sajini De Silva <saj...@wso2.com> wrote:

> Its hard to say what should be the exact correct time interval. IIt
> depends on the messaging rate actually. I think one DB call per 10 seconds
> seems oky. Are there any issues with this value?
>
>
> On Mon, Sep 5, 2016 at 11:16 AM, Sirojan Tharmakulasingam <
> siro...@wso2.com> wrote:
>
>> Hi all,
>>
>> At the MB message delivery path, we capture the expired messages and
>> batch it for a batch delete from the database rather than issue a delete DB
>> call for each expired messages.
>>
>> what is the suitable time interval for batching the expired messages for
>> the DB batch delete?
>>
>> The current suggestion is 10sec. Your suggestions please...
>>
>> Regards,
>> --
>> Sirojan Tharmakulasingam
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: siro...@wso2.com
>> Mobile: +94779797913
>>
>
>
>
> --
> Sajini De SIlva
> Senior 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
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [MB] Prioritize requirements for MB

2015-09-04 Thread Nuwan Silva
We discussed this and hierarchical topics will be added. But, the MQTT
related stuff are not finalized will need to have a chat with Pamod and get
them done.

Regards,
NuwanS.

On Fri, Sep 4, 2015 at 6:33 PM, Ramith Jayasinghe <ram...@wso2.com> wrote:

> do we have hierarchical topics (for JMS and MQTT) covered?
>
>
> On Fri, Sep 4, 2015 at 6:30 PM, Indika Sampath <indi...@wso2.com> wrote:
>
>> Hi Dilini,
>>
>> We need to add shared durable topic subscription under JMS to this mind
>> map.
>>
>> Cheers!
>>
>> On Fri, Sep 4, 2015 at 5:31 PM, Dilini Gunatilake <dili...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Please find the mind map attached herewith which includes the features
>>> of MB at high level. Out of that, we have prioritized the areas (with !
>>> mark) which we believe that should be covered by 25th. More features should
>>> be added to MQTT section and please free to add and share anything you
>>> think important.
>>>
>>> As discussed, we can collaboratively decide who will perform certain
>>> tests as the QA team would not be able to cover all the prioritized areas
>>> by 25th. As for the Alpha2 release, we will select a subset of these areas
>>> by Monday and cover it before the Beta release.
>>>
>>> Please feel free to share your thoughts.
>>>
>>> Thank you.
>>> Regards,
>>>
>>> --
>>>
>>> *Dilini GunatilakeSoftware Engineer - QA Team*
>>> Mobile : +94 (0) 771 162518
>>> dili...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Indika Sampath
>> Senior Software Engineer
>> WSO2 Inc.
>> http://wso2.com
>>
>> Phone: +94 716 424 744
>> Blog: http://indikasampath.blogspot.com/
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
> P: +94 777542851
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.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 Nuwan Silva
When setting up QA environment we use the default H2 for the local carbon
db.

Regards,
NuwanS.

On Tue, Jul 28, 2015 at 12:55 PM, Shashika Karunatilaka 
shashikabo...@gmail.com wrote:

 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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [AppM] AppM load test on gateway using jmeter

2015-07-16 Thread Nuwan Silva
+1 these should include anonymous apps also. plus if possible try to call
web apps which respond with lage pages/responses etc.

Regards,
NuwanS.

On Thu, Jul 16, 2015 at 12:12 PM, Sajith Abeywardhana saji...@wso2.com
wrote:

 Hi Lakshani,

 Thanks to Infar team we got 4GB memory in gateway instances. Now we can
 proceed.

 Please find the below clustering environment configuration [Table 1] which
 we will be using for AppM load testing. Shall we start writing Jmeter
 scripts for below testing scenarios [Table 2] as well?


 Server IP

 Instance config

 Product

 192.168.57.144

 2 VCPUs, 4GB, 40GB

 MySQL, svn, nginx

 192.168.57.132

 1 VCPUs, 2GB, 20GB

 IDP (WSO2 AppM distribution)

 192.168.57.134

 1 VCPUs, 2GB, 20GB

 publisher (WSO2 AppM distribution)

 192.168.57.133

 1 VCPUs, 2GB, 20GB

 store mgt (WSO2 AppM distribution)

 192.168.57.135

 1 VCPUs, 2GB, 20GB

 store wkr (WSO2 AppM distribution)

 192.168.57.136

 2 VCPUs, 4GB, 40GB

 gateway mgt (WSO2 AppM distribution)

 192.168.57.139

 2 VCPUs, 4GB, 40GB

 gateway wkr (WSO2 AppM distribution)

  Table
 1



 Test

 How to proceed

 Goal and test output

 Capacity/Load Test

 Gradually increase the number of hits to gateways by looking at the CPU
 load average and JVM memory utilization. We keep increasing hit count until
 performance or stability become unacceptable in gateway nodes.


 Goal - Measure how many concurrents hits can handle by the gateway
 successfully.

 Output - In a cluster environment with 2 gateway nodes which having a 4GB
 memory in each instance, AppM can handle up to n concurrent hits without
 any performance or stability issues.

 Stress Test

 Load the gateway beyond the normal load condition. Push it to the extreme.


 Goal - We will see which components fail first. Making these components
 more robust.

   Table 1

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Mon, Jul 13, 2015 at 3:14 PM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Hi Sajith  Lakshani,

 Yes 4 GB will be sufficient for both OS and APP-M instance.

 The type of Jmeter script depends on what type of performance/load test
 you are trying to perform. E.g : Long running test, Stress test etc. If you
 are trying to measure the throughput you can gradually increase the number
 of threads by looking at the CPU load average.

 Regards,

 On Mon, Jul 13, 2015 at 3:02 PM, Sajith Abeywardhana saji...@wso2.com
 wrote:

 Hi Yasassri,

 Yes, for both OS and AppM we do have 2GB.
 Anyway I'll ask infar to increase those instance's RAM up to 4GB. Do you
 guys have any other feedbacks on like number of threads(users)? or any
 other feedback regarding jmeter script?

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 On Mon, Jul 13, 2015 at 2:51 PM, Lakshani Gamage laksh...@wso2.com
 wrote:

 Hi Yasassri,

 Once I done a long test running for API Manager with 4GB size VMs. IMO,
 4GB enough for both OS and the APP-M instance. Any objection?

 Regards,
 Lakshani.

 On Mon, Jul 13, 2015 at 2:44 PM, Yasassri Ratnayake yasas...@wso2.com
 wrote:

 Hi Sajith,

 On Mon, Jul 13, 2015 at 2:36 PM, Sajith Abeywardhana saji...@wso2.com
  wrote:

 Hi,

 We are planning to start the $subject. So we configured a AppM
 cluster with publisher, 2 store, 2 gateway and IDP. Each gateway
 instance(hosted as open stack instance) dose have 2GB RAM and ubuntu 
 14.04
 installed. We are planning to load 4 sample web applications simultanI
  Belieeously. Please kind enough to provide feedbacks on this.


 2GB for both OS and the APP-M instance? If that's the case I believe
 its not sufficient to run a load test. Generally we increase the allocated
 heap for the JVM when running load tests.


 Regards,
 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blogs : http://yasassriratnayake.blogspot.com
 http://yasassriratnayake.blogspot.com/*
 *http://wso2logs.blogspot.com
 http://wso2logs.blogspot.com*




 --
 Lakshani Gamage

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





 --
 Yasassri Ratnayake
 Software Engineer - QA
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware
 *Mobile : +94715933168 %2B94715933168*
 *Blogs : http://yasassriratnayake.blogspot.com
 http://yasassriratnayake.blogspot.com/*
 *http://wso2logs.blogspot.com http://wso2logs.blogspot.com*





-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

WSO2 Inc.
lean . enterprise

Re: [Dev] Load test with message store/proc with MB

2015-07-09 Thread Nuwan Silva
This is already in the QA plan. but integration with other products are not
tested yet (for the MB 300 release).

Regards,
NuwanS.

On Thu, Jul 9, 2015 at 2:10 PM, Kasun Indrasiri ka...@wso2.com wrote:


 I think this already in the MB test plan. Have we tested this? If so
 please resolve [1].

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

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

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [APIM 190] Errors while generating application token

2015-06-10 Thread Nuwan Silva
regarding the NPE issue while verifying with docs [1] we see that the grant
type we missed was
/SupportedGrantType
SupportedGrantType
   GrantTypeNameapplication_token/GrantTypeName

GrantTypeHandlerImplClassorg.wso2.carbon.apimgt.keymgt.handlers.ApplicationTokenGrantHandler/GrantTypeHandlerImplClass

GrantTypeValidatorImplClassorg.wso2.carbon.apimgt.keymgt.handlers.ApplicationTokenGrantValidator/GrantTypeValidatorImplClass
   /SupportedGrantType

can you confirm if this is actually a required grant type?

[1]
https://docs.wso2.com/display/CLUSTER420/Configuring+WSO2+Identity+Server+as+the+Key+Manager

Regards,
NuwanS.

On Thu, Jun 11, 2015 at 10:22 AM, Pavithra Madurangi pavit...@wso2.com
wrote:

 I think this is the same issue reported by Evanthika [1].

 [1] https://wso2.org/jira/browse/APIMANAGER-3800

 On Thu, Jun 11, 2015 at 9:46 AM, Nuwan Dias nuw...@wso2.com wrote:

 Will look into it. Please use another App for testing for the moment.

 Thanks,
 NuwanD.

 On Thu, Jun 11, 2015 at 9:42 AM, Nuwan Silva nuw...@wso2.com wrote:

 As mentioned the NPE issue was resolved by adding the missing supported
 grant types to the identity.xml. but the above (Pavithra's) issue is
 reproducible now in the setup.
 in short, Pavithra and I get the same error mentioned below; which does
 not allow us to generate the application token.

 please find the logs attached.
 [2015-06-11 09:35:59,109] ERROR - AMDefaultKeyManagerImpl Can not create
 OAuth application  : DefaultApplication_PRODUCTION
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
 APIKeyMgtSubscriberServiceAPIManagementException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at java.lang.Class.newInstance(Class.java:374)


 [2015-06-11 09:35:59,099] ERROR
 {org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl}
 -  Error occurred while creating the application,
 admin_DefaultApplication_PRODUCTION
 org.wso2.carbon.identity.application.common.IdentityApplicationManagementException:
 Error while creating application
 at
 org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.createAppRole(ApplicationMgtUtil.java:145)
 at
 org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl.createApplication(ApplicationManagementServiceImpl.java:112)
 at
 org.wso2.carbon.apimgt.keymgt.service.APIKeyMgtSubscriberService.createOAuthApplication(APIKeyMgtSubscriberService.java:157)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 Regards,
 NuwanS.

 On Thu, Jun 11, 2015 at 9:34 AM, Nuwan Silva nuw...@wso2.com wrote:

 Note that this only happens to the DefaultApplication in the store. We
 can generate the tokens without any issue when doing the same flow with a
 new application

 On Thu, Jun 11, 2015 at 9:32 AM, Nuwan Silva nuw...@wso2.com wrote:

 The NPE was resolved by adding the supported grant types. but, the
 above mentioned work-flow issues is still visible.

 Regards,
 NuwanS.

 On Thu, Jun 11, 2015 at 9:23 AM, Pavithra Madurangi pavit...@wso2.com
  wrote:



 On Thu, Jun 11, 2015 at 9:14 AM, Amila De Silva ami...@wso2.com
 wrote:

 Hi Nuwan,

 This is due to having an outdated identity.xml in IS. Get the
 supported grant types from identity.xml in API Manager and copy it to 
 the
 identity.xml in IS.


 ​Hi Amila,

 I guess this solution is for NPE ?

 I don't have an IS in my setup and I too get that workflow related
 error when generating token.

 Caused by:
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
 APIKeyMgtSubscriberServiceAPIManagementException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at java.lang.Class.newInstance(Class.java:379)
 at
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceStub.createOAuthApplication(APIKeyMgtSubscriberServiceStub.java:453)
 at
 org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient.createOAuthApplication(SubscriberKeyMgtClient.java:73)
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.createApplication(AMDefaultKeyManagerImpl.java:112)
 ... 70 more
 [2015-06-10 20:49:59,523] ERROR -
 ApplicationRegistrationSimpleWorkflowExecutor Error occured

[Dev] [APIM 190] Errors while generating application token

2015-06-10 Thread Nuwan Silva
Hi All,

We have seen the following issue coming up when trying to generate the
application token from a APIM setup with IS500 as the Key manager. this is
reported under [1].

APIM:
TID: [0] [AM] [2015-06-10 20:55:18,889] ERROR
{org.wso2.carbon.apimgt.impl.utils.APIUtil} -  Error occurred while
executing SubscriberKeyMgtClient.
{org.wso2.carbon.apimgt.impl.utils.APIUtil}
java.lang.RuntimeException: Error occurred while calling token endpoint:
HTTP error code : 400
at
org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.getNewApplicationAccessToken(AMDefaultKeyManagerImpl.java:305)
at
org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:168)
at
org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
at
org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
at
org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
at
org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139)
at
org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.requestApprovalForApplicationRegistration(UserAwareAPIConsumer.java:34)
at
org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_getApplicationKey(APIStoreHostObject.java:751)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)


IS:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at
org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration.getSupportedGrantTypes(OAuthServerConfiguration.java:382)
at
org.wso2.carbon.identity.oauth.OAuthAdminService.getAllowedGrantTypes(OAuthAdminService.java:486)
at
org.wso2.carbon.apimgt.keymgt.service.APIKeyMgtSubscriberService.createOAuthApplication(APIKeyMgtSubscriberService.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

[1] https://wso2.org/jira/browse/APIMANAGER-3839

Regards,
NuwanS.
-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [APIM 190] Errors while generating application token

2015-06-10 Thread Nuwan Silva
Note that this only happens to the DefaultApplication in the store. We can
generate the tokens without any issue when doing the same flow with a new
application

On Thu, Jun 11, 2015 at 9:32 AM, Nuwan Silva nuw...@wso2.com wrote:

 The NPE was resolved by adding the supported grant types. but, the above
 mentioned work-flow issues is still visible.

 Regards,
 NuwanS.

 On Thu, Jun 11, 2015 at 9:23 AM, Pavithra Madurangi pavit...@wso2.com
 wrote:



 On Thu, Jun 11, 2015 at 9:14 AM, Amila De Silva ami...@wso2.com wrote:

 Hi Nuwan,

 This is due to having an outdated identity.xml in IS. Get the
 supported grant types from identity.xml in API Manager and copy it to the
 identity.xml in IS.


 ​Hi Amila,

 I guess this solution is for NPE ?

 I don't have an IS in my setup and I too get that workflow related error
 when generating token.

 Caused by:
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
 APIKeyMgtSubscriberServiceAPIManagementException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at java.lang.Class.newInstance(Class.java:379)
 at
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceStub.createOAuthApplication(APIKeyMgtSubscriberServiceStub.java:453)
 at
 org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient.createOAuthApplication(SubscriberKeyMgtClient.java:73)
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.createApplication(AMDefaultKeyManagerImpl.java:112)
 ... 70 more
 [2015-06-10 20:49:59,523] ERROR -
 ApplicationRegistrationSimpleWorkflowExecutor Error occured when updating
 the status of the Application creation process
 org.wso2.carbon.apimgt.api.APIManagementException: Error occurred while
 executing SubscriberKeyMgtClient.
 at
 org.wso2.carbon.apimgt.impl.utils.APIUtil.handleException(APIUtil.java:1117)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:181)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
 at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139)
 at
 org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.requestApprovalForApplicationRegistration(UserAwareAPIConsumer.java:34)
 at
 org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_getApplicationKey(APIStoreHostObject.java:751)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 Regards,
 Pavithra​




 On Thursday, June 11, 2015, Nuwan Silva nuw...@wso2.com wrote:

 Hi All,

 We have seen the following issue coming up when trying to generate the
 application token from a APIM setup with IS500 as the Key manager. this is
 reported under [1].

 APIM:
 TID: [0] [AM] [2015-06-10 20:55:18,889] ERROR
 {org.wso2.carbon.apimgt.impl.utils.APIUtil} -  Error occurred while
 executing SubscriberKeyMgtClient.
 {org.wso2.carbon.apimgt.impl.utils.APIUtil}
 java.lang.RuntimeException: Error occurred while calling token
 endpoint: HTTP error code : 400
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.getNewApplicationAccessToken(AMDefaultKeyManagerImpl.java:305)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:168)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
 at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139

Re: [Dev] [APIM 190] Errors while generating application token

2015-06-10 Thread Nuwan Silva
As mentioned the NPE issue was resolved by adding the missing supported
grant types to the identity.xml. but the above (Pavithra's) issue is
reproducible now in the setup.
in short, Pavithra and I get the same error mentioned below; which does not
allow us to generate the application token.

please find the logs attached.
[2015-06-11 09:35:59,109] ERROR - AMDefaultKeyManagerImpl Can not create
OAuth application  : DefaultApplication_PRODUCTION
org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
APIKeyMgtSubscriberServiceAPIManagementException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)


[2015-06-11 09:35:59,099] ERROR
{org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl}
-  Error occurred while creating the application,
admin_DefaultApplication_PRODUCTION
org.wso2.carbon.identity.application.common.IdentityApplicationManagementException:
Error while creating application
at
org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.createAppRole(ApplicationMgtUtil.java:145)
at
org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl.createApplication(ApplicationManagementServiceImpl.java:112)
at
org.wso2.carbon.apimgt.keymgt.service.APIKeyMgtSubscriberService.createOAuthApplication(APIKeyMgtSubscriberService.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Regards,
NuwanS.

On Thu, Jun 11, 2015 at 9:34 AM, Nuwan Silva nuw...@wso2.com wrote:

 Note that this only happens to the DefaultApplication in the store. We can
 generate the tokens without any issue when doing the same flow with a new
 application

 On Thu, Jun 11, 2015 at 9:32 AM, Nuwan Silva nuw...@wso2.com wrote:

 The NPE was resolved by adding the supported grant types. but, the above
 mentioned work-flow issues is still visible.

 Regards,
 NuwanS.

 On Thu, Jun 11, 2015 at 9:23 AM, Pavithra Madurangi pavit...@wso2.com
 wrote:



 On Thu, Jun 11, 2015 at 9:14 AM, Amila De Silva ami...@wso2.com wrote:

 Hi Nuwan,

 This is due to having an outdated identity.xml in IS. Get the
 supported grant types from identity.xml in API Manager and copy it to the
 identity.xml in IS.


 ​Hi Amila,

 I guess this solution is for NPE ?

 I don't have an IS in my setup and I too get that workflow related error
 when generating token.

 Caused by:
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
 APIKeyMgtSubscriberServiceAPIManagementException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at java.lang.Class.newInstance(Class.java:379)
 at
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceStub.createOAuthApplication(APIKeyMgtSubscriberServiceStub.java:453)
 at
 org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient.createOAuthApplication(SubscriberKeyMgtClient.java:73)
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.createApplication(AMDefaultKeyManagerImpl.java:112)
 ... 70 more
 [2015-06-10 20:49:59,523] ERROR -
 ApplicationRegistrationSimpleWorkflowExecutor Error occured when updating
 the status of the Application creation process
 org.wso2.carbon.apimgt.api.APIManagementException: Error occurred while
 executing SubscriberKeyMgtClient.
 at
 org.wso2.carbon.apimgt.impl.utils.APIUtil.handleException(APIUtil.java:1117)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:181)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
 at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139)
 at
 org.wso2

Re: [Dev] [APIM 190] Errors while generating application token

2015-06-10 Thread Nuwan Silva
The NPE was resolved by adding the supported grant types. but, the above
mentioned work-flow issues is still visible.

Regards,
NuwanS.

On Thu, Jun 11, 2015 at 9:23 AM, Pavithra Madurangi pavit...@wso2.com
wrote:



 On Thu, Jun 11, 2015 at 9:14 AM, Amila De Silva ami...@wso2.com wrote:

 Hi Nuwan,

 This is due to having an outdated identity.xml in IS. Get the
 supported grant types from identity.xml in API Manager and copy it to the
 identity.xml in IS.


 ​Hi Amila,

 I guess this solution is for NPE ?

 I don't have an IS in my setup and I too get that workflow related error
 when generating token.

 Caused by:
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceAPIManagementException:
 APIKeyMgtSubscriberServiceAPIManagementException
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
 at java.lang.Class.newInstance(Class.java:379)
 at
 org.wso2.carbon.apimgt.keymgt.stub.subscriber.APIKeyMgtSubscriberServiceStub.createOAuthApplication(APIKeyMgtSubscriberServiceStub.java:453)
 at
 org.wso2.carbon.apimgt.keymgt.client.SubscriberKeyMgtClient.createOAuthApplication(SubscriberKeyMgtClient.java:73)
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.createApplication(AMDefaultKeyManagerImpl.java:112)
 ... 70 more
 [2015-06-10 20:49:59,523] ERROR -
 ApplicationRegistrationSimpleWorkflowExecutor Error occured when updating
 the status of the Application creation process
 org.wso2.carbon.apimgt.api.APIManagementException: Error occurred while
 executing SubscriberKeyMgtClient.
 at
 org.wso2.carbon.apimgt.impl.utils.APIUtil.handleException(APIUtil.java:1117)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:181)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
 at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139)
 at
 org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.requestApprovalForApplicationRegistration(UserAwareAPIConsumer.java:34)
 at
 org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_getApplicationKey(APIStoreHostObject.java:751)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 Regards,
 Pavithra​




 On Thursday, June 11, 2015, Nuwan Silva nuw...@wso2.com wrote:

 Hi All,

 We have seen the following issue coming up when trying to generate the
 application token from a APIM setup with IS500 as the Key manager. this is
 reported under [1].

 APIM:
 TID: [0] [AM] [2015-06-10 20:55:18,889] ERROR
 {org.wso2.carbon.apimgt.impl.utils.APIUtil} -  Error occurred while
 executing SubscriberKeyMgtClient.
 {org.wso2.carbon.apimgt.impl.utils.APIUtil}
 java.lang.RuntimeException: Error occurred while calling token endpoint:
 HTTP error code : 400
 at
 org.wso2.carbon.apimgt.keymgt.AMDefaultKeyManagerImpl.getNewApplicationAccessToken(AMDefaultKeyManagerImpl.java:305)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.dogenerateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:168)
 at
 org.wso2.carbon.apimgt.impl.workflow.AbstractApplicationRegistrationWorkflowExecutor.generateKeysForApplication(AbstractApplicationRegistrationWorkflowExecutor.java:116)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:81)
 at
 org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
 at
 org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:2139)
 at
 org.wso2.carbon.apimgt.impl.UserAwareAPIConsumer.requestApprovalForApplicationRegistration(UserAwareAPIConsumer.java:34)
 at
 org.wso2.carbon.apimgt.hostobjects.APIStoreHostObject.jsFunction_getApplicationKey

Re: [Dev] WSO2 Committers += Saneth Dharmakeerthi

2015-06-09 Thread Nuwan Silva
Congrats Saneth :)

On Tue, Jun 9, 2015 at 5:22 PM, Dimuthu De Lanerolle dimut...@wso2.com
wrote:

 Congrats Saneth !!!



 On Tue, Jun 9, 2015 at 2:07 PM, Inshaf Mahath ins...@wso2.com wrote:

 Congrats Saneth!!

 On Tue, Jun 9, 2015 at 2:00 PM, Elilmatha Sivanesan elilma...@wso2.com
 wrote:

 Congratulations Saneth

 On Tue, Jun 9, 2015 at 1:57 PM, Jerad Rutnam je...@wso2.com wrote:

 Congratulations Saneth! :)

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




 --
 *S.Elilmatha*
 Associate  Software Engineer,

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

 Mobile 0779842221.


 ___
 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




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


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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-22 Thread Nuwan Silva
To update on the QA Status,

We were able to fix most of the issue encountered in the clustered setup
and we need to further test in the cluster. We hope to complete these by
monday with a new pack.
we are expecting a new pack today (23rd) with all the fixes included.

Regards,
NuwanS.

On Wed, May 20, 2015 at 10:42 AM, Ruwan Abeykoon ruw...@wso2.com wrote:

 Hi Nuwan,

  8. Issues when using non-internal roles (
 https://wso2.org/jira/browse/APPM-908)

 iI the issue 908 similar to 796, if so shall we downgrade the severity.

 https://wso2.org/jira/browse/APPM-796

 Cheers,
 Ruwan

 On Wed, May 20, 2015 at 10:31 AM, Nuwan Silva nuw...@wso2.com wrote:

 Update,

 The latest pack was received on 19-05-2015 with hazelcast upgrade. We
 managed to resolve most of the critical issues and verification will
 continue today.

 areas of concern;
 1. We have *not tested* this APPM with MDM.
 2. XACML for tenants are not functioning
 3. Workflows for tenants are not functioning.
 4. Tested EMM with android but there were compatibility issues with IOS 7
 and above.
 5. Tenants not able to login to the cluster setup (Got this fixed through
 a patch. but, need to test with a new pack)
 6. Enterprise subscription for tenants not functioning.
 7. Issues related to app statistics (need to test with latest pack)
 8. Issues when using non-internal roles (
 https://wso2.org/jira/browse/APPM-908)


 Regards,
 NuwanS.

 On Mon, May 18, 2015 at 9:14 AM, Nuwan Silva nuw...@wso2.com wrote:

 To update on QA status,

 We have covered the above mentioned areas in the latest packs
 (05-05-2015 pack also) and reported identified issues.
 Basic flows have been tested with oracle and an extensive test was not
 carried out as it will be shipped as an experimental script as per the AppM
 team.

 The long running test is running in the cluster and we will keep
 monitoring its status.

 The plan is to focus on the following in the coming week.

 1. Cluster scenarios
 2. EMM integration with the cluster,
 3. Bug fixes
 4. a stress test by adding 100+ apps and testing how the store responds.


 Regards,
 NuwanS.


 On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we
 can get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip
 Creating Proxy App and XACML. But AFAIK, Asanthi covered those recently. So
 better if we can give priority to test on cluster environment. We expecting
 some of the issues faced with wso2 elb since we are using synapse gateway
 here as well. Need to see how gateway session handing and all behaves in
 cluster environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web
 applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
  wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether
 the list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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

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




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




 --


 *Nuwan Silva

Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-19 Thread Nuwan Silva
Update,

The latest pack was received on 19-05-2015 with hazelcast upgrade. We
managed to resolve most of the critical issues and verification will
continue today.

areas of concern;
1. We have *not tested* this APPM with MDM.
2. XACML for tenants are not functioning
3. Workflows for tenants are not functioning.
4. Tested EMM with android but there were compatibility issues with IOS 7
and above.
5. Tenants not able to login to the cluster setup (Got this fixed through a
patch. but, need to test with a new pack)
6. Enterprise subscription for tenants not functioning.
7. Issues related to app statistics (need to test with latest pack)
8. Issues when using non-internal roles (
https://wso2.org/jira/browse/APPM-908)


Regards,
NuwanS.

On Mon, May 18, 2015 at 9:14 AM, Nuwan Silva nuw...@wso2.com wrote:

 To update on QA status,

 We have covered the above mentioned areas in the latest packs (05-05-2015
 pack also) and reported identified issues.
 Basic flows have been tested with oracle and an extensive test was not
 carried out as it will be shipped as an experimental script as per the AppM
 team.

 The long running test is running in the cluster and we will keep
 monitoring its status.

 The plan is to focus on the following in the coming week.

 1. Cluster scenarios
 2. EMM integration with the cluster,
 3. Bug fixes
 4. a stress test by adding 100+ apps and testing how the store responds.


 Regards,
 NuwanS.


 On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we can
 get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip Creating
 Proxy App and XACML. But AFAIK, Asanthi covered those recently. So better
 if we can give priority to test on cluster environment. We expecting some
 of the issues faced with wso2 elb since we are using synapse gateway here
 as well. Need to see how gateway session handing and all behaves in cluster
 environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether the
 list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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

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




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [APPM] Depsync failure due to hazelcast issue

2015-05-18 Thread Nuwan Silva
Will apply and test in the setup.

Regards,
NuwanS.

On Mon, May 18, 2015 at 2:53 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Nuwan,

 Please try out with attached patch. This was added on latest kernel
 patch0010 as well.
 ​
  WSO2-CARBON-PATCH-4.2.0-1297.zip
 https://docs.google.com/a/wso2.com/file/d/0B-yMpNmsyVchNDZDLWVEVFl4VlU/edit?usp=drive_web
 ​
 Regards,
 Manoj


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

 On Mon, May 18, 2015 at 2:48 PM, Afkham Azeez az...@wso2.com wrote:

 Please upgrade to Hazelcast 3.4.2

 On Mon, May 18, 2015 at 9:12 AM, Nuwan Silva nuw...@wso2.com wrote:

 yes, this is continuously reproducible. Anyway will check the configs
 again and verify.

 Regards,
 NuwanS.

 On Sat, May 16, 2015 at 2:34 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 HI Nuwan/ Asanthi,

 We configured  3-nodes cluster setup to test this scenario. Seems
 everything works fine. Member left notification propagate to all other
 nodes correctly. Also dep-sync works without issue with member left and
 joining.

 Anyway, is this issue continuously re-producible in your setup ? Could
 see some mismatch in the node that left and node that dep-sync has failed
 to connect in your logs.

 Member left [cc9950e3-af57-48b1-9f45-b511f0f30863]: /192.168.48.2:4001
 Packet not sent to - Address[192.168.48.5]:4000

 May be some network issue in the machine caused this issue ?

 Btw, we don't need to add dep-sync for store/publisher. Only to GW
 cluster is enough.

 Regards,
 Dinusha.


 On Thu, May 14, 2015 at 5:31 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Looping in Azeez and Dinusha


 On Wed, May 13, 2015 at 2:33 PM, Nuwan Silva nuw...@wso2.com wrote:

 Hi All,

 I came across the following issue where we see a depsync error when a
 single node in the cluster goes down and the other nodes not knowing it
 till its restarted.
 observation was that when a node (node 1) in the cluster goes down
 the other nodes (node 2 and node 3) do not know that node (node 1) is 
 down.
 So it tries to synchronize its artifacts.

 further we observed that when the node which was down (node 1)
 restarts. the other nodes find out that node1 was down.

 TID: [0] [AM] [2015-05-13 09:00:08,861]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} 
 -
 Member left [cc9950e3-af57-48b1-9f45-b511f0f30863]: /
 192.168.48.2:4001
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AM] [2015-05-13 09:00:08,877]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} 
 -
 WKA member Host:192.168.48.2, Remote Host:null, Port: 4001, HTTP:8281,
 HTTPS:8244, Domain: wso2.am.storepub.domain, Sub-domain:worker, 
 Active:true
 left cluster.
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AM] [2015-05-13 09:00:08,890]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Elected this member [10bb1dec-4d25-4966-a39a-eb42e42d1706] as the
 Coordinator for the cluster [wso2.am.storepub.domain]
 {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
 TID: [0] [AM] [2015-05-13 09:00:14,849]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} 
 -
 Member joined [bc438078-ee97-4643-aadb-cf7ba970dc7e]: /
 192.168.48.2:4001
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}



 *Depsync Error:*

 TID: [0] [AM] [2015-05-13 08:52:03,333] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -
 Deployment synchronization commit for tenant -1234 failed
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}
 com.hazelcast.core.HazelcastException:
 com.hazelcast.spi.exception.RetryableIOException: Packet not sent to -
 Address[192.168.48.5]:4000
 at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:45)
 at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:40)
 at
 com.hazelcast.map.proxy.MapProxySupport.containsKeyInternal(MapProxySupport.java:371)
 at
 com.hazelcast.map.proxy.MapProxyImpl.containsKey(MapProxyImpl.java:215)
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.containsKey(HazelcastDistributedMapProvider.java:119)
 at
 org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:237)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:291)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExistsInternal(UserRegistry.java:777)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.access$800(UserRegistry.java:60)
 at
 org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:760)
 at
 org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:757)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.wso2

Re: [Dev] [APPM] Depsync failure due to hazelcast issue

2015-05-17 Thread Nuwan Silva
yes, this is continuously reproducible. Anyway will check the configs again
and verify.

Regards,
NuwanS.

On Sat, May 16, 2015 at 2:34 PM, Dinusha Senanayaka dinu...@wso2.com
wrote:

 HI Nuwan/ Asanthi,

 We configured  3-nodes cluster setup to test this scenario. Seems
 everything works fine. Member left notification propagate to all other
 nodes correctly. Also dep-sync works without issue with member left and
 joining.

 Anyway, is this issue continuously re-producible in your setup ? Could see
 some mismatch in the node that left and node that dep-sync has failed to
 connect in your logs.

 Member left [cc9950e3-af57-48b1-9f45-b511f0f30863]: /192.168.48.2:4001
 Packet not sent to - Address[192.168.48.5]:4000

 May be some network issue in the machine caused this issue ?

 Btw, we don't need to add dep-sync for store/publisher. Only to GW cluster
 is enough.

 Regards,
 Dinusha.


 On Thu, May 14, 2015 at 5:31 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Looping in Azeez and Dinusha


 On Wed, May 13, 2015 at 2:33 PM, Nuwan Silva nuw...@wso2.com wrote:

 Hi All,

 I came across the following issue where we see a depsync error when a
 single node in the cluster goes down and the other nodes not knowing it
 till its restarted.
 observation was that when a node (node 1) in the cluster goes down the
 other nodes (node 2 and node 3) do not know that node (node 1) is down. So
 it tries to synchronize its artifacts.

 further we observed that when the node which was down (node 1) restarts.
 the other nodes find out that node1 was down.

 TID: [0] [AM] [2015-05-13 09:00:08,861]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} -
 Member left [cc9950e3-af57-48b1-9f45-b511f0f30863]: /192.168.48.2:4001
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AM] [2015-05-13 09:00:08,877]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} -
 WKA member Host:192.168.48.2, Remote Host:null, Port: 4001, HTTP:8281,
 HTTPS:8244, Domain: wso2.am.storepub.domain, Sub-domain:worker, Active:true
 left cluster.
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}
 TID: [0] [AM] [2015-05-13 09:00:08,890]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent} -
 Elected this member [10bb1dec-4d25-4966-a39a-eb42e42d1706] as the
 Coordinator for the cluster [wso2.am.storepub.domain]
 {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent}
 TID: [0] [AM] [2015-05-13 09:00:14,849]  INFO
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme} -
 Member joined [bc438078-ee97-4643-aadb-cf7ba970dc7e]: /192.168.48.2:4001
 {org.wso2.carbon.core.clustering.hazelcast.wka.WKABasedMembershipScheme}



 *Depsync Error:*

 TID: [0] [AM] [2015-05-13 08:52:03,333] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -
 Deployment synchronization commit for tenant -1234 failed
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}
 com.hazelcast.core.HazelcastException:
 com.hazelcast.spi.exception.RetryableIOException: Packet not sent to -
 Address[192.168.48.5]:4000
 at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:45)
 at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:40)
 at
 com.hazelcast.map.proxy.MapProxySupport.containsKeyInternal(MapProxySupport.java:371)
 at
 com.hazelcast.map.proxy.MapProxyImpl.containsKey(MapProxyImpl.java:215)
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.containsKey(HazelcastDistributedMapProvider.java:119)
 at
 org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:237)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:291)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExistsInternal(UserRegistry.java:777)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.access$800(UserRegistry.java:60)
 at
 org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:760)
 at
 org.wso2.carbon.registry.core.session.UserRegistry$9.run(UserRegistry.java:757)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:757)
 at
 org.wso2.carbon.deployment.synchronizer.internal.repository.CarbonRepositoryUtils.getDeploymentSyncConfigurationFromRegistry(CarbonRepositoryUtils.java:262)
 at
 org.wso2.carbon.deployment.synchronizer.internal.repository.CarbonRepositoryUtils.getActiveSynchronizerConfiguration(CarbonRepositoryUtils.java:108)
 at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:96)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncCommit(CarbonDeploymentSchedulerTask.java:207)
 at
 org.wso2

Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-17 Thread Nuwan Silva
To update on QA status,

We have covered the above mentioned areas in the latest packs (05-05-2015
pack also) and reported identified issues.
Basic flows have been tested with oracle and an extensive test was not
carried out as it will be shipped as an experimental script as per the AppM
team.

The long running test is running in the cluster and we will keep monitoring
its status.

The plan is to focus on the following in the coming week.

1. Cluster scenarios
2. EMM integration with the cluster,
3. Bug fixes
4. a stress test by adding 100+ apps and testing how the store responds.


Regards,
NuwanS.


On Wed, May 6, 2015 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.com wrote:



 On Wed, May 6, 2015 at 2:35 PM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Sumedha and Dinusha,

 Could you please mention non tested features and areas so far? If we can
 get it now, Nuwan  Asanthi can focus on those areas.


 There were couple of features like Enterprise subscription, Skip Creating
 Proxy App and XACML. But AFAIK, Asanthi covered those recently. So better
 if we can give priority to test on cluster environment. We expecting some
 of the issues faced with wso2 elb since we are using synapse gateway here
 as well. Need to see how gateway session handing and all behaves in cluster
 environment.

 Regards,
 Dinusha


 Regards,
 Aparna.



 On Wed, May 6, 2015 at 2:12 PM, Nuwan Silva nuw...@wso2.com wrote:

 We are setting up the cluster and will be doing a long running test.
 further more plan to do a stress test by creating 100+ web applications.

 Regards,
 NuwanS.

 On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com
 wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether the
 list given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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

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




 --
 *Regards,*
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533 0714002533*




 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] App Manager Release 1.0.0 - QA Plan changes

2015-05-06 Thread Nuwan Silva
We are setting up the cluster and will be doing a long running test.
further more plan to do a stress test by creating 100+ web applications.

Regards,
NuwanS.

On Wed, May 6, 2015 at 2:04 PM, Dinusha Senanayaka dinu...@wso2.com wrote:

 Hi Asanthi,

 Feature list looks ok. Additionally we need to give priority for,
 - Cluster setup
 - Testing with IS Service pack
 - Long running test

 Regards,
 Dinusha.

 On Wed, May 6, 2015 at 1:51 PM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi Dinusha,

 As discussed during the meeting , can you please confirm whether the list
 given below covers all the required features.

 - App life cycle and docs
 - App Visibility
 - Integration with BAM
 - BPS integration - Workflows
 - XACML
 - JWT
 - OAuth
 - Samples
 - Throttling
 - App Discovery
 - Deploy Sample feature
 - Session replication
 - Single log out
 - User roles
 - Cluster scenarios
 - Enterprise subscription
 - Skip Creating proxy Services
 - Integrating with EMM (iOS)
 - Long running and stress tests
 - Testing with Oracle
 - Testing in Windows





 --
 Dinusha Dilrukshi
 Associate Technical Lead
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] App Manager 1.0 - release test status update

2015-04-27 Thread Nuwan Silva
Update on the long running test.
ran the tests through the weekend with 1 thread and now is increased to 100
threads.

Will update will results.

Regards,
NuwanS.

On Mon, Apr 27, 2015 at 6:29 PM, Asanthi Kulasinghe asan...@wso2.com
wrote:

 *Update for 27/04/2015*

 *Covered areas:*
 1. XACML
 2. Testing with Oracle
 3. Long running test (In progress)
 4. BPS integration - Workflows (In progress)


 *Reported issues*

 https://wso2.org/jira/browse/APPM-832
 https://wso2.org/jira/browse/APPM-835
 https://wso2.org/jira/browse/APPM-836
 https://wso2.org/jira/browse/APPM-834
 https://wso2.org/jira/browse/APPM-833
 https://wso2.org/jira/browse/APPM-831
 https://wso2.org/jira/browse/APPM-830
 https://wso2.org/jira/browse/APPM-829
 https://wso2.org/jira/browse/APPM-828 (Re-opened)
 https://wso2.org/jira/browse/APPM-340 (Re-opened)




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [SS] Can not connect to a Cassandra cluster with CQL based connections.

2015-02-11 Thread Nuwan Silva
Thanks for the clarification Bhathiya. But, IMO we should clearly say that
we can not provision CQL based clusters through SS UI.
I did not come across any mention regarding this.

WDYT?

On Wed, Feb 11, 2015 at 2:11 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 HI Nuwan,

 We have CQL data reader shipped with 1.5.0. But it's not used for SS UI.
 But any other clients can use it.

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 2:07 PM, Nuwan Silva nuw...@wso2.com wrote:

 As per Harsha the CQL based datasource support is not there with 1.5.0
 right?

 So the CQL based configurations should be removed. Im referring [1] Enable
 the following for CQL datasource reader:
 or am I missing something?

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

 On Wed, Feb 11, 2015 at 1:02 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 HI Nilmini,

 I just went through and +1 for the change.

 @Nuwan: WDYT?

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 12:42 PM, Nilmini Perera nilm...@wso2.com
 wrote:

 Hi Bhathiya,

 Could you check the 'Configuring datasources Cassandra clusters'
 section in [1]. If this is still not clear enough, will use another
 approach.

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

 Thanks,
 Nilmini

 On Wed, Feb 11, 2015 at 9:36 AM, Bhathiya Jayasekara bhath...@wso2.com
  wrote:

 +1.

 @Nilmini: I'll guide you how to modify docs for this.

 Thanks,
 Bhathiya



 On Wed, Feb 11, 2015 at 9:15 AM, Nuwan Silva nuw...@wso2.com wrote:

 IMO We should remove those information from the documentation.

 On Tue, Feb 10, 2015 at 8:45 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Hi Nuwan,

 The CQL based data source support in the cluster component is not
 available yet. Instead you will need to use hector based data sources.

 Thanks,
 Harsha

 On Tue, Feb 10, 2015 at 6:31 PM, Nuwan Silva nuw...@wso2.com
 wrote:

 Configured SS 1.5.0 (10-02-2015) pack to connect to a 4 node
 Cassandra cluster with CQL based connection configured [1]. Following 
 error
 was thrown; We could connect to the cluster using hector based 
 connection.
 Issue with configurations used reported at [2]

 [2015-02-10 17:25:19,398] ERROR
 {org.wso2.carbon.cassandra.mgt.ui.CassandraKeyspaceAdminClient} -  
 Error
 retrieving keyspace names !
 org.apache.axis2.AxisFault: Error in looking up cluster instance:
 com.datastax.driver.core.Cluster cannot be cast to
 me.prettyprint.hector.api.Cluster

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments
 [2] https://wso2.org/jira/browse/SS-520

 Regards,
 NuwanS.
 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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

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




 --
 Nilmini Perera

 Senior Technical Writer
 WSO2 Inc.

 Mobile: 0094776722152




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

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [SS] Can not connect to a Cassandra cluster with CQL based connections.

2015-02-11 Thread Nuwan Silva
Hi Bhathiya,

Yes, We can either communicate with Cassandra using hector or CQL.
(that's what I meant).
+1 for *Note* that WSO2 Storage Server is a Hector-based client. I think
this is enough.

On Wed, Feb 11, 2015 at 2:34 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 Hi Nuwan,

 There's no such thing as CQL based clusters. We can either communicate
 with Cassandra using hector or CQL. Only SS UI can't use CQL. I thought
 that by below part it was clear. If it's not, let us know, Nilmini will fix
 it.

 Note that WSO2 Storage Server is a Hector-based client. Therefore, the
 Hector datasource reader should always be enabled in the datasource
 configuration to allow the provisioning storage server in your system to
 access the Cassandra cluster.

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 2:23 PM, Nuwan Silva nuw...@wso2.com wrote:

 Thanks for the clarification Bhathiya. But, IMO we should clearly say
 that we can not provision CQL based clusters through SS UI.
 I did not come across any mention regarding this.

 WDYT?

 On Wed, Feb 11, 2015 at 2:11 PM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 HI Nuwan,

 We have CQL data reader shipped with 1.5.0. But it's not used for SS UI.
 But any other clients can use it.

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 2:07 PM, Nuwan Silva nuw...@wso2.com wrote:

 As per Harsha the CQL based datasource support is not there with 1.5.0
 right?

 So the CQL based configurations should be removed. Im referring [1] Enable
 the following for CQL datasource reader:
 or am I missing something?

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

 On Wed, Feb 11, 2015 at 1:02 PM, Bhathiya Jayasekara bhath...@wso2.com
  wrote:

 HI Nilmini,

 I just went through and +1 for the change.

 @Nuwan: WDYT?

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 12:42 PM, Nilmini Perera nilm...@wso2.com
 wrote:

 Hi Bhathiya,

 Could you check the 'Configuring datasources Cassandra clusters'
 section in [1]. If this is still not clear enough, will use another
 approach.

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

 Thanks,
 Nilmini

 On Wed, Feb 11, 2015 at 9:36 AM, Bhathiya Jayasekara 
 bhath...@wso2.com wrote:

 +1.

 @Nilmini: I'll guide you how to modify docs for this.

 Thanks,
 Bhathiya



 On Wed, Feb 11, 2015 at 9:15 AM, Nuwan Silva nuw...@wso2.com
 wrote:

 IMO We should remove those information from the documentation.

 On Tue, Feb 10, 2015 at 8:45 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Hi Nuwan,

 The CQL based data source support in the cluster component is not
 available yet. Instead you will need to use hector based data sources.

 Thanks,
 Harsha

 On Tue, Feb 10, 2015 at 6:31 PM, Nuwan Silva nuw...@wso2.com
 wrote:

 Configured SS 1.5.0 (10-02-2015) pack to connect to a 4 node
 Cassandra cluster with CQL based connection configured [1]. 
 Following error
 was thrown; We could connect to the cluster using hector based 
 connection.
 Issue with configurations used reported at [2]

 [2015-02-10 17:25:19,398] ERROR
 {org.wso2.carbon.cassandra.mgt.ui.CassandraKeyspaceAdminClient} -  
 Error
 retrieving keyspace names !
 org.apache.axis2.AxisFault: Error in looking up cluster instance:
 com.datastax.driver.core.Cluster cannot be cast to
 me.prettyprint.hector.api.Cluster

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments
 [2] https://wso2.org/jira/browse/SS-520

 Regards,
 NuwanS.
 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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

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




 --
 Nilmini Perera

 Senior Technical Writer
 WSO2 Inc.

 Mobile: 0094776722152




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

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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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

Re: [Dev] [SS] Can not connect to a Cassandra cluster with CQL based connections.

2015-02-11 Thread Nuwan Silva
As per Harsha the CQL based datasource support is not there with 1.5.0
right?

So the CQL based configurations should be removed. Im referring [1] Enable
the following for CQL datasource reader:
or am I missing something?

[1]
https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

On Wed, Feb 11, 2015 at 1:02 PM, Bhathiya Jayasekara bhath...@wso2.com
wrote:

 HI Nilmini,

 I just went through and +1 for the change.

 @Nuwan: WDYT?

 Thanks,
 Bhathiya

 On Wed, Feb 11, 2015 at 12:42 PM, Nilmini Perera nilm...@wso2.com wrote:

 Hi Bhathiya,

 Could you check the 'Configuring datasources Cassandra clusters' section
 in [1]. If this is still not clear enough, will use another approach.

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments

 Thanks,
 Nilmini

 On Wed, Feb 11, 2015 at 9:36 AM, Bhathiya Jayasekara bhath...@wso2.com
 wrote:

 +1.

 @Nilmini: I'll guide you how to modify docs for this.

 Thanks,
 Bhathiya



 On Wed, Feb 11, 2015 at 9:15 AM, Nuwan Silva nuw...@wso2.com wrote:

 IMO We should remove those information from the documentation.

 On Tue, Feb 10, 2015 at 8:45 PM, Harsha Kumara hars...@wso2.com
 wrote:

 Hi Nuwan,

 The CQL based data source support in the cluster component is not
 available yet. Instead you will need to use hector based data sources.

 Thanks,
 Harsha

 On Tue, Feb 10, 2015 at 6:31 PM, Nuwan Silva nuw...@wso2.com wrote:

 Configured SS 1.5.0 (10-02-2015) pack to connect to a 4 node
 Cassandra cluster with CQL based connection configured [1]. Following 
 error
 was thrown; We could connect to the cluster using hector based 
 connection.
 Issue with configurations used reported at [2]

 [2015-02-10 17:25:19,398] ERROR
 {org.wso2.carbon.cassandra.mgt.ui.CassandraKeyspaceAdminClient} -  Error
 retrieving keyspace names !
 org.apache.axis2.AxisFault: Error in looking up cluster instance:
 com.datastax.driver.core.Cluster cannot be cast to
 me.prettyprint.hector.api.Cluster

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments
 [2] https://wso2.org/jira/browse/SS-520

 Regards,
 NuwanS.
 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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




 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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

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




 --
 Nilmini Perera

 Senior Technical Writer
 WSO2 Inc.

 Mobile: 0094776722152




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

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [SS] Can not connect to a Cassandra cluster with CQL based connections.

2015-02-10 Thread Nuwan Silva
IMO We should remove those information from the documentation.

On Tue, Feb 10, 2015 at 8:45 PM, Harsha Kumara hars...@wso2.com wrote:

 Hi Nuwan,

 The CQL based data source support in the cluster component is not
 available yet. Instead you will need to use hector based data sources.

 Thanks,
 Harsha

 On Tue, Feb 10, 2015 at 6:31 PM, Nuwan Silva nuw...@wso2.com wrote:

 Configured SS 1.5.0 (10-02-2015) pack to connect to a 4 node Cassandra
 cluster with CQL based connection configured [1]. Following error was
 thrown; We could connect to the cluster using hector based connection.
 Issue with configurations used reported at [2]

 [2015-02-10 17:25:19,398] ERROR
 {org.wso2.carbon.cassandra.mgt.ui.CassandraKeyspaceAdminClient} -  Error
 retrieving keyspace names !
 org.apache.axis2.AxisFault: Error in looking up cluster instance:
 com.datastax.driver.core.Cluster cannot be cast to
 me.prettyprint.hector.api.Cluster

 [1]
 https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments
 [2] https://wso2.org/jira/browse/SS-520

 Regards,
 NuwanS.
 --


 *Nuwan Silva*
 *Senior Software Engineer - QA*
 Mobile: +9477 980 4543

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




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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


[Dev] [SS] Can not connect to a Cassandra cluster with CQL based connections.

2015-02-10 Thread Nuwan Silva
Configured SS 1.5.0 (10-02-2015) pack to connect to a 4 node Cassandra
cluster with CQL based connection configured [1]. Following error was
thrown; We could connect to the cluster using hector based connection.
Issue with configurations used reported at [2]

[2015-02-10 17:25:19,398] ERROR
{org.wso2.carbon.cassandra.mgt.ui.CassandraKeyspaceAdminClient} -  Error
retrieving keyspace names !
org.apache.axis2.AxisFault: Error in looking up cluster instance:
com.datastax.driver.core.Cluster cannot be cast to
me.prettyprint.hector.api.Cluster

[1]
https://docs.wso2.com/display/SS150/Configuring+Multiple+Cassandra+Environments
[2] https://wso2.org/jira/browse/SS-520

Regards,
NuwanS.
-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


[Dev] SS 1.5.0 test plan

2015-01-22 Thread Nuwan Silva
Hi All,

We are currently testing SS 150 with [1]. Can you go through this plan and
comment on the areas that need to improve.

[1]
https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0Alq-9_6u4dFydDRQeEhRazF5R0FKTnYxd24zbm1vMEE#gid=1

Regards,
NuwanS.
-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] Error when logging from a tenant

2014-12-10 Thread Nuwan Silva
:38,989]  INFO
 {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - * Loaded
 tenant udara.com http://udara.com in 262 ms*


 --

 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897

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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] [Intermitent] Lock wait timeout exceeded; try restarting transaction

2014-11-18 Thread Nuwan Silva
)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 TID: [0] [DSS] [2014-11-17 10:30:54,665] ERROR
 {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
 Unable to create fixed remote mounts.
 {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
 org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
 delete the resource with id 41. Lock wait timeout exceeded; try restarting
 transaction

 This issue is reported at https://wso2.org/jira/browse/DS-995

 --
 Best Regards..

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




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




-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

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


Re: [Dev] WSO2 Committers += Niranjan Karunanandham

2014-11-03 Thread Nuwan Silva
Congrats 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 Engineer, WSO2 Inc.
 Tel: 0785293686

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




 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

 ___
 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




-- 


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

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


[Dev] Error while creating database in NDB Mysql Cluster

2014-10-03 Thread Nuwan Silva
$(subject) give the following error;
ERROR 1296 (HY000): Got error 708 'No more attribute metadata records
(increase MaxNoOfAttributes)' from NDBCLUSTER

While searching [1] suggests to increase *MaxNoOfAttributes=4G* and restart
Management node and data nodes respectively. We did but, still the issue
persists.

any idea on how we can resolve this?

[1] http://forums.mysql.com/read.php?25,597554,597554

Regards,
NuwanS.

-- 


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

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


[Dev] Starting ESB with -Dsetup with mysql NDB cluster

2014-10-02 Thread Nuwan Silva
When starting the ESB with -Dsetup for a Mysql NDB cluster does the
mysql_cluster.sql get executed or do we have to execute the
mysql_cluster.sql manually for the database?

Regards,
NuwanS.
-- 


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

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


Re: [Dev] Cassandra configs for MB cluster

2014-09-25 Thread Nuwan Silva
You need to configure
${CARBON_HOME}/repository/conf/advanced/andes-virtualhosts.xml. refer [1]
for configuring external Cassandra.

[1]
https://docs.wso2.com/display/CLUSTER420/External+Cassandra+and+ZooKeeper+Servers

Regards,
NuwanS.

On Fri, Sep 26, 2014 at 9:43 AM, Waruna Perera waru...@wso2.com wrote:

 Hi,

 I am trying to get simple test case up and running with MB cluster which I
 have been provided with. Can you tell me where I should configure Cassandra
 related properties in MB?

 Thanks

 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




-- 


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

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


Re: [Dev] Hazlecast Error in Centos 6.5

2014-09-10 Thread Nuwan Silva
I faced the same issue when switching from the older svn repo QA used to
the new version in the QA cloud. Think was due to svn repo missmatch

What I did was;
1. backup all artifacts
2. removes everything in $CARBON_HOME/repository/deployment/server/
(including .svn hidden files)
3. restart the server and add the artifacts

Regards,
NuwanS.

On Wed, Sep 10, 2014 at 4:13 PM, Thayalan thaya...@wso2.com wrote:

 Hi All,

 While setting up BAM 2.4.2 cluster set-up in Centos 6.5 noticed the below
 error during server start-up. Any idea for this exception.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception in
 thread Thread[Cluster [wso2.carbon.domain] coordinator elector
 thread,5,main]
 java.lang.NoSuchMethodError:
 com.hazelcast.core.HazelcastInstance.getLock(Ljava/lang/String;)Lcom/hazelcast/core/ILock;
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent$2.run(HazelcastClusteringAgent.java:227)

 --
 Regards,
 Thayalan Sivapaleswararajah
 Associate Technical Lead - QA
 Mob: +94(0)777872485
 Tel : +94(0)(11)2145345
 Fax : +94(0)(11)2145300
 Email: thaya...@wso2.com


 *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, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.*


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




-- 


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

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


Re: [Dev] Hazlecast Error in Centos 6.5

2014-09-10 Thread Nuwan Silva
small mistake please disregard my reply. similar issue but not the same.

On Wed, Sep 10, 2014 at 4:24 PM, Nuwan Silva nuw...@wso2.com wrote:

 I faced the same issue when switching from the older svn repo QA used to
 the new version in the QA cloud. Think was due to svn repo missmatch

 What I did was;
 1. backup all artifacts
 2. removes everything in $CARBON_HOME/repository/deployment/server/
 (including .svn hidden files)
 3. restart the server and add the artifacts

 Regards,
 NuwanS.

 On Wed, Sep 10, 2014 at 4:13 PM, Thayalan thaya...@wso2.com wrote:

 Hi All,

 While setting up BAM 2.4.2 cluster set-up in Centos 6.5 noticed the below
 error during server start-up. Any idea for this exception.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception in
 thread Thread[Cluster [wso2.carbon.domain] coordinator elector
 thread,5,main]
 java.lang.NoSuchMethodError:
 com.hazelcast.core.HazelcastInstance.getLock(Ljava/lang/String;)Lcom/hazelcast/core/ILock;
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent$2.run(HazelcastClusteringAgent.java:227)

 --
 Regards,
 Thayalan Sivapaleswararajah
 Associate Technical Lead - QA
 Mob: +94(0)777872485
 Tel : +94(0)(11)2145345
 Fax : +94(0)(11)2145300
 Email: thaya...@wso2.com


 *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, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.*


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




 --


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

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




-- 


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

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


Re: [Dev] WSO2 Committers += Shazni Nazir

2014-06-05 Thread Nuwan Silva
Congratz Shazni!!!


On Thu, Jun 5, 2014 at 7:52 PM, Ishara Premadasa ish...@wso2.com wrote:

 Congratulations !!


 On Wed, Jun 4, 2014 at 12:39 PM, Shani Ranasinghe sh...@wso2.com wrote:

 Congrats


 On Wed, Jun 4, 2014 at 6:26 AM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Congratz Shazni !!!


 On Wed, Jun 4, 2014 at 3:28 AM, Amal Gunatilake am...@wso2.com wrote:

 Congratz Shazni ! :)

 Thank you   Best regards,

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


 On Wed, Jun 4, 2014 at 11:13 AM, Gayan Yalpathwala gay...@wso2.com
 wrote:

 Congratulations Shazni!!


 On Wed, Jun 4, 2014 at 11:06 AM, Tishan Dahanayakage tis...@wso2.com
 wrote:

 Congratz Shazni!


 On Wed, Jun 4, 2014 at 11:04 AM, Nufail Mohamed nuf...@wso2.com
 wrote:

 Congrats Shazni


 On Wed, Jun 4, 2014 at 10:56 AM, Lali Devamanthri l...@wso2.com
 wrote:

 Congrats Shazni


 On Tue, Jun 3, 2014 at 7:51 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Congrats Shazni!!




 On Tue, Jun 3, 2014 at 7:49 PM, Subash Chaturanga sub...@wso2.com
  wrote:

 Hi all,
 It's my pleasure to announce Shazni as a WSO2 Committer. Shazni
 has done great contributions to G-Reg product and showed very good
 enthusiasm in his work. And in recognition of his contribution he 
 has been
 voted as a wso2 commiter.

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

 --
 Thanks
 /subash

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

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

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




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

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




 --
 *Lali Sudaththa Devamanthri*
 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 895 4922
  http://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




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

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

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




 --
 *Gayan Kaushalya Yalpathwala*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 71 8682704 http://asia14.wso2con.com/

  http://asia14.wso2con.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




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

 ___
 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




 --
 Ishara Premasada
 Software Engineer,
 WSO2 Inc. http://wso2.com/


 *Blog   :  http://isharapremadasa.blogspot.com/
 http://isharapremadasa.blogspot.com/Twitter   :
 https://twitter.com/ishadil https://twitter.com/ishadil Mobile   :
 +94 714445832 %2B94%20714445832*



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




-- 


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

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.com
___
Dev mailing list
Dev@wso2

Re: [Dev] WSO2 Committers += Lali Devamanthri

2014-05-30 Thread Nuwan Silva
Congratz Lali!!!


On Fri, May 30, 2014 at 12:11 PM, Dinesh Bandara dine...@wso2.com wrote:

 Congratulations !


 On Fri, May 30, 2014 at 11:08 AM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi All,

 It's my distinct pleasure to welcome Lali as a WSO2 Committer.

 Lali has  been a valuable contributor for WSO2 Developer Studio since he
 joined WSO2. In recognition of his contributions to WSO2, he has been voted
 as a WSO2 Committer.

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

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




 --
 *Dinesh Bandara*

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


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




-- 


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

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


Re: [Dev] WSO2 Committers += Sohani Weerasinghe

2014-05-30 Thread Nuwan Silva
Congratz Sohani!!!


On Fri, May 30, 2014 at 12:12 PM, Dinesh Bandara dine...@wso2.com wrote:

 Congratulations !


 On Fri, May 30, 2014 at 11:06 AM, Jasintha Dasanayake jasin...@wso2.com
 wrote:

 Hi All,

 It's my distinct pleasure to welcome Sohani as a WSO2 Committer.

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

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

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




 --
 *Dinesh Bandara*

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


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




-- 


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

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


Re: [Dev] Following info log continuously getting printed in MB 2.1.1

2014-05-05 Thread Nuwan Silva
This usually can happen when there are no Subscribers to the said topic
name ping. If you add a subscriber for this topic this should go away.

Thanks,


On Mon, May 5, 2014 at 5:00 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi MB Team,

 $Subject.

 TID: [0] [MB] [2014-05-05 04:29:41,726]  INFO
 {org.wso2.andes.server.exchange.TopicExchange} -  Message routing key: ping
 No routes. {org.wso2.andes.server.exchange.TopicExchange}

 TID: [0] [MB] [2014-05-05 04:29:41,727]  WARN
 {org.wso2.andes.server.AMQChannel} -  MESSAGE DISCARDED: No routes for
 message - Message[(HC:1446977428 ID:366315029839478784 Ref:0)]:
 366315029839478784; ref count: 0 {org.wso2.andes.server.AMQChannel}

 What is the impact of this? Is this harmless?

 Regards,
 AmilaM.
 --
 *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




-- 


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

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


[Dev] MB Cassandra profile memory allocation

2014-04-07 Thread Nuwan Silva
Hi All,

With WSO2 MB 2.2.0 we have introduced profiles to start an internal Apache
Cassandra and Zookeeper. While starting with Cassandra profile this starts
a carbon server with Cassandra. According to the MB Tuning guide [1] we can
set the MAX_HEAP_SIZE for Apache Cassandra in cassandra-env.sh.

AFAIK we do not pack this configuration file with WSO2 MB 2.2.0. Instead
cant we set the required memory parameters inside wso2server.sh it self?
any idea where we can set the required memory?

WDYT?

[1]
https://docs.google.com/a/wso2.com/document/d/11Vpu2CQUyE-ZcEH-Y7uFI-MN6a9Dsx5_8m7s4NK0LMA/edit#
-- 


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

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


Re: [Dev] WSO2 Committers += Ushani Balasooriya

2014-03-19 Thread Nuwan Silva
Congratz Ushani !!!


On Thu, Mar 20, 2014 at 9:14 AM, Manula Chathurika Thantriwatte 
manu...@wso2.com wrote:

 Congratulations !!!


 On Wed, Mar 19, 2014 at 9:23 PM, Dimuthu De Lanerolle 
 dimut...@wso2.comwrote:

 Congrats Ushani  !!!

 Regards
 Dimuthu.


 On Wednesday, 19 March 2014, Shani Ranasinghe sh...@wso2.com wrote:

 cngrts


 On Wed, Mar 19, 2014 at 1:31 AM, Malintha Adikari malin...@wso2.comwrote:

 Congratulations Ushani!!


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

 Hi,

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

 Welcome aboard Ushani and keep up the good work!

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

 wso2.com Lean Enterprise Midd
 leware

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




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




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



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



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




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

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




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




-- 


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

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


[Dev] [WO2 MB] Cassandra database corruption when running high load with MB

2014-02-27 Thread Nuwan Silva
:
me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException()
at
me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:35)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:285)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:268)
at
me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:103)
at
me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:258)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:131)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl.getSlice(KeyspaceServiceImpl.java:289)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:53)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery$1.doInKeyspace(ThriftSliceQuery.java:49)
at
me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)
at
me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeyspace.java:85)
at
me.prettyprint.cassandra.model.thrift.ThriftSliceQuery.execute(ThriftSliceQuery.java:48)
at
org.wso2.andes.server.store.util.CassandraDataAccessHelper.getMessagesFromQueue(CassandraDataAccessHelper.java:489)
at
org.wso2.andes.server.store.CassandraMessageStore.getMessagesFromGlobalQueue(CassandraMessageStore.java:1252)
at
org.wso2.andes.server.cluster.GlobalQueueWorker.run(GlobalQueueWorker.java:73)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: TimedOutException()
at
org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7296)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:552)
at
org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:536)
at
me.prettyprint.cassandra.service.KeyspaceServiceImpl$7.execute(KeyspaceServiceImpl.java:273)
... 16 more


Thanks,
NuwanS.

-- 


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

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


Re: [Dev] WSO2 Committers += Malintha Adikari

2014-02-24 Thread Nuwan Silva
Congrats Malintha :)


On Tue, Feb 25, 2014 at 9:13 AM, Dharshana Warusavitharana 
dharsha...@wso2.com wrote:

 Congratulations Malintha :)


 On Mon, Feb 24, 2014 at 6:05 PM, Dimuthu De Lanerolle 
 dimut...@wso2.comwrote:

 Congratulations Malintha ... !!!

 Regards,


 On Mon, Feb 24, 2014 at 5:43 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome to Malintha Adikari as a WSO2
 Committer. He has made some great contributions to test automation
 framework and to our platform. In acknowledgement of his contributions,
 he's been voted as a WSO2 Committer. Welcome aboard and keep up the good
 work!

 Thanks,
 Krishantha.


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

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




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


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




 --

 Dharshana Warusavitharana
 Senior Software Engineer , Test Automation
 WSO2 Inc. http://wso2.com
 email : dharsha...@wso2.com dharsha...@wso2.com
 Tel  : +94 11 214 5345
 Fax :+94 11 2145300
 cell : +94772202595
 blog : http://dharshanaw.blogspot.com

 lean . enterprise . middleware

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




-- 


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

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


Re: [Dev] Tenant Aware LoadBalance Endpoint failure in Chunk 08

2014-02-09 Thread Nuwan Silva
Hi Ushani,

I got the same issue and was resolved by building patch0002 in kernel

Thanks,
NuwanS.


On Mon, Feb 10, 2014 at 11:27 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Pls note the $subject.

 I had already built all the patch 1-5 and Chunk 01- 07 during the previous
 chunk 07 release.

 Then I took a  svn up from platform and tried to build chunk 08. It is
 failed due to the following issue.
 Then I built chunk 07 successfully once again and tried building chunk 08.
 Still the following issue occurs.






 *[ERROR] COMPILATION ERROR : [INFO]
 - [ERROR]
 /home/ushani/Downloads/Automation_TC/24_Jan_2014/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.1/src/main/java/org/wso2/carbon/lb/endpoint/group/mgt/GroupMgtAgentBuilder.java:[45,73]
 cannot find symbol symbol  : method getPrimaryHazelcastConfig()location:
 class org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent*


 Are there any dependencies to build before building chunk 08?


 Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




-- 


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

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


Re: [Dev] Tenant Aware LoadBalance Endpoint failure in Chunk 08

2014-02-09 Thread Nuwan Silva
seems org.wso2.carbon.identity.scim.common.stub 4.2.1 is missing;
[ERROR] Failed to execute goal on project org.wso2.carbon.identity.scim.ui:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.scim.ui:bundle:4.2.2: Failure to
find org.wso2.carbon:org.wso2.carbon.identity.scim.common.stub:jar:4.2.1 in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced - [Help 1]

http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.identity.scim.common.stub/



On Mon, Feb 10, 2014 at 12:02 PM, Ushani Balasooriya ush...@wso2.comwrote:

 Hi Nuwan,

 After building the patch 0002 , Tenant Aware LoadBalance Endpoint failure
 got resolved. But now the following SCIM UI component gets failed.

 [INFO] WSO2 Carbon - SCIM - UI Component


 On Mon, Feb 10, 2014 at 11:52 AM, Nuwan Silva nuw...@wso2.com wrote:

 Hi Ushani,

 I got the same issue and was resolved by building patch0002 in kernel

 Thanks,
 NuwanS.


 On Mon, Feb 10, 2014 at 11:27 AM, Ushani Balasooriya ush...@wso2.comwrote:

 Pls note the $subject.

 I had already built all the patch 1-5 and Chunk 01- 07 during the
 previous chunk 07 release.

 Then I took a  svn up from platform and tried to build chunk 08. It is
 failed due to the following issue.
 Then I built chunk 07 successfully once again and tried building chunk
 08. Still the following issue occurs.






 *[ERROR] COMPILATION ERROR : [INFO]
 - [ERROR]
 /home/ushani/Downloads/Automation_TC/24_Jan_2014/turing/components/load-balancer/lb-endpoint/org.wso2.carbon.lb.endpoint/4.2.1/src/main/java/org/wso2/carbon/lb/endpoint/group/mgt/GroupMgtAgentBuilder.java:[45,73]
 cannot find symbol symbol  : method getPrimaryHazelcastConfig()location:
 class org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent*


 Are there any dependencies to build before building chunk 08?


 Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --


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

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796




-- 


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

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


Re: [Dev] Build failure while building GREG 4.6.0

2014-01-26 Thread Nuwan Silva
any update?


On Fri, Jan 24, 2014 at 4:33 PM, Nuwan Silva nuw...@wso2.com wrote:

 building from
 /platform/turing/products/greg/4.6.0

 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Governance Registry - Distribution ... FAILURE
 [55.533s]
 [INFO] WSO2 Governance Registry - Integration Tests .. SKIPPED
 [INFO] WSO2 Governance Registry Test Framework - Registry Test Module
 Group  SKIPPED
 [INFO] Registry TCK Test Module .. SKIPPED
 [INFO] Registry TestNG Test Samples .. SKIPPED
 [INFO] Backward association handler Sample ... SKIPPED
 [INFO] Registry TestNG Test Module ... SKIPPED
 [INFO] Registry Resources TestNG Test Module . SKIPPED
 [INFO] Registry Metadata TestNG Test Module .. SKIPPED
 [INFO] Registry Extensibility TestNG Test Module . SKIPPED
 [INFO] Registry JIRA TestNG Test Module .. SKIPPED
 [INFO] Registry Lifecycle TestNG Test Module . SKIPPED
 [INFO] Registry Search and Versioning TestNG Test Module . SKIPPED
 [INFO] Registry Permissions TestNG Test Module ... SKIPPED
 [INFO] Registry Governance API TestNG Test Module  SKIPPED
 [INFO] Registry TestNG Test Module ... SKIPPED
 [INFO] Registry UI Test Module ... SKIPPED
 [INFO] Integration Test Reporting  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 56.671s
 [INFO] Finished at: Fri Jan 24 13:55:28 IST 2014
 [INFO] Final Memory: 124M/1325M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist)
 on project wso2greg: Failed to create assembly: File to filter not found:
 /home/nuwan/wso2/qa/automation_sessions/platform/turing/products/greg/4.6.0/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.2.0/repository/deployment/server/jaggeryapps/publisher/publisherLogo/logo.png
 (No such file or directory) - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


 --


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

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




-- 


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

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


[Dev] Build failure while building GREG 4.6.0

2014-01-24 Thread Nuwan Silva
building from
/platform/turing/products/greg/4.6.0

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSO2 Governance Registry - Distribution ... FAILURE [55.533s]
[INFO] WSO2 Governance Registry - Integration Tests .. SKIPPED
[INFO] WSO2 Governance Registry Test Framework - Registry Test Module
Group  SKIPPED
[INFO] Registry TCK Test Module .. SKIPPED
[INFO] Registry TestNG Test Samples .. SKIPPED
[INFO] Backward association handler Sample ... SKIPPED
[INFO] Registry TestNG Test Module ... SKIPPED
[INFO] Registry Resources TestNG Test Module . SKIPPED
[INFO] Registry Metadata TestNG Test Module .. SKIPPED
[INFO] Registry Extensibility TestNG Test Module . SKIPPED
[INFO] Registry JIRA TestNG Test Module .. SKIPPED
[INFO] Registry Lifecycle TestNG Test Module . SKIPPED
[INFO] Registry Search and Versioning TestNG Test Module . SKIPPED
[INFO] Registry Permissions TestNG Test Module ... SKIPPED
[INFO] Registry Governance API TestNG Test Module  SKIPPED
[INFO] Registry TestNG Test Module ... SKIPPED
[INFO] Registry UI Test Module ... SKIPPED
[INFO] Integration Test Reporting  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 56.671s
[INFO] Finished at: Fri Jan 24 13:55:28 IST 2014
[INFO] Final Memory: 124M/1325M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist)
on project wso2greg: Failed to create assembly: File to filter not found:
/home/nuwan/wso2/qa/automation_sessions/platform/turing/products/greg/4.6.0/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.2.0/repository/deployment/server/jaggeryapps/publisher/publisherLogo/logo.png
(No such file or directory) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


-- 


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

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


[Dev] [DEV] Build failure in chunk07

2014-01-22 Thread Nuwan Silva
[INFO] ESB UI Test Module  SKIPPED
[INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 5:50.786s
[INFO] Finished at: Wed Jan 22 15:30:10 IST 2014
[INFO] Final Memory: 799M/1822M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.humantask.ui: Compilation
failure
[ERROR]
/home/nuwan/products/esb/481/automation/platform/turing/components/business-processes/humantask/org.wso2.carbon.humantask.ui/4.2.2/src/main/java/org/wso2/carbon/humantask/ui/clients/HumanTaskClientAPIServiceClient.java:[304,16]
setOutput(org.apache.axis2.databinding.types.URI,org.apache.axis2.databinding.types.NCName,org.apache.axiom.om.OMElement)
in
org.wso2.carbon.humantask.stub.ui.task.client.api.HumanTaskClientAPIAdminStub
cannot be applied to
(org.apache.axis2.databinding.types.URI,org.apache.axis2.databinding.types.NCName,java.lang.String)
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

Thanks,
NuwanS.

-- 


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

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


Re: [Dev] [DEV] IllegalStateException while running a load with multiple tenants

2014-01-20 Thread Nuwan Silva
 only when the NHTTP/PT
 transports are used and not used for servlet transport because in the case
 of servlet transport, we correctly set everything in the Tomcat valve.

 Azeez


 On Fri, Jan 10, 2014 at 12:28 PM, Nuwan Silva nuw...@wso2.com wrote:

 The following error was observed when running a simple load test on
 ESB 4.8.1-M1 pack

 This was observed in many of the past releases. [1]
 https://wso2.org/jira/browse/ESBJAVA-2849

 trace:
 TID: [0] [ESB] [2014-01-10 12:16:59,748] ERROR
 {org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying to 
 set
 the domain from shashika.com to 
 nuwan.com{org.wso2.carbon.context.internal.CarbonContextDataHolder}
 java.lang.IllegalStateException: Trying to set the domain from
 shashika.com to nuwan.com
 at
 org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantDomain(CarbonContextDataHolder.java:1636)
 at
 org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:245)
 at
 org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:234)
 at
 org.wso2.carbon.mediation.initializer.handler.CarbonTenantInfoConfigurator.applyTenantInfo(CarbonTenantInfoConfigurator.java:66)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:201)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:146)
 at
 org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 TID: [0] [ESB] [2014-01-10 12:16:59,750] ERROR
 {org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying to 
 set
 the domain from 1 to 3
 {org.wso2.carbon.context.internal.CarbonContextDataHolder}
 java.lang.IllegalStateException: Trying to set the domain from 1 to 3
 at
 org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantId(CarbonContextDataHolder.java:1587)
 at
 org.wso2.carbon.context.PrivilegedCarbonContext.setTenantId(PrivilegedCarbonContext.java:208)
 at
 org.wso2.carbon.context.PrivilegedCarbonContext.setTenantId(PrivilegedCarbonContext.java:197)
 at
 org.wso2.carbon.mediation.initializer.handler.CarbonTenantInfoConfigurator.applyTenantInfo(CarbonTenantInfoConfigurator.java:67)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:201)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:146)
 at
 org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)

 [1]
 https://wso2.org/jira/browse/APIMANAGER-1912?jql=text%20~%20%22java.lang.IllegalStateException%3A%20Trying%20to%20set%20the%20domain%20from%22
 Thanks,
 NuwanS.

 --


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

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

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 * linked-in: **http://lk.linkedin.com/in/afkhamazeez
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware

[Dev] Invoking proxy service through HTTPS endpoint very slow

2014-01-20 Thread Nuwan Silva
Invoking $(subject) very slow.

invoking through HTTP endpoints are working but HTTPS endpoints, although
they work are very slow. takes around 3-5 seconds for a request to go
through.

https://wso2.org/jira/browse/ESBJAVA-2934

Thanks  Regards,
NuwanS.
-- 


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

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


[Dev] [DEV] IllegalStateException while running a load with multiple tenants

2014-01-09 Thread Nuwan Silva
The following error was observed when running a simple load test on ESB
4.8.1-M1 pack

This was observed in many of the past releases. [1]
https://wso2.org/jira/browse/ESBJAVA-2849

trace:
TID: [0] [ESB] [2014-01-10 12:16:59,748] ERROR
{org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying to set
the domain from shashika.com to
nuwan.com{org.wso2.carbon.context.internal.CarbonContextDataHolder}
java.lang.IllegalStateException: Trying to set the domain from shashika.comto
nuwan.com
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantDomain(CarbonContextDataHolder.java:1636)
at
org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:245)
at
org.wso2.carbon.context.PrivilegedCarbonContext.setTenantDomain(PrivilegedCarbonContext.java:234)
at
org.wso2.carbon.mediation.initializer.handler.CarbonTenantInfoConfigurator.applyTenantInfo(CarbonTenantInfoConfigurator.java:66)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:201)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:146)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
TID: [0] [ESB] [2014-01-10 12:16:59,750] ERROR
{org.wso2.carbon.context.internal.CarbonContextDataHolder} -  Trying to set
the domain from 1 to 3
{org.wso2.carbon.context.internal.CarbonContextDataHolder}
java.lang.IllegalStateException: Trying to set the domain from 1 to 3
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.setTenantId(CarbonContextDataHolder.java:1587)
at
org.wso2.carbon.context.PrivilegedCarbonContext.setTenantId(PrivilegedCarbonContext.java:208)
at
org.wso2.carbon.context.PrivilegedCarbonContext.setTenantId(PrivilegedCarbonContext.java:197)
at
org.wso2.carbon.mediation.initializer.handler.CarbonTenantInfoConfigurator.applyTenantInfo(CarbonTenantInfoConfigurator.java:67)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:201)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:146)
at
org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

[1]
https://wso2.org/jira/browse/APIMANAGER-1912?jql=text%20~%20%22java.lang.IllegalStateException%3A%20Trying%20to%20set%20the%20domain%20from%22
Thanks,
NuwanS.

-- 


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

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


Re: [Dev] WSO2 Committers += Shani

2013-12-16 Thread Nuwan Silva
Congrats Shani!!!


On Mon, Dec 16, 2013 at 1:50 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Congrats Shani!

 Thanks and Regards,

 Ruwan Yatawara

 Software Engineer,
 WSO2 Inc.
  lean . enterprise . middleware

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://ruwansrants.blogspot.com/
 www: :http://wso2.com



 On Mon, Dec 16, 2013 at 1:42 PM, Harsha Thirimanna hars...@wso2.comwrote:

 Congratulations...


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

  *Lean . Enterprise . Middleware*



 On Mon, Dec 16, 2013 at 1:41 PM, Nirmal Fernando nir...@wso2.com wrote:

 Congratulations Shani !


 On Monday, December 16, 2013, Dhanuka Ranasinghe wrote:

 Hi,

 Congrats Shani, and keep up the good work !!

 Cheers,
 Dhanuka

 *Dhanuka Ranasinghe*

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

 phone : +94 715381915


 On Mon, Dec 16, 2013 at 10:55 AM, Prabath Abeysekera praba...@wso2.com
  wrote:

 Hi All,

 It's my pleasure to welcome Shani Ranasinghe as a WSO2 Committer.
 Shani has been a key member of the team since she joined SS and has
 contributed greatly to SS related developments with a great deal of
 enthusiasm over the last couple of months. In recognition of her
 contributions, Shani's been voted as a WSO2 comitter.

 Shani, Welcome aboard and keep up the good work!


 Cheers,
 Prabath

 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471

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




 --

 Thanks  regards,
 Nirmal

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



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



 ___
 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




-- 


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

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


[Dev] [DEV] DSS 3.1.1 java.lang.StackOverflowError when tenant is loading

2013-12-06 Thread Nuwan Silva
The following issue was observer while testing the DSS 3.1.1 in a clustered
environment;

TID: [0] [DSS] [2013-12-06 15:34:18,785] ERROR
{org.apache.axis2.engine.AxisConfiguration} -  Error occured while
notifying observer {org.apache.axis2.engine.AxisConfiguration}
java.lang.StackOverflowError
at java.util.HashMap.hash(HashMap.java:366)
at java.util.HashMap.getEntry(HashMap.java:466)
at java.util.HashMap.get(HashMap.java:421)
at
org.apache.axis2.context.AbstractContext.getProperty(AbstractContext.java:126)
at
org.apache.axis2.context.MessageContext.getProperty(MessageContext.java:944)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:530)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:568)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getClone(CarbonContextDataHolder.java:417)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:546)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:568)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getClone(CarbonContextDataHolder.java:417)
at
org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:546)


This is reported in [1]

[1] https://wso2.org/jira/browse/DS-836

Thanks,
NuwanS.
-- 


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

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


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

2013-11-25 Thread Nuwan Silva
Congrats!!!


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

 Congrats !


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

 Congrad :)



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

  *Lean . Enterprise . Middleware*



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

 Hi All,

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


 Thanks,

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

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



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




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

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




-- 


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

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


[Dev] [DEV] EOFException thrown when starting Greg RC1 pack

2013-10-22 Thread Nuwan Silva
$(subject). please have a look

[2013-10-22 12:13:22,112] ERROR {org.apache.catalina.startup.ContextConfig}
-  Unable to process Jar entry
[me/prettyprint/cassandra/model/IndexedSlicesQuery$1.class] from Jar
[jar:file:/home/nuwan/carbon420/greg_cluster/standalone/wso2greg-4.6.0/repository/components/plugins/hector-core_1.1.0.wso2v1.jar!/]
for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
at
org.apache.tomcat.util.bcel.classfile.CodeException.init(CodeException.java:56)
at org.apache.tomcat.util.bcel.classfile.Code.init(Code.java:77)
at
org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:126)
at
org.apache.tomcat.util.bcel.classfile.FieldOrMethod.init(FieldOrMethod.java:58)
at org.apache.tomcat.util.bcel.classfile.Method.init(Method.java:72)
at
org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:268)
at
org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:128)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2104)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1980)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)
at
org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)
at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1325)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


https://wso2.org/jira/browse/REGISTRY-2082

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

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


Re: [Dev] [DEV] EOFException thrown when starting Greg RC1 pack

2013-10-22 Thread Nuwan Silva
Hi Subash,

seems the download was corrupted. will close the issue on this.


On Tue, Oct 22, 2013 at 12:30 PM, Subash Chaturanga sub...@wso2.com wrote:

 HI Nuwan,
 I unzip and started the pack without any issue in my linux box.  Sumedha
 did the same in his MAC and could not reproduce the issue.
 Can you re download the pack and try ? May be something corrupted at
 downlaod.


 On Tue, Oct 22, 2013 at 12:19 PM, Nuwan Silva nuw...@wso2.com wrote:

 $(subject). please have a look

 [2013-10-22 12:13:22,112] ERROR
 {org.apache.catalina.startup.ContextConfig} -  Unable to process Jar entry
 [me/prettyprint/cassandra/model/IndexedSlicesQuery$1.class] from Jar
 [jar:file:/home/nuwan/carbon420/greg_cluster/standalone/wso2greg-4.6.0/repository/components/plugins/hector-core_1.1.0.wso2v1.jar!/]
 for annotations
 java.io.EOFException
 at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
 at
 org.apache.tomcat.util.bcel.classfile.CodeException.init(CodeException.java:56)
 at org.apache.tomcat.util.bcel.classfile.Code.init(Code.java:77)
 at
 org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:126)
 at
 org.apache.tomcat.util.bcel.classfile.FieldOrMethod.init(FieldOrMethod.java:58)
 at org.apache.tomcat.util.bcel.classfile.Method.init(Method.java:72)
 at
 org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:268)
 at
 org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:128)
 at
 org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2104)
 at
 org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1980)
 at
 org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)
 at
 org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)
 at
 org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1325)
 at
 org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at
 org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
 at
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
 at
 org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
 at
 org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)


 https://wso2.org/jira/browse/REGISTRY-2082

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

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




 --
 Thanks
 /subash

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

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




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

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


[Dev] [DEV] Unable to create tenants in Greg - Unable to delete system collection at /_system/config

2013-10-22 Thread Nuwan Silva
)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
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.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:101)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


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

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


Re: [Dev] GReg Cluster - ClassNotFoundExceptions

2013-10-15 Thread Nuwan Silva
)

 at org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:236)
 at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

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

 at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException:
 org.wso2.carbon.registry.api.GhostResourge
 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:423)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 at
 org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:131)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:83)
 at com.hazelcast.nio.IOUtil$1.resolveClass(IOUtil.java:77)
 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
 at
 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
 at
 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
 at
 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
 at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:459)
 at
 com.hazelcast.nio.serialization.DefaultSerializers$ObjectSerializer.read(DefaultSerializers.java:187)

 ... 16 more



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

 http://www.wso2.com

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




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

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


Re: [Dev] [DEV] ERROR NullPointerException Error occurred while running CacheCleanupTask in GREG

2013-10-09 Thread Nuwan Silva
Could this cause the issue where we can not login to GREG?


On Wed, Oct 9, 2013 at 11:39 AM, Afkham Azeez az...@wso2.com wrote:

 The bug is in the implementation of the AuthorizationKey.equals method,
 which leads to this NPE


 On Wed, Oct 9, 2013 at 10:11 AM, Nuwan Silva nuw...@wso2.com wrote:

 Following occurs when running GREG cluster

 https://wso2.org/jira/browse/REGISTRY-1984

 Exception in thread hz.greg.qa.460.domain.instance.cached.thread-3
 java.lang.NullPointerException
 at
 org.wso2.carbon.user.core.authorization.AuthorizationKey.checkAttributesAreEqual(AuthorizationKey.java:116)
 at
 org.wso2.carbon.user.core.authorization.AuthorizationKey.equals(AuthorizationKey.java:61)
 at
 java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:930)
 at
 org.wso2.carbon.caching.impl.CacheImpl$TimestampMapEntryListenerImpl.entryUpdated(CacheImpl.java:1026)
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap$1.entryUpdated(HazelcastDistributedMapProvider.java:73)
 at com.hazelcast.map.MapService.dispatchEvent(MapService.java:698)
 at com.hazelcast.map.MapService.dispatchEvent(MapService.java:65)
 at
 com.hazelcast.spi.impl.EventServiceImpl$EventPacketProcessor.process(EventServiceImpl.java:444)
 at
 com.hazelcast.spi.impl.EventServiceImpl$RemoteEventPacketProcessor.run(EventServiceImpl.java:470)
 at
 com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:130)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)


 [2013-10-09 10:05:32,203] ERROR
 {org.wso2.carbon.caching.impl.CacheCleanupTask} -  Error occurred while
 running CacheCleanupTask
 java.lang.NullPointerException
 at
 org.wso2.carbon.user.core.authorization.AuthorizationKey.checkAttributesAreEqual(AuthorizationKey.java:116)
 at
 org.wso2.carbon.user.core.authorization.AuthorizationKey.equals(AuthorizationKey.java:61)
 at
 java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:958)
 at
 org.wso2.carbon.caching.impl.CacheImpl.syncCaches(CacheImpl.java:239)
 at
 org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)

 * Not sure if due to this, but can not login to the cluster setup as
 well.*
 [2013-10-09 09:58:05,024] ERROR
 {org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Error
 occurred while logging in
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
 at
 org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
 at
 org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
 at
 org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:77)
 at
 org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:358)
 at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:246)
 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:848)
 at
 org.wso2

Re: [Dev] [DEV] ERROR NullPointerException Error occurred while running CacheCleanupTask in GREG

2013-10-09 Thread Nuwan Silva
 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




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

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


Re: [Dev] [APIM 1.5.0 ] APIs are not visible on the store and registry for 15 minutes. Only shown in the recently added and when you click on the tags

2013-10-09 Thread Nuwan Silva
Same behaviour noticed in Greg testing as well.


On Wed, Oct 9, 2013 at 5:57 PM, Ushani Balasooriya ush...@wso2.com wrote:


 Following behavior can be seen in the store in set up done by the 8th Oct
 Pack:

 For  Super tenant mode :

 1. Created few APIs and published them. After like 15 minutes APIs were
 visible on the store at once with tags and also in the recently added
 section.
 2. But suddenly APIs went missing from the store, but available only in
 the recently added section and the tags of it. Intermittently it starts
 showing one API.
 3. It takes time to update the registry as well.
 4. Once the APIs started listing down in the registry only they will be
 available in the store recently added section, tags and in search results.
 but still it will not be available in the store main listing as given in
 the attachment.


 Issue which was reported [1] against a previous old pack is reopened. Pls
 have a look.

 [1] https://wso2.org/jira/browse/APIMANAGER-1725

 Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




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

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


Re: [Dev] [APIM 1.5.0 ] APIs are not visible on the store and registry for 15 minutes. Only shown in the recently added and when you click on the tags

2013-10-09 Thread Nuwan Silva
Tested with *parameter name=membershipSchememulticast/parameter* but
still the same result. resource was not shown till cache gets invalidated
after 15 mins.

checked by disabling cache *enableCachefalse/enableCache* and got the
same result.


On Thu, Oct 10, 2013 at 9:37 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:




 On Wed, Oct 9, 2013 at 10:54 PM, Amila De Silva ami...@wso2.com wrote:

 Please change the following block and see. You might need to change this
 one all the relevant nodes (i.e. GW,Store, Publisher)
 currentDBConfigwso2registry/currentDBConfig
 readOnlyfalse/readOnly
 *enableCachefalse/enableCache*
 registryRoot//registryRoot

 +1. disabling registry cache would work for this. But i guess this should
 handle at registry level when we update/modify resource. Isn't it?

 Thanks,
 sanjeewa.



 On Wed, Oct 9, 2013 at 10:46 PM, Chamara Ariyarathne 
 chama...@wso2.comwrote:

 Here is the store's registry.xml


 On Wed, Oct 9, 2013 at 10:35 PM, Amila De Silva ami...@wso2.com wrote:

 Hi Ushani,
 Among which nodes did you try syncing up the tiers.xml? I tried the
 same between Publisher and Store nodes, and a change made by one node gets
 immediately reflected on the other when registry caching is disabled. Can
 you please attach the registry.xml?

 AmilaD


 On Wed, Oct 9, 2013 at 8:50 PM, Ushani Balasooriya ush...@wso2.comwrote:

 15 minutes latency to populate changes is discovered when editing
 tiers.xml as well. As a solution changed the registry caching to disabled
 in registry.xml. But still the same issue is discovered. Is this 15 
 minutes
 configurable? If so where?


 On Wed, Oct 9, 2013 at 6:38 PM, Nuwan Silva nuw...@wso2.com wrote:

 Same behaviour noticed in Greg testing as well.


 On Wed, Oct 9, 2013 at 5:57 PM, Ushani Balasooriya 
 ush...@wso2.comwrote:


 Following behavior can be seen in the store in set up done by the
 8th Oct Pack:

 For  Super tenant mode :

 1. Created few APIs and published them. After like 15 minutes APIs
 were visible on the store at once with tags and also in the recently 
 added
 section.
 2. But suddenly APIs went missing from the store, but available only
 in the recently added section and the tags of it. Intermittently it 
 starts
 showing one API.
 3. It takes time to update the registry as well.
 4. Once the APIs started listing down in the registry only they will
 be available in the store recently added section, tags and in search
 results. but still it will not be available in the store main listing as
 given in the attachment.


 Issue which was reported [1] against a previous old pack is
 reopened. Pls have a look.

 [1] https://wso2.org/jira/browse/APIMANAGER-1725

 Regards,
 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




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

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




 --
 *Ushani Balasooriya*
 Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


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




 --
 *Amila De Silva*
 *
 *
 *Software Engineer*
  WSO2 Inc.*
 *
 mobile :(+94) 775119302


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




 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*




 --
 *Amila De Silva*
 *
 *
 *Software Engineer*
 WSO2 Inc.*
 *
 mobile :(+94) 775119302


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




 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




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

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


[Dev] [DEV] ERROR NullPointerException Error occurred while running CacheCleanupTask in GREG

2013-10-08 Thread Nuwan Silva
)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
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.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:101)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


Thanks,
NuwanS.

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

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


Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-07 Thread Nuwan Silva
Is this [1] what your looking for?

*Change LC State* - Represents the event of changing a lifecycle state

[1]
http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state transition
 happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

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




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

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


Re: [Dev] [Build] Packs built on 5th Oct - with revision 187322

2013-10-06 Thread Nuwan Silva
Hi All,

Are these packs testable? Can we proceed with testing with these packs?

Thanks,
NuwanS.


On Mon, Oct 7, 2013 at 10:30 AM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Hi Shavantha,

 CEP packs does not contains the changes that discussed..

 Regards,
 Mohan


 On Mon, Oct 7, 2013 at 9:23 AM, Shavantha Weerasinghe 
 shavan...@wso2.comwrote:

 hi All
 is the CEP pack with the changes discussed ?
 regards,

 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300



 On Sat, Oct 5, 2013 at 10:26 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi Team,
 Please download latest packs from following url[1].
 Last updated revision was 187322
 There were integration test failures in BAM/APIM/CEP and ESB. All of
 them are similar and sent separate notes to dev mail list.


 [1]http://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/
 wso2am-1.5.0.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2am-1.5.0.zip

  
 wso2bam-2.4.0.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2bam-2.4.0.zip

  
 wso2cep-3.0.0.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2cep-3.0.0.zip

  
 wso2esb-4.8.0.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2esb-4.8.0.zip
  
 wso2greg-4.6.0.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2greg-4.6.0.zip

  
 wso2ues-1.0.1.ziphttp://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N_05-10-13/wso2ues-1.0.1.zip




 Thanks,
 sanjeewa.
 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.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




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com *
 *lean.enterprise.middleware.*
 *
 *
 email: mo...@wso2.com
 phone:(+94) 771117673

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




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

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


[Dev] [DEV] [GREG][Blocker] IndexOutOfBoundsException thrown for tenants

2013-09-25 Thread Nuwan Silva
IndexOutOfBoundsException thrown for tenants.

JIRA: https://wso2.org/jira/browse/REGISTRY-2015

TID: [0] [Greg] [2013-09-25 18:54:06,662] INFO
{org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Starting to
clean tenant : 
nu1silva.com{org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}
TID: [0] [Greg] [2013-09-25 18:54:06,725] ERROR
{org.wso2.carbon.core.multitenancy.MultitenantServerManager} - Error
occurred while executing tenant cleanup
{org.wso2.carbon.core.multitenancy.MultitenantServerManager}
java.lang.IndexOutOfBoundsException: Index: 10, Size: 1
at java.util.LinkedList.checkElementIndex(LinkedList.java:553)
at java.util.LinkedList.remove(LinkedList.java:523)
at
org.wso2.carbon.registry.indexing.internal.IndexingServiceComponent$2.terminatingConfigurationContext(IndexingServiceComponent.java:97)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:525)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:487)

at
org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:436)

at
org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

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

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


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

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


Re: [Dev] Nightly Build Packs - 21/09/2013

2013-09-23 Thread Nuwan Silva
Hi Sanjeewa,

Is this the latest packs available for testing?

Thanks,
NuwanS.


On Sat, Sep 21, 2013 at 11:17 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:




 On Sat, Sep 21, 2013 at 7:39 PM, Vijitha Kumara viji...@wso2.com wrote:




 On Sat, Sep 21, 2013 at 11:14 AM, Sanjeewa Malalgoda 
 sanje...@wso2.comwrote:

 Please find the latest packs[2] with updated with patch provided by
 darshana.

 [2]http://builder3.us1.wso2.org/builds/chunk-02/21-sept-2013-v1/


 So, why the fix is committed to 4.2.0 component (r186038)?

 It was reverted and created 4.2.1




 Thanks,
 sanjeewa.


 On Sat, Sep 21, 2013 at 10:40 AM, Nirmal Fernando nir...@wso2.comwrote:

 Cool.


 On Sat, Sep 21, 2013 at 10:39 AM, Sumedha Rubasinghe 
 sume...@wso2.comwrote:

 Nirmal,
 Sanjeewa is re-building with the patch for
 https://wso2.org/jira/browse/REGISTRY-1957. We should wait for new
 packs to come.


 On Sat, Sep 21, 2013 at 10:22 AM, Nirmal Fernando nir...@wso2.comwrote:

 With this ELB pack, https://wso2.org/jira/browse/LB-104 should be
 fixed. QA team can you please verify, the normal session affinity stuff
 works and also this particular scenario work with the new pack?

 Thanks.


 On Sat, Sep 21, 2013 at 8:50 AM, Sanjeewa Malalgoda 
 sanje...@wso2.com wrote:

 Hi Team,

 Packs from revision 186029 (API Manager, GREG, CEP, ELB) can be
 downloaded from [1].

 [1] : http://builder3.us1.wso2.org/builds/chunk-02/21-sept-2013/



 Thanks and Regards,
 Sanjeewa.
 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




 --

 Thanks  regards,
 Nirmal

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


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




 --

 Thanks  regards,
 Nirmal

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




 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




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

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


Re: [Dev] Nightly Build Packs - 18/09/2013

2013-09-19 Thread Nuwan Silva
Hi Ravi/Isuru,

Do these packs have the fix for the ELB spinning issue?

Thanks,
NuwanS.


On Thu, Sep 19, 2013 at 12:07 AM, Ruwan Yatawara ruw...@wso2.com wrote:

 QA Team,

 Packs from revision 185866 (API Manager, GREG, CEP, ELB) can be downloaded
 from [1].

 [1] :
 http://ec2-54-224-94-128.compute-1.amazonaws.com/chunk-02/N-18_09_2013/



 Thanks and Regards,

 Ruwan Yatawara

 Software Engineer,
 WSO2 Inc.
 lean . enterprise . middleware

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://ruwansrants.blogspot.com/
 www: :http://wso2.com


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




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

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


Re: [Dev] Chunk-02 Nightly Build packs - 18/09/2013

2013-09-17 Thread Nuwan Silva
Hi Ravi,

The given ELB 2.1.0 contains ;

httpclient_4.2.5.wso2v1.jar
httpcore_4.3.0.wso2v1.jar
httpcore-nio_4.3.0.wso2v1.jar

Does this pack contain any fixes for the Spinning issue?
please advice.

Thanks,
NuwanS


On Wed, Sep 18, 2013 at 1:47 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi Team,

 Packs built on 4.2.0 Branch/Chunk-02 are available at the following
 location.

 http://builder3.us1.wso2.org/builds/chunk-02/N_18-09-13/

 Thanks,
 Sanjeewa.

 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




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

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