Re: [Dev] WSO2 Committers += Shan Mahanama

2016-11-08 Thread Sabra Ossen
gt;>>> -- >>>>>> Fathima Dilhasha >>>>>> *Software Engineer* >>>>>> Mobile : +94 (0) 771663314 <%2B94%20%280%29%20773655496> >>>>>> <%2B94%20%280%29%20773%20451194> >>>>>> dilha...@wso2.com &g

Re: [Dev] WSO2 Committers += Malintha Fernando

2016-11-08 Thread Sabra Ossen
t;> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Heshitha Hettihewa >> *Software Engineer* >> Mobil

Re: [Dev] WSO2 Committers += Megala Uthayakumar

2016-11-08 Thread Sabra Ossen
;>>> dilha...@wso2.com >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>&

Re: [Dev] WSO2 Committers += Eranda Rajapaksha

2016-10-11 Thread Sabra Ossen
meera Gunarathne >>>>>> Software Engineer, WSO2 Inc. http://wso2.com >>>>>> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa> >>>>>> Email: samee...@wso2.com >>>>>> Mobile: +94714155561 >>>>>> >>>>>> ___ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Prabath Ariyarathna. >>>>> >>>>> -- >>>>> Talk is cheap. Show me the code. >>>>> (Torvalds, Linus (2000-08-25)) >>>>> >>>>> >>>>> ___ >>>>> 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 >>>> >>>> >>> >>> >>> -- >>> *Senduran * >>> Senior Software Engineer, >>> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >>> Mobile: +94 77 952 6548 >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Rajith Vitharana >> >> Senior Software Engineer, >> WSO2 Inc. : wso2.com >> Mobile : +94715883223 >> Blog : http://lankavitharana.blogspot.com/ >> <http://wso2.com/signature> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Heshitha Hettihewa > *Software Engineer* > Mobile : +94716866386 > <%2B94%20%280%29%20773%20451194> > heshit...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 <http://wso2.com/signature> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Madawa Soysa

