Re: [Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-11 Thread Supun Sethunga
clude them. > > On Wed, Mar 11, 2015 at 2:57 PM, Supun Sethunga wrote: > >> Hi Kasun, >> >> Then again the problem is, one of the three non-osgi jars: "org.scalanlp >> » breeze_2.10" has dependencies for another set of non-osgi jars, and so >> o

Re: [Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-11 Thread Supun Sethunga
ynamic imports as well. And we export the packages of >>> the libraries. >>> >>> Thanks & Regards >>> Danushka Fernando >>> Software Engineer >>> WSO2 inc. http://wso2.com/ >>> Mobile : +94716332729 >>> >>> O

[Dev] Correct way of setting dependencies & import-packages in an Orbit Bundle

2015-03-11 Thread Supun Sethunga
fication. [1] https://docs.google.com/a/wso2.com/spreadsheets/d/1PJKTeNS1zgQ1HbAsg5FQumiaPNKPYxpn2gEVS1v2TC0/edit#gid=0 Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@

Re: [Dev] GSOC2015:PROJECT

2015-03-10 Thread Supun Sethunga
;>>>>>> I am a student of university of Peradeniya, Faculty of >>>>>>>>>>>> engineering, Department of computer engineering. I am interested >>>>>>>>>>>> about y

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Supun Sethunga
[looping Nirmal] On Tue, Mar 10, 2015 at 10:01 AM, Supun Sethunga wrote: > [looping Nirmal] > > Hi Niranda, > > Thanks for the clarification. > > @Nirmal : Seems we have to wait till the BAM M2 release for ML-BAM > Integration :) . But we still can enable to use an exte

Re: [Dev] Cannot use BAM's Spark from an external client.

2015-03-09 Thread Supun Sethunga
rk/core/AnalyticsExecutionService.java > > On Mon, Mar 9, 2015 at 5:48 PM, Supun Sethunga wrote: > >> Hi, >> >> I tried starting up a BAM server, and submitting a spark-job to the Spark >> which is built in BAM, from an external java client. In doing this, I was >&

Re: [Dev] Lucene and Solr bundles package conflicts

2015-02-26 Thread Supun Sethunga
rManagement.startMaintenanceForShutDown( >>>> ServerManagement.java:97) >>>> >>>> at org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully( >>>> CarbonServerManager.java:878) >>>> >>>> at org.wso2.carbon.core.ini

Re: [Dev] [GSoC-2015] Proposal 12: Deep Learning for WSO2 Machine Learner

2015-02-23 Thread Supun Sethunga
Tharindu. > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Pulasthi Mahawithana

2015-02-13 Thread Supun Sethunga
nfo/dev >>>>>> >>>>>> >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>

Re: [Dev] Accessing OSGi Service from a Web App

2015-02-10 Thread Supun Sethunga
gt; supposed to be exposed to other components. >> >> >> On Sat, Feb 7, 2015 at 7:30 PM, Nirmal Fernando wrote: >> >>> One other way that I can think of is, by introducing a service component >>> which has references to all OSGi service we require and then ac

[Dev] Accessing OSGi Service from a Web App

2015-02-07 Thread Supun Sethunga
ach to expose the OSGi servioce as REST API's? Can anyone please shed some light here? -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] How to send out an email notification from WSO2 product?

2015-01-27 Thread Supun Sethunga
;> to discuss your requirement and improve on it. >>>> >>>> On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee >>>> wrote: >>>> >>>>> Hi Supun, >>>>> >>>>> We have Notification Management feature which we

Re: [Dev] WSO2 Committers += Amalka Subasinghe

2015-01-26 Thread Supun Sethunga
; -- > *Gayashan Amarasinghe* > Software Engineer | Platform TG > WSO2, Inc. | http://wso2.com > lean. enterprise. middleware > > Mobile : +94718314517 > Blog : gayashan-a.blogspot.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/list

Re: [Dev] How to send out an email notification from WSO2 product?

2015-01-21 Thread Supun Sethunga
purpose.. > > @Lasantha, Is there anything you have written specifically for ML team ? > > On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga wrote: > >> Hi, >> >> In the Product ML, we have a requirement of sending an email notification >> upon the com

Re: [Dev] Server doesn't start when test coverage enabled in Integration Tests

2015-01-07 Thread Supun Sethunga
Hi Krishantha, Modifying the instrumentation.txt and filter.txt files , did the trick. Thank you for the support. Regards, Supun On Wed, Jan 7, 2015 at 2:00 PM, Krishantha Samaraweera wrote: > Hi Supun, > > On Wed, Jan 7, 2015 at 1:52 PM, Supun Sethunga wrote: > >

Re: [Dev] Server doesn't start when test coverage enabled in Integration Tests

2015-01-07 Thread Supun Sethunga
; Krishantha. > > On Wed, Jan 7, 2015 at 12:12 PM, Supun Sethunga wrote: > >> Hi Krishantha, >> >> The following exception is thrown when i enable the test coverage in the >> ML UI integration tests. Tests work fine when the coverage is set to false. >> I followe

[Dev] Server doesn't start when test coverage enabled in Integration Tests

2015-01-06 Thread Supun Sethunga
carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:136)* > * at > org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)* > * at > org.wso2.carbon.integration.common.extensions.carbonserver.Ca

Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-04 Thread Supun Sethunga
_ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajini De SIlva > Software Engineer; WSO2 Inc.; http://wso2.com , > Email: saj...@wso2.com > Blog: http://sajinid.blogspot.com/ > Git hub profile: https://github.com/sajinidesilva > > Phone: +94 712797729 > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-04 Thread Supun Sethunga
Lead >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> Mobile : +94 77 2291643 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> &g

