[Dev] WSO2 Committers += Damith Wickramasinghe

2015-06-14 Thread Sriskandarajah Suhothayan
Hi all,

Its my pleasure to welcome Damith Wickramasinghe as a
WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a great
contribution to WSO2 CEP and has shown great enthusiasm in his work both in
development and Geo related CEP effort. In recognition of his contribution,
he has been voted as a WSO2 Committer a month back.

Damith, welcome aboard and keep up the good work, and sorry for delaying
this mail.

Regards,
Suho.

-- 

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


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


Re: [Dev] WSO2 Committers += Damith Wickramasinghe

2015-06-14 Thread Kasun Bandara
Congratulations Damith !

On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan 
wrote:

> Hi all,
>
> Its my pleasure to welcome Damith Wickramasinghe as a
> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a great
> contribution to WSO2 CEP and has shown great enthusiasm in his work both in
> development and Geo related CEP effort. In recognition of his contribution,
> he has been voted as a WSO2 Committer a month back.
>
> Damith, welcome aboard and keep up the good work, and sorry for delaying
> this mail.
>
> Regards,
> Suho.
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
>  *WSO2 Inc. *http://wso2.com
> * *
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ twitter:
> http://twitter.com/suhothayan  | linked-in:
> http://lk.linkedin.com/in/suhothayan *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


Re: [Dev] Inbound Endpoints Protocols

2015-06-14 Thread Malaka Silva
Hi Sohani,

Well MQTT is still at development stage. Will let you know if we need it.

On Sun, Jun 14, 2015 at 12:22 PM, Sohani Weerasinghe 
wrote:

> Hi Malaka,
>
> ESB documentation states it supports "MQTT Inbound Protocol" as in [1],
> but when comparing the protocol support provided via management console, it
> has no option to specify MQTT.  Also I tried to add the config to the
> source view but it seems it is not getting saved.
>
> Additionally there is a support for CXF_WS_RM which is not included in the
> documentation.
>
> Since we need to support Inbound Creation from DevS side, can you please
> state whether we need to support MQTT as well.
>
> [1]
> https://docs.wso2.com/pages/viewpage.action?title=Working%2Bwith%2BInbound%2BEndpoints&spaceKey=ESB490
>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>



-- 

Best Regards,

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

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


Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] JMS Inbound Endpoint Integration tests with HornetQ

2015-06-14 Thread Malaka Silva
Hi Eranda,

You need to copy the required jars to components lib folder. When running
this via tests framework need to do it similar to the way done in [1]

eg:-
serverConfigurationManager.copyToComponentLib(new File(getClass().
getResource(JAR_LOCATION + File.separator +
ACTIVEMQ_CLIENT).toURI()));