2016-10-10 Thread Sabra Ossen
napagoda>* >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Nisala Niroshana Nanayakkara,* > Software Engineer > Mobile:(+94

[Dev] Authentication for a jaggery app using signed jwt authentication

2016-10-04 Thread Sabra Ossen
/authenticator/signedjwt/SignedJWTAuthenticator.java#L150 Regards. Sabra. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 <http://wso2.com/signature> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/m

Re: [Dev] WSO2 App Cloud - Environment variables for setting credentials

2016-08-07 Thread Sabra Ossen
_ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 <http://wso2.com/signature> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Is it best practice to return null or an empty object from a method in DAO layer?

2016-07-12 Thread Sabra Ossen
t;>>> unnecessary null checks and will stop the code from going on different >>>> paths. And code quality wise also I think returning empty is cleaner. >>>> For example: >>>> >>>> *List list = getList();* >>>> >>>>

Re: [Dev] Is it best practice to return null or an empty object from a method in DAO layer?

2016-07-11 Thread Sabra Ossen
find bugs show it as an error > (please check this) and to fix this we use empty objects. So I think the > returning null is not something we should do. > > Thank You! > -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 _

[Dev] Is it best practice to return null or an empty object from a method in DAO layer?

2016-07-11 Thread Sabra Ossen
ode should not be able to proceed further if there is no user. So IMO returning null and providing the necessary null checks and error handling should be done. Any thoughts on $subject and what is the method followed in WSO2? Any other viewpoints? Thanks and Regards. -- *Sabra Ossen* *Softwar

Re: [Dev] Persist host entry in the docker image built from a dockerfile

2016-07-08 Thread Sabra Ossen
command would create a new intermediate container thus creating a new /etc/hosts file. Thanks and Regards. On Fri, Jul 8, 2016 at 5:42 PM, Udara Liyanage wrote: > > > On Fri, Jul 8, 2016 at 7:49 AM, Sabra Ossen wrote: > >> Hi All, >> >> I am trying to add a host e

[Dev] Persist host entry in the docker image built from a dockerfile

2016-07-08 Thread Sabra Ossen
eated. This method only allows the host entry available in the intermediate container. Many methods allow the host entry to be available only from a container level vs image level. Any known clean method for $subject. Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa.

Re: [Dev] [App Cloud] Reproduce the intermittent Malformed JSON Exception when calling tier api

2016-06-17 Thread Sabra Ossen
identify the real reason when such an issue occurs. Thanks and Regards. On Sat, Jun 11, 2016 at 2:35 AM, Kasun De Silva wrote: > ​Did you try create version from rest api? Can we do a load test to the > rest api and see? > -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile

[Dev] Clarification on closing database connections when using DAO Manager

2016-06-17 Thread Sabra Ossen
practice? Any clarification on this issue is appreciated. [1] http://tutorials.jenkov.com/java-persistence/dao-manager.html Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list Dev

[Dev] [App Cloud] Reproduce the intermittent Malformed JSON Exception when calling tier api

2016-06-09 Thread Sabra Ossen
setup, logged in and immediately tried to create an app. But still I was not able to reproduce the issue. Any further ideas on how to reproduce this issue in local setup? [1] https://wso2.org/jira/browse/APPCLOUD-156 Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com

Re: [Dev] [MSF4J] Publishing arbitrary attributes to WSO2 DAS

2016-05-24 Thread Sabra Ossen
eck if those attributes get persisted > in DAS side. > > thank you. > > On Tue, May 24, 2016 at 2:21 PM, Sabra Ossen wrote: > >> Hi All, >> >> I have a requirement to publish custom attributes to WSO2 DAS. This >> feature is not available in the current MSF4J relea

Re: [Dev] [MSF4J] Clarification on debugging a micro service

2016-05-24 Thread Sabra Ossen
Regards. On Tue, May 24, 2016 at 11:47 AM, Sabra Ossen wrote: > I'm at PG. Could you let me know a time to meet.? > > On Tue, May 24, 2016 at 11:34 AM, Isuru Perera wrote: > >> On Tue, May 24, 2016 at 11:21 AM, Sabra Ossen wrote: >> >>> I am using IntelliJ

Re: [Dev] [MSF4J] Clarification on debugging a micro service

2016-05-23 Thread Sabra Ossen
msf4j/analytics/httpmonitoring/HTTPMonitoringDataPublisher.java#L182>. > So, the IDE should stop at that debug point. So, there must be something > wrong. Which IDE are you using? > > On Mon, May 23, 2016 at 5:53 PM, Afkham Azeez wrote: > >> +isuru >> >> On Fri, May 20,

[Dev] [MSF4J] Clarification on debugging a micro service

2016-05-20 Thread Sabra Ossen
oring/HTTPMonitoringDataPublisher.java#L182 Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [appcloud] Clarification on how "Create Database" in the UI works

2016-05-04 Thread Sabra Ossen
so2-carbon-based-servers > > [3] http://blog.lasindu.com/2014/08/how-to-call-wso2-products-admin.html > > > Thanks, > Kasun > > On Tue, May 3, 2016 at 12:02 PM, Sabra Ossen wrote: > >> Hi All, >> >> I am new to App Cloud and I would like to know how the met

Re: [Dev] [appcloud] setTimeout method does not work as expected

2016-05-03 Thread Sabra Ossen
. Thanks and Regards. [1] https://wso2.org/jira/browse/APPCLOUD-129 On Mon, May 2, 2016 at 8:19 PM, Kasun De Silva wrote: > Hi Sabra, > > Please find my comments inline. > > On Sun, May 1, 2016 at 8:39 PM, Sabra Ossen wrote: > >> Hi Kasun, >> >> I understand

[Dev] [appcloud] Clarification on how "Create Database" in the UI works

2016-05-03 Thread Sabra Ossen
ted by the service. Any help on understanding the scenario is appreciated. Thanks and Regards. [1] https://github.com/wso2/app-cloud/blob/master/modules/jaggeryapps/appmgt/src/modules/databases/add/add.jag#L35 -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94

Re: [Dev] Obtain objects from a list returned by java method, using a jaggery app

2016-05-02 Thread Sabra Ossen
t; > > > On Thu, Apr 28, 2016 at 4:23 PM, Pirinthapan Mahendran < > pirintha...@wso2.com> wrote: > >> Hi Sabra, >> >> You can find the similar use case in [1]. >> >> 1. >> https://github.com/wso2/app-cloud/blob/master/modules/jaggeryapps/appmg

Re: [Dev] [appcloud] setTimeout method does not work as expected

2016-05-01 Thread Sabra Ossen
/blob/master/modules/jaggeryapps/appmgt/src/site/themes/default/templates/application/template.jag#L186 Regards. On Sun, May 1, 2016 at 11:11 PM, Sabra Ossen wrote: > Hi Kasun, > > I am writing it in > jaggeryapps/appmgt/src/site/themes/default/templates/application/template.jag &

Re: [Dev] [appcloud] setTimeout method does not work as expected

2016-05-01 Thread Sabra Ossen
ryAppCreation();\">Back to Application Creation"; >> setTimeout(showErrorPopup, 2000); >> function showErrorPopup(){ >> $("#app-creation-model-body").html(alert); >>

Re: [Dev] [appcloud] Error while installing kubernetes in local machine

2016-05-01 Thread Sabra Ossen
May 1, 2016 at 2:29 PM, Sabra Ossen wrote: > >> I added the runtime config as follows and ran the command again. But >> still it did not work. >> >> docker run \ >> --volume=/:/rootfs:ro \ >> --volume=/sys:/sys:ro \ >> --volume=/var/lib/dock

[Dev] [appcloud] UI gets stuck at "Initializing deployment" in "Application Creation Progress"

2016-05-01 Thread Sabra Ossen
kubernetes.io/docs/getting-started-guides/binary_release/ [2] https://github.com/docker/distribution/blob/master/docs/deploying.md Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [appcloud] Error while installing kubernetes in local machine

2016-05-01 Thread Sabra Ossen
30, 2016 at 1:02 PM, Deependra Ariyadewa wrote: > It looks you have not enabled optional RUNTIME_CONFIG in the Kubernetes > installation. > > On Sat, Apr 30, 2016 at 11:17 AM, Sabra Ossen wrote: > >> Additional details. >> >> *kubectl version* >> Client Ver

Re: [Dev] [appcloud] Error while installing kubernetes in local machine

2016-04-29 Thread Sabra Ossen
ue Apr 26 23:30:23 2016 OS/Arch: linux/amd64 Server: Version: 1.11.1 API version: 1.23 Go version: go1.5.4 Git commit: 5604cbe Built:Tue Apr 26 23:30:23 2016 OS/Arch: linux/amd64 On Sat, Apr 30, 2016 at 10:12 AM, Sabra Ossen wrote: > Hi All, > > I am inst

[Dev] [appcloud] Error while installing kubernetes in local machine

2016-04-29 Thread Sabra Ossen
s if needed. [1] https://docs.docker.com/engine/installation/linux/ubuntulinux/ [2] http://kubernetes.io/docs/getting-started-guides/docker/ Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev

[Dev] [appcloud] setTimeout method does not work as expected

2016-04-28 Thread Sabra Ossen
should be redirected to the application home page after 20 seconds. I even tested out with giving a number such as 1000 seconds, but still within 2 or 3 seconds of displaying the message ("Displayed Message") the page gets redirected. Any help on understanding the issue is appreciated. Tha

[Dev] Obtain objects from a list returned by java method, using a jaggery app

2016-04-28 Thread Sabra Ossen
help me on how to start with this issue. Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [appcloud] Unable to connect to Docker Client from local set up

2016-04-27 Thread Sabra Ossen
; On Thu, Apr 21, 2016 at 7:01 AM, Punnadi Gunarathna > wrote: > >> Hi Sabra, >> >> Did you run dockerImages.sh file? >> >> On Thu, Apr 21, 2016 at 5:26 PM, Sabra Ossen wrote: >> >>> Hi All, >>> >>> I have created a local setu

Re: [Dev] [appcloud] Unable to obtain the list of pods in kubernetes via jaggery app

2016-04-20 Thread Sabra Ossen
dList = KubernetesProvisioningUtils.getPods(applicationCtx); >> >> %> >> >> var podList = "<%=podList%>"; >> alert(podList); >> >> <% >> >> >> Using js I printed the podList but it returns "

[Dev] [appcloud] Unable to obtain the list of pods in kubernetes via jaggery app

2016-04-20 Thread Sabra Ossen
od which contains the app can be seen as well. But I cannot obtain it from the jaggery app. Any help on this issue is appreciated. Thanks and Regards. -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list D

Re: [Dev] WSO2 Committers += Lahiru Manohara

2016-04-18 Thread Sabra Ossen
Software Engineer, > WSO2, Inc.; http://wso2.com <http://wso2> > Blog: http://hi-my-world.blogspot.com/ > Tel : 94 11 214 5345 > Fax :94 11 2145300 > > <http://lalajisureshika.blogspot.com/> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Sabra Ossen* *Software Engineer* Email: sa...@wso2.com Mobile: +94 767 837356 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [App Cloud] Use of replication controllers in app cloud

2016-04-18 Thread Sabra Ossen
for > an application. > > Thanks, > Kasun > > > On Mon, Apr 18, 2016 at 1:28 AM, Sabra Ossen wrote: > >> Hi All, >> >> I am new to app cloud and trying to fix the issue of identifying if an >> app has been deleted before recreating the app in the case

Re: [Dev] [AF] Improvement of AF Wall using Web Sockets and Nginx

2015-08-11 Thread Sabra Ossen
the next steps such as load testing POC setup > and finally integrating it with AF wall. > > thank you. > > On Sun, Aug 9, 2015 at 7:33 AM, Sabra Ossen wrote: > >> Hi All, >> >> I have completed the NGINX and Websockets integration using WSO2 AS 5.3.0 >&

Re: [Dev] [AF] Improvement of AF Wall using Web Sockets and Nginx

2015-08-08 Thread Sabra Ossen
t; Yes. This looks good. Please proceed. > > thanks, > dimuthu > > > On Tue, Jun 30, 2015 at 10:01 AM, Sabra Ossen wrote: > >> Hi All, >> >> During implementation an issue was raised on using the curl client to >> send messages to the echo server. Theref

Re: [Dev] [AS] Running multiple instances in a single host

2015-07-20 Thread Sabra Ossen
o2.com/pages/viewpage.action?pageId=43977215 >> >> Thanks & Regards >> Danushka Fernando >> Senior Software Engineer >> WSO2 inc. http://wso2.com/ >> Mobile : +94716332729 >> >> On Tue, Jul 21, 2015 at 10:43 AM, Sabra Ossen wrote: >>

[Dev] [AS] Running multiple instances in a single host

2015-07-20 Thread Sabra Ossen
Hi, Can someone give me some input on $subject. The AS version is 5.3.0 alpha. Thank you in advance. Regards. -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri

Re: [Dev] [AS] ClassNotFoundException in Jax-rs service for tyrus standalone client Client Manager

2015-07-15 Thread Sabra Ossen
ybody. [1] https://github.com/wso2/orbit/blob/master/tyrus-standalone-client/1.7-wso2v1/pom.xml Regards. On Fri, Jul 10, 2015 at 7:36 AM, Sabra Ossen wrote: > Hi All, > > I tried excluding using the way Thusitha mentioned but it didn't work, so > going ahead with creating an orbit

Re: [Dev] [AS] ClassNotFoundException in Jax-rs service for tyrus standalone client Client Manager

2015-07-09 Thread Sabra Ossen
javax.websocket >> javax.websocket-api >> >> >> >> >> Thanks >> >> On Mon, Jul 6, 2015 at 10:15 PM, Danushka Fernando > > wrote: >> >>> You can create orbit bundles with 3rd party libraries and >>> includ

Re: [Dev] [AS] ClassNotFoundException in Jax-rs service for tyrus standalone client Client Manager

2015-07-06 Thread Sabra Ossen
gards. On Mon, Jul 6, 2015 at 12:49 PM, Sajith Kariyawasam wrote: > > > On Mon, Jul 6, 2015 at 12:37 PM, Sabra Ossen wrote: > >> Hi All, >> >> I am trying to send messages to a web socket server through a jax-rs >> service using tyrus [1]. I have separately

[Dev] [AS] ClassNotFoundException in Jax-rs service for tyrus standalone client Client Manager

2015-07-06 Thread Sabra Ossen
at org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) ... 52 more Can anyone help me resolve this issue. [1] https://tyrus.java.net/documentation/1.11/user-guide.html#d0e78 [2] http://

Re: [Dev] Unable to access jaggeryjs documentation

2015-07-05 Thread Sabra Ossen
ns.ScriptException: >> java.io.FileNotFoundException: >> /home/jaggery/newpack/jaggery-0.9.0-SNAPSHOT/apps/ROOT/config/properties/webSocket.json >> (Too many open files) (//modules/loader.js#105)* >> >> *description* *The server encountered an internal error that prevent

[Dev] Unable to access jaggeryjs documentation

2015-07-05 Thread Sabra Ossen
Hi All, I was searching for web sockets implementation using jaggery, but I am unable to access the jaggeryjs documentation in [1]. Could someone check and resolve this issue. [1] http://jaggeryjs.org/documentation.jag?api=webSocket Thanks. -- Sabra Ossen <http://lk.linkedin.com

Re: [Dev] Jax-rs Web Service and Web Socket integration

2015-07-04 Thread Sabra Ossen
lob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/appserver/integration/tests/webapp/websocket/EchoWebSocketTestCase.java#L55 > > On Fri, Jul 3, 2015 at 10:15 PM, Sabra Ossen wrote: > >> Hi All, >> >> I am a newbie but was able to create a bas

[Dev] Jax-rs Web Service and Web Socket integration

2015-07-03 Thread Sabra Ossen
[1] https://blog.idrsolutions.com/2013/12/websockets-an-introduction/ -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka ___ Dev mailing list Dev@w

Re: [Dev] [AF] Improvement of AF Wall using Web Sockets and Nginx

2015-06-29 Thread Sabra Ossen
updated design for the POC. Regards. Sabra. On Fri, Jun 19, 2015 at 2:13 PM, Sabra Ossen wrote: > Hi Manjula, > > Okay, then I will focus on step 1 and 2. And I will also check if the > latest AS release supports web sockets, failing which I will proceed with > AS 5.1.0. > >

Re: [Dev] [AS]

2015-06-27 Thread Sabra Ossen
a maven project? If so share the pom. >> >> Thanks >> >> On Fri, Jun 26, 2015 at 8:32 PM, Sabra Ossen wrote: >> >>> Hi, >>> >>> @Chathura, I am using oracle JDK 7 in Ubuntu 14.04. >>> >>> @Manoj, Thank you for the samples.

Re: [Dev] [AS]

2015-06-26 Thread Sabra Ossen
: > Hi Sabra, > > I was able to run the same sample successfully in AS 5.3.0 running on > Ubuntu machine. I'm using JDK 7. > Could you please mention the JDK version and OS that you are using ? > > Regards, > Chathura. > > On Fri, Jun 26, 2015 at 3

Re: [Dev] [AS]

2015-06-26 Thread Sabra Ossen
s inside the webapp itself (WEB-INF/lib). >> IF not most probably there is some mismatch in the actual websocket that >> get deployed and what you are trying to connect. >> >> Thanks >> >> On Thu, Jun 25, 2015 at 5:08 PM, Sabra Ossen wrote: >> >>> Hi Th

Re: [Dev] [AS]

2015-06-25 Thread Sabra Ossen
ou check the Context path is correct? Also can you check what is the > error code that you get? > Thanks > > On Thu, Jun 25, 2015 at 4:28 PM, Sabra Ossen wrote: > >> Hi, >> >> I am following the blog mentioned in [1] and I can successfully run the >> Web App

[Dev] [AS]

2015-06-25 Thread Sabra Ossen
text; } Is their any particular way that the web socket is defined within the AS. Can anyone help me with this issue. Thanks in advance. [1] https://blog.idrsolutions.com/2013/12/websockets-an-introduction/ Regards. -- Sabra Ossen <http://lk.linkedin.com/in/sabr

Re: [Dev] [AS] Web socket samples for AS 5.2.1

2015-06-22 Thread Sabra Ossen
websocket support based on JSR 356 which is not > specific to Tomcat but rather standard implementation, you have to use AS > 5.2.3 alpha version. > > Thanks > > On Tue, Jun 23, 2015 at 8:54 AM, Sabra Ossen wrote: > >> Hi All, >> >> I am searching for $subje

[Dev] [AS] Web socket samples for AS 5.2.1

2015-06-22 Thread Sabra Ossen
/modules/samples/common/webapp/src/main/java/websocket/ Regards. -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka ___ Dev mailing list Dev@wso2.or

Re: [Dev] [AF] Improvement of AF Wall using Web Sockets and Nginx

2015-06-19 Thread Sabra Ossen
ckets but for > AS 5.1.0, I could find some samples at [1]. > > [1]. > https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.1.0/products/as/5.1.0/modules/samples/common/webapp/src/main/java/websocket/ > > thank you. > > > On Fri, Jun 19, 2015 at 11:18 AM, Sabra Ossen w

[Dev] [AF] Improvement of AF Wall using Web Sockets and Nginx

2015-06-18 Thread Sabra Ossen
. Thanks in advance. -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> 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

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

2015-06-17 Thread Sabra Ossen
only other option we have - polling. > > We want to use socket.io instead of polling. Please let me know if you > don't understand the requirement. > > thanks, > dimuthu > > > On Wed, Jun 17, 2015 at 10:07 PM, Sabra Ossen > wrote: > >> Hi Dimuthu, >&

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

2015-06-17 Thread Sabra Ossen
bra, > > We definitely can use this if we can check whether same principals can be > applied to a Jaggery app in App server. Then we can use it for the wall > improvements. > > thanks, > dimuthu > > On Wed, Jun 17, 2015 at 6:46 PM, Sabra Ossen > wrote: > >> Hi Dim

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

2015-06-17 Thread Sabra Ossen
code integrated. Thanks. Sabra On Wednesday, June 17, 2015, Dimuthu Leelarathne > wrote: > Hi Sabra, > > Could we setup Jaggery in the same way? > > thanks, > dimuthu > > On Tue, Jun 16, 2015 at 1:03 PM, Sabra Ossen wrote: > >> Hi All, >> >> I was

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

2015-06-16 Thread Sabra Ossen
the web browser and there was no need to download the socket.io and jquery js files. Thanks Tharik for helping me get a clear understanding on CORS. Regards. On Sun, Jun 14, 2015 at 10:33 PM, Sabra Ossen wrote: > Hi Tharik, > > I searched up on CORS (Cross Origin Resource Sharing) and

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

2015-06-14 Thread Sabra Ossen
) 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. >> &

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