Re: [Dev] WSO2 Committers += Awanthika Senarath

2015-01-04 Thread Supun Sethunga
atna >>>> Software Engineering Intern >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> Mobile : +94 (0) 778955654 >>>> Email: thili...@wso2.com >>>> >>>> ___

[Dev] How to send out an email notification from WSO2 product?

2015-01-04 Thread Supun Sethunga
? Regards, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Hasintha Indrajee

2014-12-29 Thread Supun Sethunga
;>>>>> Best Regards, >>>>>>>>>> >>>>>>>>>> Kalpa Welivitigoda >>>>>>>>>> Software Engineer, WSO2 Inc. http://wso2.com >>>>>>>>>> Email: kal...@wso2.com >>>>>>>>>> Mobile: +94776509215 >>>>>>>>>> >>>>>>>>>> ___ >>>>>>>>>> Dev mailing list >>>>>>>>>> Dev@wso2.org >>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Vijitha Ekanayake >>>>>>>> Software Engineer*, *WSO2, Inc.; http://wso2.com/ >>>>>>>> Mobile : +94 777 24 73 39 | +94 718 74 44 08 >>>>>>>> lean.enterprise.middleware >>>>>>>> >>>>>>>> ___ >>>>>>>> Dev mailing list >>>>>>>> Dev@wso2.org >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Thanks >>>>>>> Abimaran Kugathasan >>>>>>> >>>>>>> Software Engineer | WSO2 Inc >>>>>>> Data & APIs Technologies Team >>>>>>> Mobile : +94 773922820 >>>>>>> >>>>>>> <http://stackoverflow.com/users/515034> >>>>>>> <http://lk.linkedin.com/in/abimaran> >>>>>>> <http://www.lkabimaran.blogspot.com/> <https://github.com/abimaran> >>>>>>> <https://twitter.com/abimaran> >>>>>>> >>>>>>> >>>>>>> ___ >>>>>>> Dev mailing list >>>>>>> Dev@wso2.org >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Chamin Nalinda* >>>>>> >>>>>> Intern - Engineering >>>>>> WSO2 Inc. http://www.wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> Mobile: (+94) 77 241 66 04 >>>>>> Linkedin: https://www.linkedin.com/in/chaminnalinda >>>>>> Web: http://www.ckreativity.com >>>>>> Blog: http://techspiro.blogspot.com/ >>>>>> >>>>>> >>>>>> ___ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Milinda Perera >>>>> Software Engineer; >>>>> WSO2 Inc. http://wso2.com , >>>>> Mobile: (+94) 714 115 032 >>>>> >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Tharindu Edirisinghe >>>> Software Engineer | WSO2 Inc >>>> Identity Server Team >>>> mobile : +94 775 181586 >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Thanuja Lakmal* >>> Software Engineer >>> WSO2 Inc. http://wso2.com/ >>> *lean.enterprise.middleware* >>> Mobile: +94715979891 +94758009992 >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Gayan Gunawardana >> Software Engineer; WSO2 Inc.; http://wso2.com/ >> Email: ga...@wso2.com >> Mobile: +94 (71) 8020933 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Chanuka Dissanayake > *Software Engineer | **WSO2 Inc.*; http://wso2.com > > Mobile: +94 71 33 63 596 > Email: chan...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Niranda Perera

