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

2015-07-06 Thread Sabra Ossen
Hi Sajith, I moved it to AS_HOME/repository/components/lib , but now I get the following exception. java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated

Re: [Dev] Please review and merge PRs

2015-07-06 Thread Johann Nallathamby
Hi Chamila, The samlsso_federate.html should go with the application.authenticator.samlsso.server.feature. Thanks. On Mon, Jul 6, 2015 at 1:22 PM, Chamila Wijayarathna cham...@wso2.com wrote: Hi, Please review and merge PRs, https://github.com/wso2/carbon-identity/pull/563

Re: [Dev] AS : Failed to upload Spring Web app (Spring Boot 1.1.10.RELEASE)

2015-07-06 Thread KasunG Gajasinghe
Previously, we have excluded the spring packages in Carbon from exposing to webapps. Ideally, we should exclude all these third-party dependencies that shouldn't be exposed. Then, webapp developers has the flexibility to add dependencies not limiting to wso2 provided dependency versions without

[Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-06 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2] - Fixing Tools-2900 -'Advanced Configuration' option does not list any advanced options for HTTP/HTTPS Inbound Endpoints Fixing Tools-2673-Typo in XPath [1] https://github.com/wso2/developer-studio/pull/57 [2]

Re: [Dev] Class Loading issue in Jaggery, Carbon 4.4.0

2015-07-06 Thread Ruwan Abeykoon
Hi Kishanthan, I agree your point about CNF error. I have added org.wso2.carbon.governance.metadata.server.feature, which seems to export a bundle having the above package, to my p2-profile-gen. I did not encounter the issue (at least for few restarts) since then. Not sure this is of any

[Dev] user-manager duplicates in carbon-commons and carbon-identity

2015-07-06 Thread Udara Rathnayake
Hi all, We are maintaining user-manager component in both carbon-commons and carbon-identity repos. carbon-commons contains bit old source where the same component is updated in carbon-identity. Shouldn't we maintain this in a single location?

[Dev] Pull Request for netsuite connector

2015-07-06 Thread Kesavan Yogarajah
Hi Malaka, I have changed the POM and tested the connector with the community level development account provided by Netsuite.All the integration tests are passed. Please review the pull request [1]. [1] - https://github.com/wso2/esb-connectors/pull/219 Thanks Kesavan Yogarajah Associate

Re: [Dev] Issue in removing messages of non durable topics

2015-07-06 Thread Hasitha Hiranya
@Pamod, Any idea on this? Thanks On Mon, Jul 6, 2015 at 4:30 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, Identified an issue regarding message purging when last subscriber for a topic is disconnected from broker cluster. @org.wso2.andes.kernel.OrphanedMessageHandler private void

[Dev] Java based JWS and JWE Library to use with WSO2 Products

2015-07-06 Thread Harshana Eranga Martin
Hi All, I'm using WSO2 API Manager 1.8.0 for a solution and looking in to using JWS (JSON Web Signature) and JWE (JSON Web Encryption). There are few JOSE libraries available in Java [1-4] and what is the recommended library to use for generating and validating JWS and JWE with WSO2 Stack? [1].

Re: [Dev] PR for Mqtt Axis2 Transport

2015-07-06 Thread Sriashalya Srivathsan
Hi Chanaka, Changes has been made. Find those in the same pull request On Mon, Jul 6, 2015 at 2:33 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Added few comments regarding the versions in pom file. Please rectify them. Thanks, Chanaka On Mon, Jul 6, 2015 at 2:25 PM,

Re: [Dev] Pull Request for netsuite connector

2015-07-06 Thread Malaka Silva
Great Merged. What is the validity period of the account? On Mon, Jul 6, 2015 at 3:53 PM, Kesavan Yogarajah kesav...@wso2.com wrote: Hi Malaka, I have changed the POM and tested the connector with the community level development account provided by Netsuite.All the integration tests are

Re: [Dev] user-manager duplicates in carbon-commons and carbon-identity

2015-07-06 Thread Johann Nallathamby
Hi Udara, We recently did this move. We have moved all the identity related components from carbon-commons to carbon-identity. All other repos will have to change their dependencies to the carbon-identity repo. We haven't still announced this since we haven't released the carbon-identity repo

[Dev] Governance registry Endpoint collection not created by default

2015-07-06 Thread John Hawkins
Hi Folks, Using the ESB v4.8.1; I've just created a new governance registry using dev studio v3.7.1 and I see that it's created the collections: event, permission, repository and trunk collections under the governance context. But, it hasn't created the endpoint collection though. Should it have