[1[
https://github.com/wso2/product-esb/blob/master/modules/integration/tests-integration/tests-mediator-1/src/test/java/org/wso2/carbon/esb/message/store/test/JMSEndpointSuspensionViaVFSTest.java

On Sun, Jun 14, 2015 at 12:59 AM, eranda rajapaksha 
wrote:

> Hi,
>
> I am trying to create an ESB JMS inbound endpoint integration test with
> HornetQ broker. Since the testing framework doesn't support HornetQ broker,
> I am planning to run the broker outside and perform the test.
> I created a simple test class similar to which was done for JMS inbound
> endpoint polling consumer with ActiveMQ, and configured it with the HornetQ
> parameters, then I copied the HornetQ jars into
> /product-esb/modules/integration/tests-integration/tests-transport/src/test/resources/artifacts/ESB/jar/
> directory.
> But when I ran the test it shows a difficulty in finding the HornetQ
> library classes with the following exception.
> Is there anything that I have missed in configuring library files?
>
> Thank you!
>
> FAILED: testSharedTopic
>> Consuming messages from a shared topic
>> javax.naming.NoInitialContextException: Cannot instantiate class:
>> org.jnp.interfaces.NamingContextFactory [Root exception is
>> java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
>> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>> at javax.naming.InitialContext.init(InitialContext.java:242)
>> at javax.naming.InitialContext.(InitialContext.java:216)
>> at
>> org.wso2.carbon.esb.jms.inbound.transport.test.utills.JMS2TopicMessageProducer.(JMS2TopicMessageProducer.java:40)
>> at
>> org.wso2.carbon.esb.jms.inbound.transport.test.JMSInboundSharedSubscriberTestCase.testSharedTopic(JMSInboundSharedSubscriberTestCase.java:66)
>> 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>> at org.testng.TestRunner.run(TestRunner.java:608)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
>> at org.testng.TestNG.run(TestNG.java:999)
>> at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> Caused by: java.lang.ClassNotFoundException:
>> org.jnp.interfaces.NamingContextFactory
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> at java.security.AccessController.doPrivileged(Native

Re: [Dev] [AppFac] Access AppFactory REST API

2015-06-14 Thread Fathima Dilhasha
Hi,

As in this thread I was able to run the curl command for log in sometime
back. But now when I try the same command, it doesn't seem to work. What
can be the reason?

The command I'm using is as follows.

*curl -v -X  -c cookies POST -k
https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag

-d 'action=login&userName=@&password='*

Thanks.
Regards,
Dilhasha


Fathima Dilhasha Nazeer 
(M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha 
wrote:

> Hi Danushka,
>
> That solved the problem.
>
> Thanks.
> Regards,
> Dilhasha
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando 
> wrote:
>
>> Good point. Say your organization is xyz then your username should be
>> dilasha..wso2.com@xyz. Try that. Should work I guess.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
>> wrote:
>>
>>> Hi,
>>>
>>> Yes. I can login to public cloud using same credentials.
>>> But I need to clarify this. After I log in I choose between two
>>> organizations. Should my username include the organization as well?
>>>
>>> I will check by creating another account as well.
>>>
>>> Thanks.
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Fri, May 1, 2015 at 9:26 PM,  wrote:
>>>
  Hi Punnadi
 It returned false. Which means login is not successful.
 And further use the -c cookies in login command and use -b cookies in
 others and you don’t have to worry about session details in that way.

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

 *From:* Punnadi Gunarathna 
 *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
 *To:* Fathima Dilhasha 
 *Cc:* WSO2 Developers' List 

 Hi Fathima,

 I think your login is successful. Use the jsessionid to see invoke rest
 of the curl commands.
 On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
 wrote:

> Hi,
>
> I cannot seem to access the public cloud using the curl command for
> login.
>
> The curl command I'm using is as follows.
>
> *curl -v  -X POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
> 
> -d 'action=login&userName=dilha...@wso2.com
> &password=***'*
>
> Following is the result of that command.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ** Hostname was NOT found in DNS cache*   Trying 54.209.187.16...*
> Connected to apps.cloud.wso2.com 
> (54.209.187.16) port 443 (#0)* successfully set certificate verify
> locations:*   CAfile: none  CApath: /etc/ssl/certs* SSLv3, TLS handshake,
> Client hello (1):* SSLv3, TLS handshake, Server hello (2):* SSLv3, TLS
> handshake, CERT (11):* SSLv3, TLS handshake, Server key exchange (12):*
> SSLv3, TLS handshake, Server finished (14):* SSLv3, TLS handshake, Client
> key exchange (16):* SSLv3, TLS change cipher, Client hello (1):* SSLv3, 
> TLS
> handshake, Finished (20):* SSLv3, TLS change cipher, Client hello (1):*
> SSLv3, TLS handshake, Finished (20):* SSL connection using
> ECDHE-RSA-AES256-GCM-SHA384* Server certificate:*  subject: C=US;
> ST=California; L=Palo Alto; O=WSO2, Inc.; CN=*.cloud.wso2.com
> *  start date: 2014-05-23 00:00:00 GMT*
>  expire date: 2015-05-27 12:00:00 GMT*  issuer: C=US; O=DigiCert Inc;
> OU=www.digicert.com ; CN=DigiCert High Assurance
> CA-3*  SSL certificate verify ok.> POST
> /appmgt/site/blocks/user/login/ajax/login.jag HTTP/1.1> User-Agent:
> curl/7.35.0> Host: apps.cloud.wso2.com >
> Accept: */*> Content-Length: 65> Content-Type:
> application/x-www-form-urlencoded> * upload completely sent off: 65 out of
> 65 bytes< HTTP/1.1 200 OK* Server nginx/1.4.6 (Ubuntu) is not blacklisted<
> Server: nginx/1.4.6 (Ubuntu)< Date: Fri, 01 May 2015 15:15:51 GMT<
> Content-Type: text/html< Co

Re: [Dev] [AppFac] Access AppFactory REST API

2015-06-14 Thread Danushka Fernando
Did you try replacing @ with ..

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


On Jun 14, 2015 8:20 PM, "Fathima Dilhasha"  wrote:

> Hi,
>
> As in this thread I was able to run the curl command for log in sometime
> back. But now when I try the same command, it doesn't seem to work. What
> can be the reason?
>
> The command I'm using is as follows.
>
> *curl -v -X  -c cookies POST -k
> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
> 
> -d 'action=login&userName=@&password='*
>
> Thanks.
> Regards,
> Dilhasha
>
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha 
> wrote:
>
>> Hi Danushka,
>>
>> That solved the problem.
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando 
>> wrote:
>>
>>> Good point. Say your organization is xyz then your username should be
>>> dilasha..wso2.com@xyz. Try that. Should work I guess.
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Senior Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>>
>>> On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
>>> wrote:
>>>
 Hi,

 Yes. I can login to public cloud using same credentials.
 But I need to clarify this. After I log in I choose between two
 organizations. Should my username include the organization as well?

 I will check by creating another account as well.

 Thanks.

 Fathima Dilhasha Nazeer 
 (M.N.F.Dilhasha)
 Undergraduate | Department of Computer Science and Engineering
 University of Moratuwa
 Sri Lanka

 On Fri, May 1, 2015 at 9:26 PM,  wrote:

>  Hi Punnadi
> It returned false. Which means login is not successful.
> And further use the -c cookies in login command and use -b cookies in
> others and you don’t have to worry about session details in that way.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> *From:* Punnadi Gunarathna 
> *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
> *To:* Fathima Dilhasha 
> *Cc:* WSO2 Developers' List 
>
> Hi Fathima,
>
> I think your login is successful. Use the jsessionid to see invoke
> rest of the curl commands.
> On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
> wrote:
>
>> Hi,
>>
>> I cannot seem to access the public cloud using the curl command for
>> login.
>>
>> The curl command I'm using is as follows.
>>
>> *curl -v  -X POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>> 
>> -d 'action=login&userName=dilha...@wso2.com
>> &password=***'*
>>
>> Following is the result of that command.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ** Hostname was NOT found in DNS cache*   Trying 54.209.187.16...*
>> Connected to apps.cloud.wso2.com 
>> (54.209.187.16) port 443 (#0)* successfully set certificate verify
>> locations:*   CAfile: none  CApath: /etc/ssl/certs* SSLv3, TLS handshake,
>> Client hello (1):* SSLv3, TLS handshake, Server hello (2):* SSLv3, TLS
>> handshake, CERT (11):* SSLv3, TLS handshake, Server key exchange (12):*
>> SSLv3, TLS handshake, Server finished (14):* SSLv3, TLS handshake, Client
>> key exchange (16):* SSLv3, TLS change cipher, Client hello (1):* SSLv3, 
>> TLS
>> handshake, Finished (20):* SSLv3, TLS change cipher, Client hello (1):*
>> SSLv3, TLS handshake, Finished (20):* SSL connection using
>> ECDHE-RSA-AES256-GCM-SHA384* Server certificate:*  subject: C=US;
>> ST=California; L=Palo Alto; O=WSO2, Inc.; CN=*.cloud.wso2.com
>> *  start date: 2014-05-23 00:00:00 GMT*
>>  expire date: 2015-05-27 12:00:00 GMT*  issuer: C=US; O=DigiCert Inc;
>> OU=www.digicert.com ; CN=DigiCert High Assurance
>> CA-3*  SSL certificate verify ok.> POST
>> /appmgt/site/blocks/user/login/ajax/login.jag HTTP/1.1> User-Agent:
>> c

Re: [Dev] [AppFac] Access AppFactory REST API

2015-06-14 Thread Fathima Dilhasha
I tried replacing '@' before  with '..' . Still not
successful.

Fathima Dilhasha Nazeer 
(M.N.F.Dilhasha)
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka

On Sun, Jun 14, 2015 at 8:40 PM, Danushka Fernando 
wrote:

> Did you try replacing @ with ..
>
> Thanks & Regards
> Danushka Fernando
> Senior Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
>
> On Jun 14, 2015 8:20 PM, "Fathima Dilhasha" 
> wrote:
>
>> Hi,
>>
>> As in this thread I was able to run the curl command for log in sometime
>> back. But now when I try the same command, it doesn't seem to work. What
>> can be the reason?
>>
>> The command I'm using is as follows.
>>
>> *curl -v -X  -c cookies POST -k
>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>> 
>> -d 'action=login&userName=@&password='*
>>
>> Thanks.
>> Regards,
>> Dilhasha
>>
>>
>> Fathima Dilhasha Nazeer 
>> (M.N.F.Dilhasha)
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha > > wrote:
>>
>>> Hi Danushka,
>>>
>>> That solved the problem.
>>>
>>> Thanks.
>>> Regards,
>>> Dilhasha
>>>
>>> Fathima Dilhasha Nazeer 
>>> (M.N.F.Dilhasha)
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Sri Lanka
>>>
>>> On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando 
>>> wrote:
>>>
 Good point. Say your organization is xyz then your username should be
 dilasha..wso2.com@xyz. Try that. Should work I guess.

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


 On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
 wrote:

> Hi,
>
> Yes. I can login to public cloud using same credentials.
> But I need to clarify this. After I log in I choose between two
> organizations. Should my username include the organization as well?
>
> I will check by creating another account as well.
>
> Thanks.
>
> Fathima Dilhasha Nazeer 
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> On Fri, May 1, 2015 at 9:26 PM,  wrote:
>
>>  Hi Punnadi
>> It returned false. Which means login is not successful.
>> And further use the -c cookies in login command and use -b cookies in
>> others and you don’t have to worry about session details in that way.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> *From:* Punnadi Gunarathna 
>> *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
>> *To:* Fathima Dilhasha 
>> *Cc:* WSO2 Developers' List 
>>
>> Hi Fathima,
>>
>> I think your login is successful. Use the jsessionid to see invoke
>> rest of the curl commands.
>> On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
>> wrote:
>>
>>> Hi,
>>>
>>> I cannot seem to access the public cloud using the curl command for
>>> login.
>>>
>>> The curl command I'm using is as follows.
>>>
>>> *curl -v  -X POST -k
>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
>>> 
>>> -d 'action=login&userName=dilha...@wso2.com
>>> &password=***'*
>>>
>>> Following is the result of that command.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ** Hostname was NOT found in DNS cache*   Trying 54.209.187.16...*
>>> Connected to apps.cloud.wso2.com 
>>> (54.209.187.16) port 443 (#0)* successfully set certificate verify
>>> locations:*   CAfile: none  CApath: /etc/ssl/certs* SSLv3, TLS 
>>> handshake,
>>> Client hello (1):* SSLv3, TLS handshake, Server hello (2):* SSLv3, TLS
>>> handshake, CERT (11):* SSLv3, TLS handshake, Server key exchange (12):*
>>> SSLv3, TLS handshake, Server finished (14):* SSLv3, TLS handshake, 
>>> Client
>>> key exchange (16):* SSLv3, TLS change cipher, Client hello (1):* SSLv3, 
>>> TLS
>>> handshake, Finished (20):* SSLv3, TLS change cipher, Client hello (1):*
>>> SSLv3, TLS handshake, Finished (20):* SSL connection using
>>> ECDH

[Dev] [MDM] Platform Feature Descriptions for MDM 2.0.0 UI

2015-06-14 Thread Dilan Udara Ariyaratne
Hi Guys,

For the end-to-end completion of some operation invocation UIs & specially
for most of the policy creation UIs,
It's required to know some important details on Platform Features that we
are going to support in MDM 2.0.0.

Thus, sharing the following document to capture the necessary information.
​
 MDM Platform Feature Descriptions for UI

​
@KasunD, InoshP, Harhan and Milan, Can you guys have a look on necessary
details for the Android Platform and complete ?

@Dilshan, Can you have a look on necessary details for the iOS Platform and
complete ?

Thanks.

*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
lean . enterprise . middleware
Mobile: +94775149066
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MDM] Error occurred while issuing the access token

2015-06-14 Thread Prasad Tissera
Fixed this in carbon-identity master branch and will included in the next
release. Thanks.

Sent from my mobile
On Jun 12, 2015 9:45 PM, "Prasad Tissera"  wrote:

> We recreated issu with carbon-identity 4.4.0. Will update you with the
> progress. Thanks.
>
> Sent from my mobile
> On Jun 11, 2015 2:14 PM, "Prabath Abeysekera"  wrote:
>
>> Guys,
>>
>> I appreciate if we can get some help on this.
>>
>> Cheers,
>> Prabath
>>
>> On Wed, Jun 10, 2015 at 3:02 PM, Dulitha Wijewantha 
>> wrote:
>>
>>> ​Hi Dulanja/Johann,
>>> I am getting the same error as milan when trying refresh an access token
>>> with refresh token. Below I have included the stacktrace of the error.
>>>
>>> Cheers~​
>>>
>>>
>>> 14:58:36,538 org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO  -  Error
>>> while getting an Identity Persistence Store instance.
>>> org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: Error when
>>> storing the access token for consumer key : j9vLqqCBHwHYBJhoI4RK7uhzhwwa
>>> at
>>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:201)
>>> at
>>> org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.invalidateAndCreateNewToken(TokenMgtDAO.java:870)
>>> at
>>> org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler.issue(RefreshGrantHandler.java:210)
>>> at
>>> org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:187)
>>> at
>>> org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:176)
>>> at
>>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:234)
>>> at
>>> org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:108)
>>> 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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
>>> at
>>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
>>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
>>> at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
>>> at
>>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
>>> at
>>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
>>> at
>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>>> at
>>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>> at
>>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>>> at
>>> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>>> at
>>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>>> at
>>> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>>> at
>>> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>>> at
>>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>>> at
>>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>>> at
>>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>>> 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.webapp

Re: [Dev] Cross Origin Request Blocked when using socket.io

2015-06-14 Thread Sabra Ossen
Hi Tharik,

I searched up on CORS (Cross Origin Resource Sharing) and based on my
understanding the problem is that I am trying to access a resource on
another domain from my domain. Therefore a simple solution would be to
download both the *socket.io-1.2.0.js and jquery-1.11.1.js*.

I included them in the directory containing the html file and changed the
script as follows.

*.*

**


*.*
But the error still persists.

Regards.

On Sun, Jun 14, 2015 at 8:14 AM, Tharik Kanaka  wrote:

> Hi Sabra,
>
> This happens because of same origin policy where that specific resource
> hosted at some other domain and javascript is running on local machine. To
> resolve that usually CORS headers needs to be added to the response from
> the server side.
>
> In your case did you try by moving *socket.io-1.2.0.js* file (where you
> refer CDN hosted file in the code) to your local machine and refer it?
>
> Regards,
>
> On Sat, Jun 13, 2015 at 9:36 PM, Sabra Ossen  wrote:
>
>> Hi All,
>>
>> I am following the tutorial mentioned in [1] and trying to create a chat
>> application using socket.io and node js.
>>
>> I have installed express and socket.io on my machine. The versions are
>> specified in the package.json below.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *{  "name": "socket-chat-example",  "version": "0.0.1",  "description":
>> "my first socket.io  app",  "dependencies": {
>> "express": "~4.10.2","socket.io ": "~1.2.0"  }}*
>>
>> The node server code is specified below.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *var app = require('express')();var http =
>> require('http').Server(app);var io = require('socket.io
>> ')(http);app.get('/', function(req, res){
>> res.sendFile(__dirname + '/index.html');});io.on('connection',
>> function(socket){  socket.on('chat message', function(msg){
>> io.emit('chat message', msg);  });});http.listen(3000, function(){
>> console.log('listening on *:3000');});*
>>
>> The content of the html file being accessed is specified below.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *  Socket.IO chat
>>   * { margin: 0; padding: 0; box-sizing: border-box; }  body
>> { font: 13px Helvetica, Arial; }  form { background: #000; padding:
>> 3px; position: fixed; bottom: 0; width: 100%; }  form input { border:
>> 0; padding: 10px; width: 90%; margin-right: .5%; }  form button {
>> width: 9%; background: rgb(130, 224, 255); border: none; padding: 10px;
>> }  #messages { list-style-type: none; margin: 0; padding: 0; }
>> #messages li { padding: 5px 10px; }  #messages li:nth-child(odd) {
>> background: #eee; }> id="messages">  > autocomplete="off" />Send> src="https://cdn.socket.io/socket.io-1.2.0.js
>> <https://cdn.socket.io/socket.io-1.2.0.js>">> src="http://code.jquery.com/jquery-1.11.1.js
>> <http://code.jquery.com/jquery-1.11.1.js>">  var
>> socket = io();  $('form').submit(function(){socket.emit('chat
>> message', $('#m').val());$('#m').val('');return false;
>> });  socket.on('chat message', function(msg){
>> $('#messages').append($('
  • ').text(msg)); }); >> * >> >> The code can also be found in [2]. >> >> I am getting the following error in the firefox console with the app >> failing. >> >> >> *Cross-Origin Request Blocked: The Same Origin Policy disallows reading >> the remote resource at >> http://file/socket.io/?EIO=3&transport=polling&t=1434211017174-2 >> . >> (Reason: CORS request failed).GET XHR http://file/socket.io/ >> * >> >> I have exhaustively searched for a solution for the above issue but was >> unsuccessful. I highly appreciate any input on the above problem. Thanks in >> advance. >> >> [1] http://socket.io/get-started/chat/ >> [2] https://github.com/rauchg/chat-example >> >> Regards. >> -- >> Sabra Ossen >> Undergraduate | Department of Computer Science and Engineering >> University of Moratuwa >> Sri Lanka >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > *Tharik Kanaka* > > WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka > > Email: tha...@wso2.com | Web: www.wso2.com > -- Sabra Ossen Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/list

  • [Dev] Accessing JSON Payload from an incoming request JAX-RS Service

    2015-06-14 Thread Farazath Ahamed
    Hi,
    
    I am in the process of developing a REST API using JAX-RS.
    The incoming request to the endpoint contains a JSON payload which needs to
    be processed.
    
    Currently I am using the following approach to access the payload
    
    @Path("/rpt")
    public class UmaAuthorizationEndpoint {
    
    private static final Log log =
    LogFactory.getLog(UmaAuthorizationEndpoint.class);
    
    @POST
    @Path("/")
    @Consumes("application/json")
    @Produces("application/json")
    *public Response issueRPT(@Context HttpServletRequest
    request,@Multipart(value="application/json") String jsonPayload){*
    
    *// rest of the code*
    *}*
    
    I am using the @Multipart annotation to get the payload as a String and
    continue with parsing the JSON.
    
    
    Is this the usual approach? If not, Is there an alternative approach to do
    this?
    
    
    -- 
    *A.Farasath Ahamed*
    Undergraduate  | Department of Computer Science and Engineering,University
    of Moratuwa
    Article Writer | MoraSpirit
    Mobile: +94 777 603 866
    Blog: http://thepseudocode.blogspot.com
    E-Mail: mefaraz...@gmail.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

    2015-06-14 Thread Mohamed Fawzan
    Hi Srinath.
    
    I have added support for large file names in the streams [1]
      by showing the part of the stream
    name in the rectangle element. When you *hover *
    you can see the* full stream name. *Also when the user drag the element to
    the canvas, he get the same behavior their.
    
    Currently I'm working on connecting the elements. It is bit difficult. But
    I am close enough. I think i can present it by this week.
    
    -Regards
    
    [1] - http://vc.mutexlk.com/dashboard.html
    
    On Fri, Jun 12, 2015 at 4:29 PM, Mohamed Fawzan  wrote:
    
    > Thanks.
    >
    >
    > On Friday, June 12, 2015, Srinath Perera  wrote:
    >
    >> yes that is OK.
    >>
    >> On Fri, Jun 12, 2015 at 4:25 PM, Mohamed Fawzan 
    >> wrote:
    >>
    >>> Yes. It is a good time. I can take the 6.00AM Train from kandy. Can
    >>> reach colombo by 10.00 i guess. Is it o?
    >>>
    >>>
    >>> On Friday, June 12, 2015, Mohamed Fawzan  wrote:
    >>>
     Understood. Thanks Srinath.
    
     On Friday, June 12, 2015, Srinath Perera  wrote:
    
    > Input and output streams are the same thing. Sometimes, a stream can
    > be both inputs and outputs E.g. Stream 2.
    >
    > [image: Inline image 1]
    >
    > On Thu, Jun 11, 2015 at 1:53 PM, Mohamed Fawzan 
    > wrote:
    >
    >> Hi Srinath,
    >>
    >> Can you please help me to understand the streams? I mean the 
    >> InputOutputNode
    >> in.
    >>
    >>
    >> InputOutputNode : {
    >>
    >> connectionName : 'StockQuoteStream',
    >>
    >> connectionType :'Stream',
    >>
    >> connectionTypeDetails : 'para1:string, para2:int'
    >>
    >> }
    >>
    >>
    >> In the layout[1]  I have 
    >> considered Input & Output streams as separate things. Is it correct ? or 
    >> else are they belong to same category?
    >>
    >>
    >> -Regards
    >>
    >>
    >> [1]-http://vc.mutexlk.com/dashboard.html
    >>
    >>
    >> On Thu, Jun 11, 2015 at 10:53 AM, Mohamed Fawzan 
    >> wrote:
    >>
    >>> Hi,
    >>>
    >>>
    >>>
    >>> On Thu, Jun 11, 2015 at 8:04 AM, Srinath Perera 
    >>> wrote:
    >>>
     Need names inside canvas as well. ( need to handle large names).
    
     What are the children of streams? attributes?
    
    >>> I was planning to categorize streams there. Please see the updated
    >>> names here[1]. 
    >>>
    >>>
    >>>
    >>>
    >>>
     I would rather connect streams and operators, then click on
     operator and pick which attribute/ or attributes you use. If so I 
     would not
     show children against streams.
    
     On Thu, Jun 11, 2015 at 6:52 AM, Mohamed Fawzan 
     wrote:
    
    >
    > Hi Srinath,
    >
    > I have just added the streams names inside the rectangles [1]
    >  . Please check and comment
    > on it.
    >
    > -Regards
    >
    > [1] - http://vc.mutexlk.com/dashboard.html
    >
    > On Wed, Jun 10, 2015 at 5:55 PM, Mohamed Fawzan  > wrote:
    >
    >>
    >> On Wed, Jun 10, 2015 at 5:52 PM, Srinath Perera > > wrote:
    >>
    >>> We can do it several ways
    >>>
    >>> 1. have small connectors showing against each node ( Stream/
    >>> Operator), which you can click and drag to connector in other node.
    >>>
    >>
    >> +1, I had the same idea on my mind. I will work on that, Feel
    >> free to suggest other options as well.
    >>
    >>
    >>
    >>> 2. Second option drop into other one as you mention.
    >>>
    >>> I think #2 run into a problem if you want to connect two streams
    >>> to same operator ( e.g. Join). So I prefer #1. But open for other 
    >>> options.
    >>>
    >>> --Srinath
    >>>
    >>> On Wed, Jun 10, 2015 at 5:46 PM, Mohamed Fawzan <
    >>> fawz...@gmail.com> wrote:
    >>>
     Are we talking about connecting the streams & operators phase?
     If so what is your preferred method of doing it?
    
     does the connection made when we drop an operator on another
     operator OR drop an operator on a stream?
    
     Am I correct ?
    
    
    
     On Wed, Jun 10, 2015 at 5:42 PM, Srinath Perera <
     srin...@wso2.com> wrote:
    
    > We need to connect stream to operators and operator to other
    > operators by connectors?
    > Need to click on a connector and drg it to another operator or
    > stream. Would that clear?
    >
    > On Wed, Jun 10, 2015 at 5:36 PM, Mohamed Fawzan <
    > fawz...@gmail.com> wrote:
    >
    >>
    >> On Wed, Jun 10, 2015 at 5:31 PM, Srinath Perera <
    >> srin...@wso2.com> wrote:
    >>
    >>
    >>
    >

    Re: [Dev] [AppFac] Access AppFactory REST API

    2015-06-14 Thread Manisha Gayathri
    Hi Fathima,
    
    We too are experiencing the same and I have asked Vinuri to check on this
    in cloud.
    Will update you once it is fixed.
    
    Thanks
    Manisha
    
    On Sun, Jun 14, 2015 at 9:06 PM, Fathima Dilhasha 
    wrote:
    
    > I tried replacing '@' before  with '..' . Still not
    > successful.
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Sun, Jun 14, 2015 at 8:40 PM, Danushka Fernando 
    > wrote:
    >
    >> Did you try replacing @ with ..
    >>
    >> Thanks & Regards
    >> Danushka Fernando
    >> Senior Software Engineer
    >> WSO2 inc. http://wso2.com/
    >> Mobile : +94716332729
    >>
    >>
    >> On Jun 14, 2015 8:20 PM, "Fathima Dilhasha" 
    >> wrote:
    >>
    >>> Hi,
    >>>
    >>> As in this thread I was able to run the curl command for log in sometime
    >>> back. But now when I try the same command, it doesn't seem to work. What
    >>> can be the reason?
    >>>
    >>> The command I'm using is as follows.
    >>>
    >>> *curl -v -X  -c cookies POST -k
    >>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
    >>> 
    >>> -d 'action=login&userName=@&password='*
    >>>
    >>> Thanks.
    >>> Regards,
    >>> Dilhasha
    >>>
    >>>
    >>> Fathima Dilhasha Nazeer 
    >>> (M.N.F.Dilhasha)
    >>> Undergraduate | Department of Computer Science and Engineering
    >>> University of Moratuwa
    >>> Sri Lanka
    >>>
    >>> On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha <
    >>> dilhasha@gmail.com> wrote:
    >>>
     Hi Danushka,
    
     That solved the problem.
    
     Thanks.
     Regards,
     Dilhasha
    
     Fathima Dilhasha Nazeer 
     (M.N.F.Dilhasha)
     Undergraduate | Department of Computer Science and Engineering
     University of Moratuwa
     Sri Lanka
    
     On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando 
     wrote:
    
    > Good point. Say your organization is xyz then your username should be
    > dilasha..wso2.com@xyz. Try that. Should work I guess.
    >
    > Thanks & Regards
    > Danushka Fernando
    > Senior Software Engineer
    > WSO2 inc. http://wso2.com/
    > Mobile : +94716332729
    >
    >
    > On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
    > wrote:
    >
    >> Hi,
    >>
    >> Yes. I can login to public cloud using same credentials.
    >> But I need to clarify this. After I log in I choose between two
    >> organizations. Should my username include the organization as well?
    >>
    >> I will check by creating another account as well.
    >>
    >> Thanks.
    >>
    >> Fathima Dilhasha Nazeer 
    >> (M.N.F.Dilhasha)
    >> Undergraduate | Department of Computer Science and Engineering
    >> University of Moratuwa
    >> Sri Lanka
    >>
    >> On Fri, May 1, 2015 at 9:26 PM,  wrote:
    >>
    >>>  Hi Punnadi
    >>> It returned false. Which means login is not successful.
    >>> And further use the -c cookies in login command and use -b cookies
    >>> in others and you don’t have to worry about session details in that way.
    >>>
    >>> Thanks & Regards
    >>> Danushka Fernando
    >>> Software Engineer
    >>> WSO2 inc. http://wso2.com/
    >>> Mobile : +94716332729
    >>>
    >>> *From:* Punnadi Gunarathna 
    >>> *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
    >>> *To:* Fathima Dilhasha 
    >>> *Cc:* WSO2 Developers' List 
    >>>
    >>> Hi Fathima,
    >>>
    >>> I think your login is successful. Use the jsessionid to see invoke
    >>> rest of the curl commands.
    >>> On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
    >>> wrote:
    >>>
     Hi,
    
     I cannot seem to access the public cloud using the curl command for
     login.
    
     The curl command I'm using is as follows.
    
     *curl -v  -X POST -k
     https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
     
     -d 'action=login&userName=dilha...@wso2.com
     &password=***'*
    
     Following is the result of that command.
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     ** Hostname was NOT found in DNS cache*   Trying 54.209.187.16...*
     Connected to apps.cloud.wso2.com 
     (54.209.187.16) port 443 (#0)* successfully set certificate verify
     locations:*   CAfile: none  CApath: /etc/ssl/certs* SSLv3, TLS 
     handshake,
     Client hello (1):* SSLv3, TLS handshake, Server hello (2):* SSLv3, TL

    Re: [Dev] Inbound Endpoints Protocols

    2015-06-14 Thread Sohani Weerasinghe
    Thanks Malaka for the response.
    
    Regards,
    Sohani
    
    Sohani Weerasinghe
    Software Engineer
    WSO2, Inc: http://wso2.com
    
    Mobile  : +94 716439774
    Blog :http://christinetechtips.blogspot.com/
    Twitter  : https://twitter.com/sohanichristine
    
    On Sun, Jun 14, 2015 at 7:33 PM, Malaka Silva  wrote:
    
    > Hi Sohani,
    >
    > Well MQTT is still at development stage. Will let you know if we need it.
    >
    > On Sun, Jun 14, 2015 at 12:22 PM, Sohani Weerasinghe 
    > wrote:
    >
    >> Hi Malaka,
    >>
    >> ESB documentation states it supports "MQTT Inbound Protocol" as in [1],
    >> but when comparing the protocol support provided via management console, it
    >> has no option to specify MQTT.  Also I tried to add the config to the
    >> source view but it seems it is not getting saved.
    >>
    >> Additionally there is a support for CXF_WS_RM which is not included in
    >> the documentation.
    >>
    >> Since we need to support Inbound Creation from DevS side, can you please
    >> state whether we need to support MQTT as well.
    >>
    >> [1]
    >> https://docs.wso2.com/pages/viewpage.action?title=Working%2Bwith%2BInbound%2BEndpoints&spaceKey=ESB490
    >>
    >> Thanks,
    >> Sohani
    >> Sohani Weerasinghe
    >> Software Engineer
    >> WSO2, Inc: http://wso2.com
    >>
    >> Mobile  : +94 716439774
    >> Blog :http://christinetechtips.blogspot.com/
    >> Twitter  : https://twitter.com/sohanichristine
    >>
    >
    >
    >
    > --
    >
    > Best Regards,
    >
    > Malaka Silva
    > Senior Tech Lead
    > M: +94 777 219 791
    > Tel : 94 11 214 5345
    > Fax :94 11 2145300
    > Skype : malaka.sampath.silva
    > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
    > Blog : http://mrmalakasilva.blogspot.com/
    >
    > WSO2, Inc.
    > lean . enterprise . middleware
    > http://www.wso2.com/
    > http://www.wso2.com/about/team/malaka-silva/
    > 
    >
    > Save a tree -Conserve nature & Save the world for your future. Print this
    > email only if it is absolutely necessary.
    >
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] Accessing JSON Payload from an incoming request JAX-RS Service

    2015-06-14 Thread Milan Perera
    Hi Farazath,
    
    Instead of parsing the string manually, you can create a java bean class so
    that JAX-RS will parse it for you.
    For an example, let's say you have a json payload like this.
    
    {
      "fname": "Farazath",
      "lname": "Ahamed"
    }
    
    So you can create a java bean like this.
    
    class User {
    private String fname;
    private String lname;
    
    // getters and setters for above attributes
    }
    
    Then your method signature has to be changed to,
    
    *public Response issueRPT(@Context HttpServletRequest request, User user)*
    
    Hope this would help you.
    
    Regards,
    
    On Mon, Jun 15, 2015 at 4:35 AM, Farazath Ahamed 
    wrote:
    
    > Hi,
    >
    > I am in the process of developing a REST API using JAX-RS.
    > The incoming request to the endpoint contains a JSON payload which needs
    > to be processed.
    >
    > Currently I am using the following approach to access the payload
    >
    > @Path("/rpt")
    > public class UmaAuthorizationEndpoint {
    >
    > private static final Log log =
    > LogFactory.getLog(UmaAuthorizationEndpoint.class);
    >
    > @POST
    > @Path("/")
    > @Consumes("application/json")
    > @Produces("application/json")
    > *public Response issueRPT(@Context HttpServletRequest
    > request,@Multipart(value="application/json") String jsonPayload){*
    >
    > *// rest of the code*
    > *}*
    >
    > I am using the @Multipart annotation to get the payload as a String and
    > continue with parsing the JSON.
    >
    >
    > Is this the usual approach? If not, Is there an alternative approach to do
    > this?
    >
    >
    > --
    > *A.Farasath Ahamed*
    > Undergraduate  | Department of Computer Science and Engineering,University
    > of Moratuwa
    > Article Writer | MoraSpirit
    > Mobile: +94 777 603 866
    > Blog: http://thepseudocode.blogspot.com
    > E-Mail: mefaraz...@gmail.com
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Milan Harindu Perera
    Software Engineer
    *WSO2, Inc*
    (+94) 77 309 7088
    lean . enterprise . middleware
    
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Ramindu De Silva
    Congratulations damith :)
    
    On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara  wrote:
    
    > Congratulations Damith !
    >
    > On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan 
    > wrote:
    >
    >> Hi all,
    >>
    >> Its my pleasure to welcome Damith Wickramasinghe as a
    >> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a great
    >> contribution to WSO2 CEP and has shown great enthusiasm in his work both in
    >> development and Geo related CEP effort. In recognition of his contribution,
    >> he has been voted as a WSO2 Committer a month back.
    >>
    >> Damith, welcome aboard and keep up the good work, and sorry for delaying
    >> this mail.
    >>
    >> Regards,
    >> Suho.
    >>
    >> --
    >>
    >> *S. Suhothayan*
    >> Technical Lead & Team Lead of WSO2 Complex Event Processor
    >>  *WSO2 Inc. *http://wso2.com
    >> * *
    >> lean . enterprise . middleware
    >>
    >>
    >> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
    >> http://suhothayan.blogspot.com/ twitter:
    >> http://twitter.com/suhothayan  | linked-in:
    >> http://lk.linkedin.com/in/suhothayan *
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Kasun Bandara
    > *Software Engineer*
    > Mobile : +94 (0) 718 338 360
    > <%2B94%20%280%29%20773%20451194>
    > kas...@wso2.com 
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    *Ramindu De Silva*
    Software Engineer
    WSO2 Inc.: http://wso2.com
    lean.enterprise.middleware
    
    email: ramin...@wso2.com 
    mob: +94 772339350
    mob: +94 782731766
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Nuwan Dias
    Hi,
    
    It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
    @Sam, congratulations and keep up the good work!
    
    Thanks,
    NuwanD.
    
    -- 
    Nuwan Dias
    
    Technical Lead - WSO2, Inc. http://wso2.com
    email : nuw...@wso2.com
    Phone : +94 777 775 729
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Saneth Dharmakeerthi
    Congratulations Sam...
    
    Thanks and Best Regards,
    
    Saneth Dharmakeerthi
    Senior Software Engineer
    WSO2, Inc.
    Mobile: +94772325511
    
    On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    
    > Hi,
    >
    > It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
    > @Sam, congratulations and keep up the good work!
    >
    > Thanks,
    > NuwanD.
    >
    > --
    > Nuwan Dias
    >
    > Technical Lead - WSO2, Inc. http://wso2.com
    > email : nuw...@wso2.com
    > Phone : +94 777 775 729
    >
    > ___
    > 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
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Vinuri Perera
    Congrats Sam !
    
    On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi 
    wrote:
    
    > Congratulations Sam...
    >
    > Thanks and Best Regards,
    >
    > Saneth Dharmakeerthi
    > Senior Software Engineer
    > WSO2, Inc.
    > Mobile: +94772325511
    >
    > On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >
    >> Hi,
    >>
    >> It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
    >> @Sam, congratulations and keep up the good work!
    >>
    >> Thanks,
    >> NuwanD.
    >>
    >> --
    >> Nuwan Dias
    >>
    >> Technical Lead - WSO2, Inc. http://wso2.com
    >> email : nuw...@wso2.com
    >> Phone : +94 777 775 729
    >>
    >> ___
    >> 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
    >
    >
    
    
    -- 
    Vinuri Perera
    Software Engineer | WSO2 Inc
    
    M : 0711518805
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Vinuri Perera
    Congrats Damith !
    
    On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva  wrote:
    
    > Congratulations damith :)
    >
    > On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara  wrote:
    >
    >> Congratulations Damith !
    >>
    >> On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan > > wrote:
    >>
    >>> Hi all,
    >>>
    >>> Its my pleasure to welcome Damith Wickramasinghe as a
    >>> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a great
    >>> contribution to WSO2 CEP and has shown great enthusiasm in his work both in
    >>> development and Geo related CEP effort. In recognition of his contribution,
    >>> he has been voted as a WSO2 Committer a month back.
    >>>
    >>> Damith, welcome aboard and keep up the good work, and sorry for delaying
    >>> this mail.
    >>>
    >>> Regards,
    >>> Suho.
    >>>
    >>> --
    >>>
    >>> *S. Suhothayan*
    >>> Technical Lead & Team Lead of WSO2 Complex Event Processor
    >>>  *WSO2 Inc. *http://wso2.com
    >>> * *
    >>> lean . enterprise . middleware
    >>>
    >>>
    >>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
    >>> http://suhothayan.blogspot.com/ twitter:
    >>> http://twitter.com/suhothayan  | linked-in:
    >>> http://lk.linkedin.com/in/suhothayan *
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Kasun Bandara
    >> *Software Engineer*
    >> Mobile : +94 (0) 718 338 360
    >> <%2B94%20%280%29%20773%20451194>
    >> kas...@wso2.com 
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Ramindu De Silva*
    > Software Engineer
    > WSO2 Inc.: http://wso2.com
    > lean.enterprise.middleware
    >
    > email: ramin...@wso2.com 
    > mob: +94 772339350
    > mob: +94 782731766
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Vinuri Perera
    Software Engineer | WSO2 Inc
    
    M : 0711518805
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Rajeevan Vimalanathan
    Congrats Sam...!!!
    
    On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera  wrote:
    
    > Congrats Sam !
    >
    > On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi 
    > wrote:
    >
    >> Congratulations Sam...
    >>
    >> Thanks and Best Regards,
    >>
    >> Saneth Dharmakeerthi
    >> Senior Software Engineer
    >> WSO2, Inc.
    >> Mobile: +94772325511
    >>
    >> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >>
    >>> Hi,
    >>>
    >>> It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
    >>> @Sam, congratulations and keep up the good work!
    >>>
    >>> Thanks,
    >>> NuwanD.
    >>>
    >>> --
    >>> Nuwan Dias
    >>>
    >>> Technical Lead - WSO2, Inc. http://wso2.com
    >>> email : nuw...@wso2.com
    >>> Phone : +94 777 775 729
    >>>
    >>> ___
    >>> 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
    >>
    >>
    >
    >
    > --
    > Vinuri Perera
    > Software Engineer | WSO2 Inc
    >
    > M : 0711518805
    >
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    
    Vimalanathan Rajeevan
    Software Engineer
    WSO2 Inc.:http://wso2.com
    lean.enterprise.middleware
    
    
    Mobile : +94 773090875
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Thilini Cooray
    Congratulations, Sam !
    
    On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan 
    wrote:
    
    > Congrats Sam...!!!
    >
    > On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera  wrote:
    >
    >> Congrats Sam !
    >>
    >> On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi 
    >> wrote:
    >>
    >>> Congratulations Sam...
    >>>
    >>> Thanks and Best Regards,
    >>>
    >>> Saneth Dharmakeerthi
    >>> Senior Software Engineer
    >>> WSO2, Inc.
    >>> Mobile: +94772325511
    >>>
    >>> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >>>
     Hi,
    
     It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
     @Sam, congratulations and keep up the good work!
    
     Thanks,
     NuwanD.
    
     --
     Nuwan Dias
    
     Technical Lead - WSO2, Inc. http://wso2.com
     email : nuw...@wso2.com
     Phone : +94 777 775 729
    
     ___
     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
    >>>
    >>>
    >>
    >>
    >> --
    >> Vinuri Perera
    >> Software Engineer | WSO2 Inc
    >>
    >> M : 0711518805
    >>
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    >
    > Vimalanathan Rajeevan
    > Software Engineer
    > WSO2 Inc.:http://wso2.com
    > lean.enterprise.middleware
    >
    >
    > Mobile : +94 773090875
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Best Regards,
    
    *Thilini Cooray*
    Software Engineer
    Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    E-mail : thili...@wso2.com
    
    WSO2 Inc. www.wso2.com
    lean.enterprise.middleware
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Thilini Cooray
    Congratulations, Damith!
    
    On Mon, Jun 15, 2015 at 8:45 AM, Vinuri Perera  wrote:
    
    > Congrats Damith !
    >
    > On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva 
    > wrote:
    >
    >> Congratulations damith :)
    >>
    >> On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara  wrote:
    >>
    >>> Congratulations Damith !
    >>>
    >>> On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan <
    >>> s...@wso2.com> wrote:
    >>>
     Hi all,
    
     Its my pleasure to welcome Damith Wickramasinghe as a
     WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a great
     contribution to WSO2 CEP and has shown great enthusiasm in his work both in
     development and Geo related CEP effort. In recognition of his contribution,
     he has been voted as a WSO2 Committer a month back.
    
     Damith, welcome aboard and keep up the good work, and sorry for
     delaying this mail.
    
     Regards,
     Suho.
    
     --
    
     *S. Suhothayan*
     Technical Lead & Team Lead of WSO2 Complex Event Processor
      *WSO2 Inc. *http://wso2.com
     * *
     lean . enterprise . middleware
    
    
     *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
     http://suhothayan.blogspot.com/ twitter:
     http://twitter.com/suhothayan  | linked-in:
     http://lk.linkedin.com/in/suhothayan 
     *
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> Kasun Bandara
    >>> *Software Engineer*
    >>> Mobile : +94 (0) 718 338 360
    >>> <%2B94%20%280%29%20773%20451194>
    >>> kas...@wso2.com 
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> *Ramindu De Silva*
    >> Software Engineer
    >> WSO2 Inc.: http://wso2.com
    >> lean.enterprise.middleware
    >>
    >> email: ramin...@wso2.com 
    >> mob: +94 772339350
    >> mob: +94 782731766
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Vinuri Perera
    > Software Engineer | WSO2 Inc
    >
    > M : 0711518805
    >
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Best Regards,
    
    *Thilini Cooray*
    Software Engineer
    Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    E-mail : thili...@wso2.com
    
    WSO2 Inc. www.wso2.com
    lean.enterprise.middleware
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Senduran Balasubramaniyam
    Congratulations Sam !!!
    
    On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray  wrote:
    
    > Congratulations, Sam !
    >
    > On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan  > wrote:
    >
    >> Congrats Sam...!!!
    >>
    >> On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera  wrote:
    >>
    >>> Congrats Sam !
    >>>
    >>> On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi 
    >>> wrote:
    >>>
     Congratulations Sam...
    
     Thanks and Best Regards,
    
     Saneth Dharmakeerthi
     Senior Software Engineer
     WSO2, Inc.
     Mobile: +94772325511
    
     On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    
    > Hi,
    >
    > It is with great pleasure we welcome Sam Sivayogam as a WSO2 Committer.
    > @Sam, congratulations and keep up the good work!
    >
    > Thanks,
    > NuwanD.
    >
    > --
    > Nuwan Dias
    >
    > Technical Lead - WSO2, Inc. http://wso2.com
    > email : nuw...@wso2.com
    > Phone : +94 777 775 729
    >
    > ___
    > 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
    
    
    >>>
    >>>
    >>> --
    >>> Vinuri Perera
    >>> Software Engineer | WSO2 Inc
    >>>
    >>> M : 0711518805
    >>>
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >>
    >> Vimalanathan Rajeevan
    >> Software Engineer
    >> WSO2 Inc.:http://wso2.com
    >> lean.enterprise.middleware
    >>
    >>
    >> Mobile : +94 773090875
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Best Regards,
    >
    > *Thilini Cooray*
    > Software Engineer
    > Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    > E-mail : thili...@wso2.com
    >
    > WSO2 Inc. www.wso2.com
    > lean.enterprise.middleware
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    *Senduran *
    Software Engineer,
    WSO2, Inc.;  http://wso2.com/ 
    Mobile: +94 77 952 6548
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Kesavan Yogarajah
    Congratulations Sam !
    
    Kesavan Yogarajah
    Associate Software Engineer
    Mobile :+94 (0) 779 758021
    kesav...@wso2.com
    WSO2, Inc.
    lean . enterprise . middleware
    
    On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
    sendu...@wso2.com> wrote:
    
    > Congratulations Sam !!!
    >
    > On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
    > wrote:
    >
    >> Congratulations, Sam !
    >>
    >> On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
    >> rajeev...@wso2.com> wrote:
    >>
    >>> Congrats Sam...!!!
    >>>
    >>> On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera  wrote:
    >>>
     Congrats Sam !
    
     On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi >>> > wrote:
    
    > Congratulations Sam...
    >
    > Thanks and Best Regards,
    >
    > Saneth Dharmakeerthi
    > Senior Software Engineer
    > WSO2, Inc.
    > Mobile: +94772325511
    >
    > On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >
    >> Hi,
    >>
    >> It is with great pleasure we welcome Sam Sivayogam as a WSO2
    >> Committer. @Sam, congratulations and keep up the good work!
    >>
    >> Thanks,
    >> NuwanD.
    >>
    >> --
    >> Nuwan Dias
    >>
    >> Technical Lead - WSO2, Inc. http://wso2.com
    >> email : nuw...@wso2.com
    >> Phone : +94 777 775 729
    >>
    >> ___
    >> 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
    >
    >
    
    
     --
     Vinuri Perera
     Software Engineer | WSO2 Inc
    
     M : 0711518805
    
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>>
    >>> Vimalanathan Rajeevan
    >>> Software Engineer
    >>> WSO2 Inc.:http://wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>>
    >>> Mobile : +94 773090875
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Best Regards,
    >>
    >> *Thilini Cooray*
    >> Software Engineer
    >> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >> E-mail : thili...@wso2.com
    >>
    >> WSO2 Inc. www.wso2.com
    >> lean.enterprise.middleware
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Senduran *
    > Software Engineer,
    > WSO2, Inc.;  http://wso2.com/ 
    > Mobile: +94 77 952 6548
    >
    > ___
    > 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] [MB] Console allows the user to delete a queue when publishing

    2015-06-14 Thread Jason De Silva
    Hi All,
    
    In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
    messages to a queue it is possible to delete the queue from the console and
    a popup shows that it is deleted successfully. After couple of refreshes
    the queue is not shown in console.
    Later if the same queue is re-added via the console the queue will have
    some messages shown, is it valid?
    
    Regards,
    Jason
    
    -- 
    Jason De Silva
    *Software Engineer - QA*
    Mobile: +94 (0) 772 097 678
    Email: jas...@wso2.com
    WSO2 Inc. www.wso2.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Elilmatha Sivanesan
    Congratulations Sam...
    
    On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah 
    wrote:
    
    > Congratulations Sam !
    >
    > Kesavan Yogarajah
    > Associate Software Engineer
    > Mobile :+94 (0) 779 758021
    > kesav...@wso2.com
    > WSO2, Inc.
    > lean . enterprise . middleware
    >
    > On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
    > sendu...@wso2.com> wrote:
    >
    >> Congratulations Sam !!!
    >>
    >> On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
    >> wrote:
    >>
    >>> Congratulations, Sam !
    >>>
    >>> On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
    >>> rajeev...@wso2.com> wrote:
    >>>
     Congrats Sam...!!!
    
     On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
     wrote:
    
    > Congrats Sam !
    >
    > On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
    > sane...@wso2.com> wrote:
    >
    >> Congratulations Sam...
    >>
    >> Thanks and Best Regards,
    >>
    >> Saneth Dharmakeerthi
    >> Senior Software Engineer
    >> WSO2, Inc.
    >> Mobile: +94772325511
    >>
    >> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >>
    >>> Hi,
    >>>
    >>> It is with great pleasure we welcome Sam Sivayogam as a WSO2
    >>> Committer. @Sam, congratulations and keep up the good work!
    >>>
    >>> Thanks,
    >>> NuwanD.
    >>>
    >>> --
    >>> Nuwan Dias
    >>>
    >>> Technical Lead - WSO2, Inc. http://wso2.com
    >>> email : nuw...@wso2.com
    >>> Phone : +94 777 775 729
    >>>
    >>> ___
    >>> 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
    >>
    >>
    >
    >
    > --
    > Vinuri Perera
    > Software Engineer | WSO2 Inc
    >
    > M : 0711518805
    >
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
    
     Vimalanathan Rajeevan
     Software Engineer
     WSO2 Inc.:http://wso2.com
     lean.enterprise.middleware
    
    
     Mobile : +94 773090875
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> Best Regards,
    >>>
    >>> *Thilini Cooray*
    >>> Software Engineer
    >>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >>> E-mail : thili...@wso2.com
    >>>
    >>> WSO2 Inc. www.wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> *Senduran *
    >> Software Engineer,
    >> WSO2, Inc.;  http://wso2.com/ 
    >> Mobile: +94 77 952 6548
    >>
    >> ___
    >> 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
    >
    >
    
    
    -- 
    *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
    
    

    Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

    2015-06-14 Thread Tharindu Munasinghe
    Hi Mentors,
    
    I have almost completed the implementation of syntax and semantic error
    highlighting mechanism. Now the errors are listed in appropriate
    lines while user is writing the query . Number of server calls are reduced
    significantly , but still more optimizations can be done on this.
    
    This week I will be working on the auto completion feature , current editor
    does have all-text auto completion. But I am trying to reduce the
    suggestion list based on the context-awareness.
    
    Can we have a meeting in this week to verify the work I have already done
    and to discuss the proceedings of this project ?.
    
    On 11 June 2015 at 08:08, Tharindu Munasinghe 
    wrote:
    
    > Hi Suho,
    >
    >
    > *Weekly Progress Update*
    >
    > I have been working on syntax and semantic error highlighting
    > mechanism. Client side syntax checking is almost completed and I managed to
    > integrate new editor with CEP 4.0 .Once there are no syntax errors , the
    > query will be submitted to the server side Siddhi compiler for semantic
    > error checking .
    >
    > Since the syntax errors are checked in client side, only the semantic
    > error messages will be getting from the server . But there was an issue in
    > displaying the error messages since some of the semantic error messages do
    > not contain the line numbers.
    >
    > To overcome the issue , I divided the query into top level parser rules (
    > define_stream, execution_element, ...) and send the code to the server in a
    > constructive manner . So that the line which raise the error message can be
    > identified.
    >
    > suppose the code is similar to this,
    >
    >1. define stream foo(a int ,b string); //define_stream : at line 1-->
    >A
    >2.
    >3. define stream foo(a int ,b int); //define_stream : at line 3 --->B
    >4.
    >5. from foo//execution_element : at line
    >5> C
    >6. select a
    >7. insert into bar;
    >
    >
    > If the code has no syntax errors then,it will be submitted to server as
    > follows,
    > A , A+B , A+B+C
    >
    > Since this feature can't be demonstrated in github pages. It would
    > be great if we can meet and verify the progress before sending the PR.
    >
    > Thanks
    >
    > On 3 June 2015 at 16:06, Sriskandarajah Suhothayan  wrote:
    >
    >> Thanks for the update, yes keep us posted
    >>
    >> Suho
    >>
    >> On Wed, Jun 3, 2015 at 9:26 AM, Tharindu Munasinghe <
    >> tharindu...@cse.mrt.ac.lk> wrote:
    >>
    >>> Hi Suho
    >>>
    >>> I am working on the client side syntax checker (improving the error
    >>> messages) and integrating the new editor with CEP. As soon as I
    >>> complete them I will review the work with you before sending  PRs .
    >>> Sorry for delay in updating the progress. I will update you frequently
    >>> from now onward.
    >>>
    >>> Thanks,
    >>>
    >>> On 2 June 2015 at 21:06, Sriskandarajah Suhothayan 
    >>> wrote:
    >>> > Hi Tharindu
    >>> >
    >>> > Your work looks good, do you have any updates ?
    >>> >
    >>> > Suho
    >>> >
    >>> > On Sun, May 24, 2015 at 9:54 AM, Mohanadarshan Vivekanandalingam
    >>> >  wrote:
    >>> >>
    >>> >>
    >>> >>
    >>> >> On Wed, May 20, 2015 at 2:27 AM, Tharindu Munasinghe
    >>> >>  wrote:
    >>> >>>
    >>> >>> Hi Mentors,
    >>> >>
    >>> >>
    >>> >> Hi Tharindu,
    >>> >>
    >>> >>>
    >>> >>>
    >>> >>> I have started the initial implementation of client-side features
    >>> like
    >>> >>> syntax highlighting , code completion and code-snippets. I have
    >>> tried both
    >>> >>> ACE editor as well as Code-mirror libraries but according to my
    >>> observation,
    >>> >>> ACE editor can easily be customized for domain specific languages.
    >>> >>>
    >>> >>> Current implementation [1] is based on ACE library. The progress of
    >>> the
    >>> >>> implementation as follows,
    >>> >>>
    >>> >>> Syntax Highlighting :almost completed
    >>> >>>
    >>> >>> Code completion :
    >>> >>>   Currently the keywords,annotations, and locally defined
    >>> >>> identifiers can be suggested.But the suggestion list still need to be
    >>> >>> optimized based on the context awareness.
    >>> >>>
    >>> >>> Code snippets:
    >>> >>>Predefined code snippets are supported for now (Eg:
    >>> "defStr":
    >>> >>> define stream , "attr","attrS") . User defined code snippets have to
    >>> be
    >>> >>> handled .
    >>> >>>
    >>> >>> Error checking:
    >>> >>> Client side Siddhi parser (Antlr4 in JS runtime) was
    >>> >>> integrated with Siddhi Editor. It just verify the syntactical
    >>> correctness of
    >>> >>> the query and shows error indicators with error messages on relevant
    >>> lines
    >>> >>> immediately . Currently the error messages are somewhat abstract and
    >>> there
    >>> >>> are issues in triggering the event as well . So there are
    >>> improvements still
    >>> >>> need to be done on this.  For now, This feature only focuses on the
    >>> syntax
    >>> >>> that can be evaluated at client-side. For semantic verifications,
    >>> Ajax
    >>> >>> requests need to be sent (if only the client side parser doesn't
    >>> find any
    >>> >>> syntax errors) to the existing server-side Siddhi Compiler (That
    >>> part is yet
    >>> >>> to be done).
    >>> >>>
    >>> >>>
    >>> >>> The source code at [1] only contains the client side fe

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Chamalee De Silva
    Congrats Sam!
    
    On Mon, Jun 15, 2015 at 9:26 AM, Elilmatha Sivanesan 
    wrote:
    
    > Congratulations Sam...
    >
    > On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah 
    > wrote:
    >
    >> Congratulations Sam !
    >>
    >> Kesavan Yogarajah
    >> Associate Software Engineer
    >> Mobile :+94 (0) 779 758021
    >> kesav...@wso2.com
    >> WSO2, Inc.
    >> lean . enterprise . middleware
    >>
    >> On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
    >> sendu...@wso2.com> wrote:
    >>
    >>> Congratulations Sam !!!
    >>>
    >>> On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
    >>> wrote:
    >>>
     Congratulations, Sam !
    
     On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
     rajeev...@wso2.com> wrote:
    
    > Congrats Sam...!!!
    >
    > On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
    > wrote:
    >
    >> Congrats Sam !
    >>
    >> On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
    >> sane...@wso2.com> wrote:
    >>
    >>> Congratulations Sam...
    >>>
    >>> Thanks and Best Regards,
    >>>
    >>> Saneth Dharmakeerthi
    >>> Senior Software Engineer
    >>> WSO2, Inc.
    >>> Mobile: +94772325511
    >>>
    >>> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias  wrote:
    >>>
     Hi,
    
     It is with great pleasure we welcome Sam Sivayogam as a WSO2
     Committer. @Sam, congratulations and keep up the good work!
    
     Thanks,
     NuwanD.
    
     --
     Nuwan Dias
    
     Technical Lead - WSO2, Inc. http://wso2.com
     email : nuw...@wso2.com
     Phone : +94 777 775 729
    
     ___
     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
    >>>
    >>>
    >>
    >>
    >> --
    >> Vinuri Perera
    >> Software Engineer | WSO2 Inc
    >>
    >> M : 0711518805
    >>
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    >
    > Vimalanathan Rajeevan
    > Software Engineer
    > WSO2 Inc.:http://wso2.com
    > lean.enterprise.middleware
    >
    >
    > Mobile : +94 773090875
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     Best Regards,
    
     *Thilini Cooray*
     Software Engineer
     Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
     E-mail : thili...@wso2.com
    
     WSO2 Inc. www.wso2.com
     lean.enterprise.middleware
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> *Senduran *
    >>> Software Engineer,
    >>> WSO2, Inc.;  http://wso2.com/ 
    >>> Mobile: +94 77 952 6548
    >>>
    >>> ___
    >>> 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
    >>
    >>
    >
    >
    > --
    > *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
    >
    >
    
    
    -- 
    Thanks & Regards,
    
    *Chamalee De Silva*
    Software Engineer
    *WS**O2* Inc. .:http://wso2.com
    lean *.* enterprise *.* middleware
    
    Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
    mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] [AppFac] Access AppFactory REST API

    2015-06-14 Thread Fathima Dilhasha
    Hi Manisha,
    
    Thank you.
    
    Regards,
    Dilhasha
    
    Fathima Dilhasha Nazeer 
    (M.N.F.Dilhasha)
    Undergraduate | Department of Computer Science and Engineering
    University of Moratuwa
    Sri Lanka
    
    On Mon, Jun 15, 2015 at 8:19 AM, Manisha Gayathri  wrote:
    
    > Hi Fathima,
    >
    > We too are experiencing the same and I have asked Vinuri to check on this
    > in cloud.
    > Will update you once it is fixed.
    >
    > Thanks
    > Manisha
    >
    > On Sun, Jun 14, 2015 at 9:06 PM, Fathima Dilhasha 
    > wrote:
    >
    >> I tried replacing '@' before  with '..' . Still not
    >> successful.
    >>
    >> Fathima Dilhasha Nazeer 
    >> (M.N.F.Dilhasha)
    >> Undergraduate | Department of Computer Science and Engineering
    >> University of Moratuwa
    >> Sri Lanka
    >>
    >> On Sun, Jun 14, 2015 at 8:40 PM, Danushka Fernando 
    >> wrote:
    >>
    >>> Did you try replacing @ with ..
    >>>
    >>> Thanks & Regards
    >>> Danushka Fernando
    >>> Senior Software Engineer
    >>> WSO2 inc. http://wso2.com/
    >>> Mobile : +94716332729
    >>>
    >>>
    >>> On Jun 14, 2015 8:20 PM, "Fathima Dilhasha" 
    >>> wrote:
    >>>
     Hi,
    
     As in this thread I was able to run the curl command for log in
     sometime back. But now when I try the same command, it doesn't seem to
     work. What can be the reason?
    
     The command I'm using is as follows.
    
     *curl -v -X  -c cookies POST -k
     https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
     
     -d 'action=login&userName=@&password='*
    
     Thanks.
     Regards,
     Dilhasha
    
    
     Fathima Dilhasha Nazeer 
     (M.N.F.Dilhasha)
     Undergraduate | Department of Computer Science and Engineering
     University of Moratuwa
     Sri Lanka
    
     On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha <
     dilhasha@gmail.com> wrote:
    
    > Hi Danushka,
    >
    > That solved the problem.
    >
    > Thanks.
    > Regards,
    > Dilhasha
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando  > wrote:
    >
    >> Good point. Say your organization is xyz then your username should be
    >> dilasha..wso2.com@xyz. Try that. Should work I guess.
    >>
    >> Thanks & Regards
    >> Danushka Fernando
    >> Senior Software Engineer
    >> WSO2 inc. http://wso2.com/
    >> Mobile : +94716332729
    >>
    >>
    >> On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
    >> wrote:
    >>
    >>> Hi,
    >>>
    >>> Yes. I can login to public cloud using same credentials.
    >>> But I need to clarify this. After I log in I choose between two
    >>> organizations. Should my username include the organization as well?
    >>>
    >>> I will check by creating another account as well.
    >>>
    >>> Thanks.
    >>>
    >>> Fathima Dilhasha Nazeer 
    >>> (M.N.F.Dilhasha)
    >>> Undergraduate | Department of Computer Science and Engineering
    >>> University of Moratuwa
    >>> Sri Lanka
    >>>
    >>> On Fri, May 1, 2015 at 9:26 PM,  wrote:
    >>>
      Hi Punnadi
     It returned false. Which means login is not successful.
     And further use the -c cookies in login command and use -b cookies
     in others and you don’t have to worry about session details in that 
     way.
    
     Thanks & Regards
     Danushka Fernando
     Software Engineer
     WSO2 inc. http://wso2.com/
     Mobile : +94716332729
    
     *From:* Punnadi Gunarathna 
     *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
     *To:* Fathima Dilhasha 
     *Cc:* WSO2 Developers' List 
    
     Hi Fathima,
    
     I think your login is successful. Use the jsessionid to see invoke
     rest of the curl commands.
     On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
     wrote:
    
    > Hi,
    >
    > I cannot seem to access the public cloud using the curl command
    > for login.
    >
    > The curl command I'm using is as follows.
    >
    > *curl -v  -X POST -k
    > https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
    > 
    > -d 'action=login&userName=dilha...@wso2.com
    > &password=***'*
    >
    > Following is the result of that command.
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >>>

    Re: [Dev] AS build fails at tests-security-manager due to file permission

    2015-06-14 Thread Niranjan Karunanandham
    Hi Nuwan,
    
    When I tried to build AS pack from Github (master branch) [1], it failed
    > with error in [2], but this is *passing in Jenkins*. Had an offline
    > discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
    > which is used to sign the jar files in the pack for testing is not executed
    > as it does *not have execute permission*. When I check the original
    > location of the file and it has the permission - 775, but when it is copied
    > the permission is lost.
    >
    Kind reminder.
    
    Regards,
    Nira
    
    
    
    On Fri, Jun 12, 2015 at 5:18 PM, Niranjan Karunanandham 
    wrote:
    
    > Hi,
    >
    > When I tried to build AS pack from Github (master branch) [1], it failed
    > with error in [2], but this is *passing in Jenkins*. Had an offline
    > discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
    > which is used to sign the jar files in the pack for testing is not executed
    > as it does *not have execute permission*. When I check the original
    > location of the file and it has the permission - 775, but when it is copied
    > the permission is lost.
    >
    > After I changed the original file permission to 755  and ran the test
    > case, it failed when it tried to execute sign-packs.sh with a different
    > error (error: that a newline is present (^M)). This is happened because the
    > sign-packs.sh file has the Line Separator as *CRLF*. After changing it to
    > *LF*, I was able to run the tests-security-manager. Why is this happening?
    >
    >
    > [1] - https://github.com/wso2/product-as/
    > [2] -
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    > - Port 9763 is closed and available for use
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    > - Port 9443 is closed and available for use
    > INFO
    >  
    > [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager]
    > - Starting carbon server.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > JAVA_HOME environment variable is set to /usr/local/java/jdk1.7.0_51
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > CARBON_HOME environment variable is set to
    > /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern javax.net.ssl.trustStore is restricted for tenant code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern javax.net.ssl.trustStorePassword is restricted for tenant
    > code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern denied.system.properties is restricted for tenant code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > java.security.AccessControlException
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -  -
    > klass: 'java/security/AccessControlException'
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > A fatal error has been detected by the Java Runtime Environment:
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >  Internal Error (exceptions.cpp:424), pid=20621, tid=139773740406528
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >  fatal error: ExceptionMark destructor expects no pending exceptions
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build
    > 1.7.0_51-b13)
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode
    > linux-amd64 compressed oops)
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > Failed to write core dump. Core dumps have been disabled. To enable core
    > dumping, try "ulimit -c unlimited" before starting Java again
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > An error report file with more information is saved as:
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT/hs_err_pid20621.log
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > If you would li

    Re: [Dev] [AppFac] Access AppFactory REST API

    2015-06-14 Thread Manisha Gayathri
    Hi Fathima,
    
    Notified this to the team and Danushka will check on this and provide a
    patch.
    
    Thanks
    Manisha
    
    On Mon, Jun 15, 2015 at 9:40 AM, Fathima Dilhasha 
    wrote:
    
    > Hi Manisha,
    >
    > Thank you.
    >
    > Regards,
    > Dilhasha
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Mon, Jun 15, 2015 at 8:19 AM, Manisha Gayathri 
    > wrote:
    >
    >> Hi Fathima,
    >>
    >> We too are experiencing the same and I have asked Vinuri to check on this
    >> in cloud.
    >> Will update you once it is fixed.
    >>
    >> Thanks
    >> Manisha
    >>
    >> On Sun, Jun 14, 2015 at 9:06 PM, Fathima Dilhasha > > wrote:
    >>
    >>> I tried replacing '@' before  with '..' . Still not
    >>> successful.
    >>>
    >>> Fathima Dilhasha Nazeer 
    >>> (M.N.F.Dilhasha)
    >>> Undergraduate | Department of Computer Science and Engineering
    >>> University of Moratuwa
    >>> Sri Lanka
    >>>
    >>> On Sun, Jun 14, 2015 at 8:40 PM, Danushka Fernando 
    >>> wrote:
    >>>
     Did you try replacing @ with ..
    
     Thanks & Regards
     Danushka Fernando
     Senior Software Engineer
     WSO2 inc. http://wso2.com/
     Mobile : +94716332729
    
    
     On Jun 14, 2015 8:20 PM, "Fathima Dilhasha" 
     wrote:
    
    > Hi,
    >
    > As in this thread I was able to run the curl command for log in
    > sometime back. But now when I try the same command, it doesn't seem to
    > work. What can be the reason?
    >
    > The command I'm using is as follows.
    >
    > *curl -v -X  -c cookies POST -k
    > https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
    > 
    > -d 'action=login&userName=@&password='*
    >
    > Thanks.
    > Regards,
    > Dilhasha
    >
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha <
    > dilhasha@gmail.com> wrote:
    >
    >> Hi Danushka,
    >>
    >> That solved the problem.
    >>
    >> Thanks.
    >> Regards,
    >> Dilhasha
    >>
    >> Fathima Dilhasha Nazeer 
    >> (M.N.F.Dilhasha)
    >> Undergraduate | Department of Computer Science and Engineering
    >> University of Moratuwa
    >> Sri Lanka
    >>
    >> On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando <
    >> danush...@wso2.com> wrote:
    >>
    >>> Good point. Say your organization is xyz then your username should
    >>> be dilasha..wso2.com@xyz. Try that. Should work I guess.
    >>>
    >>> Thanks & Regards
    >>> Danushka Fernando
    >>> Senior Software Engineer
    >>> WSO2 inc. http://wso2.com/
    >>> Mobile : +94716332729
    >>>
    >>>
    >>> On May 1, 2015 10:03 PM, "Fathima Dilhasha" 
    >>> wrote:
    >>>
     Hi,
    
     Yes. I can login to public cloud using same credentials.
     But I need to clarify this. After I log in I choose between two
     organizations. Should my username include the organization as well?
    
     I will check by creating another account as well.
    
     Thanks.
    
     Fathima Dilhasha Nazeer 
     (M.N.F.Dilhasha)
     Undergraduate | Department of Computer Science and Engineering
     University of Moratuwa
     Sri Lanka
    
     On Fri, May 1, 2015 at 9:26 PM,  wrote:
    
    >  Hi Punnadi
    > It returned false. Which means login is not successful.
    > And further use the -c cookies in login command and use -b cookies
    > in others and you don’t have to worry about session details in that 
    > way.
    >
    > Thanks & Regards
    > Danushka Fernando
    > Software Engineer
    > WSO2 inc. http://wso2.com/
    > Mobile : +94716332729
    >
    > *From:* Punnadi Gunarathna 
    > *Sent:* ‎Friday‎, ‎May‎ ‎1‎, ‎2015 ‎9‎:‎24‎ ‎PM
    > *To:* Fathima Dilhasha 
    > *Cc:* WSO2 Developers' List 
    >
    > Hi Fathima,
    >
    > I think your login is successful. Use the jsessionid to see invoke
    > rest of the curl commands.
    > On May 1, 2015 8:48 PM, "Fathima Dilhasha" 
    > wrote:
    >
    >> Hi,
    >>
    >> I cannot seem to access the public cloud using the curl command
    >> for login.
    >>
    >> The curl command I'm using is as follows.
    >>
    >> *curl -v  -X POST -k
    >> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag
    >> 
    >> -d 'action=login&userName=dilha...@wso2.com
    >> &password=***'*
    >>
    >> Fol

    Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

    2015-06-14 Thread Fathima Dilhasha
    Hi,
    
    *Notes from Progress Discussion*
    
    
       - Try using [1]  for REST API
       access instead of go-curl [2] 
       - Figure out requirements for a command based on [1]
       
       - Finish at least one API access functionality before mid review
    
    [1] https://github.com/golang-basic/go-curl
    
    [2] http://golang.org/pkg/net/http/
    Thanks.
    Regards,
    Dilhasha
    
    Fathima Dilhasha Nazeer 
    (M.N.F.Dilhasha)
    Undergraduate | Department of Computer Science and Engineering
    University of Moratuwa
    Sri Lanka
    
    On Fri, Jun 12, 2015 at 8:29 AM, Fathima Dilhasha 
    wrote:
    
    > Hi,
    >
    > *Progress Update*
    >
    > I have started the implementation of the CLI tool for WSO2 App Factory and
    > I have been able to build an initial CLI tool (Showing help commands)
    > compatible with Linux, windows and mac OS.
    >
    > As the next step I came up with a design for a rule based engine to
    > evaluate and execute commands within the tool. The implementation of the
    > rule engine is in progress.
    >
    > Currently, I am trying to use go-curl [1
    > ] for the execution of the
    > commands. The next progress discussion for $subject is to be held on
    > Monday, 15th.
    >
    > [1] https://github.com/golang-basic/go-curl
    >
    >
    > Thanks.
    >
    > Regards,
    > Dilhasha
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Mon, Mar 30, 2015 at 2:56 PM, Fathima Dilhasha 
    > wrote:
    >
    >> Hi Anuruddha,
    >>
    >> I have commented the details of the updated project proposal in the GSoC
    >> site. Please let me know if any further changes are required.
    >>
    >> Thanks.
    >>
    >> Regards,
    >> Dilhasha
    >>
    >> Fathima Dilhasha Nazeer 
    >> (M.N.F.Dilhasha)
    >> Undergraduate | Department of Computer Science and Engineering
    >> University of Moratuwa
    >> Sri Lanka
    >>
    >> On Mon, Mar 23, 2015 at 3:11 PM, Fathima Dilhasha > > wrote:
    >>
    >>> Hi Anuruddha,
    >>>
    >>> Okay thank you. I will incorporate those basic features.
    >>>
    >>> Regards,
    >>> Dilhasha
    >>>
    >>> Fathima Dilhasha Nazeer 
    >>> (M.N.F.Dilhasha)
    >>> Undergraduate | Department of Computer Science and Engineering
    >>> University of Moratuwa
    >>> Sri Lanka
    >>>
    >>> On Mon, Mar 23, 2015 at 12:45 PM, Anuruddha Premalal >> > wrote:
    >>>
     Hi Fathima,
    
     As we discussed in the hangout you can prepare the proposal with few
     basic operations as application creation/deletion, app life-cycle
     management, trigger builds, app deployment etc.. Once the  CLI basics are
     in place adding an operation would be as easy as parsing arguments and
     calling the correct api end-points with parameters.
    
     Regards,
     Anuruddha.
    
    
     On Sun, Mar 22, 2015 at 10:39 AM, Fathima Dilhasha <
     dilhasha@gmail.com> wrote:
    
    > Hi Anuruddha,
    >
    > I need the set of operations that need to be supported by the CLI Tool
    > to prepare the project proposal.
    > Will you provide the set of operations? Or else I can suggest a set of
    > operations and then it can be refined.
    >
    > Please, let me know what needs to be done.
    >
    > Thanks.
    > Regards,
    > Dilhasha
    >
    >
    > Fathima Dilhasha Nazeer 
    > (M.N.F.Dilhasha)
    > Undergraduate | Department of Computer Science and Engineering
    > University of Moratuwa
    > Sri Lanka
    >
    > On Wed, Mar 18, 2015 at 9:39 AM, Fathima Dilhasha <
    > dilhasha@gmail.com> wrote:
    >
    >> Hi Anuruddha,
    >>
    >> Thank you. I'll contact you, if I need any further clarifications and
    >> prepare a draft.
    >>
    >> Thanks.
    >> Regards,
    >> Dilhasha
    >>
    >> Fathima Dilhasha Nazeer 
    >> (M.N.F.Dilhasha)
    >> Undergraduate | Department of Computer Science and Engineering
    >> University of Moratuwa
    >> Sri Lanka
    >>
    >> On Wed, Mar 18, 2015 at 8:45 AM, Anuruddha Premalal <
    >> anurud...@wso2.com> wrote:
    >>
    >>> Hi Fathima,
    >>>
    >>> Approach seems good. Please do a draft and share, will provide the
    >>> needed feedback.
    >>>
    >>> Regards,
    >>> Anuruddha.
    >>>
    >>> On Tue, Mar 17, 2015 at 10:17 PM, Fathima Dilhasha <
    >>> dilhasha@gmail.com> wrote:
    >>>
     Hi,
    
     I'm a Computer Science and Engineering undergraduate from
     University of Moratuwa and I'm interested in contributing for
     proposal [6]
     
      .
    
     I am planning to address the following in my project proposal.
    
     1. Deciding on a language or framework to implement the CLI Tool
    

    [Dev] SSO Agent jar dependency requirements

    2015-06-14 Thread Supun Malinga
    Hi
    
    I'm trying to include sso.agent jar into AS build (webapp mgt feature) so
    that it will be available into the build. But since the agent depends on
    other jars it complains at p2 profile gen.
    
    Following are the two dependencies
    org.openid4java.wso2
    openid4java-nodeps
    
    and
    xerces.wso2
    xercesImpl
    
    If I include xercesImpl jar into the feature server won't even start.
    
    Hence I tried a alternative method. Modified the sso agent to use those
    dependencies as optional.
    
    --- a/components/agents/org.wso2.carbon.identity.sso.agent/pom.xml
    +++ b/components/agents/org.wso2.carbon.identity.sso.agent/pom.xml
    @@ -90,10 +90,10 @@
     javax.xml.parsers,
    
     com.google.gson;version="${com.google.code.gson.osgi.version.range}",
     org.apache.http.conn.ssl;
    version="${httpcomponents-httpclient.imp.pkg.version.range}",
    -org.apache.xerces.util,
    +org.apache.xerces.util;resolution:=optional,
     org.apache.xml.security.*;
    version="${wss4j.xml.security.imp.pkg.version.range}",
    
     org.joda.time;version="${opensaml2.wso2.osgi.version.range}",
    -
     org.openid4java.*;version="${openid4java.wso2.osgi.version.range}",
    +
     
    org.openid4java.*;version="${openid4java.wso2.osgi.version.range}";resolution:=optional,
     org.opensaml.*;
    version="${opensaml2.wso2.osgi.version.range}",
     org.w3c.dom.*,
    
    
    After this I can build and run the server successfully. But we would need a
    release for carbonn-identity for this in order to go with this approach.
    Let's discuss the options.
    Also let me know if there are alternatives.
    
    p.s: I tried to exclude dependencies in the feature level, but that doesn't
    work.
    
    thanks,
    -- 
    Supun Malinga,
    
    Senior Software Engineer,
    WSO2 Inc.
    http://wso2.com
    email: sup...@wso2.com 
    mobile: +94 (0)71 56 91 321
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    [Dev] [IS] No Established session issue at the session timeout

    2015-06-14 Thread Tanya Madurapperuma
    Hi IS team,
    
    As informed offline we have faced [1] in ES. We understand that once we
    move to Identity core 4.5.1, cache expiration period can be configured in
    HOME/repository/conf/tomcat/carbon/WEB-INF/web.xml.
    
    Even after the set cache expiration time or a session timeout (already set
    the cache expiration time to a higher value than the session timeout), we
    face the 405 issue where the logout flow breaks at the identity side (in
    the browser with the message *No Established Sessions corresponding to
    Session Indexes provided*) providing no clue to the application side.
    
    Hence the following approach was suggested for us to identify the existence
    of a valid session.
    
    
    ​
    We have following concern with the above suggested approach.
    Say we make the call1 and then receive the response 1 as the session still
    exists. But between the time that we make the call2, session gets expired.
    (since these are network calls and delays may occur.)
    So at that point we face the same original problem again.
    
    Isn't the proper approach is to send a logout response from the identity
    side with a proper message (no session exists) to the application side
    rather than breaking the flow in the middle?
    
    Are there any security vulnerabilities of sending a logout response to a
    non existence session? (assuming that a third party who never had a session
    at the IDP can still make a logout request)
    
    Appreciate your input.
    
    [1] https://wso2.org/jira/browse/STORE-721
    
    Thanks,
    Tanya
    
    -- 
    Tanya Madurapperuma
    
    Senior Software Engineer,
    WSO2 Inc. : wso2.com
    Mobile : +94718184439
    Blog : http://tanyamadurapperuma.blogspot.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] [MB] Console allows the user to delete a queue when publishing

    2015-06-14 Thread Pamod Sylvester
    Hi Jason et all,
    
    We restrict queue deletion if there're active subscribers for it. The
    messages published will not be accepted if the queue was deleted. The
    filtering is done on acceptance/rejection at Message Pre Processing stage.
    
    It seems that when the delete event is called some of the messages have
    passed the pre processing stage and were accepted in. Resulting in noticing
    messages after the queue is re added.
    
    @Ramith and team, should we introduce another filer before adding the
    messages to slots, db ? thoughts ?
    
    Thanks,
    Pamod
    
    On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva  wrote:
    
    > Hi All,
    >
    > In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
    > messages to a queue it is possible to delete the queue from the console and
    > a popup shows that it is deleted successfully. After couple of refreshes
    > the queue is not shown in console.
    > Later if the same queue is re-added via the console the queue will have
    > some messages shown, is it valid?
    >
    > Regards,
    > Jason
    >
    > --
    > Jason De Silva
    > *Software Engineer - QA*
    > Mobile: +94 (0) 772 097 678
    > Email: jas...@wso2.com
    > WSO2 Inc. www.wso2.com
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    *Pamod Sylvester *
    
    *WSO2 Inc.; http://wso2.com *
    cell: +94 77 7779495
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    [Dev] [ESB] Please review and merge

    2015-06-14 Thread Maheeka Jayasuriya
    Hi,
    
    $subject please for the following :
    
       1. Integration tests for foreach mediator :
       https://github.com/wso2/product-esb/pull/189/
       2. Integration tests for ESBJAVA-3733 :
       https://github.com/wso2/product-esb/pull/178
    
    [1] https://wso2.org/jira/browse/ESBJAVA-3733
    
    Thanks,
    
    Maheeka Jayasuriya
    Software Engineer
    Mobile : +9450661
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Harsha Kumara
    Congratulations Sam!
    
    On Mon, Jun 15, 2015 at 9:38 AM, Chamalee De Silva 
    wrote:
    
    > Congrats Sam!
    >
    > On Mon, Jun 15, 2015 at 9:26 AM, Elilmatha Sivanesan 
    > wrote:
    >
    >> Congratulations Sam...
    >>
    >> On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah 
    >> wrote:
    >>
    >>> Congratulations Sam !
    >>>
    >>> Kesavan Yogarajah
    >>> Associate Software Engineer
    >>> Mobile :+94 (0) 779 758021
    >>> kesav...@wso2.com
    >>> WSO2, Inc.
    >>> lean . enterprise . middleware
    >>>
    >>> On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
    >>> sendu...@wso2.com> wrote:
    >>>
     Congratulations Sam !!!
    
     On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
     wrote:
    
    > Congratulations, Sam !
    >
    > On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
    > rajeev...@wso2.com> wrote:
    >
    >> Congrats Sam...!!!
    >>
    >> On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
    >> wrote:
    >>
    >>> Congrats Sam !
    >>>
    >>> On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
    >>> sane...@wso2.com> wrote:
    >>>
     Congratulations Sam...
    
     Thanks and Best Regards,
    
     Saneth Dharmakeerthi
     Senior Software Engineer
     WSO2, Inc.
     Mobile: +94772325511
    
     On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias 
     wrote:
    
    > Hi,
    >
    > It is with great pleasure we welcome Sam Sivayogam as a WSO2
    > Committer. @Sam, congratulations and keep up the good work!
    >
    > Thanks,
    > NuwanD.
    >
    > --
    > Nuwan Dias
    >
    > Technical Lead - WSO2, Inc. http://wso2.com
    > email : nuw...@wso2.com
    > Phone : +94 777 775 729
    >
    > ___
    > 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
    
    
    >>>
    >>>
    >>> --
    >>> Vinuri Perera
    >>> Software Engineer | WSO2 Inc
    >>>
    >>> M : 0711518805
    >>>
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >>
    >> Vimalanathan Rajeevan
    >> Software Engineer
    >> WSO2 Inc.:http://wso2.com
    >> lean.enterprise.middleware
    >>
    >>
    >> Mobile : +94 773090875
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Best Regards,
    >
    > *Thilini Cooray*
    > Software Engineer
    > Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    > E-mail : thili...@wso2.com
    >
    > WSO2 Inc. www.wso2.com
    > lean.enterprise.middleware
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     *Senduran *
     Software Engineer,
     WSO2, Inc.;  http://wso2.com/ 
     Mobile: +94 77 952 6548
    
     ___
     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
    >>>
    >>>
    >>
    >>
    >> --
    >> *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
    >>
    >>
    >
    >
    > --
    > Thanks & Regards,
    >
    > *Chamalee De Silva*
    > Software Engineer
    > *WS**O2* Inc. .:http://wso2.com
    > lean *.* enterprise *.* middleware
    >
    > Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
    > mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Harsha Kumara
    Software Engineer, WSO2 Inc.
    Mobile: +94775505618
    Blog:harshcreationz.blogspot.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Harsha Kumara
    Congratulations Damith!
    
    On Mon, Jun 15, 2015 at 9:05 AM, Thilini Cooray  wrote:
    
    > Congratulations, Damith!
    >
    > On Mon, Jun 15, 2015 at 8:45 AM, Vinuri Perera  wrote:
    >
    >> Congrats Damith !
    >>
    >> On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva 
    >> wrote:
    >>
    >>> Congratulations damith :)
    >>>
    >>> On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara  wrote:
    >>>
     Congratulations Damith !
    
     On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan <
     s...@wso2.com> wrote:
    
    > Hi all,
    >
    > Its my pleasure to welcome Damith Wickramasinghe as a
    > WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a 
    > great
    > contribution to WSO2 CEP and has shown great enthusiasm in his work both 
    > in
    > development and Geo related CEP effort. In recognition of his 
    > contribution,
    > he has been voted as a WSO2 Committer a month back.
    >
    > Damith, welcome aboard and keep up the good work, and sorry for
    > delaying this mail.
    >
    > Regards,
    > Suho.
    >
    > --
    >
    > *S. Suhothayan*
    > Technical Lead & Team Lead of WSO2 Complex Event Processor
    >  *WSO2 Inc. *http://wso2.com
    > * *
    > lean . enterprise . middleware
    >
    >
    > *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
    > http://suhothayan.blogspot.com/ twitter:
    > http://twitter.com/suhothayan  | linked-in:
    > http://lk.linkedin.com/in/suhothayan 
    > *
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     Kasun Bandara
     *Software Engineer*
     Mobile : +94 (0) 718 338 360
     <%2B94%20%280%29%20773%20451194>
     kas...@wso2.com 
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> *Ramindu De Silva*
    >>> Software Engineer
    >>> WSO2 Inc.: http://wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>> email: ramin...@wso2.com 
    >>> mob: +94 772339350
    >>> mob: +94 782731766
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Vinuri Perera
    >> Software Engineer | WSO2 Inc
    >>
    >> M : 0711518805
    >>
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Best Regards,
    >
    > *Thilini Cooray*
    > Software Engineer
    > Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    > E-mail : thili...@wso2.com
    >
    > WSO2 Inc. www.wso2.com
    > lean.enterprise.middleware
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Harsha Kumara
    Software Engineer, WSO2 Inc.
    Mobile: +94775505618
    Blog:harshcreationz.blogspot.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] AS build fails at tests-security-manager due to file permission

    2015-06-14 Thread Nuwan Wimalasekara
    Hi
    We need to look into this issue in advance since this is working on jenkins
    server and mac OS as well. Only problem in Ubuntu. Will check and update.
    
    Thanks,
    Nuwanw
    
    On Mon, Jun 15, 2015 at 9:41 AM, Niranjan Karunanandham 
    wrote:
    
    > Hi Nuwan,
    >
    > When I tried to build AS pack from Github (master branch) [1], it failed
    >> with error in [2], but this is *passing in Jenkins*. Had an offline
    >> discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
    >> which is used to sign the jar files in the pack for testing is not executed
    >> as it does *not have execute permission*. When I check the original
    >> location of the file and it has the permission - 775, but when it is copied
    >> the permission is lost.
    >>
    > Kind reminder.
    >
    > Regards,
    > Nira
    >
    >
    >
    > On Fri, Jun 12, 2015 at 5:18 PM, Niranjan Karunanandham  > wrote:
    >
    >> Hi,
    >>
    >> When I tried to build AS pack from Github (master branch) [1], it failed
    >> with error in [2], but this is *passing in Jenkins*. Had an offline
    >> discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
    >> which is used to sign the jar files in the pack for testing is not executed
    >> as it does *not have execute permission*. When I check the original
    >> location of the file and it has the permission - 775, but when it is copied
    >> the permission is lost.
    >>
    >> After I changed the original file permission to 755  and ran the test
    >> case, it failed when it tried to execute sign-packs.sh with a different
    >> error (error: that a newline is present (^M)). This is happened because the
    >> sign-packs.sh file has the Line Separator as *CRLF*. After changing it
    >> to *LF*, I was able to run the tests-security-manager. Why is this
    >> happening?
    >>
    >>
    >> [1] - https://github.com/wso2/product-as/
    >> [2] -
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    >> - Port 9763 is closed and available for use
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    >> - Port 9443 is closed and available for use
    >> INFO
    >>  
    >> [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager]
    >> - Starting carbon server.
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> JAVA_HOME environment variable is set to /usr/local/java/jdk1.7.0_51
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> CARBON_HOME environment variable is set to
    >> /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> Property pattern javax.net.ssl.trustStore is restricted for tenant code.
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> Property pattern javax.net.ssl.trustStorePassword is restricted for tenant
    >> code.
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> Property pattern denied.system.properties is restricted for tenant code.
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    >> java.security.AccessControlException
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -  -
    >> klass: 'java/security/AccessControlException'
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> A fatal error has been detected by the Java Runtime Environment:
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >>  Internal Error (exceptions.cpp:424), pid=20621, tid=139773740406528
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >>  fatal error: ExceptionMark destructor expects no pending exceptions
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build
    >> 1.7.0_51-b13)
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode
    >> linux-amd64 compressed oops)
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> Failed to write core dump. Core dumps have been disabled. To enable core
    >> dumping, try "ulimit -c unlimited" before starting Java again
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >> An error report file with more information is saved as:
    >> INFO
    >>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    

    [Dev] java.lang.NullPointerException when importing data from salesforce to mysql database

    2015-06-14 Thread Aaquibah Nashry
    Hi,
    I am trying to import data from salesforce and save it in a mysql database.
    I have written a proxy and a dataservice for this.
    
    When there are no null values in the data to be imported, i am able to save
    the data in mysql.
    
    But when the data has null values, i get this:
    
    ERROR {org.wso2.carbon.dataservices.core.description.query.SQLQuery} -
    java.lang.NullPointerException
    at org.wso2.carbon.dataservices.core.DBUtils.getDate(DBUtils.java:444)
    at
    org.wso2.carbon.dataservices.core.description.query.SQLQuery.setDateValue(SQLQuery.java:1869)
    at
    org.wso2.carbon.dataservices.core.description.query.SQLQuery.setParamInPreparedStatement(SQLQuery.java:1638)
    at
    org.wso2.carbon.dataservices.core.description.query.SQLQuery.createProcessedPreparedStatement(SQLQuery.java:1588)
    at
    org.wso2.carbon.dataservices.core.description.query.SQLQuery.processPreNormalQuery(SQLQuery.java:806)
    at
    org.wso2.carbon.dataservices.core.description.query.SQLQuery.runPreQuery(SQLQuery.java:2301)
    at
    org.wso2.carbon.dataservices.core.description.query.Query.execute(Query.java:275)
    at
    org.wso2.carbon.dataservices.core.engine.CallQuery.executeElement(CallQuery.java:188)
    at
    org.wso2.carbon.dataservices.core.engine.OutputElement.execute(OutputElement.java:89)
    at
    org.wso2.carbon.dataservices.core.description.operation.Operation.execute(Operation.java:61)
    at
    org.wso2.carbon.dataservices.core.engine.DataService.invoke(DataService.java:474)
    at
    org.wso2.carbon.dataservices.core.engine.DSOMDataSource.execute(DSOMDataSource.java:96)
    at
    org.wso2.carbon.dataservices.core.engine.DSOMDataSource.serialize(DSOMDataSource.java:107)
    at
    org.wso2.carbon.dataservices.core.engine.DSOMDataSource.executeInOnly(DSOMDataSource.java:80)
    at
    org.wso2.carbon.dataservices.core.dispatch.SingleDataServiceRequest.processSingleRequest(SingleDataServiceRequest.java:116)
    at
    org.wso2.carbon.dataservices.core.dispatch.SingleDataServiceRequest.processRequest(SingleDataServiceRequest.java:67)
    at
    org.wso2.carbon.dataservices.core.dispatch.DataServiceRequest.dispatch(DataServiceRequest.java:282)
    at
    org.wso2.carbon.dataservices.core.dispatch.BatchDataServiceRequest.processRequest(BatchDataServiceRequest.java:102)
    at
    org.wso2.carbon.dataservices.core.dispatch.DataServiceRequest.dispatch(DataServiceRequest.java:282)
    at
    org.wso2.carbon.dataservices.core.DataServiceProcessor.dispatch(DataServiceProcessor.java:41)
    at
    org.wso2.carbon.dataservices.core.DBInOnlyMessageReceiver.invokeBusinessLogic(DBInOnlyMessageReceiver.java:48)
    at
    org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
    at
    org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
    at
    org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
    at
    org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    [2015-06-15 10:13:48,269] ERROR
    {org.wso2.carbon.dataservices.core.engine.DataService} -  DS Fault Message:
    Error in 'SQLQuery.processPreNormalQuery': null
    DS Code: DATABASE_ERROR
    
    
    Is there a specific way to handle this?
    
    
    Thanks in advance,
    M.R.Aaquibah Nashry
    *Intern, Engineering*
    Mobile : +94 773946123
    Tel  : +94 112662541
    nas...@wso2.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] java.lang.NullPointerException when importing data from salesforce to mysql database

    2015-06-14 Thread Aaquibah Nashry
    when i take off the columns with date type, i get:
    
    ERROR {org.wso2.carbon.dataservices.core.engine.DataService} -  DS Fault
    Message: Error in 'SQLQuery.processPreNormalQuery': empty String
    DS Code: DATABASE_ERROR
    
    
    M.R.Aaquibah Nashry
    *Intern, Engineering*
    Mobile : +94 773946123
    Tel  : +94 112662541
    nas...@wso2.com
    
    On Mon, Jun 15, 2015 at 10:37 AM, Aaquibah Nashry  wrote:
    
    > Hi,
    > I am trying to import data from salesforce and save it in a mysql database.
    > I have written a proxy and a dataservice for this.
    >
    > When there are no null values in the data to be imported, i am able to
    > save the data in mysql.
    >
    > But when the data has null values, i get this:
    >
    > ERROR {org.wso2.carbon.dataservices.core.description.query.SQLQuery} -
    > java.lang.NullPointerException
    > at org.wso2.carbon.dataservices.core.DBUtils.getDate(DBUtils.java:444)
    > at
    > org.wso2.carbon.dataservices.core.description.query.SQLQuery.setDateValue(SQLQuery.java:1869)
    > at
    > org.wso2.carbon.dataservices.core.description.query.SQLQuery.setParamInPreparedStatement(SQLQuery.java:1638)
    > at
    > org.wso2.carbon.dataservices.core.description.query.SQLQuery.createProcessedPreparedStatement(SQLQuery.java:1588)
    > at
    > org.wso2.carbon.dataservices.core.description.query.SQLQuery.processPreNormalQuery(SQLQuery.java:806)
    > at
    > org.wso2.carbon.dataservices.core.description.query.SQLQuery.runPreQuery(SQLQuery.java:2301)
    > at
    > org.wso2.carbon.dataservices.core.description.query.Query.execute(Query.java:275)
    > at
    > org.wso2.carbon.dataservices.core.engine.CallQuery.executeElement(CallQuery.java:188)
    > at
    > org.wso2.carbon.dataservices.core.engine.OutputElement.execute(OutputElement.java:89)
    > at
    > org.wso2.carbon.dataservices.core.description.operation.Operation.execute(Operation.java:61)
    > at
    > org.wso2.carbon.dataservices.core.engine.DataService.invoke(DataService.java:474)
    > at
    > org.wso2.carbon.dataservices.core.engine.DSOMDataSource.execute(DSOMDataSource.java:96)
    > at
    > org.wso2.carbon.dataservices.core.engine.DSOMDataSource.serialize(DSOMDataSource.java:107)
    > at
    > org.wso2.carbon.dataservices.core.engine.DSOMDataSource.executeInOnly(DSOMDataSource.java:80)
    > at
    > org.wso2.carbon.dataservices.core.dispatch.SingleDataServiceRequest.processSingleRequest(SingleDataServiceRequest.java:116)
    > at
    > org.wso2.carbon.dataservices.core.dispatch.SingleDataServiceRequest.processRequest(SingleDataServiceRequest.java:67)
    > at
    > org.wso2.carbon.dataservices.core.dispatch.DataServiceRequest.dispatch(DataServiceRequest.java:282)
    > at
    > org.wso2.carbon.dataservices.core.dispatch.BatchDataServiceRequest.processRequest(BatchDataServiceRequest.java:102)
    > at
    > org.wso2.carbon.dataservices.core.dispatch.DataServiceRequest.dispatch(DataServiceRequest.java:282)
    > at
    > org.wso2.carbon.dataservices.core.DataServiceProcessor.dispatch(DataServiceProcessor.java:41)
    > at
    > org.wso2.carbon.dataservices.core.DBInOnlyMessageReceiver.invokeBusinessLogic(DBInOnlyMessageReceiver.java:48)
    > at
    > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
    > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
    > at
    > org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
    > at
    > org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
    > at
    > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
    > at
    > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    > at
    > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    > at java.lang.Thread.run(Thread.java:745)
    > [2015-06-15 10:13:48,269] ERROR
    > {org.wso2.carbon.dataservices.core.engine.DataService} -  DS Fault Message:
    > Error in 'SQLQuery.processPreNormalQuery': null
    > DS Code: DATABASE_ERROR
    >
    >
    > Is there a specific way to handle this?
    >
    >
    > Thanks in advance,
    > M.R.Aaquibah Nashry
    > *Intern, Engineering*
    > Mobile : +94 773946123
    > Tel  : +94 112662541
    > nas...@wso2.com
    >
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Dilan Udara Ariyaratne
    Congratulations, Sam !!!
    
    
    
    *Dilan U. Ariyaratne*
    Software Engineer
    WSO2 Inc. 
    Mobile: +94775149066
    lean . enterprise . middleware
    
    On Mon, Jun 15, 2015 at 10:22 AM, Harsha Kumara  wrote:
    
    > Congratulations Sam!
    >
    > On Mon, Jun 15, 2015 at 9:38 AM, Chamalee De Silva 
    > wrote:
    >
    >> Congrats Sam!
    >>
    >> On Mon, Jun 15, 2015 at 9:26 AM, Elilmatha Sivanesan 
    >> wrote:
    >>
    >>> Congratulations Sam...
    >>>
    >>> On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah 
    >>> wrote:
    >>>
     Congratulations Sam !
    
     Kesavan Yogarajah
     Associate Software Engineer
     Mobile :+94 (0) 779 758021
     kesav...@wso2.com
     WSO2, Inc.
     lean . enterprise . middleware
    
     On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
     sendu...@wso2.com> wrote:
    
    > Congratulations Sam !!!
    >
    > On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
    > wrote:
    >
    >> Congratulations, Sam !
    >>
    >> On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
    >> rajeev...@wso2.com> wrote:
    >>
    >>> Congrats Sam...!!!
    >>>
    >>> On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
    >>> wrote:
    >>>
     Congrats Sam !
    
     On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
     sane...@wso2.com> wrote:
    
    > Congratulations Sam...
    >
    > Thanks and Best Regards,
    >
    > Saneth Dharmakeerthi
    > Senior Software Engineer
    > WSO2, Inc.
    > Mobile: +94772325511
    >
    > On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias 
    > wrote:
    >
    >> Hi,
    >>
    >> It is with great pleasure we welcome Sam Sivayogam as a WSO2
    >> Committer. @Sam, congratulations and keep up the good work!
    >>
    >> Thanks,
    >> NuwanD.
    >>
    >> --
    >> Nuwan Dias
    >>
    >> Technical Lead - WSO2, Inc. http://wso2.com
    >> email : nuw...@wso2.com
    >> Phone : +94 777 775 729
    >>
    >> ___
    >> 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
    >
    >
    
    
     --
     Vinuri Perera
     Software Engineer | WSO2 Inc
    
     M : 0711518805
    
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>>
    >>> Vimalanathan Rajeevan
    >>> Software Engineer
    >>> WSO2 Inc.:http://wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>>
    >>> Mobile : +94 773090875
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Best Regards,
    >>
    >> *Thilini Cooray*
    >> Software Engineer
    >> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >> E-mail : thili...@wso2.com
    >>
    >> WSO2 Inc. www.wso2.com
    >> lean.enterprise.middleware
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Senduran *
    > Software Engineer,
    > WSO2, Inc.;  http://wso2.com/ 
    > Mobile: +94 77 952 6548
    >
    > ___
    > 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
    
    
    >>>
    >>>
    >>> --
    >>> *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
    >>>
    >>>
    >>
    >>
    >> --
    >> Thanks & Regards,
    >>
    >> *Chamalee De Silva*
    >> Software Engineer
    >> *WS**O2* Inc. .:http://wso2.com
    >> lean *.* enterprise *.* middleware
    >>
    >> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
    >> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Harsha Kumara
    > Software Engineer, WSO2 Inc.
    > Mobile: +94775505618
    > Blog:harshcreationz.blogspot.com
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    _

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Dilan Udara Ariyaratne
    Congratulations, Damith !!!
    
    
    *Dilan U. Ariyaratne*
    Software Engineer
    WSO2 Inc. 
    Mobile: +94775149066
    lean . enterprise . middleware
    
    On Mon, Jun 15, 2015 at 10:23 AM, Harsha Kumara  wrote:
    
    > Congratulations Damith!
    >
    > On Mon, Jun 15, 2015 at 9:05 AM, Thilini Cooray  wrote:
    >
    >> Congratulations, Damith!
    >>
    >> On Mon, Jun 15, 2015 at 8:45 AM, Vinuri Perera  wrote:
    >>
    >>> Congrats Damith !
    >>>
    >>> On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva 
    >>> wrote:
    >>>
     Congratulations damith :)
    
     On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara  wrote:
    
    > Congratulations Damith !
    >
    > On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan <
    > s...@wso2.com> wrote:
    >
    >> Hi all,
    >>
    >> Its my pleasure to welcome Damith Wickramasinghe as a
    >> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a 
    >> great
    >> contribution to WSO2 CEP and has shown great enthusiasm in his work both 
    >> in
    >> development and Geo related CEP effort. In recognition of his 
    >> contribution,
    >> he has been voted as a WSO2 Committer a month back.
    >>
    >> Damith, welcome aboard and keep up the good work, and sorry for
    >> delaying this mail.
    >>
    >> Regards,
    >> Suho.
    >>
    >> --
    >>
    >> *S. Suhothayan*
    >> Technical Lead & Team Lead of WSO2 Complex Event Processor
    >>  *WSO2 Inc. *http://wso2.com
    >> * *
    >> lean . enterprise . middleware
    >>
    >>
    >> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
    >> http://suhothayan.blogspot.com/ twitter:
    >> http://twitter.com/suhothayan  | 
    >> linked-in:
    >> http://lk.linkedin.com/in/suhothayan 
    >> *
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Kasun Bandara
    > *Software Engineer*
    > Mobile : +94 (0) 718 338 360
    > <%2B94%20%280%29%20773%20451194>
    > kas...@wso2.com 
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     *Ramindu De Silva*
     Software Engineer
     WSO2 Inc.: http://wso2.com
     lean.enterprise.middleware
    
     email: ramin...@wso2.com 
     mob: +94 772339350
     mob: +94 782731766
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> Vinuri Perera
    >>> Software Engineer | WSO2 Inc
    >>>
    >>> M : 0711518805
    >>>
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Best Regards,
    >>
    >> *Thilini Cooray*
    >> Software Engineer
    >> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >> E-mail : thili...@wso2.com
    >>
    >> WSO2 Inc. www.wso2.com
    >> lean.enterprise.middleware
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Harsha Kumara
    > Software Engineer, WSO2 Inc.
    > Mobile: +94775505618
    > Blog:harshcreationz.blogspot.com
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] [MB] Console allows the user to delete a queue when publishing

    2015-06-14 Thread Ramith Jayasinghe
    This is due to how we process any-inbound events ( queue add/delete,
    recieve messages etc).
     Yes, this is a edge case (- where user deletes a queue which is very
    active) therefore lets create a jira.
    
    regards
    Ramith
    
    On Mon, Jun 15, 2015 at 10:09 AM, Pamod Sylvester  wrote:
    
    > Hi Jason et all,
    >
    > We restrict queue deletion if there're active subscribers for it. The
    > messages published will not be accepted if the queue was deleted. The
    > filtering is done on acceptance/rejection at Message Pre Processing stage.
    >
    > It seems that when the delete event is called some of the messages have
    > passed the pre processing stage and were accepted in. Resulting in noticing
    > messages after the queue is re added.
    >
    > @Ramith and team, should we introduce another filer before adding the
    > messages to slots, db ? thoughts ?
    >
    > Thanks,
    > Pamod
    >
    > On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva  wrote:
    >
    >> Hi All,
    >>
    >> In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
    >> messages to a queue it is possible to delete the queue from the console and
    >> a popup shows that it is deleted successfully. After couple of refreshes
    >> the queue is not shown in console.
    >> Later if the same queue is re-added via the console the queue will have
    >> some messages shown, is it valid?
    >>
    >> Regards,
    >> Jason
    >>
    >> --
    >> Jason De Silva
    >> *Software Engineer - QA*
    >> Mobile: +94 (0) 772 097 678
    >> Email: jas...@wso2.com
    >> WSO2 Inc. www.wso2.com
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Pamod Sylvester *
    >
    > *WSO2 Inc.; http://wso2.com *
    > cell: +94 77 7779495
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Ramith Jayasinghe
    Technical Lead
    WSO2 Inc., http://wso2.com
    lean.enterprise.middleware
    
    E: ram...@wso2.com
    P: +94 777542851
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] AS build fails at tests-security-manager due to file permission

    2015-06-14 Thread Krishantha Samaraweera
    Hi Niranjan,
    
    Can you create a TA Jira to track the issue.
    
    Thanks,
    Krishantha.
    
    On Fri, Jun 12, 2015 at 5:18 PM, Niranjan Karunanandham 
    wrote:
    
    > Hi,
    >
    > When I tried to build AS pack from Github (master branch) [1], it failed
    > with error in [2], but this is *passing in Jenkins*. Had an offline
    > discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
    > which is used to sign the jar files in the pack for testing is not executed
    > as it does *not have execute permission*. When I check the original
    > location of the file and it has the permission - 775, but when it is copied
    > the permission is lost.
    >
    > After I changed the original file permission to 755  and ran the test
    > case, it failed when it tried to execute sign-packs.sh with a different
    > error (error: that a newline is present (^M)). This is happened because the
    > sign-packs.sh file has the Line Separator as *CRLF*. After changing it to
    > *LF*, I was able to run the tests-security-manager. Why is this happening?
    >
    >
    > [1] - https://github.com/wso2/product-as/
    > [2] -
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    > - Port 9763 is closed and available for use
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
    > - Port 9443 is closed and available for use
    > INFO
    >  
    > [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager]
    > - Starting carbon server.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > JAVA_HOME environment variable is set to /usr/local/java/jdk1.7.0_51
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > CARBON_HOME environment variable is set to
    > /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern javax.net.ssl.trustStore is restricted for tenant code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern javax.net.ssl.trustStorePassword is restricted for tenant
    > code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > Property pattern denied.system.properties is restricted for tenant code.
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
    > java.security.AccessControlException
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -  -
    > klass: 'java/security/AccessControlException'
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > A fatal error has been detected by the Java Runtime Environment:
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >  Internal Error (exceptions.cpp:424), pid=20621, tid=139773740406528
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >  fatal error: ExceptionMark destructor expects no pending exceptions
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build
    > 1.7.0_51-b13)
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode
    > linux-amd64 compressed oops)
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > Failed to write core dump. Core dumps have been disabled. To enable core
    > dumping, try "ulimit -c unlimited" before starting Java again
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > An error report file with more information is saved as:
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT/hs_err_pid20621.log
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > If you would like to submit a bug report, please visit:
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    >   http://bugreport.sun.com/bugreport/crash.jsp
    > INFO
    >  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
    > ERROR
    > [org.wso2.carbon.automation.extensions.servers.utils.InputStreamHandler] -
    > Aborted (core dumped)
    >
    >
    > Regards,
    > Nira
    >
    > --
    >
    > *Niranjan Karunanandham*
    > Senior S

    Re: [Dev] [MB] Console allows the user to delete a queue when publishing

    2015-06-14 Thread Jason De Silva
    Hi Pamod / Ramith,
    
    Thank you for the explanation. I have created a jira.
    https://wso2.org/jira/browse/MB-1075
    
    Regards,
    Jason
    
    On Mon, Jun 15, 2015 at 11:01 AM, Ramith Jayasinghe  wrote:
    
    > This is due to how we process any-inbound events ( queue add/delete,
    > recieve messages etc).
    >  Yes, this is a edge case (- where user deletes a queue which is very
    > active) therefore lets create a jira.
    >
    > regards
    > Ramith
    >
    > On Mon, Jun 15, 2015 at 10:09 AM, Pamod Sylvester  wrote:
    >
    >> Hi Jason et all,
    >>
    >> We restrict queue deletion if there're active subscribers for it. The
    >> messages published will not be accepted if the queue was deleted. The
    >> filtering is done on acceptance/rejection at Message Pre Processing stage.
    >>
    >> It seems that when the delete event is called some of the messages have
    >> passed the pre processing stage and were accepted in. Resulting in noticing
    >> messages after the queue is re added.
    >>
    >> @Ramith and team, should we introduce another filer before adding the
    >> messages to slots, db ? thoughts ?
    >>
    >> Thanks,
    >> Pamod
    >>
    >> On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva  wrote:
    >>
    >>> Hi All,
    >>>
    >>> In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
    >>> messages to a queue it is possible to delete the queue from the console and
    >>> a popup shows that it is deleted successfully. After couple of refreshes
    >>> the queue is not shown in console.
    >>> Later if the same queue is re-added via the console the queue will have
    >>> some messages shown, is it valid?
    >>>
    >>> Regards,
    >>> Jason
    >>>
    >>> --
    >>> Jason De Silva
    >>> *Software Engineer - QA*
    >>> Mobile: +94 (0) 772 097 678
    >>> Email: jas...@wso2.com
    >>> WSO2 Inc. www.wso2.com
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> *Pamod Sylvester *
    >>
    >> *WSO2 Inc.; http://wso2.com *
    >> cell: +94 77 7779495
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > Ramith Jayasinghe
    > Technical Lead
    > WSO2 Inc., http://wso2.com
    > lean.enterprise.middleware
    >
    > E: ram...@wso2.com
    > P: +94 777542851
    >
    >
    
    
    -- 
    Jason De Silva
    *Software Engineer - QA*
    Mobile: +94 (0) 772 097 678
    Email: jas...@wso2.com
    WSO2 Inc. www.wso2.com
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    [Dev] [MDM] [AppManager] Need to understand How MDM AppManager Integration should reflect in MDM UI

    2015-06-14 Thread Dilan Udara Ariyaratne
    Hi Guys,
    
    Since App Management is now out from the MDM context, it is required to
    understand from an end-user perspective
    the new use-cases associated with in the context of integrating both MDM
    and AppManager together.
    
    Earlier with EMM 1.1.0 release, we had App Management with in the Product
    itself.
    At policy creation level, only the Apps published through EMM Publisher,
    were listed out to be selected for installation.
    
    But now AFAIU, we will have to deal with two possible options which we need
    to discuss.
    
    [1] If WSO2 App Manager is present as the Mobile App Management Component
    of MDM, when and how should the corresonding support reflect in MDM UI ?
    
    [2] At the absence of WSO2 App Manager as an Mobile App Management
    Component for MDM, if we are still going to support some third party
    solutions
     for App Installations, How are we going to handle that and what are
    the possible use cases in the context ?
    
    Bringing your urgent attention on this regard...
    
    Thanks.
    
    *Dilan U. Ariyaratne*
    Software Engineer
    WSO2 Inc. 
    lean . enterprise . middleware
    Mobile: +94775149066
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    [Dev] Introduce new table to the embedded database

    2015-06-14 Thread Damith Senanayake
    Hi,
    
    I am trying to implement a new feature and I need to introduce a new table
    to the embedded database. (namely, IDN_UID_USER).
    
    
    What is the normal way to properly do this rather than logging into the H2
    Console through the web interface?
    
    Thanks in advance
    -- 
    *-Damith Senanayake-*
    +94712205272
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] Handling version change in C-App

    2015-06-14 Thread Manoj Kumara
    Hi Nandika,
    
    Since implementing CApp version support require platform level
    improvements. We'll try to address this on a future release and I created a
    public JIRA for that.
    
    [1] https://wso2.org/jira/browse/CARBON-15268
    
    Regards,
    Manoj
    
    
    *Manoj Kumara |* Senior Software Engineer
     Inc. *| **lean. enterprise. middleware.*
    #20, Palm Grove, Colombo 03, Sri Lanka
    *Mobile:* +94 713 448188 *|** Work:* +94 112 145345
    
    
    On Fri, Jun 5, 2015 at 11:04 AM, Manoj Kumara  wrote:
    
    > Hi,
    >
    > We can check whether CApp is already deployed by getting the CApp list of
    > a given tenant (please check ApplicationManager class).We check this during
    > the deployment process as well.
    >
    > Will that be helpful during your requirement so you can figure out which
    > operation is during deployment.
    >
    > Regards,
    > Manoj
    >
    >
    > *Manoj Kumara |* Senior Software Engineer
    >  Inc. *| **lean. enterprise. middleware.*
    > #20, Palm Grove, Colombo 03, Sri Lanka
    > *Mobile:* +94 713 448188 *|** Work:* +94 112 145345
    >
    >
    > On Fri, Jun 5, 2015 at 12:05 AM, Nandika Jayawardana 
    > wrote:
    >
    >> Hi Manoj,
    >>
    >> As Hasitha said, versioning is essential to processes as processes are
    >> supposed to be long running. Hence we cannot afford to un deploy the older
    >> version, when a new version is deployed.  We need an enhancement in the
    >> AppDeploymentHandler interface to tell the  deployer whether this is a new
    >> CAR deployment or a update of an existing car deployment. Then in the case
    >> of update, we can handle the logic such that versioning is preserved.
    >>
    >> Regards
    >> Nandika
    >>
    >> On Thu, Jun 4, 2015 at 11:57 PM, Hasitha Aravinda 
    >> wrote:
    >>
    >>> Hi Manoj and Hasitha,
    >>>
    >>> To preserve older versions of a BPEL artifact, BPS requires to replace
    >>> exact same BPEL artifacts with an updated one. Currently when an updated
    >>> Capp is uploaded, it will undeploy old BPEL process and deploy new one.
    >>> This will cause to remove old BPEL versions.
    >>>
    >>> To avoid this, as himasha suggest, we required to know reason for Capp
    >>> underemployment, ( Capp updated, or removed from management console etc) so
    >>> that we can handle this on Capp BPEL undeploy logic. I think, this will
    >>> apply for HumanTask, BPMN versioning as well.
    >>>
    >>> Since Capp deployer doesn't support this, we need to see another way to
    >>> solve this problem. Otherwise Capp will not support BPS versioning feature.
    >>>
    >>>
    >>> Thanks,
    >>> Hasitha.
    >>>
    >>>
    >>> Hasitha Aravinda,
    >>> Senior Software Engineer,
    >>> WSO2 Inc.
    >>> Email: hasi...@wso2.com
    >>> Mobile : +1 201 887 1971, +94 718 210 200
    >>>
    >>> On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya 
    >>> wrote:
    >>>
     Hi,
    
     This is one of the solutions people are using.
    
     Name the CAR file as xxx-car-v-1.0
     Name all the artifacts inside it as artifact-xxx-v-1.0
    
     Then deploy CAR files. Old ones will not be replaced. The references in
     each artifact to one another should be updated.
     We can do this to endpoints.
     But doing this to all will be cumbersome.
    
     Thanks
    
     On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara  wrote:
    
    > Hi Himasha,
    > Please see my inline comments,
    >
    >>
    >> The scenario that we come across is as below.
    >>
    >>  1. Deploy a C-App containing BPEL artifacts
    >>  2. Invoke an instance (instance 1)
    >>  3. Redeploy the C-App with updated BPEL artifacts.
    >>  4.When redeploying the previous C-App is undeployed  which removes
    >> the  invoked instance (instance 1) as well.
    >>
    >
    > This is the expected behavior. Since CApp get redeployed previously
    > deployed artifacts also get un-deployed.
    >
    >>
    >> For our BPEL C-App deployer we have implemented AppDeploymentHandler.
    >> We are unable to identify whether the undeployment is a direct 
    >> undeployment
    >> ( user undeploying the C-App from console) or if it is getting undeployed
    >> due to a new upload of the same C-App. We are unable to handle the 
    >> version
    >> change since AppDeploymentHandler only provides  deployArtifacts
    >> and undeployArtifacts methods.
    >>
    >
    >  At the moment we don't have CApp version support. When an updated
    > CApp get uploaded previous one get undeployed and new one will be 
    > deployed.
    >
    > Regards,
    > Manoj
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     *Hasitha Abeykoon*
     Senior Software Engineer; WSO2, Inc.; http://wso2.com
     *cell:* *+94 719363063*
     *blog: **abeykoon.blogspot.com* 
    
    
     ___
     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
    >>>
    >>>
    >>
    >>
    >>

    Re: [Dev] Handling version change in C-App

    2015-06-14 Thread Nandika Jayawardana
    Hi Manoj
    
    Thanks for the update. We will have to defer fixing this jira and also
    recommend users not to use capp  if they are deploying long running
    processes and tasks in either bpel or bpmn.
    
    https://wso2.org/jira/browse/BPS-674
    
    Regards
    Nandika
    
    On Mon, Jun 15, 2015 at 12:01 PM, Manoj Kumara  wrote:
    
    > Hi Nandika,
    >
    > Since implementing CApp version support require platform level
    > improvements. We'll try to address this on a future release and I created a
    > public JIRA for that.
    >
    > [1] https://wso2.org/jira/browse/CARBON-15268
    >
    > Regards,
    > Manoj
    >
    >
    > *Manoj Kumara |* Senior Software Engineer
    >  Inc. *| **lean. enterprise. middleware.*
    > #20, Palm Grove, Colombo 03, Sri Lanka
    > *Mobile:* +94 713 448188 *|** Work:* +94 112 145345
    >
    >
    > On Fri, Jun 5, 2015 at 11:04 AM, Manoj Kumara  wrote:
    >
    >> Hi,
    >>
    >> We can check whether CApp is already deployed by getting the CApp list of
    >> a given tenant (please check ApplicationManager class).We check this during
    >> the deployment process as well.
    >>
    >> Will that be helpful during your requirement so you can figure out which
    >> operation is during deployment.
    >>
    >> Regards,
    >> Manoj
    >>
    >>
    >> *Manoj Kumara |* Senior Software Engineer
    >>  Inc. *| **lean. enterprise. middleware.*
    >> #20, Palm Grove, Colombo 03, Sri Lanka
    >> *Mobile:* +94 713 448188 *|** Work:* +94 112 145345
    >>
    >>
    >> On Fri, Jun 5, 2015 at 12:05 AM, Nandika Jayawardana 
    >> wrote:
    >>
    >>> Hi Manoj,
    >>>
    >>> As Hasitha said, versioning is essential to processes as processes are
    >>> supposed to be long running. Hence we cannot afford to un deploy the older
    >>> version, when a new version is deployed.  We need an enhancement in the
    >>> AppDeploymentHandler interface to tell the  deployer whether this is a new
    >>> CAR deployment or a update of an existing car deployment. Then in the case
    >>> of update, we can handle the logic such that versioning is preserved.
    >>>
    >>> Regards
    >>> Nandika
    >>>
    >>> On Thu, Jun 4, 2015 at 11:57 PM, Hasitha Aravinda 
    >>> wrote:
    >>>
     Hi Manoj and Hasitha,
    
     To preserve older versions of a BPEL artifact, BPS requires to replace
     exact same BPEL artifacts with an updated one. Currently when an updated
     Capp is uploaded, it will undeploy old BPEL process and deploy new one.
     This will cause to remove old BPEL versions.
    
     To avoid this, as himasha suggest, we required to know reason for Capp
     underemployment, ( Capp updated, or removed from management console etc) so
     that we can handle this on Capp BPEL undeploy logic. I think, this will
     apply for HumanTask, BPMN versioning as well.
    
     Since Capp deployer doesn't support this, we need to see another way to
     solve this problem. Otherwise Capp will not support BPS versioning feature.
    
    
     Thanks,
     Hasitha.
    
    
     Hasitha Aravinda,
     Senior Software Engineer,
     WSO2 Inc.
     Email: hasi...@wso2.com
     Mobile : +1 201 887 1971, +94 718 210 200
    
     On Thu, Jun 4, 2015 at 12:38 PM, Hasitha Hiranya 
     wrote:
    
    > Hi,
    >
    > This is one of the solutions people are using.
    >
    > Name the CAR file as xxx-car-v-1.0
    > Name all the artifacts inside it as artifact-xxx-v-1.0
    >
    > Then deploy CAR files. Old ones will not be replaced. The references
    > in each artifact to one another should be updated.
    > We can do this to endpoints.
    > But doing this to all will be cumbersome.
    >
    > Thanks
    >
    > On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara  wrote:
    >
    >> Hi Himasha,
    >> Please see my inline comments,
    >>
    >>>
    >>> The scenario that we come across is as below.
    >>>
    >>>  1. Deploy a C-App containing BPEL artifacts
    >>>  2. Invoke an instance (instance 1)
    >>>  3. Redeploy the C-App with updated BPEL artifacts.
    >>>  4.When redeploying the previous C-App is undeployed  which removes
    >>> the  invoked instance (instance 1) as well.
    >>>
    >>
    >> This is the expected behavior. Since CApp get redeployed previously
    >> deployed artifacts also get un-deployed.
    >>
    >>>
    >>> For our BPEL C-App deployer we have implemented
    >>> AppDeploymentHandler. We are unable to identify whether the 
    >>> undeployment is
    >>> a direct undeployment ( user undeploying the C-App from console) or if 
    >>> it
    >>> is getting undeployed due to a new upload of the same C-App. We are 
    >>> unable
    >>> to handle the version change since AppDeploymentHandler only provides
    >>>  deployArtifacts and undeployArtifacts methods.
    >>>
    >>
    >>  At the moment we don't have CApp version support. When an updated
    >> CApp get uploaded previous one get undeployed and new one will be 
    >> deployed.
    >>
    >> Regards,
    >> Manoj
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Hasitha Abeykoon*
    > 

    [Dev] [ESB] Please review and merge PR

    2015-06-14 Thread Jagath Sisirakumara Ariyarathne
    Hi,
    
    Please review and merge PR[1] to fix JIRA issue[2].
    
    [1] - https://github.com/wso2/carbon-mediation/pull/87
    [2] - https://wso2.org/jira/browse/ESBJAVA-3761
    
    Thanks.
    -- 
    Jagath Ariyarathne
    Technical Lead
    WSO2 Inc.  http://wso2.com/
    Email: jaga...@wso2.com
    Mob  : +94 77 386 7048
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] Introduce new table to the embedded database

    2015-06-14 Thread Tharindu Edirisinghe
    Hi Damith,
    
    When you are implementing the feature, you can add the create table
    statement in the database scripts in following location (Assuming you are
    doing this for IS). For each type of databse there is a separate .sql file
    and you can add the new command to each file.
    
    */dbscripts/identity/*
    
    Then you can start the server with -Dsetup so it will automatically create
    the new table in your setup.
    
    This way you can test your feature. Once you complete the feature, you can
    send a pull request to [1] adding the new table.
    
    [1]
    https://github.com/wso2/carbon-identity/tree/master/components/identity-core/org.wso2.carbon.identity.core/src/main/resources/dbscripts
    
    Regards,
    TharinduE
    
    On Mon, Jun 15, 2015 at 11:50 AM, Damith Senanayake 
    wrote:
    
    > Hi,
    >
    > I am trying to implement a new feature and I need to introduce a new table
    > to the embedded database. (namely, IDN_UID_USER).
    >
    >
    > What is the normal way to properly do this rather than logging into the H2
    > Console through the web interface?
    >
    > Thanks in advance
    > --
    > *-Damith Senanayake-*
    > +94712205272
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    
    Tharindu Edirisinghe
    Software Engineer | WSO2 Inc
    Identity Server Team
    Blog : tharindue.blogspot.com
    mobile : +94 775 181586
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] Introduce new table to the embedded database

    2015-06-14 Thread Pushpalanka Jayawardhana
    Hi Damith,
    
    All the required tables are created through the scripts located at
    'wso2is-5.0.0/dbscripts/'. Usually these IDN_* tables reside in identity
    data-source, created with the scripts at
    'wso2is-5.0.0/dbscripts/identity/'. When introducing a new table to a data
    source, you should
    - include the create table query in all the relevant script types (It's not
    enough just to add this in H2. Should include in all the scripts for the
    database types we support (MySQL, MSSQL etc..))
    - should wait for identity.core to be active, in your feature, as that is
    the component which initialize the database for identity data source.
    
    Hope this helps.
    
    Thanks,
    Pushpalanka.
    -- 
    Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
    Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
    Mobile: +94779716248
    Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
    lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
    
    
    On Mon, Jun 15, 2015 at 11:50 AM, Damith Senanayake 
    wrote:
    
    > Hi,
    >
    > I am trying to implement a new feature and I need to introduce a new table
    > to the embedded database. (namely, IDN_UID_USER).
    >
    >
    > What is the normal way to properly do this rather than logging into the H2
    > Console through the web interface?
    >
    > Thanks in advance
    > --
    > *-Damith Senanayake-*
    > +94712205272
    >
    > ___
    > 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] Fwd: [MDM] [AppManager] Need to understand How MDM AppManager Integration should reflect in MDM UI

    2015-06-14 Thread Dilan Udara Ariyaratne
    Relooping to Dev...
    
    
    *Dilan U. Ariyaratne*
    Software Engineer
    WSO2 Inc. 
    Mobile: +94775149066
    lean . enterprise . middleware
    
    -- Forwarded message --
    From: Dilan Udara Ariyaratne 
    Date: Mon, Jun 15, 2015 at 11:40 AM
    Subject: Re: [Dev] [MDM] [AppManager] Need to understand How MDM AppManager
    Integration should reflect in MDM UI
    To: WSO2 Developers' List 
    Cc: Prabath Abeysekera , Manoj Gunawardena <
    man...@wso2.com>, Geeth Munasinghe , Dulitha Wijewantha <
    duli...@wso2.com>, Asok Perera , Dilshan Edirisuriya <
    dils...@wso2.com>, Harshan Liyanage , Inosh Perera <
    ino...@wso2.com>, Milan Perera , Kasun Dananjaya Delgolla <
    kas...@wso2.com>, Sameera Perera , Chathura Dilan <
    chathu...@wso2.com>, Sumedha Rubasinghe , Shanmugarajah
    Sinnathamby 
    
    
    Adding Shan to the thread...
    
    
    *Dilan U. Ariyaratne*
    Software Engineer
    WSO2 Inc. 
    Mobile: +94775149066
    lean . enterprise . middleware
    
    On Mon, Jun 15, 2015 at 11:33 AM, Dilan Udara Ariyaratne 
    wrote:
    
    > Hi Guys,
    >
    > Since App Management is now out from the MDM context, it is required to
    > understand from an end-user perspective
    > the new use-cases associated with in the context of integrating both MDM
    > and AppManager together.
    >
    > Earlier with EMM 1.1.0 release, we had App Management with in the Product
    > itself.
    > At policy creation level, only the Apps published through EMM Publisher,
    > were listed out to be selected for installation.
    >
    > But now AFAIU, we will have to deal with two possible options which we
    > need to discuss.
    >
    > [1] If WSO2 App Manager is present as the Mobile App Management Component
    > of MDM, when and how should the corresonding support reflect in MDM UI ?
    >
    > [2] At the absence of WSO2 App Manager as an Mobile App Management
    > Component for MDM, if we are still going to support some third party
    > solutions
    >  for App Installations, How are we going to handle that and what are
    > the possible use cases in the context ?
    >
    > Bringing your urgent attention on this regard...
    >
    > Thanks.
    >
    > *Dilan U. Ariyaratne*
    > Software Engineer
    > WSO2 Inc. 
    > lean . enterprise . middleware
    > Mobile: +94775149066
    >
    >
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    

    Re: [Dev] [MDM] Error occurred while issuing the access token

    2015-06-14 Thread Manoj Gunawardena
    Hi Prasad,
    Can we have a patch to continue our testing.
    
    Thanks
    
    On Sun, Jun 14, 2015 at 10:15 PM, Prasad Tissera  wrote:
    
    > Fixed this in carbon-identity master branch and will included in the next
    > release. Thanks.
    >
    > Sent from my mobile
    > On Jun 12, 2015 9:45 PM, "Prasad Tissera"  wrote:
    >
    >> We recreated issu with carbon-identity 4.4.0. Will update you with the
    >> progress. Thanks.
    >>
    >> Sent from my mobile
    >> On Jun 11, 2015 2:14 PM, "Prabath Abeysekera"  wrote:
    >>
    >>> Guys,
    >>>
    >>> I appreciate if we can get some help on this.
    >>>
    >>> Cheers,
    >>> Prabath
    >>>
    >>> On Wed, Jun 10, 2015 at 3:02 PM, Dulitha Wijewantha 
    >>> wrote:
    >>>
     ​Hi Dulanja/Johann,
     I am getting the same error as milan when trying refresh an access
     token with refresh token. Below I have included the stacktrace of the
     error.
    
     Cheers~​
    
    
     14:58:36,538 org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO  -  Error
     while getting an Identity Persistence Store instance.
     org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: Error when
     storing the access token for consumer key : j9vLqqCBHwHYBJhoI4RK7uhzhwwa
     at
     org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:201)
     at
     org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.invalidateAndCreateNewToken(TokenMgtDAO.java:870)
     at
     org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler.issue(RefreshGrantHandler.java:210)
     at
     org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:187)
     at
     org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:176)
     at
     org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:234)
     at
     org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:108)
     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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
     at
     org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
     at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
     at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
     at
     org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
     at
     org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
     at
     org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
     at
     org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
     at
     org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
     at
     org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
     at
     org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
     at
     org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
     at
     org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
     at
     org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
     at
     org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
     at
     org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
     at
     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
     at
     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     at
     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
     at
     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
     at
     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     at
     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
     at
     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
     at
     org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
     at
     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
     at
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
     at
     org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeVal

    Re: [Dev] WSO2 Committers += Sam Sivayogam

    2015-06-14 Thread Shiva Balachandran
    Congrats Sam! :)
    
    On Mon, Jun 15, 2015 at 10:44 AM, Dilan Udara Ariyaratne 
    wrote:
    
    > Congratulations, Sam !!!
    >
    >
    >
    > *Dilan U. Ariyaratne*
    > Software Engineer
    > WSO2 Inc. 
    > Mobile: +94775149066
    > lean . enterprise . middleware
    >
    > On Mon, Jun 15, 2015 at 10:22 AM, Harsha Kumara  wrote:
    >
    >> Congratulations Sam!
    >>
    >> On Mon, Jun 15, 2015 at 9:38 AM, Chamalee De Silva 
    >> wrote:
    >>
    >>> Congrats Sam!
    >>>
    >>> On Mon, Jun 15, 2015 at 9:26 AM, Elilmatha Sivanesan >> > wrote:
    >>>
     Congratulations Sam...
    
     On Mon, Jun 15, 2015 at 9:19 AM, Kesavan Yogarajah 
     wrote:
    
    > Congratulations Sam !
    >
    > Kesavan Yogarajah
    > Associate Software Engineer
    > Mobile :+94 (0) 779 758021
    > kesav...@wso2.com
    > WSO2, Inc.
    > lean . enterprise . middleware
    >
    > On Mon, Jun 15, 2015 at 9:14 AM, Senduran Balasubramaniyam <
    > sendu...@wso2.com> wrote:
    >
    >> Congratulations Sam !!!
    >>
    >> On Sun, Jun 14, 2015 at 10:34 PM, Thilini Cooray 
    >> wrote:
    >>
    >>> Congratulations, Sam !
    >>>
    >>> On Mon, Jun 15, 2015 at 8:58 AM, Rajeevan Vimalanathan <
    >>> rajeev...@wso2.com> wrote:
    >>>
     Congrats Sam...!!!
    
     On Mon, Jun 15, 2015 at 8:44 AM, Vinuri Perera 
     wrote:
    
    > Congrats Sam !
    >
    > On Mon, Jun 15, 2015 at 8:37 AM, Saneth Dharmakeerthi <
    > sane...@wso2.com> wrote:
    >
    >> Congratulations Sam...
    >>
    >> Thanks and Best Regards,
    >>
    >> Saneth Dharmakeerthi
    >> Senior Software Engineer
    >> WSO2, Inc.
    >> Mobile: +94772325511
    >>
    >> On Mon, Jun 15, 2015 at 8:31 AM, Nuwan Dias 
    >> wrote:
    >>
    >>> Hi,
    >>>
    >>> It is with great pleasure we welcome Sam Sivayogam as a WSO2
    >>> Committer. @Sam, congratulations and keep up the good work!
    >>>
    >>> Thanks,
    >>> NuwanD.
    >>>
    >>> --
    >>> Nuwan Dias
    >>>
    >>> Technical Lead - WSO2, Inc. http://wso2.com
    >>> email : nuw...@wso2.com
    >>> Phone : +94 777 775 729
    >>>
    >>> ___
    >>> 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
    >>
    >>
    >
    >
    > --
    > Vinuri Perera
    > Software Engineer | WSO2 Inc
    >
    > M : 0711518805
    >
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
    
     Vimalanathan Rajeevan
     Software Engineer
     WSO2 Inc.:http://wso2.com
     lean.enterprise.middleware
    
    
     Mobile : +94 773090875
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> Best Regards,
    >>>
    >>> *Thilini Cooray*
    >>> Software Engineer
    >>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >>> E-mail : thili...@wso2.com
    >>>
    >>> WSO2 Inc. www.wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> *Senduran *
    >> Software Engineer,
    >> WSO2, Inc.;  http://wso2.com/ 
    >> Mobile: +94 77 952 6548
    >>
    >> ___
    >> 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
    >
    >
    
    
     --
     *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
    
    
    >>>
    >>>
    >>> --
    >>> Thanks & Regards,
    >>>
    >>> *Chamalee De Silva*
    >>> Software Engineer
    >>> *WS**O2* Inc. .:http://wso2.com
    >>> lean *.* enterprise *.* middleware
    >>>
    >>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
    >>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://ws

    Re: [Dev] WSO2 Committers += Damith Wickramasinghe

    2015-06-14 Thread Shiva Balachandran
    Congrats Damith! :)
    
    On Mon, Jun 15, 2015 at 10:45 AM, Dilan Udara Ariyaratne 
    wrote:
    
    > Congratulations, Damith !!!
    >
    >
    > *Dilan U. Ariyaratne*
    > Software Engineer
    > WSO2 Inc. 
    > Mobile: +94775149066
    > lean . enterprise . middleware
    >
    > On Mon, Jun 15, 2015 at 10:23 AM, Harsha Kumara  wrote:
    >
    >> Congratulations Damith!
    >>
    >> On Mon, Jun 15, 2015 at 9:05 AM, Thilini Cooray 
    >> wrote:
    >>
    >>> Congratulations, Damith!
    >>>
    >>> On Mon, Jun 15, 2015 at 8:45 AM, Vinuri Perera  wrote:
    >>>
     Congrats Damith !
    
     On Mon, Jun 15, 2015 at 8:29 AM, Ramindu De Silva 
     wrote:
    
    > Congratulations damith :)
    >
    > On Sun, Jun 14, 2015 at 4:56 PM, Kasun Bandara 
    > wrote:
    >
    >> Congratulations Damith !
    >>
    >> On Sun, Jun 14, 2015 at 4:32 PM, Sriskandarajah Suhothayan <
    >> s...@wso2.com> wrote:
    >>
    >>> Hi all,
    >>>
    >>> Its my pleasure to welcome Damith Wickramasinghe as a
    >>> WSO2 Committer. Damith is a member of WSO2 CEP team and he has done a 
    >>> great
    >>> contribution to WSO2 CEP and has shown great enthusiasm in his work 
    >>> both in
    >>> development and Geo related CEP effort. In recognition of his 
    >>> contribution,
    >>> he has been voted as a WSO2 Committer a month back.
    >>>
    >>> Damith, welcome aboard and keep up the good work, and sorry for
    >>> delaying this mail.
    >>>
    >>> Regards,
    >>> Suho.
    >>>
    >>> --
    >>>
    >>> *S. Suhothayan*
    >>> Technical Lead & Team Lead of WSO2 Complex Event Processor
    >>>  *WSO2 Inc. *http://wso2.com
    >>> * *
    >>> lean . enterprise . middleware
    >>>
    >>>
    >>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
    >>> http://suhothayan.blogspot.com/ 
    >>> twitter:
    >>> http://twitter.com/suhothayan  | 
    >>> linked-in:
    >>> http://lk.linkedin.com/in/suhothayan 
    >>> *
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Kasun Bandara
    >> *Software Engineer*
    >> Mobile : +94 (0) 718 338 360
    >> <%2B94%20%280%29%20773%20451194>
    >> kas...@wso2.com 
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    >
    > --
    > *Ramindu De Silva*
    > Software Engineer
    > WSO2 Inc.: http://wso2.com
    > lean.enterprise.middleware
    >
    > email: ramin...@wso2.com 
    > mob: +94 772339350
    > mob: +94 782731766
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
     --
     Vinuri Perera
     Software Engineer | WSO2 Inc
    
     M : 0711518805
    
    
     ___
     Dev mailing list
     Dev@wso2.org
     http://wso2.org/cgi-bin/mailman/listinfo/dev
    
    
    >>>
    >>>
    >>> --
    >>> Best Regards,
    >>>
    >>> *Thilini Cooray*
    >>> Software Engineer
    >>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
    >>> E-mail : thili...@wso2.com
    >>>
    >>> WSO2 Inc. www.wso2.com
    >>> lean.enterprise.middleware
    >>>
    >>> ___
    >>> Dev mailing list
    >>> Dev@wso2.org
    >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>>
    >>>
    >>
    >>
    >> --
    >> Harsha Kumara
    >> Software Engineer, WSO2 Inc.
    >> Mobile: +94775505618
    >> Blog:harshcreationz.blogspot.com
    >>
    >> ___
    >> Dev mailing list
    >> Dev@wso2.org
    >> http://wso2.org/cgi-bin/mailman/listinfo/dev
    >>
    >>
    >
    > ___
    > Dev mailing list
    > Dev@wso2.org
    > http://wso2.org/cgi-bin/mailman/listinfo/dev
    >
    >
    
    
    -- 
    Shiva Balachandran
    Software Engineer
    WSO2 Inc.
    
    Mobile - +94 774445788
    Blog - https://shivabalachandran.wordpress.com/
    ___
    Dev mailing list
    Dev@wso2.org
    http://wso2.org/cgi-bin/mailman/listinfo/dev