2014-12-24 Thread Supun Sethunga
@wso2.com >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>&

Re: [Dev] WSO2 Committers += Gayan Gunaratne

2014-12-22 Thread Supun Sethunga
://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> >>> Danesh Kuruppu >>> Software Engineer >>> WSO2 Inc, >>> Mobile: +94 (77) 1690552 >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> 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 >> >> > > > -- > Thanks > Abimaran Kugathasan > > Software Engineer | WSO2 Inc > Data & APIs Technologies Team > Mobile : +94 773922820 > > <http://stackoverflow.com/users/515034> > <http://lk.linkedin.com/in/abimaran> > <http://www.lkabimaran.blogspot.com/> <https://github.com/abimaran> > <https://twitter.com/abimaran> > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Hasitha Amal De Silva

2014-12-22 Thread Supun Sethunga
WSO2 Inc.; http://wso2.com >>>>> email: pa...@wso2.com cell: +94 77 7779495 >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listin

Re: [Dev] Unable to automate a UI test case with Selenium for a file uploading in Jaggery

2014-12-15 Thread Supun Sethunga
ndKeys("testDesc"); > > driver.findElement(By.xpath("//input[@id='workflowName']")).sendKeys("workflow"); > > JavascriptExecutor js = (JavascriptExecutor) driver; > > js.executeScript("document.getElementById(\"datasetName\"

Re: [Dev] Unable to automate a UI test case with Selenium for a file uploading in Jaggery

2014-12-14 Thread Supun Sethunga
615/selenium-webdriver-clicking-on-hidden-element > > thanks and regards > > On Mon, Dec 15, 2014 at 7:35 AM, Supun Sethunga wrote: > >> Hi Krishantha, >> >> Test cases hasn't been pushed to any remote repo yet. Will share the >> local copy of the pack,

Re: [Dev] Unable to automate a UI test case with Selenium for a file uploading in Jaggery

2014-12-14 Thread Supun Sethunga
Can you share a pack to reproduce this behaviour. Please mention the steps > to follow. > > Thanks, > Krishantha. > > > > On Sat, Dec 13, 2014 at 8:33 AM, Supun Sethunga wrote: >> >> Hi all, >> >> I am writing a test case for a CSV-file uploading f

[Dev] Unable to automate a UI test case with Selenium for a file uploading in Jaggery

2014-12-12 Thread Supun Sethunga
lement to 'visible', then the Selenium driver can set the file path to the element, and the import function get triggered correctly.) Any idea on how to trigger such a file uploading with Selenium, or any workaround? Much appreciate any help, as this has become a blocker for writing the res

Re: [Dev] Integration tests for ML Product