Re: [Dev] Please merge PR #280

2015-07-06 Thread Ishara Karunarathna
Hi, Add some changes. Please merge this to. https://github.com/wso2/carbon4-kernel/pull/281 On Mon, Jul 6, 2015 at 12:51 PM, Johann Nallathamby joh...@wso2.com wrote: Merged. Thanks. On Mon, Jul 6, 2015 at 11:58 AM, Ishara Karunarathna isha...@wso2.com wrote: Hi, $subject pls for

Re: [Dev] Class Loading issue in Jaggery, Carbon 4.4.0

2015-07-06 Thread Ruwan Abeykoon
Hi Kishanthan, There is no error printed on the backend console. The http handler silently failed at the above point on the jag file. (The HTTP socket get closed) I suspect the class not found/class initialization error as there is no other possible cause I could think of. Also something like the

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

2015-07-06 Thread Thusitha Thilina Dayaratne
Hi Sabra I think you should mark following dependency as provided since AS provided required jars for the websocket * dependency* *groupIdjavax.websocket/groupId* *artifactIdjavax.websocket-api/artifactId** version1.1/version* *

[Dev] [AppM] Removing multiple modules directories

2015-07-06 Thread Ruwan Abeykoon
Hi AppManager team, I found at least thee locations in AppM code base where the same module is copied. 1. product-app-manager/modules/jaggery-modules 2. carbon-appmgt/features/appmgt/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/jaggery-modules 3.

Re: [Dev] AS : Failed to upload Spring Web app (Spring Boot 1.1.10.RELEASE)

2015-07-06 Thread Sagara Gunathunga
On Mon, Jul 6, 2015 at 2:10 PM, KasunG Gajasinghe kas...@wso2.com wrote: Previously, we have excluded the spring packages in Carbon from exposing to webapps. Ideally, we should exclude all these third-party dependencies that shouldn't be exposed. Then, webapp developers has the flexibility to

Re: [Dev] [AppM] Removing multiple modules directories

2015-07-06 Thread Ruwan Yatawara
+1 for a central UI Core feature Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : ruw...@wso2.com mobile : +94 77 9110413 blog : http://ruwansrants.blogspot.com/ www: :http://wso2.com On Mon, Jul 6, 2015 at 2:27 PM, Ruwan Abeykoon ruw...@wso2.com wrote: Hi

[Dev] AS : Failed to upload Spring Web app (Spring Boot 1.1.10.RELEASE)

2015-07-06 Thread Niranjan Karunanandham
Hi all, I created a simple Spring web using Spring Boot 1.1.10.RELEASE (for integration tests in AS) and when I tried to upload the web app to AS 5.3.0 SNAPSHOT, I get the error mentioned in JIRA [1]. I am able to upload this same web app in AS 5.2.1. On looking into this, I found out this

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

2015-07-06 Thread Danushka Fernando
Hi Sabra This is a class loading issue. Seems there are two jars providing same class in the jvm. So did you bundled the dependencies in to the application (check WEB-INF/lib/ dir of the webapp)? What are jars you copied in to the $CARBON_HOME/repository/components/lib and

[Dev] PR for Mqtt Axis2 Transport

2015-07-06 Thread Sriashalya Srivathsan
Hi Malaka, Please review merge PR[1] [1] https://github.com/wso2/wso2-axis2-transports/pull/38 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Class Loading issue in Jaggery, Carbon 4.4.0

2015-07-06 Thread Kishanthan Thangarajah
If its CNF related, then there should at-least be a log at the back-end. Can you check the carbon log file? Sometimes, errors may be logged at file only instead of console. If nothing is there, then we need to debug and see. The root cause may not be directly related to

Re: [Dev] Issue in removing messages of non durable topics

2015-07-06 Thread Pamod Sylvester
Hi Hasitha, With reference to the discussion in [1], this was done to prevent Tombstone overwhelming exception when Cassandra was used as the message store. AFAIR The process of purging was as follows, 1) From MessageMetaData CF, retrieve the corresponding message ids 2) Delete the

Re: [Dev] Please review and merge PRs

2015-07-06 Thread Chamila Wijayarathna
Hi Johann, Applied suggested changes. Please review and merge. Thanks. On Mon, Jul 6, 2015 at 1:49 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Chamila, The samlsso_federate.html should go with the application.authenticator.samlsso.server.feature. Thanks. On Mon, Jul 6, 2015 at