2015-06-13 Thread Sabra Ossen
ross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://file/socket.io/?EIO=3&transport=polling&t=1434211017174-2 <http://file/socket.io/?EIO=3&transport=polling&t=1434211017174-2>. (Reason: CORS request failed).GET XHR http://file/socket.i

Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-02 Thread Sabra Ossen
0-SNAPSHOT.zip> >>> >>> thanks, >>> dimuthu >>> >>> >>> >>> >>> On Mon, Jun 1, 2015 at 3:21 PM, Manisha Gayathri >>> wrote: >>> >>>> Hi Sabra, >>>> >>>> Latest released pa

Re: [Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Sabra Ossen
ry/2.2.0-SNAPSHOT/wso2appfactory-2.2.0-SNAPSHOT.zip> > > thanks, > dimuthu > > > > > On Mon, Jun 1, 2015 at 3:21 PM, Manisha Gayathri wrote: > >> Hi Sabra, >> >> Latest released packs can be found from [1] >> >> [1]. https://github.com/

[Dev] [AF] Clarification on where to find a plain AF pack

2015-06-01 Thread Sabra Ossen
Hi, I want to download a plain AF pack. Can it be downloaded from [1]. Any guidance on where it can be found is highly appreciated. Thanks in advance. [1] http://wso2.com/cloud/app-factory/ Regards. Sabra. -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> Undergraduate | Departm

Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-19 Thread Sabra Ossen
quest.setEnd_date("2092-04-8"); request.setTotal_users(); request.setEu_users(); request.setNa_users(); request.setRow_users(); request.setUnclassified_users(); stub.insertRawLeadsPerWeek(request); Thanks. On Tue, May 19, 2015 at 12:53 PM, Sabra Ossen wrote: > Hi Dimuthu, >

[Dev] Method to secure data service deployed in cloud

2015-05-19 Thread Sabra Ossen
the data service. Is anyone aware of a method to secure the data service using either AF or any other methodology. I highly appreciate any input on $subject. Thanks in advance. -- Sabra Ossen <http://lk.linkedin.com/in/sabraossen> Undergraduate | Department of Computer Science and Engin

Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-18 Thread Sabra Ossen
ud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT > > Thanks. > > > > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > > On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne > wrote: > >> Hi Sabra, >> >&g

Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-18 Thread Sabra Ossen
Hi Dimuthu, No, it is not. Thanks. On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne wrote: > Hi Sabra, > > Is this secured? > > thanks, > dimuthu > > > On Mon, May 18, 2015 at 5:26 PM, Sabra Ossen wrote: > >> Hi All, >> >> I have deployed

[Dev] Cannot identify EPR of data service deployed in cloud

2015-05-18 Thread Sabra Ossen
is missing. Any help on this issue is highly appreciated. If any further clarification is needed please let me know. [1] https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT?wsdl Regards. -- Sabra Ossen <http://lk.linkedin.com/in/sabraoss

Re: [Dev] Sun security validator exception when connecting to data service deployed in cloud

2015-05-17 Thread Sabra Ossen
[1] https://fdmanana.wordpress.com/2008/07/01/getting-a-servers-certificate-with-openssl/ Regards. Sabra Ossen. On Sun, May 17, 2015 at 10:17 AM, Tharindu Edirisinghe wrote: > Hi Sabra, > > One more thing to pay attention. If the remote server is fronted by a Load > Balancer (i.

[Dev] Sun security validator exception when connecting to data service deployed in cloud

2015-05-16 Thread Sabra Ossen
thBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ... 46 more I appreciate any help on this issue. Thanks. Sabra Ossen. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Fwd: Unable to create apps in the cloud

2015-04-15 Thread Sabra Ossen
the only issue. Thanks. On Wed, Apr 15, 2015 at 3:26 PM, Dimuthu Leelarathne wrote: > What apps? Pls be specific. > On Apr 15, 2015 2:49 PM, "Sabra Ossen" wrote: > >> Hi Dimuthu, >> >> Yeah, I tried and I am able to create jaggery apps, but no data service

[Dev] Fwd: Unable to create apps in the cloud

2015-04-15 Thread Sabra Ossen
Subject: Re: Unable to create apps in the cloud To: Sabra Ossen Cc: Sumedha Kodithuwakku Hi Sabra, DSS failed. Jaggery app creation is successful. Please try. thanks, dimuthu On Tue, Apr 14, 2015 at 11:08 PM, Dimuthu Leelarathne wrote: > Hi Sabra, > > This is a private mail...

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

2015-03-26 Thread Sabra Ossen
Hi, I will build upon the given explanation. Thanks for your help. Regards. Sabra. On Thu, Mar 26, 2015 at 11:01 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Thu, Mar 26, 2015 at 10:29 AM, Sabra Ossen wrote: > >> Hi, >> >> Currently

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

2015-03-25 Thread Sabra Ossen
final stage of completing my proposal . Thanks. On Wed, Mar 25, 2015 at 10:34 AM, Sabra Ossen wrote: > Hi Mohan, > > Thanks for the clarification. > > Regards. > > On Wed, Mar 25, 2015 at 8:19 AM, Mohanadarshan Vivekanandalingam < > mo...@wso2.com> wrote: > >

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

2015-03-24 Thread Sabra Ossen
Hi Mohan, Thanks for the clarification. Regards. On Wed, Mar 25, 2015 at 8:19 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Mon, Mar 23, 2015 at 2:33 PM, Sabra Ossen wrote: > >> Hi, >> >> Sorry, I created this new thread si

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

2015-03-23 Thread Sabra Ossen
, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Tue, Mar 17, 2015 at 3:02 PM, Sabra Ossen wrote: > >> Hi, >> >> > Sorry Sabra, missed this mail.. > > >> I am Sabra Ossen, an undergraduate of Department of Computer Science and >&g

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

2015-03-21 Thread Sabra Ossen
-- Forwarded message -- From: Sabra Ossen Date: Tue, Mar 17, 2015 at 3:02 PM Subject: Fwd: [Dev][Gsoc2015] Siddhi Process Monitor for WSO2 CEP To: dev@wso2.org Hi, I am Sabra Ossen, an undergraduate of Department of Computer Science and Engineering, University of Moratuwa

Re: [Dev] Undefined 'Security policy namespace cannot be null.' resource property runtime exception when executing a jar created by maven assembly plugin

2015-03-21 Thread Sabra Ossen
ttp://stackoverflow.com/questions/18413014/run-jar-from-command-line-and-specify-classpath > > regards > Awanthika > > > > On Sat, Mar 21, 2015 at 10:19 AM, Sabra Ossen wrote: > >> Hi, >> >> I have created a jar with dependencies using the maven assembly p

[Dev] Undefined 'Security policy namespace cannot be null.' resource property runtime exception when executing a jar created by maven assembly plugin

2015-03-20 Thread Sabra Ossen
tStream(path); StAXOMBuilder builder = new StAXOMBuilder(resource); return PolicyEngine.getPolicy(builder.getDocumentElement()); } Any help on resolving or understanding this issue is highly appreciated. Thank you. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 775 837 356 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Error when accessing a secure web service using a client service stub