2014-12-03 Thread Supun Sethunga
; https://github.com/wso2-dev/product-mb/tree/master/modules/integration/tests-ui-integration > > On Wed, Dec 3, 2014 at 11:52 AM, Supun Sethunga wrote: > >> Hi Krishantha, >> >> We are in the process of writing integration tests for the ML product. >> >> The b

[Dev] Integration tests for ML Product

2014-12-02 Thread Supun Sethunga
products, all the services have being called by the test cases through their stubs. But in our case we don't have stubs for the OSGI services. What is the preferred way of testing these services without stubs? Is there a sample code I can refer to? Thanks, Supun -- *Supun Sethunga* Sof

Re: [Dev] Cannot assign UTF-8 encoded characters to Jaggery Response

2014-11-27 Thread Supun Sethunga
-398 Thanks, Supun On Fri, Nov 28, 2014 at 9:30 AM, Supun Sethunga wrote: > Hi, > > The scenario is, there's an backend OSGI service which reads some data > from a csv file and sends it to the jaggery. The csv file can contain > characters in different languages as well, h

[Dev] Cannot assign UTF-8 encoded characters to Jaggery Response

2014-11-27 Thread Supun Sethunga
, this occurs when the csv file contains some Chinese/Latin characters and is read as UTF-8. But if the file is read as ISO-8859-1 and send to Jaggery, it works. Does Jaggery always use the ISO-8859-1 encoding? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterpris

Re: [Dev] Obtain the tenant ID of the currently logged in user from Jaggery

2014-11-19 Thread Supun Sethunga
in your > environment, you can use below code as well. This is how we does it in ES. > > var carbon = require('carbon'); >> var domain = 'domain.name'; >> var tenantId = carbon.server.tenantId({domain: domain}); >> > > Thanks! > -Aye

Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Supun Sethunga
@wso2.com | Web: www.wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Obtain the tenant ID of the currently logged in user from Jaggery

2014-11-18 Thread Supun Sethunga
Tue, Nov 18, 2014 at 1:59 PM, Godwin Amila Shrimal wrote: > Hi Supun, > > Use can use following code to get the tenantId. > > UserRealmService.getTenantManager().getTenantId(tenantDomain); > > On Tue, Nov 18, 2014 at 1:52 PM, Supun Sethunga wrote: > >> Hi, >>

[Dev] Obtain the tenant ID of the currently logged in user from Jaggery

2014-11-18 Thread Supun Sethunga
Hi, How can do $subject? I was able to get the Tenant Domain as follows though. var user=jagg.getUser(); var MultitenantUtils = Packages.org.wso2.carbon.utils.multitenancy.MultitenantUtils; var tenantDomain = MultitenantUtils.getTenantDomain(user); Thanks, Supun -- *Supun Sethunga* Software

Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-09 Thread Supun Sethunga
;>>>>>>> >>>>>>>>>>>>>>>>>>>>> ___ >>>>>>>>>>>>>>>>>>>>> Dev mailing list >>>>>>>>>

Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.

2014-11-03 Thread Supun Sethunga
Hi Harsha, Yeah it did the trick. Thanks! :) Regards, Supun On Mon, Nov 3, 2014 at 6:30 PM, Harsha Kumara wrote: > Hi Supun, > > Remove the true and try again which sometime cause > to corrupt files. > > Thanks, > Harsha > > On Mon, Nov 3, 2014 at 6:13 PM, Sup

Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API.