Re: [Dev] user-manager duplicates in carbon-commons and carbon-identity

2015-07-06 Thread Johann Nallathamby
We can do that. But seems there is a dependency in to the user.mgt.stub from one of the other components. That component needs to be refactored to use the OSGi service instead of the stub. Once its done we can remove all the identity components. For them to remove it we have to do a

Re: [Dev] Issue in removing messages of non durable topics

2015-07-06 Thread Ramith Jayasinghe
I think we can simplify this one. and do a delete without even getting message ids. On Mon, Jul 6, 2015 at 5:05 PM, Pamod Sylvester pa...@wso2.com wrote: Hi Hasitha, With reference to the discussion in [1], this was done to prevent Tombstone overwhelming exception when Cassandra was used as

Re: [Dev] Issue in removing messages of non durable topics

2015-07-06 Thread Pamod Sylvester
+1 if we can partition contents by the queue name, we could delete it directly. On Mon, Jul 6, 2015 at 7:36 AM, Ramith Jayasinghe ram...@wso2.com wrote: I think we can simplify this one. and do a delete without even getting message ids. On Mon, Jul 6, 2015 at 5:05 PM, Pamod Sylvester

Re: [Dev] Passing a JSP variable to pagination function of carbon:resourcePaginator

2015-07-06 Thread Vinod Kavinda
Hi Rajith, Have you tried, paginationFunction=submitForm({0},%=order%). ' ' may force to have a string. Thanks, Vinod. On Mon, Jul 6, 2015 at 6:19 PM, Rajith Roshan raji...@wso2.com wrote: Hi Devs, In most WSO2 products, following code snippet is used to show paginated results.

Re: [Dev] Passing a JSP variable to pagination function of carbon:resourcePaginator

2015-07-06 Thread Rajith Roshan
Hi Vinod, I tried it without ' '. But then, it wont invokes the JavaScript function. Thanks. On Mon, Jul 6, 2015 at 6:32 PM, Vinod Kavinda vi...@wso2.com wrote: Hi Rajith, Have you tried, paginationFunction=submitForm({0},%=order%). ' ' may force to have a string. Thanks, Vinod. On

[Dev] Passing a JSP variable to pagination function of carbon:resourcePaginator

2015-07-06 Thread Rajith Roshan
Hi Devs, In most WSO2 products, following code snippet is used to show paginated results. carbon:resourcePaginator pageNumber=%=pageNumber% numberOfPages=%=numberOfPages% resourceBundle=org.wso2.carbon.--.--.ui.i18n.Resources nextKey=next prevKey=prev

[Dev] Please Review and Merge the PR

2015-07-06 Thread Lakshani Gamage
Hi Rushmin, These are the fixes[1] for Public Jiras[2] and [3] [1] https://github.com/wso2/carbon-appmgt/pull/80 [2] https://wso2.org/jira/browse/APPM-992 [3] https://wso2.org/jira/browse/APPM-347 Thank you, -- Lakshani Gamage *Software Engineer* Mobile : +94 (0) 71 5478184

Re: [Dev] Please review and merge the PR

2015-07-06 Thread Malaka Silva
Hi Elilmatha, I have added some comments. Please check and update the thread. On Mon, Jul 6, 2015 at 3:39 PM, Elilmatha Sivanesan elilma...@wso2.com wrote: Hi Malaka, Please review and merge the PR [1] for Mqtt inbound sample. [1] https://github.com/wso2/product-esb/pull/206 Thank you.

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

2015-07-06 Thread Danushka Fernando
You can create orbit bundles with 3rd party libraries and include/exclude packages. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jul 6, 2015 8:54 PM, Sabra Ossen sabra...@gmail.com wrote: Hi Danushka, I didn't bundle the

Re: [Dev] Passing a JSP variable to pagination function of carbon:resourcePaginator

2015-07-06 Thread Malith Munasinghe
Hi Rajith, Try assigning the value to a String beforehand %String paginationAction = submitForm({0},+order+);% Then parse it to the paginationFunction paginationFunction=%=paginationAction% Regards, Malith On Mon, Jul 6, 2015 at 6:37 PM, Rajith Roshan raji...@wso2.com wrote: Hi Vinod,

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