2015-03-17 Thread Sabra Ossen
Tue, Mar 17, 2015 at 12:24 PM, Sabra Ossen wrote: > >> Hi, >> >> I am trying to access a secure web service using the method mentioned in >> [1]. But I am getting the following error. >> >> Exception in thread "main" java.lang.NoSuchMethodError:

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

2015-03-17 Thread Sabra Ossen
Hi, I am Sabra Ossen, an undergraduate of Department of Computer Science and Engineering, University of Moratuwa. Currently I am an intern in WSO2. I am interested in proposal [1] in the GSoC project proposals list. I did my fast track training project with WSO2 CEP regarding UI support for

Re: [Dev] Error when accessing a secure web service using a client service stub

2015-03-17 Thread Sabra Ossen
Sorry for the unclear code org.apache.neethi neethi 2.0.4 On Tue, Mar 17, 2015 at 12:51 PM, Sabra Ossen wrote: > Hi KasunG, > > I changed the dependency as follows, but it still gives me the same error. > > > org.apache.neethi > neethi >

[Dev] Error when accessing a secure web service using a client service stub

2015-03-16 Thread Sabra Ossen
lder builder = new StAXOMBuilder(resource); return PolicyEngine.getPolicy(builder.getDocumentElement()); } } [1] https://docs.wso2.com/display/DSS322/Secure+Data+Service+Sample#SecureDataServiceSample-Aboutthesample Any help on this issue is appreciated. Thanks. -- Sabra Ossen *Softwar