2014-11-03 Thread Supun Sethunga
;>>>>>> at org.h2.engine.Database.openDatabase(Database.java:207) >>>>>>>>>> at org.h2.engine.Database.(Database.java:202) >>>>>>>>>> at org.h2.engine.Engine.openSession(Engine.java:56) >>>>>>>>>> at org.h2.engine.Engine.openSession(Engine.java:146) >>>>>>>>>> at org.h2.engine.Engine.getSession(Engine.java:125) >>>>>>>>>> at org.h2.engine.Session.createSession(Session.java:122) >>>>>>>>>> at >>>>>>>>>> org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) >>>>>>>>>> at >>>>>>>>>> org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) >>>>>>>>>> at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:111) >>>>>>>>>> at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:95) >>>>>>>>>> at org.h2.Driver.connect(Driver.java:73) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) >>>>>>>>>> at >>>>>>>>>> org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128) >>>>>>>>>> at >>>>>>>>>> org.wso2.carbon.apimgt.impl.utils.APIMgtDBUtil.getConnection(APIMgtDBUtil.java:138) >>>>>>>>>> at >>>>>>>>>> org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.addAPI(ApiMgtDAO.java:4833) >>>>>>>>>> ... 66 more >>>>>>>>>> >>>>>>>>>> any one has idea why is this? >>>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> Roshan >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Roshan Wijesena. >>>>>>>>>> Senior Software Engineer-WSO2 Inc. >>>>>>>>>> Mobile: *+94752126789* >>>>>>>>>> Email: ros...@wso2.com >>>>>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>* >>>>>>>>>> lean.enterprise.middleware. >>>>>>>>>> >>>>>>>>>> ___ >>>>>>>>>> Dev mailing list >>>>>>>>>> Dev@wso2.org >>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Thanks >>>>>>>>> Abimaran Kugathasan >>>>>>>>> >>>>>>>>> Software Engineer | WSO2 Inc >>>>>>>>> Data & APIs Technologies Team >>>>>>>>> Mobile : +94 77 1708229 >>>>>>>>> >>>>>>>>> <http://stackoverflow.com/users/515034> >>>>>>>>> <http://lk.linkedin.com/in/abimaran> >>>>>>>>> <http://www.lkabimaran.blogspot.com/> >>>>>>>>> <https://github.com/abimaran> <https://twitter.com/abimaran> >>>>>>>>> >>>>>>>>> >>>>>>>>> ___ >>>>>>>>> Dev mailing list >>>>>>>>> Dev@wso2.org >>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Roshan Wijesena. >>>>>>> Senior Software Engineer-WSO2 Inc. >>>>>>> Mobile: *+94752126789* >>>>>>> Email: ros...@wso2.com >>>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>* >>>>>>> lean.enterprise.middleware. >>>>>>> >>>>>>> ___ >>>>>>> Dev mailing list >>>>>>> Dev@wso2.org >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Amalka Subasinghe >>>>>> >>>>>> Senior Software Engineer >>>>>> WSO2 Inc. >>>>>> Mobile: +94 77 9401267 >>>>>> >>>>>> ___ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Ajith Vitharana. >>>>> WSO2 Inc. - http://wso2.org >>>>> Email : aji...@wso2.com >>>>> Mobile : +94772217350 >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Amalka Subasinghe >>>> >>>> Senior Software Engineer >>>> WSO2 Inc. >>>> Mobile: +94 77 9401267 >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >> >> >> -- >> >> Amalka Subasinghe >> >> Senior Software Engineer >> WSO2 Inc. >> Mobile: +94 77 9401267 >> > > > > -- > Ajith Vitharana. > WSO2 Inc. - http://wso2.org > Email : aji...@wso2.com > Mobile : +94772217350 > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-28 Thread Supun Sethunga
t;>> Mobile: +94776509215 >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>&g

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-16 Thread Supun Sethunga
WSO2 Inc. www.wso2.com >> lean.enterprise.middleware >> Mobile: *0711241005* >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Lasindu Charith* > Software Engineer, WSO2 Inc. > Mobile: +94714427192 > Web: blog.lasindu.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WSO2 Committers += Sachini Jayasekara

2014-10-16 Thread Supun Sethunga
> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Vijitha Ekanayake >>>>>>>>>> Software Engineer*,

Re: [Dev] How to put a file to Carbon Registry from a Java client.