2015-07-06 Thread Thusitha Thilina Dayaratne
Hi Sabra, As Dhanushka mentioned you can create a orbit bundle, or I think you can exclude websocket from the tyrus as follows dependency groupIdorg.glassfish.tyrus.bundles/groupId artifactIdtyrus-standalone-client/artifactId version1.11/version exclusions exclusion

[Dev] [CEP] Interested in Contributing to WSO2 CEP Product.

2015-07-06 Thread Bhashinee Nirmali
Hi All, I am Bhashinee Nirmali from Faculty of Information Technology, University of Moratuwa. I have done a traffic analysis project as my second year group project, based on WSO2 CEP. Further I am interested in contributing to CEP product. As a beginner how should I start? Thank You Bhashinee

Re: [Dev] Pull Request for netsuite connector

2015-07-06 Thread Kesavan Yogarajah
There is no information found regard validity period of the account in [1]. [1] - http://www.netsuite.com/portal/developers/sdn.shtml Kesavan Yogarajah Associate Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterprise . middleware On Mon, Jul 6, 2015 at 3:55

Re: [Dev] NTASK ERROR - No available task nodes for resolving a task location

2015-07-06 Thread Senduran Balasubramaniyam
Hi Anjana, I have a three node ESB cluster, when I try to schedule a task I am getting the following exception. But all the nodes are up and running. TID: [-1234] [] [2015-07-06 23:47:30,536] ERROR {org.wso2.carbon.mediation.ntask.NTaskTaskManager} - Scheduling task

Re: [Dev] NDatasource stub and class loading issue

2015-07-06 Thread Manoj Kumara
Hi Rajith, The normal pattern that we use for service stubs like org.wso2.carbon.xxx.stub not ui.stub. Since there is another module with org.wso2.carbon.xxx.ui with this commit there can be pacage level conflicts. So better to fix this properly. Regards, Manoj *Manoj Kumara |* Senior Software

[Dev] [ESB] Selecting JMS SpecVersion in JMS Transport Sender

2015-07-06 Thread eranda rajapaksha
Hi, Is there a way to select JMS version in the ESB JMS Transport Sender? ( it can be done in JMS Transport Receiver ) If so how do I specify it, should it be done in the endpoint address URL or as a parameter? Thank you! -- *Eranda Rajapakshe* Computer Science and Engineering Undergraduate,

[Dev] Please review and merge PR for IDENTITY-3095

2015-07-06 Thread Indunil Upeksha Rathnayake
Hi, Please $subject. The PR[1] as the fix for the public JIRA [2]. [1] https://github.com/wso2/carbon-identity/pull/570 [2] https://wso2.org/jira/browse/IDENTITY-3095 Thanks and Regards -- Indunil Upeksha Rathnayake Software Engineer | WSO2 Inc Emailindu...@wso2.com

Re: [Dev] NTASK ERROR - No available task nodes for resolving a task location

2015-07-06 Thread Chanaka Fernando
Hi Senduran, How did you start the nodes? You need to have 1 manager node and other nodes should be started with 'DworkerNode=true' parameter as worker nodes. Basically, task will be run on the worker nodes only. Thanks, Chanaka On Tue, Jul 7, 2015 at 5:29 AM, Senduran Balasubramaniyam

Re: [Dev] [CEP] Interested in Contributing to WSO2 CEP Product.

2015-07-06 Thread Tharik Kanaka
Hi Nirmali, At the moment WSO2 CEP is about to release 4.0.0 and we have already released beta version. You may have an idea since you have worked with CEP but better to refer new documentation 4.0.0 [1] because there are significant improvements from previous version. CEP component and product

Re: [Dev] NDatasource stub and class loading issue

2015-07-06 Thread Rajith Vitharana
Hi Manoj, Yes you are correct, but will that be ok to change package names since this may be already used in many other locations?. So if we change package structure that may cause many other problems. Besides, if we export packages explicitly as done in above mentioned pull requests, won't that

Re: [Dev] PR for Mqtt Axis2 Transport

2015-07-06 Thread Malaka Silva
Hi Sriashalya, I have merged the PR. Are you currently working on anymore improvements? On Mon, Jul 6, 2015 at 3:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Changes has been made. Find those in the same pull request On Mon, Jul 6, 2015 at 2:33 PM, Chanaka Fernando

Re: [Dev] PR for Mqtt Axis2 Transport

2015-07-06 Thread Sriashalya Srivathsan
Hi Malaka, I'm looking on Integration tests. And the previous error faulty service, I found the reason for that, when I have qos 1 or 2 at the time of changing the proxy, it gets the same persistence, so it is giving persistence error and faulty service. If I change 0 instead of 1, it is working