Re: [Dev] Adding repository and maven dependency to maven project

2015-03-10 Thread Sabra Ossen
daily > ignore > > > > > On Wed, Mar 11, 2015 at 10:56 AM, Sabra Ossen wrote: > >> Hi, >> >> I am trying to implement a Data Service Task Class as mentioned in link >> [1]. I need to import the following

[Dev] Adding repository and maven dependency to maven project

2015-03-10 Thread Sabra Ossen
.carbon.dataservices.core/ Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 775 837 356 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [GSoC-2015] Proposal1 : Siddhi Process Monitor for WSO2 CEP

2015-03-09 Thread Sabra Ossen
Hi Mohan, Thanks for your prompt response. I will schedule a meeting with them. Thanks. On Sun, Mar 8, 2015 at 2:57 AM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Fri, Mar 6, 2015 at 11:11 AM, Sabra Ossen wrote: > >> Hi, >> >> I

[Dev] Null Pointer Exception when accessing Google Analytics report data using different credentials

2015-03-06 Thread Sabra Ossen
ue is very much appreciated. Thanks. [1] https://developers.google.com/analytics/solutions/articles/hello-analytics-api [2] https://github.com/google/google-api-java-client/issues/904 -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa..

[Dev] [GSoC-2015] Proposal1 : Siddhi Process Monitor for WSO2 CEP