2014-10-03 Thread Supun Sethunga
Hi Sajith, Thanks! On Fri, Oct 3, 2014 at 11:04 PM, Sajith Kariyawasam wrote: > Hi Supun, > > You can find a sample in GREG distribution. In > /samples/ws-client > > Thanks, > Sajith > > On Fri, Oct 3, 2014 at 10:49 PM, Supun Sethunga wrote: > >> Hi, >

[Dev] How to put a file to Carbon Registry from a Java client.

2014-10-03 Thread Supun Sethunga
Hi, What is the best way to put a file (i.e. text file) to the carbon registry via a java client? Is there any article/sample-code I can refer to? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324

[Dev] Calling OSGI service from Jaggery

2014-09-25 Thread Supun Sethunga
s the correct way to call an osgi service from jaggery? Or is there a better way to achieve this? Regards, -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 package org.wso2.carbon.ml.dataset; import org.apache.commons.logging.Log; import

[Dev] File Uploader for carbon

2014-09-24 Thread Supun Sethunga
Hi, We are developing the ML product as a carbon component which requires a file uploading function. Is there any component for file uploading that we can re-use in the ML product? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94

Re: [Dev] How to load the Data-Source configurations from master-datasources.xml?

2014-09-18 Thread Supun Sethunga
Thanks, > Bhathiya > > On Thu, Sep 18, 2014 at 12:11 PM, Supun Sethunga wrote: > >> Hi, >> >> Im trying to connect to the embedded H2 database in carbon, using a >> carbon-component. How can I load the Data-Source configurations from >> "/repository/conf

[Dev] How to load the Data-Source configurations from master-datasources.xml?

2014-09-17 Thread Supun Sethunga
Hi, Im trying to connect to the embedded H2 database in carbon, using a carbon-component. How can I load the Data-Source configurations from "/repository/conf/datasources/master-datasources.xml" file? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise |

Re: [Dev] Carbon component deployment halts due to third party libraries used.

2014-09-10 Thread Supun Sethunga
Hi Pubudu, Its working now. Thanks a lot for looking in to it. Regards, Supun On Wed, Sep 10, 2014 at 3:13 PM, Supun Sethunga wrote: > Hi Pubudu, > > Attached is the pom file. > > Thanks, > > On Wed, Sep 10, 2014 at 2:26 PM, Pubudu Dissanayake > wrote: > >>

Re: [Dev] Carbon component deployment halts due to third party libraries used.

2014-09-10 Thread Supun Sethunga
> relationship among nested packages. You have to specifically mention " > Import-Package: > org.apache.commons.math3.stat.descriptive; version="[3.3.0,4.0.0)" " > > Please attach your pom file as well. > > Thanks > -Pubudu > > > > On W

Re: [Dev] Carbon component deployment halts due to third party libraries used.

2014-09-10 Thread Supun Sethunga
Correction : */repository/components/lib folder* On Wed, Sep 10, 2014 at 1:00 PM, Supun Sethunga wrote: > Hi, > > The imported library *org.apache.commons.math3 *is being not identified. > (gets the following output in the osgi console) > > *reference:file:../dropins/org.wso2

Re: [Dev] Carbon component deployment halts due to third party libraries used.

2014-09-10 Thread Supun Sethunga
his is to start the server with osgi > console and find out the unsatisfied items. > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > > On Wed, Sep 10, 2014 at 10:45 AM, Supun Sethunga wrote: > &g

[Dev] Carbon component deployment halts due to third party libraries used.

2014-09-09 Thread Supun Sethunga
math3.stat.descriptive.DescriptiveStatistics". Any idea what causes this issue? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-b

Re: [Dev] WSO2 Committers += Dilini Muthumala

2014-08-16 Thread Supun Sethunga
>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> *Susinda Perera* >>>>>>>>>>>>>> Software Engin

Re: [Dev] Invitation: Code Review - CEP Extension to apply Machine Learning Models @ Mon Aug 4, 2014 11am - 12pm (Supun Sethunga)

