Re: [Dev] ESB Google Spreadsheet connector issue
Hi All, Do we have the latest connector that supports OAUTH 2.0 in store? On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, +1 for keerthika, Use oAuth2init method instead of init. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Tue, Jun 2, 2015 at 8:40 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: On Tuesday, June 2, 2015, Madhawa Gunasekara madha...@wso2.com wrote: Hi Amal, According to the log trace, the issue is occurring at com.google.gdata.client package, which is outdated one (Older Google Data (GData) API) [1]. Google recommends to migrate to their new Google APIs Client Library for Java [2]. That might be the issue. because according to the release notes [1] supports OAuth 2.0 as well. In that case how does this work for nasheer I think, we have to migrate to the new Google APIs Client Library to solve this issue [1] https://github.com/google/gdata-java-client [2] https://github.com/google/google-api-java-client Thanks, Madhawa On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Amal, I think you have tried with init method. Could you please try with oAuth2init method. googlespreadsheet.oAuth2init oauthConsumerKey{'oauth.consumerKey'}/oauthConsumerKey oauthConsumerSecret{'oauth.oauthConsumerSecret'} /oauthConsumerSecret oauthAccessToken{'oauth.accessToken'}/oauthAccessToken oauthAccessTokenSecret{'oauth.accessTokenSecret'}/oauthAccessTokenSecret /googlespreadsheet.oAuth2init Thanks, On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, I can not reproduce the issue, GSS connector builds perfectly and able to create worksheet as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva mal...@wso2.com wrote: Connector Team, Can anyone of you check this please. Also we should have both versions or latest in the store. On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake am...@wso2.com wrote: Hi Nasheer, Thank you for the link. I built the code and deployed the latest google spreadsheet connector (2.0.0). But I still face the same issue. I get the following error. [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error occured Error authenticating (check service name)* com.google.gdata.util.AuthenticationException: Error authenticating (check service name) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46) at org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32) at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at
Re: [Dev] ESB Google Spreadsheet connector issue
Hi Malaka, Yes. Now we have 2.0.0 version in the connector store. Thanks, On Wed, Jun 3, 2015 at 9:28 AM, Malaka Silva mal...@wso2.com wrote: Hi All, Do we have the latest connector that supports OAUTH 2.0 in store? On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, +1 for keerthika, Use oAuth2init method instead of init. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Tue, Jun 2, 2015 at 8:40 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: On Tuesday, June 2, 2015, Madhawa Gunasekara madha...@wso2.com wrote: Hi Amal, According to the log trace, the issue is occurring at com.google.gdata.client package, which is outdated one (Older Google Data (GData) API) [1]. Google recommends to migrate to their new Google APIs Client Library for Java [2]. That might be the issue. because according to the release notes [1] supports OAuth 2.0 as well. In that case how does this work for nasheer I think, we have to migrate to the new Google APIs Client Library to solve this issue [1] https://github.com/google/gdata-java-client [2] https://github.com/google/google-api-java-client Thanks, Madhawa On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Amal, I think you have tried with init method. Could you please try with oAuth2init method. googlespreadsheet.oAuth2init oauthConsumerKey{'oauth.consumerKey'}/oauthConsumerKey oauthConsumerSecret{'oauth.oauthConsumerSecret'} /oauthConsumerSecret oauthAccessToken{'oauth.accessToken'}/oauthAccessToken oauthAccessTokenSecret{'oauth.accessTokenSecret'}/oauthAccessTokenSecret /googlespreadsheet.oAuth2init Thanks, On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, I can not reproduce the issue, GSS connector builds perfectly and able to create worksheet as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva mal...@wso2.com wrote: Connector Team, Can anyone of you check this please. Also we should have both versions or latest in the store. On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake am...@wso2.com wrote: Hi Nasheer, Thank you for the link. I built the code and deployed the latest google spreadsheet connector (2.0.0). But I still face the same issue. I get the following error. [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error occured Error authenticating (check service name)* com.google.gdata.util.AuthenticationException: Error authenticating (check service name) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46) at org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32) at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at
Re: [Dev] ESB Google Spreadsheet connector issue
Hi Keerthika, Since we have changed the version of the GSS connector in the store, we should change the init method in documentation as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Wed, Jun 3, 2015 at 9:32 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Malaka, Yes. Now we have 2.0.0 version in the connector store. Thanks, On Wed, Jun 3, 2015 at 9:28 AM, Malaka Silva mal...@wso2.com wrote: Hi All, Do we have the latest connector that supports OAUTH 2.0 in store? On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, +1 for keerthika, Use oAuth2init method instead of init. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Tue, Jun 2, 2015 at 8:40 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: On Tuesday, June 2, 2015, Madhawa Gunasekara madha...@wso2.com wrote: Hi Amal, According to the log trace, the issue is occurring at com.google.gdata.client package, which is outdated one (Older Google Data (GData) API) [1]. Google recommends to migrate to their new Google APIs Client Library for Java [2]. That might be the issue. because according to the release notes [1] supports OAuth 2.0 as well. In that case how does this work for nasheer I think, we have to migrate to the new Google APIs Client Library to solve this issue [1] https://github.com/google/gdata-java-client [2] https://github.com/google/google-api-java-client Thanks, Madhawa On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Amal, I think you have tried with init method. Could you please try with oAuth2init method. googlespreadsheet.oAuth2init oauthConsumerKey{'oauth.consumerKey'}/oauthConsumerKey oauthConsumerSecret{'oauth.oauthConsumerSecret'} /oauthConsumerSecret oauthAccessToken{'oauth.accessToken'}/oauthAccessToken oauthAccessTokenSecret{'oauth.accessTokenSecret'}/oauthAccessTokenSecret /googlespreadsheet.oAuth2init Thanks, On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, I can not reproduce the issue, GSS connector builds perfectly and able to create worksheet as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva mal...@wso2.com wrote: Connector Team, Can anyone of you check this please. Also we should have both versions or latest in the store. On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake am...@wso2.com wrote: Hi Nasheer, Thank you for the link. I built the code and deployed the latest google spreadsheet connector (2.0.0). But I still face the same issue. I get the following error. [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error occured Error authenticating (check service name)* com.google.gdata.util.AuthenticationException: Error authenticating (check service name) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46) at org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32) at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at
Re: [Dev] ESB Google Spreadsheet connector issue
+1 On Wed, Jun 3, 2015 at 9:45 AM, Naasheer Ali naashe...@wso2.com wrote: Hi Keerthika, Since we have changed the version of the GSS connector in the store, we should change the init method in documentation as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Wed, Jun 3, 2015 at 9:32 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Malaka, Yes. Now we have 2.0.0 version in the connector store. Thanks, On Wed, Jun 3, 2015 at 9:28 AM, Malaka Silva mal...@wso2.com wrote: Hi All, Do we have the latest connector that supports OAUTH 2.0 in store? On Tue, Jun 2, 2015 at 10:02 AM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, +1 for keerthika, Use oAuth2init method instead of init. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Tue, Jun 2, 2015 at 8:40 AM, Vanjikumaran Sivajothy va...@wso2.com wrote: On Tuesday, June 2, 2015, Madhawa Gunasekara madha...@wso2.com wrote: Hi Amal, According to the log trace, the issue is occurring at com.google.gdata.client package, which is outdated one (Older Google Data (GData) API) [1]. Google recommends to migrate to their new Google APIs Client Library for Java [2]. That might be the issue. because according to the release notes [1] supports OAuth 2.0 as well. In that case how does this work for nasheer I think, we have to migrate to the new Google APIs Client Library to solve this issue [1] https://github.com/google/gdata-java-client [2] https://github.com/google/google-api-java-client Thanks, Madhawa On Tue, Jun 2, 2015 at 12:17 AM, Keerthika Mahendralingam keerth...@wso2.com wrote: Hi Amal, I think you have tried with init method. Could you please try with oAuth2init method. googlespreadsheet.oAuth2init oauthConsumerKey{'oauth.consumerKey'}/oauthConsumerKey oauthConsumerSecret{'oauth.oauthConsumerSecret'} /oauthConsumerSecret oauthAccessToken{'oauth.accessToken'}/oauthAccessToken oauthAccessTokenSecret{'oauth.accessTokenSecret'}/oauthAccessTokenSecret /googlespreadsheet.oAuth2init Thanks, On Mon, Jun 1, 2015 at 10:09 PM, Naasheer Ali naashe...@wso2.com wrote: Hi Amal, I can not reproduce the issue, GSS connector builds perfectly and able to create worksheet as well. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com On Mon, Jun 1, 2015 at 7:38 PM, Malaka Silva mal...@wso2.com wrote: Connector Team, Can anyone of you check this please. Also we should have both versions or latest in the store. On Mon, Jun 1, 2015 at 5:39 PM, Amal Gunatilake am...@wso2.com wrote: Hi Nasheer, Thank you for the link. I built the code and deployed the latest google spreadsheet connector (2.0.0). But I still face the same issue. I get the following error. [2015-06-01 17:34:52,756] ERROR - *GoogleSpreadsheetCreateWorksheet Error occured Error authenticating (check service name)* com.google.gdata.util.AuthenticationException: Error authenticating (check service name) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetAuthentication.login(GoogleSpreadsheetAuthentication.java:59) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetClientLoader.loadSpreadsheetService(GoogleSpreadsheetClientLoader.java:53) at org.wso2.carbon.connector.googlespreadsheet.GoogleSpreadsheetGetAllSpreadsheets.connect(GoogleSpreadsheetGetAllSpreadsheets.java:46) at org.wso2.carbon.connector.core.AbstractConnector.mediate(AbstractConnector.java:32) at org.apache.synapse.mediators.ext.ClassMediator.mediate(ClassMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.template.TemplateMediator.mediate(TemplateMediator.java:77) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:129) at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:78) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at
[Dev] [IS] Findbugs Error : is provided externally to the method and not sanitized before use.
Hello all, When profiling using Sonar, I'm getting error as in $subject (squid:S2077) from [1]. What is the reason for this warning? how can I solve this? 1. https://github.com/wso2/carbon-identity/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/store/JDBCIdentityDataStore.java#L92 Thank You! -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner
Hi Danula, Please send an update of your work thus far. On Sun, May 10, 2015 at 2:30 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Danula, Welcome to GSoC 15' ! Can you do some research on directly generating spark transformations using Wrangler and come up with a summary ? On Fri, May 8, 2015 at 11:03 AM, Danula Eranjith hmdanu...@gmail.com wrote: Hi all, Thank you for selecting my proposal [1] https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing for GSoC 2015. I am really looking forward to work with you all and contribute to WSO2. I have already completed my primary research on wrangler and would like to meet you to get feedback on the proposed architecture. I am planning to start working on the project before 25th of May. Thank you, Danula [1] - https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner
Hi Madawa, Please send an update on your work thus far. On Sun, May 10, 2015 at 2:23 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Madawa, Welcome to GSoC 15' ! As the first step, please start exploring recommendation algorithms of Spark (v1.3) MLLib and we would like to see a list of supported algorithms and some information on each of those. On Wed, May 6, 2015 at 9:31 AM, Madawa Soysa madawa...@cse.mrt.ac.lk wrote: Hi Mentors, First of all thanks for selecting my proposal on $subject . Even though coding in GSoC starts on 25th May, I would like to have a discussion with mentors and start implementing as soon as possible. It would be great if you can review the proposal and provide feedback. Previous mail thread attached at [1] http://wso2.markmail.org/search/%5BDev%5D+%5BGSoC-2015%5D+Proposal+11:+Recommendation+Solution+for+WSO2+Machine+Learner+from:%22Madawa+Soysa%22 . [1] - http://wso2.markmail.org/search/%5BDev%5D+%5BGSoC-2015%5D+Proposal+11:+Recommendation+Solution+for+WSO2+Machine+Learner+from:%22Madawa+Soysa%22 http://wso2.markmail.org/search/%5BDev%5D+%5BGSoC-2015%5D+Proposal+11:+Recommendation+Solution+for+WSO2+Machine+Learner+from:%22Madawa+Soysa%22 Thanks, Madawa -- *_**Madawa Soysa* Undergraduate, Department of Computer Science and Engineering, University of Moratuwa. Chairman, IEEE Computer Society Student Chapter, University of Moratuwa. Mobile: +94 75 812 0726 | Email: madawa...@cse.mrt.ac.lk LinkedIn http://lk.linkedin.com/in/madawasoysa | Twitter https://twitter.com/madawa_rc | Tumblr http://madawas.tumblr.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Writing to a database in WSO2 Synapse
Hi Chanaka, You may also refer [1] [1] http://lahirucooray.blogspot.com/2015/05/database-interaction-wso2-esb-lets-say.html On Mon, Jun 1, 2015 at 9:22 AM, Chanaka Sampath Cooray chanakasampat...@gmail.com wrote: Hi all, I want to write some information to a database in wso2 synapse level and retrieve that information to a carbon component in carbon mediation. Can you suggest me a way of doing that or give me some example code or reference for that please? Thanks, -- *Chanaka Sampath Cooray* Undergraduate | Department of Computer Science and Engineering,University of Moratuwa Mobile: +94 71 361 4884 E-Mail: chanakasampat...@gmail.com Linked-In: https://lk.linkedin.com/pub/chanaka-sampath/65/221/102 https://lk.linkedin.com/pub/chanaka-sampath/65/221/102 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Updating APIM integration test cases for test with multiple tenants
Hi Irham, Can you send a pull request for already completed tests. Note that you don't need to migrate Jmeter tests to run on tenant mode. If test case cannot be executed on tenant mode, please mention the reason under Remarks column. Thanks, Krishantha. On Fri, May 22, 2015 at 11:44 AM, Irham Iqbal iq...@wso2.com wrote: Hi All, I have been updating the APIM integration test cases as below. Please find the process document[1] 1. Adding tenant mode test for tests which are currently running by super tenant mode only. 2. Adding super tenant mode for tests which are currently running by a tenant and not by super tenant. [1] https://docs.google.com/spreadsheets/d/1dCeFHhzyWxrS9HvSPj2SQq6ahh4cO8Hx41TrfWTTyoM/edit#gid=0 -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] User creation failed with OpenDJ
Hi, I missed to mentioned earlier, there was a difference with PasswordHashMethod as well, I think above error should be due to that. Thanks Godwin On Tue, Jun 2, 2015 at 2:49 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi Dulanja, Thanks for the response, there was a problem UserDNPattern, the are using cn={0} not uid={0} Thanks Godwin On Tue, Jun 2, 2015 at 2:26 PM, Dulanja Liyanage dula...@wso2.com wrote: Hi Godwin, Did you compare the configurations of the Secondary with the Primary? Secondary userstore config is saved at: wso2is-5.0.0/repository/deployment/server/userstores. If they are different, Put the Primary's config to secondary and retry. Thanks, Dulanja On Tue, Jun 2, 2015 at 4:47 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, I have configured a secondary user store for OpenDJ LDAP server and trying to create a user, it gives following error. What can be the problem for this ? javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Pre-encoded passwords are not allowed for the password attribute userPassword]; remaining name 'cn=NDEMO2' *Note. Primary user store also connected to same LDAP and it allows to create users* Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila -- Thanks Regards, Dulanja Liyanage WSO2 Inc. M: +94776764717 -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services
Hi Shashika, Can you check the pull request with the suggestions of the last code review. IIRC we suggested to remove usage of axiom for xml processing. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services
Hi Manoj As per discussion i had with sameera, it will be done in the future as a enhancement. Thank you. On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote: Hi Shashika, Can you check the pull request with the suggestions of the last code review. IIRC we suggested to remove usage of axiom for xml processing. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services
On Wed, Jun 3, 2015 at 10:34 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Manoj As per discussion i had with sameera, it will be done in the future as a enhancement. Let's create a jira to track this.. thanks, Thank you. On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote: Hi Shashika, Can you check the pull request with the suggestions of the last code review. IIRC we suggested to remove usage of axiom for xml processing. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Multiple versions of org.wso2.carbon.webapp.mgt.stub in wso2am-1.9.0-SNAPSHOT
Hi APIM Team, I have noticed there are multiple versions are available for org.wso2.carbon.webapp.mgt.stub in wso2am-1.9.0-SNAPSHOT. Multiple versions available in repository/components/plugins : - org.wso2.carbon.webapp.mgt.stub_4.2.0.jar - org.wso2.carbon.webapp.mgt.stub_4.2.3.jar Which is the correct version that should use? Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WS-Discovery support for JAX-WS/JAX-RS services
Hi Manoj/Supun Jira created to track on [1] @Manoj: other than xml processing improvement i have added all the things mentioned in the code review. [1] https://wso2.org/jira/browse/WSAS-1955 On Wed, Jun 3, 2015 at 10:38 AM, Supun Malinga sup...@wso2.com wrote: On Wed, Jun 3, 2015 at 10:34 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Manoj As per discussion i had with sameera, it will be done in the future as a enhancement. Let's create a jira to track this.. thanks, Thank you. On Wed, Jun 3, 2015 at 10:26 AM, Manoj Kumara ma...@wso2.com wrote: Hi Shashika, Can you check the pull request with the suggestions of the last code review. IIRC we suggested to remove usage of axiom for xml processing. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Tue, Jun 2, 2015 at 9:12 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Revert some pull requests due to API changes
Created seperate pull request with the reverted changes. Will merge this in a future release. [1] https://github.com/wso2/carbon4-kernel/pull/232 *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jun 1, 2015 at 6:10 PM, Manoj Kumara ma...@wso2.com wrote: Merged with https://github.com/wso2/carbon4-kernel/pull/230 *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jun 1, 2015 at 6:06 PM, Manoj Kumara ma...@wso2.com wrote: Hi Malaka, Thanks for informing. Since this was along with a pull request which adds some properties to axis I thought this is related to that one as well I'll add the fix and sorry for the inconvenience. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jun 1, 2015 at 5:52 PM, Malaka Silva mal...@wso2.com wrote: Hi Manoj, Regarding PR [1] Latest fix does not involve an api change. So we can keep this change merged. [1] ] https://github.com/wso2/carbon4-kernel/pull/205/ On Mon, Jun 1, 2015 at 4:31 PM, Manoj Kumara ma...@wso2.com wrote: Hi All, As per conclusion of the discussion [1] we agreed on not to add any API changes on patch releases. Due to this I will be reverting following pull requests [2], [3], [4], [5] from master branch and these fixes will not be available on Carbon 4.4.1 release. I'll create a separate pull request with these commits to be merged on future minor/major release. [1] Kernel Patching Strategy on GIT [2] https://github.com/wso2/carbon4-kernel/pull/198 [3] https://github.com/wso2/carbon4-kernel/pull/195 [4] https://github.com/wso2/carbon4-kernel/pull/205/ [5] https://github.com/wso2/carbon4-kernel/pull/211 Regards, Manoj -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Fwd: Creating the carbon UI component
Hi Jane, One of the things I noticed in your student-manager-component is that you have a corrupted wsdl file in the org.wso2.carbon.student.mgt.stub/src/main/resources. Therefore it won't generate the source code for the stub.(org.wso2.carbon.student.mgt.stub/target/generated-code/). Save the wsdl file correctly and build the stub component again. Thank you! On Mon, Jun 1, 2015 at 9:11 AM, Thilini Cooray thili...@wso2.com wrote: Hi Jane, I went through your carbon component source. You have mentioned the icon as students.gif in META-INF/component.xml file. But the image name in your web/student-mgt/images folder is student.png. Please try to change image name in your component.xml file and check. Thanks. ThiliniC. On Fri, May 29, 2015 at 10:35 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Jane, In your UI component, you have put the component.xml file in a folder called META_INF. But the folder name must be META-INF. Change the folder name and re try. It should work then. Thanks /Thusitha On Fri, May 29, 2015 at 10:07 AM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi Jane, Do you get any error message in the console? Please provide more information. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Fri, May 29, 2015 at 10:00 AM, Supun Sethunga sup...@wso2.com wrote: Hi Jane, Can you try starting server with -DosgiConsole option, and check whether created bundles are all in ACTIVE state? Thanks, Supun On Thu, May 28, 2015 at 2:19 PM, Jane Mariathas j...@wso2.com wrote: Hi, I created a simple carbon component.after building the component, I added all the OSGI bundles(jar files) in the $CARBON_HOME/repository/components/dropins/ but after starting the server i couldn't see the component in the carbon management console. Any idea on this? Thanks ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. http://wso2.com/ lean | enterprise | middleware Mobile : +94 716546324 ___ 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 -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, *Thilini Cooray* Software Engineer Mobile : +94 (0) 774 570 112 %2B94%20%280%29%20773%20451194 E-mail : thili...@wso2.com WSO2 Inc. www.wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] User creation failed with OpenDJ
Hi Dulanja, Thanks for the response, there was a problem UserDNPattern, the are using cn={0} not uid={0} Thanks Godwin On Tue, Jun 2, 2015 at 2:26 PM, Dulanja Liyanage dula...@wso2.com wrote: Hi Godwin, Did you compare the configurations of the Secondary with the Primary? Secondary userstore config is saved at: wso2is-5.0.0/repository/deployment/server/userstores. If they are different, Put the Primary's config to secondary and retry. Thanks, Dulanja On Tue, Jun 2, 2015 at 4:47 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, I have configured a secondary user store for OpenDJ LDAP server and trying to create a user, it gives following error. What can be the problem for this ? javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Pre-encoded passwords are not allowed for the password attribute userPassword]; remaining name 'cn=NDEMO2' *Note. Primary user store also connected to same LDAP and it allows to create users* Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila -- Thanks Regards, Dulanja Liyanage WSO2 Inc. M: +94776764717 -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] User creation failed with OpenDJ
Hi Godwin, Did you compare the configurations of the Secondary with the Primary? Secondary userstore config is saved at: wso2is-5.0.0/repository/deployment/server/userstores. If they are different, Put the Primary's config to secondary and retry. Thanks, Dulanja On Tue, Jun 2, 2015 at 4:47 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, I have configured a secondary user store for OpenDJ LDAP server and trying to create a user, it gives following error. What can be the problem for this ? javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Pre-encoded passwords are not allowed for the password attribute userPassword]; remaining name 'cn=NDEMO2' *Note. Primary user store also connected to same LDAP and it allows to create users* Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila -- Thanks Regards, Dulanja Liyanage WSO2 Inc. M: +94776764717 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error while running the Application server
i unset the CARBON_HOME variable and ran the AS as usual, and it still works. M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana sach...@wso2.com wrote: The problem might be due to working inside the /usr/ directory. ( It's kinda odd to see someone's user home being inside the /usr directory) Try this if you can, -first unset the CARBON_HOME if you have set it already -then try running AS from inside the home directory ex: /home/nashry/software/wso2as-5.2.1 This MIGHT be occurring due to an permission issue. On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando nir...@wso2.com wrote: hmm... it's strange that it fails. May be you can investigate by adding few echos to the wso2server.sh. On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, im using Ubuntu 14.04 LTS 64 bit M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando nir...@wso2.com wrote: What's your OS and version? Good that manual setting worked, but we need to figure out why automatic recognition failed and possibly fix it. On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, setting the CARBON_HOME manually worked. Thanks everyone M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana sach...@wso2.com wrote: If you want to run the AS try setting the $CARBON_HOME manually. Ex: export $CARBON_HOME= /usr/nashry/home/SOFTWARES/wso2as-5.2.1 It seems the script can't figure out the exact CARBON_HOME to be set. On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara chathu...@wso2.com wrote: Hi, Make sure that there is tomcat-juli-7.0.59.jar inside AS_HOME/bin directory. Thanks, Chathura. On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka shashi...@wso2.com wrote: HI, Can you try running using java 1.6 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, Are you getting this in a fresh pack? Thanks /Thusitha On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, i get the following error when i try to run the application server. Can anyone help me with this? JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79 CARBON_HOME environment variable is set to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 wso2server.sh: 260: cd: can't cd to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 Could not load Logmanager org.apache.juli.ClassLoaderLogManager java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.util.logging.LogManager$1.run(LogManager.java:191) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.clinit(LogManager.java:181) at java.util.logging.Logger.demandLogger(Logger.java:339) at java.util.logging.Logger.getLogger(Logger.java:393) at com.sun.jmx.remote.util.ClassLogger.init(ClassLogger.java:55) at sun.management.jmxremote.ConnectorBootstrap.clinit(ConnectorBootstrap.java:823) at sun.management.Agent.startLocalManagementAgent(Agent.java:144) at sun.management.Agent.startAgent(Agent.java:264) at sun.management.Agent.startAgent(Agent.java:456) Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com Abouthttp://about.me/thusithathilina ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chathura Priyankara Software Engineer | WSO2 Inc. Mobile : +94718795340 Blog : www.codeoncloud.blogspot.com
Re: [Dev] Error while running the Application server
Hi, When the server starts it is setting the CARBON_HOME value. So even if you unset the CARBON_HOME value before the server starts, it will not affect the server starting process. The interesting thing is how the CARBON_HOME was set to some other place(/usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 as you mentioned in the mail) in the first time. If you able to reproduce the same scenario please update this thread. Thanks /Thusitha On Tue, Jun 2, 2015 at 7:23 PM, Aaquibah Nashry nas...@wso2.com wrote: i unset the CARBON_HOME variable and ran the AS as usual, and it still works. M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana sach...@wso2.com wrote: The problem might be due to working inside the /usr/ directory. ( It's kinda odd to see someone's user home being inside the /usr directory) Try this if you can, -first unset the CARBON_HOME if you have set it already -then try running AS from inside the home directory ex: /home/nashry/software/wso2as-5.2.1 This MIGHT be occurring due to an permission issue. On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando nir...@wso2.com wrote: hmm... it's strange that it fails. May be you can investigate by adding few echos to the wso2server.sh. On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, im using Ubuntu 14.04 LTS 64 bit M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando nir...@wso2.com wrote: What's your OS and version? Good that manual setting worked, but we need to figure out why automatic recognition failed and possibly fix it. On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, setting the CARBON_HOME manually worked. Thanks everyone M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana sach...@wso2.com wrote: If you want to run the AS try setting the $CARBON_HOME manually. Ex: export $CARBON_HOME= /usr/nashry/home/SOFTWARES/wso2as-5.2.1 It seems the script can't figure out the exact CARBON_HOME to be set. On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara chathu...@wso2.com wrote: Hi, Make sure that there is tomcat-juli-7.0.59.jar inside AS_HOME/bin directory. Thanks, Chathura. On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka shashi...@wso2.com wrote: HI, Can you try running using java 1.6 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, Are you getting this in a fresh pack? Thanks /Thusitha On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, i get the following error when i try to run the application server. Can anyone help me with this? JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79 CARBON_HOME environment variable is set to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 wso2server.sh: 260: cd: can't cd to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 Could not load Logmanager org.apache.juli.ClassLoaderLogManager java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.util.logging.LogManager$1.run(LogManager.java:191) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.clinit(LogManager.java:181) at java.util.logging.Logger.demandLogger(Logger.java:339) at java.util.logging.Logger.getLogger(Logger.java:393) at com.sun.jmx.remote.util.ClassLogger.init(ClassLogger.java:55) at sun.management.jmxremote.ConnectorBootstrap.clinit(ConnectorBootstrap.java:823) at sun.management.Agent.startLocalManagementAgent(Agent.java:144) at sun.management.Agent.startAgent(Agent.java:264) at sun.management.Agent.startAgent(Agent.java:456) Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com About
Re: [Dev] [CEP][Error] Configured CEP with stratos
If you are not encountered any other exception in CEP (believe, you are trying out with standalone CEP 3.1.0), then only possible reason is extension jar is not picked by the OSGI environment.. Below steps may help you to check the issue, 1) Are there many extension jars available? Whether they have same package name ? If yes, you cannot have like that in OSGI environment then some jars which have the same package name will not be picked by the OSGI class loader.. You need to have unique package name.. 2) Check how many OSGI bundles are exists in dropins folder.. If you are put a jar in to lib directory then it will be converted in to OSGI bundle and copies to dropins folder. Then if you delete a jar in lib then you also need to delete it from dropins as well.. If you cannot resolve the issue by following above approaches then there might be an issue with siddhi extension and/or need to check deeper on that.. On Tue, Jun 2, 2015 at 7:22 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, Cannot Load Siddhi extension errors is coming again and again. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:14, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, Thanks. I will check and update. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:05, Nirmal Fernando nir...@wso2.com wrote: Please add that file into CEP (CEP_HOME/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks
[Dev] Inbound EPs - missing functionalities
Hi, Regarding the $subject. - How we can suspend a given inbound (no option given in the UI) - No source view for inbound EP - Did we test inbound EPs with cApps? - Coordination = true doesn't make sense. (having single consumer or multiple consumer are two different coordination mechanisms). We need a better name for that. -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] User creation failed with OpenDJ
Hi, I have configured a secondary user store for OpenDJ LDAP server and trying to create a user, it gives following error. What can be the problem for this ? javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Pre-encoded passwords are not allowed for the password attribute userPassword]; remaining name 'cn=NDEMO2' *Note. Primary user store also connected to same LDAP and it allows to create users* Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D* twitter: https://twitter.com/godwinamila ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Request to review and merge AS HTTP Monitoring dashboard and toolbox
Merged. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sun, May 31, 2015 at 2:08 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi Carbon team, $subject. Please find the PR [1] for the dashboard [2] and PR [3] for the tool box [4]. [1] https://github.com/wso2/carbon-deployment/pull/98 [2] https://wso2.org/jira/browse/WSAS-1777 [3] https://github.com/wso2/product-as/pull/69 [4] https://wso2.org/jira/browse/WSAS-1849 -- 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
Re: [Dev] [CEP][Error] Configured CEP with stratos
Please add that file into CEP (CEP_HOME/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Nirmal, Thanks. I will check and update. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:05, Nirmal Fernando nir...@wso2.com wrote: Please add that file into CEP (CEP_HOME/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [CEP][Error] Configured CEP with stratos
Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest
Hi all, In addition to integration tests we are having JDBCApplicationDAOTest.java and JDBCAppVersionDAOTest.java in org.wso2.carbon.appfactory.core (under src/test). Other org.wso2.carbon.appfactory bundles dont have such test classes. If this is a test case why dont we have it as a integration test case , why is it inside the same bundle ? Or is this some another test thing ? What is the purpose of having it theres ? Can somebody explain to me ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: mahe...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest
Hi Mahesh, These are unit tests. These are very important aspect of testing as well. thanks, dimuthu On Tue, Jun 2, 2015 at 7:11 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi all, In addition to integration tests we are having JDBCApplicationDAOTest.java and JDBCAppVersionDAOTest.java in org.wso2.carbon.appfactory.core (under src/test). Other org.wso2.carbon.appfactory bundles dont have such test classes. If this is a test case why dont we have it as a integration test case , why is it inside the same bundle ? Or is this some another test thing ? What is the purpose of having it theres ? Can somebody explain to me ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: mahe...@wso2.com | Web: www.wso2.com -- Dimuthu Leelarathne Director Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Nirmal, Cannot Load Siddhi extension errors is coming again and again. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:14, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, Thanks. I will check and update. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:05, Nirmal Fernando nir...@wso2.com wrote: Please add that file into CEP (CEP_HOME/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Why are we having JDBCApplicationDAOTest and JDBCAppVersionDAOTest
These are two different types of tests. 1. Unit tests are to verify small piece of code. 2. Integration tests are ran for the product itself. These are two different types of testing. Refer to [1] [1] http://stackoverflow.com/questions/5357601/whats-the-difference-between-unit-tests-and-integration-tests Thanks Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Jun 2, 2015 7:11 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi all, In addition to integration tests we are having JDBCApplicationDAOTest.java and JDBCAppVersionDAOTest.java in org.wso2.carbon.appfactory.core (under src/test). Other org.wso2.carbon.appfactory bundles dont have such test classes. If this is a test case why dont we have it as a integration test case , why is it inside the same bundle ? Or is this some another test thing ? What is the purpose of having it theres ? Can somebody explain to me ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: mahe...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP
Hi Tharindu Your work looks good, do you have any updates ? Suho On Sun, May 24, 2015 at 9:54 AM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Wed, May 20, 2015 at 2:27 AM, Tharindu Munasinghe tharindu...@cse.mrt.ac.lk wrote: Hi Mentors, Hi Tharindu, I have started the initial implementation of client-side features like syntax highlighting , code completion and code-snippets. I have tried both ACE editor as well as Code-mirror libraries but according to my observation, ACE editor can easily be customized for domain specific languages. Current implementation [1] https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/ is based on ACE library. The progress of the implementation as follows, - *Syntax Highlighting* :almost completed - *Code completion* : Currently the keywords,annotations, and locally defined identifiers can be suggested.But the suggestion list still need to be optimized based on the context awareness. - *Code snippets*: Predefined code snippets are supported for now (Eg: defStr: define stream , attr,attrS) . User defined code snippets have to be handled . - *Error checking*: Client side Siddhi parser (Antlr4 in JS runtime) was integrated with Siddhi Editor. It just verify the syntactical correctness of the query and shows error indicators with error messages on relevant lines immediately . Currently the error messages are somewhat abstract and there are issues in triggering the event as well . So there are improvements still need to be done on this. For now, This feature only focuses on the syntax that can be evaluated at client-side. For semantic verifications, Ajax requests need to be sent (if only the client side parser doesn't find any syntax errors) to the existing server-side Siddhi Compiler (That part is yet to be done). The source code at [1 https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/] only contains the client side features listed above. This project is maintained just for the ease of testing and debugging the front end specific features. Once the client-side specific features are implemented and tested properly , this could be integrated and merged with carbon-event-processing project. Afterwards I will continue to work on back end related feature ,and will send PRs based on the improvements . First of all, sorry for the delay.. I have tried out the editor, it is really cool.. I believe GSOC coding is starting by Tomorrow, great to see that you have started already.. I think, you have done a chat with Srinath and Suho regarding this and planned accordingly.. FYI, we have done some improvements for our existing editor as well.. Please check our CEP 4.0.0 alpha pack for more information.. Thanks, Mohan Please find demo page for the Siddhi editor is hosted on [2 http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/] . Highly appreciate your feedbacks and suggestions on this. [1]: https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/ [2]: http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/ Thanks! On 7 May 2015 at 00:22, Tharindu Munasinghe tharindu...@cse.mrt.ac.lk wrote: Thanks Srinath! I had a quick discussion with Suho last week. He gave me the initial work flow and priorities of the features listed in the proposal. I am currently testing Antr4,Code-mirror and Ace libraries for the implementation purposes. Built the CEP 4.0 and have been getting familiar with SiddhiQL 3.0. Sure we can meet and discuss further details probably on Next Monday. So that I will be able to come up with something thing to demo the progress. Please let me know the time (or else a possible date in next week) for the meeting . Thanks, On 5 May 2015 at 09:01, Srinath Perera srin...@wso2.com wrote: Tharindu, congratulations on the proposal! Shall we meet and discuss sometime this or the following week? On Wed, Apr 29, 2015 at 2:46 PM, Tharindu Munasinghe tharindu...@cse.mrt.ac.lk wrote: Hi Mentors, First of all thanks for selecting my proposal on $subject . I am planing to complete most of the basic implementations before the official Gsoc starting date (May 25) . Before that I would like to have a review for the design decisions included in the proposal. It would be great if you can review them and provide feedbacks and suggestions . Thanks, On 28 March 2015 at 12:09, Tharindu Munasinghe tharindu...@cse.mrt.ac.lk wrote: Hi all, Attached here is the proposal I submitted for $subject . https://docs.google.com/a/cse.mrt.ac.lk/document/d/1Txl5uZbLYIX8slLR8F5kI8U0Se79tBgHxw2dA3hMIhI/edit# On 28 March 2015 at 00:08, Tharindu Munasinghe tharin...@wso2.com wrote: [Adding tharindu...@cse.mrt.ac.lk] On Wed, Mar 4, 2015 at 12:41 AM, Tharindu Munasinghe tharin...@wso2.com wrote:
Re: [Dev] [CEP][Error] Configured CEP with stratos
Hi Mohan, I have checked. It looks like an issue. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:45, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: If you are not encountered any other exception in CEP (believe, you are trying out with standalone CEP 3.1.0), then only possible reason is extension jar is not picked by the OSGI environment.. Below steps may help you to check the issue, 1) Are there many extension jars available? Whether they have same package name ? If yes, you cannot have like that in OSGI environment then some jars which have the same package name will not be picked by the OSGI class loader.. You need to have unique package name.. 2) Check how many OSGI bundles are exists in dropins folder.. If you are put a jar in to lib directory then it will be converted in to OSGI bundle and copies to dropins folder. Then if you delete a jar in lib then you also need to delete it from dropins as well.. If you cannot resolve the issue by following above approaches then there might be an issue with siddhi extension and/or need to check deeper on that.. On Tue, Jun 2, 2015 at 7:22 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, Cannot Load Siddhi extension errors is coming again and again. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:14, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, Thanks. I will check and update. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 19:05, Nirmal Fernando nir...@wso2.com wrote: Please add that file into CEP (CEP_HOME/repository/conf/siddhi) and restart CEP and see. On Tue, Jun 2, 2015 at 6:59 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am following the docs given below. 1. https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Complex+Event+Processor+Configuration *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:57, Nirmal Fernando nir...@wso2.com wrote: There should be a siddhi.extension file in CEP_HOME/repository/conf/siddhi which loads all these Stratos extensions. Which guide you are following? I can see this file here: https://github.com/apache/stratos/blob/master/products/stratos/modules/distribution/src/main/conf/siddhi/siddhi.extension On Tue, Jun 2, 2015 at 6:47 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I have added. ( I built this component and got the jar and added) *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:42, Nirmal Fernando nir...@wso2.com wrote: Ok. Did you add the Stratos extensions jar into CEP (repository/components/lib) directory ? https://github.com/apache/stratos/tree/master/extensions/cep/stratos-cep-extension On Tue, Jun 2, 2015 at 6:37 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi Nirmal, I am using WSO2 CEP 3.1.0, but I am getting those errors. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 On 2 June 2015 at 18:29, Nirmal Fernando nir...@wso2.com wrote: If you are trying to setup Stratos in distributed mode, you have to use WSO2 CEP 3.1.0 released version. If you want to use Stratos in single JVM mode, you do not need an external CEP. On Tue, Jun 2, 2015 at 6:23 PM, Pranavan Theivendiram pranavan...@cse.mrt.ac.lk wrote: Hi All, I am getting the following error log at the cep start up. Can anyone help me in this issue? [*2015-06-02 18:19:35,848] ERROR - {SiddhiExtensionLoader} Cannot load Siddhi extension * *[2015-06-02 18:19:35,878] ERROR - {EventProcessorDeployer} Execution plan is not deployed and in inactive state : SecondDerivativeOfHealthRequest.xml* *org.wso2.carbon.event.processor.core.exception.ExecutionPlanConfigurationException: Invalid query specified, No extension exist for OutputAttributeExtension{extensionName='stratos', functionName='concat', rename='health_second_der_cluster_network'}* Thanks in adavance. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science Engineering ,University of Moratuwa* *Mobile| *0775136836 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Associate Technical Lead -
Re: [Dev] Request to review and merge AS HTTP Monitoring dashboard and toolbox
Thanks Manoj. On Tuesday, June 2, 2015, Manoj Kumara ma...@wso2.com wrote: Merged. *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sun, May 31, 2015 at 2:08 PM, Kalpa Welivitigoda kal...@wso2.com javascript:_e(%7B%7D,'cvml','kal...@wso2.com'); wrote: Hi Carbon team, $subject. Please find the PR [1] for the dashboard [2] and PR [3] for the tool box [4]. [1] https://github.com/wso2/carbon-deployment/pull/98 [2] https://wso2.org/jira/browse/WSAS-1777 [3] https://github.com/wso2/product-as/pull/69 [4] https://wso2.org/jira/browse/WSAS-1849 -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com javascript:_e(%7B%7D,'cvml','kal...@wso2.com'); Mobile: +94776509215 -- 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
[Dev] WS-Discovery support for JAX-WS/JAX-RS services
Please review and merge the implementation of feature [2] and test cases [3] on JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1954 [2] https://github.com/wso2/carbon-deployment/pull/99 [3] https://github.com/wso2/product-as/pull/70 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Error while running the Application server
Hi, Ya. That was the problem as i understand. Thanks M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Tue, Jun 2, 2015 at 7:36 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, When the server starts it is setting the CARBON_HOME value. So even if you unset the CARBON_HOME value before the server starts, it will not affect the server starting process. The interesting thing is how the CARBON_HOME was set to some other place(/usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 as you mentioned in the mail) in the first time. If you able to reproduce the same scenario please update this thread. Thanks /Thusitha On Tue, Jun 2, 2015 at 7:23 PM, Aaquibah Nashry nas...@wso2.com wrote: i unset the CARBON_HOME variable and ran the AS as usual, and it still works. M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 8:16 PM, Sachith Withana sach...@wso2.com wrote: The problem might be due to working inside the /usr/ directory. ( It's kinda odd to see someone's user home being inside the /usr directory) Try this if you can, -first unset the CARBON_HOME if you have set it already -then try running AS from inside the home directory ex: /home/nashry/software/wso2as-5.2.1 This MIGHT be occurring due to an permission issue. On Mon, Jun 1, 2015 at 4:34 PM, Nirmal Fernando nir...@wso2.com wrote: hmm... it's strange that it fails. May be you can investigate by adding few echos to the wso2server.sh. On Mon, Jun 1, 2015 at 4:26 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, im using Ubuntu 14.04 LTS 64 bit M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 1:38 PM, Nirmal Fernando nir...@wso2.com wrote: What's your OS and version? Good that manual setting worked, but we need to figure out why automatic recognition failed and possibly fix it. On Mon, Jun 1, 2015 at 1:10 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, setting the CARBON_HOME manually worked. Thanks everyone M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com On Mon, Jun 1, 2015 at 12:26 PM, Sachith Withana sach...@wso2.com wrote: If you want to run the AS try setting the $CARBON_HOME manually. Ex: export $CARBON_HOME= /usr/nashry/home/SOFTWARES/wso2as-5.2.1 It seems the script can't figure out the exact CARBON_HOME to be set. On Mon, Jun 1, 2015 at 12:20 PM, Chathura Priyankara chathu...@wso2.com wrote: Hi, Make sure that there is tomcat-juli-7.0.59.jar inside AS_HOME/bin directory. Thanks, Chathura. On Mon, Jun 1, 2015 at 12:05 PM, Shashika Karunatilaka shashi...@wso2.com wrote: HI, Can you try running using java 1.6 On Mon, Jun 1, 2015 at 12:02 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, Are you getting this in a fresh pack? Thanks /Thusitha On Mon, Jun 1, 2015 at 12:01 PM, Aaquibah Nashry nas...@wso2.com wrote: Hi, i get the following error when i try to run the application server. Can anyone help me with this? JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.7.0_79 CARBON_HOME environment variable is set to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 wso2server.sh: 260: cd: can't cd to /usr/nashry/home/SOFTWARES/org.wso2.carbon.server-4.2.0 Could not load Logmanager org.apache.juli.ClassLoaderLogManager java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.util.logging.LogManager$1.run(LogManager.java:191) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.clinit(LogManager.java:181) at java.util.logging.Logger.demandLogger(Logger.java:339) at java.util.logging.Logger.getLogger(Logger.java:393) at com.sun.jmx.remote.util.ClassLogger.init(ClassLogger.java:55) at sun.management.jmxremote.ConnectorBootstrap.clinit(ConnectorBootstrap.java:823) at sun.management.Agent.startLocalManagementAgent(Agent.java:144) at sun.management.Agent.startAgent(Agent.java:264) at sun.management.Agent.startAgent(Agent.java:456) Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap M.R.Aaquibah Nashry *Intern, Engineering* Mobile : +94 773946123 Tel : +94 112662541 nas...@wso2.com