2015-03-05 Thread Sabra Ossen
Hi, I am Sabra Ossen, an undergraduate of Department of Computer Science and Engineering, University of Moratuwa. Currently I am an intern in WSO2. I am interested in proposal [1] in the GSoC project proposals list. I did my fast track training project with WSO2 CEP regarding UI support for

Re: [Dev] Jaggery server.address support in CEP 4.0.0

2015-02-27 Thread Sabra Ossen
has the address method. >> >> Thank You, >> Sameera >> >> >> >> On Fri, Feb 27, 2015 at 11:39 AM, Sabra Ossen wrote: >> >>> Hi Sameera, >>> >>> Thank you for the clarification. Depending on a fix for this issue, I >&g

Re: [Dev] Jaggery server.address support in CEP 4.0.0

2015-02-26 Thread Sabra Ossen
e an issue with the version of the carbon module used by CEP > 4.0.0.The address method has not been removed from the carbon module and > was added before 3.1.0 and has not been changed since. > > Thank You, > Sameera > > On Thu, Feb 26, 2015 at 5:57 PM, Sabra Ossen wrote: >

Re: [Dev] Jaggery server.address support in CEP 4.0.0

2015-02-26 Thread Sabra Ossen
x27;'); On Thu, Feb 26, 2015 at 5:39 PM, Inshaf Mahath wrote: > Hi Sabra, > > You can try [1] sample to get the runtime server address. > > [1] - https://gist.github.com/dulichan/9577696 > > > > > On Thu, Feb 26, 2015 at 5:33 PM, Sabra Ossen wrote: > >> H

[Dev] Jaggery server.address support in CEP 4.0.0

2015-02-26 Thread Sabra Ossen
pi=server2 Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Access Salesforce report data

2015-02-25 Thread Sabra Ossen
to the session id is not > properly set or invalid. > > Therefore it's redirecting you to the salesforce login page (which is a > html page.) > > Try setting the session to the header. > > > [1] https://ap1.salesforce.com/00O900214cu?export=1&enc=UTF-8&xf=

[Dev] Access Salesforce report data

2015-02-24 Thread Sabra Ossen
ay to get the report data or am I doing this all wrong. Any help on this situation is appreciated very much. Thanks. [1] http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/ -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.c

Re: [Dev] Access DTO array in SOAP response using Jaggery

2015-02-09 Thread Sabra Ossen
t; > On Mon, Feb 9, 2015 at 12:28 PM, Sabra Ossen wrote: > >> Hi, >> >> I tried according to your suggestion, but I am not sure how to use XPath >> evaluation using jaggery. Could you may be show me an example of how this >> can be done. >> >> Thanks. &g

  1   2   >