2014-08-03 Thread Supun Sethunga
del'. i.e. Get rid of 'get' >prefix. OR use two extensions: one for classifying and another for > predicting values. > > Please add/correct if I've missed/misinterpreted anything. > > Regards, > Dilini > > > >

[Dev] Invitation: Code Review - CEP Extension to apply Machine Learning Models @ Mon Aug 4, 2014 11am - 12pm (Supun Sethunga)

2014-08-01 Thread Supun Sethunga
-NUM-GUESTS=0:mailto:sesh...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Lasantha Fernando;X-NUM-GUESTS=0:mailto:lasan...@wso2.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Supun Sethunga;X-NUM-GUESTS=0

Re: [Dev] Training Project - CEP Extension to Run Machine Learning Models

2014-07-20 Thread Supun Sethunga
> > On Thu, Jul 10, 2014 at 3:24 PM, Supun Sethunga wrote: > >> Hi Suho, >> >> I made the suggested changes. Also added a sample which uses the >> extension, including a client. >> >> Appreciate if you can have a look at the changes and the sample. >

Re: [Dev] Training Project - CEP Extension to Run Machine Learning Models

2014-07-10 Thread Supun Sethunga
tps://docs.google.com/a/wso2.com/document/d/1GOE6F0IjiroEZTN4_qwQHFdVQqDpkqhbsstRZzDDSYs/edit?usp=drive_web> ​ Sample :​ CEPMachineLearningExtension.zip <https://docs.google.com/a/wso2.com/file/d/0B64HgfvkdeEhMnVlZ2dhRVM3WlE/edit?usp=drive_web> ​ Thanks, Supun On Tue, Jul 1, 2014 at 9:38 AM, Su

Re: [Dev] Expose a RESTful service as a Carbon Component

2014-07-01 Thread Supun Sethunga
;> > > Usually what we have done in G-Reg/IS/APIM is write a JAX-RS service and > deploy, within the JAX-RS services you can access Carbon APIs. I think > that's what you need as well. > > Thanks ! > >> >> --Srinath >> >> >> On Wed, Jul 2,

[Dev] Expose a RESTful service as a Carbon Component

2014-07-01 Thread Supun Sethunga
Hi, What is the best way to $subject? Is it possible achieve this, by creating an Equinox OSGI bundle from the RESTful service and creating an carbon component out of the OSGI bundle created? Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile

[Dev] How to submit an OT article?

2014-06-12 Thread Supun Sethunga
Hi, Whats the procedure I should follow to submit an OT article? The submit link on [1] seems to be redirecting to the WSO2 home page. [1] http://wso2.com/library/submit/ Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324

Re: [Dev] Training Project - CEP Extension to Run Machine Learning Models

2014-06-10 Thread Supun Sethunga
t/d/1GOE6F0IjiroEZTN4_qwQHFdVQqDpkqhbsstRZzDDSYs/edit?usp=drive_web> ​ Thanks, Supun. On Mon, Jun 9, 2014 at 11:52 AM, Supun Sethunga wrote: > Hi, > > Please refer [1] for the source code of the CEP extension. > > Currently I am working on writing an article for the above scenario. W

[Dev] Training Project - CEP Extension to Run Machine Learning Models

2014-06-08 Thread Supun Sethunga
Hi, Please refer [1] for the source code of the CEP extension. Currently I am working on writing an article for the above scenario. Will share the first draft as soon as I finish. [1] https://github.com/SupunS/mlearn Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean

[Dev] Building a Carbon Component from an existing Axis2 service

2014-05-06 Thread Supun Sethunga
scratch. Reference: [1] http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ Thanks, -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org

[Dev] Need Help on NullPointerException in X509 Security Certificate, in ESB

2014-04-27 Thread Supun Sethunga
"/> http://localhost:8080/axis2/services/SecureOrderProcessService"/> Thanks and Regards, -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 package c

Re: [Dev] Need help on "ERROR - ServerCrypto error creating ServerCryto" Exception when reaching a ESB proxy

2014-04-25 Thread Supun Sethunga
1] as well. But unlike in [1], in my case, both the client's and the server's policy is the same. (use the same policy.xml file, which I have attached herewith). [1] https://wso2.org/jira/browse/CARBON-9224 Regards, Supun On Fri, Apr 25, 2014 at 3:15 PM, Supun Sethunga wrote: >

Re: [Dev] Need help on "ERROR - ServerCrypto error creating ServerCryto" Exception when reaching a ESB proxy

2014-04-25 Thread Supun Sethunga
at > org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621) > at > org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) > ... 10 more* > > Please find the attachment for the updated code. > > Thanks, > >

Re: [Dev] Need help on "AxisFault: Read timed out" Exception when reaching a ESB proxy

2014-04-25 Thread Supun Sethunga
ender.java:193) ... 10 more* Please find the attachment for the updated code. Thanks, On Fri, Apr 25, 2014 at 12:46 PM, Milinda Perera wrote: > Hi Supun, > > can you send complete error stack trace and updated code. > > Thanks, > Milinda > > > On Fri, Apr 25, 20

Re: [Dev] Need help on "AxisFault: Read timed out" Exception when reaching a ESB proxy

2014-04-24 Thread Supun Sethunga
Hi Malinda, Still gives the same exception. Thanks, On Fri, Apr 25, 2014 at 11:56 AM, Milinda Perera wrote: > Hi, > > I think problem is in endpoint. Try It with https endpoint. > > Thanks > > > On Fri, Apr 25, 2014 at 11:49 AM, Supun Sethunga wrote: >

Re: [Dev] Need help on "AxisFault: Read timed out" Exception when reaching a ESB proxy

2014-04-24 Thread Supun Sethunga
attached is the client. Thanks! On Fri, Apr 25, 2014 at 11:39 AM, Roshan Wijesena wrote: > can you attache your client also .. > > > On Fri, Apr 25, 2014 at 11:14 AM, Supun Sethunga wrote: > >> Hi, >> >> Im trying to secure a non-secured back-end service

[Dev] Need help on "AxisFault: Read timed out" Exception when reaching a ESB proxy

2014-04-24 Thread Supun Sethunga
the policy file herewith. Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:wsp="http://schemas.xmlsoap.o

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
Hi Malintha, Bingo! It worked. Thanks, Supun On Tue, Apr 22, 2014 at 5:19 PM, Malintha Adikari wrote: > > > > On Tue, Apr 22, 2014 at 5:03 PM, Supun Sethunga wrote: > >> Hi Gayan, >> >> Thanks for looking in to it. >> >> So what alternations can

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
d practice)? Thanks and Regards, Supun On Tue, Apr 22, 2014 at 4:28 PM, Gayan Yalpathwala wrote: > Hi Supun, > > > On Tue, Apr 22, 2014 at 3:08 PM, Supun Sethunga wrote: > >> Hi Gayan, >> >> I went through the link, but doesn't seems to be the issue in my

Re: [Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-22 Thread Supun Sethunga
e refer > comments in [1]. > > [1] https://issues.apache.org/jira/browse/AXIOM-237 > > Thanks, > > > On Tue, Apr 22, 2014 at 10:13 AM, Supun Sethunga wrote: > >> Hi, >> >> Im trying to create a web-service in Axis2 and access the service from a >>

[Dev] Need help on 'Can not serialize OM Element Envelope' Exception in Axis2

2014-04-21 Thread Supun Sethunga
ce.java:90) * The OMElement which is sent as the parameter, takes the following format. * 0001* Any idea whats have been done wrong here? The other methods in the service stub, which takes data types int/string/etc as input parameters, work fine. Thanks, Supun -- *Supun Sethunga* Softwar

<    1   2   3