[Dev] oracle function with table return type not working in wso2 dss

2015-07-06 Thread Akila Nimantha [IT/EKO/LOITS]
Hi All, I am working on wso2 data service server and trying to create data service using oracle function as the data source. in the function return type is a table type one. i tried many times but its not working for me. Is table type accessible through WSO2 DSS? also i have attached data

Re: [Dev] [ESB] Selecting JMS SpecVersion in JMS Transport Sender

2015-07-06 Thread Malaka Silva
IMO this should be done as a URL parameter On Tue, Jul 7, 2015 at 7:47 AM, Manisha Gayathri mani...@wso2.com wrote: Hi Eranda, From what I found [1], JMS Transport Sender too can be configured similarly. transportSender name=jms class=org.apache.axis2.transport.jms.JMSSender

[Dev] Throttle mediator improvements

2015-07-06 Thread Kevin Ratnasekera
Hi all, With related to $subject, we did some changes related to carbon throttle core module. Currently there is no public git repository for this throttle core module which has distributed throttling features. So as a alternative, we are planning to move the throttle core module to Synapse

[Dev] Pull Request

2015-07-06 Thread Vanii Thiyagarajah
Hi Malaka, I have changed the POM ,README.txt and HTTP endpoints for the Agilezen connector. All test cases are passed with BETA.Please find the PR [1] [ 1https://github.com/wso2/esb-connectors/pull/220] Thanks, ___ Dev mailing list Dev@wso2.org

Re: [Dev] Pull Request

2015-07-06 Thread Malaka Silva
Merged On Tue, Jul 7, 2015 at 11:20 AM, Vanii Thiyagarajah va...@wso2.com wrote: Hi Malaka, I have changed the POM ,README.txt and HTTP endpoints for the Agilezen connector. All test cases are passed with BETA.Please find the PR [1] [ 1https://github.com/wso2/esb-connectors/pull/220]

Re: [Dev] Carbon-deployment 4.4.2 Release date

2015-07-06 Thread Kasun Indrasiri
Hi, Any updates on this? On Wed, Jun 24, 2015 at 11:59 AM, Kasun Indrasiri ka...@wso2.com wrote: We probably need a release of carbon-deployment earlier than that, because ESB GA release is planned on mid July. Most of the service activation/deactivation features will be mainly used with

Re: [Dev] Exporting bundles with proper versions

2015-07-06 Thread Rajith Vitharana
Yeah I am doing that and facing so many issues :( On Sat, Jul 4, 2015 at 11:01 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Yes Rajith, we are enforcing this for the C5 project. And for C4, we can enforce this at release time for git hub repos. But will require a major effort to fix

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-07-06 Thread Madawa Soysa
Hi Nirmal, Thanks for the link. I will check it. On 6 July 2015 at 07:27, Nirmal Fernando nir...@wso2.com wrote: Hi Madawa, Please check this presentation https://spark-summit.org/2015/events/a-more-scalable-way-of-making-recommendations-with-mllib/ On Thu, Jul 2, 2015 at 9:22 AM, Nirmal

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

2015-07-06 Thread Sabra Ossen
Hi All, I am trying to send messages to a web socket server through a jax-rs service using tyrus [1]. I have separately deployed the web socket server in the AS 5.3.0 alpha. The code for the jax-rs service is as follows. *@Path(/hello)public class

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

2015-07-06 Thread Sagara Gunathunga
I think you need to include all Tyrus dependencies inside the web application but it's look like you are excluding all the dependencies from .WAR file. Thanks ! On Mon, Jul 6, 2015 at 12:37 PM, Sabra Ossen sabra...@gmail.com wrote: Hi All, I am trying to send messages to a web socket server

[Dev] Please review and merge PR

2015-07-06 Thread Maduranga Siriwardena
Hi, Please review and merge PR, https://github.com/wso2/carbon4-kernel/pull/282 Thanks -- Maduranga Siriwardena Software Engineer WSO2 Inc. email: madura...@wso2.com mobile: +94718990591 ___ Dev mailing list Dev@wso2.org

[Dev] Change content of a file while generating an archetype

2015-07-06 Thread Danushka Fernando
Hi All I am trying to generate an archetype for CAPP to AF. While doing that I faced $subject. Anybody can shed some light would help. Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev