Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
+1 that's a good point. We could define a function to normalize the slot range through consolidating of all the remaining slots together. On Thu, Mar 12, 2015 at 1:22 PM, Asitha Nanayakkara asi...@wso2.com wrote: Hi Pamod Querying the remaining slots and removing content directly is OK. As an improvement you can add a separate method in slot coordinator to get that message range of all the slots, to reduce cluster communication, and then do the necessary processing in the local node it self. Thanks, Asitha On Thu, Mar 12, 2015 at 11:56 AM, Pamod Sylvester pa...@wso2.com wrote: Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- *Asitha Nanayakkara* Software Engineer WSO2, Inc. http://wso2.com/ Mob: + 94 77 85 30 682 -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
Hi Pamod, +1 for the solution. as discussed, we can use a single service call to fetch all slots from the coordinator for the given queue, and trigger single message deletions (referring to OnflightMessageTracker and SlotDeliveryWorker) . This will ensure that tombstones are not read when purging in a subscription closed scenario. However, we also need to think about triggering a queue purge from the UI, at which point we may not have active subscriptions or slot references. Thanks On Thu, Mar 12, 2015 at 11:56 AM, Pamod Sylvester pa...@wso2.com wrote: Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320
I have been evaluating Jacoco (EclEmma) as code coverage generation tool for last couple of days, and was about to get the coverage dump file after executing integration tests. However coverage report generation is bit cumbersome using coverage dump files. Jacoco was initially designed for unit test coverage and when it comes to server side test coverage generation it has limitations with reporting. With our existing coverage generation tool (Emma) we had gained more user friendliness by managing coverage generation though test framework. 1. Jacoco needs source and class files to generate coverage report (in our case don't have source files of components at test runtime). 2. Pointing jar files for coverage generation not working. 3. Can't use instrumented class files back for report generation (should be fresh class files without any modifications) 4. No command line tool for coverage report generation. 5. Class filtering from coverage generation is not straightforward. 6. If we are going ahead with their maven/ant plugins, update of all test module pom files are required. 7. Might need to introduce maven profiles to disable coverage generation. I'm going though Jacoco API to find a better way for coverage report generation. Will update the thread with findings. Other alternative is to fix Emma (existing coverage tool) to run with JDK 1.8. Thanks, Krishantha. On Tue, Mar 10, 2015 at 9:20 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi Dharshana, On Mon, Mar 9, 2015 at 6:48 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Kishanthan, Please update the entry coveragetrue/coverage in automation.xml. This will avoid instrumentation and disable coverage. So you don't have to disable whole integration test module. No, I did not suggest to disable the integration module, but to disable instrumentation and coverage. But given that this will disable coverage reports, I think we should not go for that approach. We will continue to use the old integration framework on kernel 4.4.0 and push CARBON-15194 for 4.5.0. By updating this entry you can execute all integration tests normally and generate Surefire reports. But coverage will not be generated. You can follow thin until stable solution comes. Thank you, Dharshana. On Mon, Mar 9, 2015 at 8:45 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi SameeraJ, Krishantha, I think this issue will again arise for kernel 4.4.0 release with https://wso2.org/jira/browse/CARBON-15194. Either we can disable coverage report generation on kernel integration or we will have to push CARBON-15194 for 4.5.0. On Thu, Feb 26, 2015 at 6:56 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Folks, AS integration tests are failing in Java 8 due to $Subject. Following is the error. *java.lang.ClassFormatError: Illegal local variable table length 5 in method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.init()V* Looks like Java 8 cannot understand the bytecode produced by instrumentations. We are using an older version of EMMA. I guess the generated bytecode does not compatible with Java 8. Automation Team, can we find a solution to this problem? Thanks, Sameera. [2015-02-26 15:05:04,157] ERROR {org.wso2.carbon.user.core.internal.Activator} - Cannot start User Manager Core bundle *java.lang.ClassFormatError: Illegal local variable table length 5 in method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.init()V*at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:340) at org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1181) at org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1177) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.context.internal.CarbonContextDataHolder.classForName(CarbonContextDataHolder.java:1177) at org.wso2.carbon.context.internal.CarbonContextDataHolder.access$700(CarbonContextDataHolder.java:94) at org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextDataHolder.java:456) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:341) at javax.naming.InitialContext.lookup(InitialContext.java:417) at javax.naming.InitialContext.doLookup(InitialContext.java:290) -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org
Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
Hi Pamod Querying the remaining slots and removing content directly is OK. As an improvement you can add a separate method in slot coordinator to get that message range of all the slots, to reduce cluster communication, and then do the necessary processing in the local node it self. Thanks, Asitha On Thu, Mar 12, 2015 at 11:56 AM, Pamod Sylvester pa...@wso2.com wrote: Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- *Asitha Nanayakkara* Software Engineer WSO2, Inc. http://wso2.com/ Mob: + 94 77 85 30 682 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Jaggery] Try finally blocks with out a catch block
Hi Mahesh, Jaggery is JavaScript, hence *try, catch *and* finally* blocks can be used within your code as you usual. Also, passed JavaScript *Error* object can be used to get a brief information about the error [1]. Also you can find a sample in [2]. Hope this will help you. [1] http://ruchirawageesha.blogspot.com/2013/04/error-handling-in-jaggery.html [2] http://jaggeryjs.org/documentation.jag?api=ws Regards, Chanuka. On Wed, Mar 11, 2015 at 12:44 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi all , I have been working on [1] and I found some codes written with try and finally blocks without a catch block in the module layer of a jaggery app. try { } finally { } Is this ok ? If so how the errors are caught and thrown, when it comes to exception handling ? [1] - https://wso2.org/jira/browse/APPFAC-2725 Thoughts are much appreciated. Thanks. -- *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 -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC2015] Proposal 2: Siddhi Editor for WSO2 CEP
On Tue, Mar 10, 2015 at 6:03 PM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Thank you very much for the Google Hangout session today. It was very helpful in getting a good idea about what is expected from us. I had some issues with the connection towards the end of the session, so I couldn't raise my questions there. Anyways, in a nutshell, what we are supposed to do is not really to come up with a brand new editor for Siddhi, but to add more capabilities to the existing editor which would better assist the user in writing queries, right? Yes, It can be adding improvements for existing siddhi editor if it is possible. If not, you can come up with new design as well. And the second question, what is the technical background of the typical user of the Siddhi query editor? Are they Software Engineers or someone else with a similar, strong technical background? Or is it used by others with a lesser technical background (i.e: finance division of an organization)? Users will have basic knowledge but not going to be a person who know siddhi language well. If a user knows well about siddhi then current siddhi editor is enough. But we are looking for an editor which help and give some idea for a basic user who have less/very less knowledge about Siddhi. Hope, it is clear now.. Thanks, Mohan Thanks, Pubudu On 9 March 2015 at 01:45, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi Mohan, Thank you for the reply and yes, I would really appreciate their guidance in this. :) I am following the mailing list, and I will do my best to keep up-to-date with the latest developments related to the project. Currently I am going through the documentation of CEP and the codebase of Siddhi in order to get a better understanding of the project. Thanks, Pubudu On 8 March 2015 at 02:47, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Fri, Mar 6, 2015 at 1:57 AM, Pubudu Fernando pubudu...@cse.mrt.ac.lk wrote: Hi, Hi Pubudu, I'm Pubudu, a second year undergraduate student at the Department of Computer Science and Engineering in University of Moratuwa. I am interested in undertaking the above mentioned project for GSoC 2015. Can you please let me know what the requirements are in order to get selected for the project? Do I have to submit bug fixes or something of the sort? Welcome and happy to hear that you like to work on this project.. I hope, you have some understanding about the project by looking at other dev mails. Anyway FYI, Siddhi is the event processing engines which comes with WSO2 CEP. At the moment there is no any proper editor to write Siddhi queries. From this project, we are expected to develop a graphical editor to write Siddhi queries. I am adding Suho Srinath to the thread who can give more guidelines and information about the project, then you can ahead with preparing the proposal for the project.. Yes. you are always welcome to contribute by giving bug fixes.. :) Thanks, Mohan Thank you. -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- Best Regards, *Pubudu Fernando* Batch '12 Department of Computer Science and Engineering University of Moratuwa -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute
Hi Anuruddha/ Danushka, FYI, I checked the code again and noticed that calling getAllAppsOfUser from the user home page is not needed anymore. It is used in the eventing page template. So updating the application_list in session from the notification wall template is enough. Further more application_list is not the attribtue in the session which is used to draw the user home page. It is USER_HOME_CACHE attribute the one which is used. So I think it is safe to remove the recurring getAllAppsOfUser from the user home page. WDYT ? Regards Gayan On Thu, Mar 12, 2015 at 12:59 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layers rather than increasing callbacktime. WDYT? Regards, Anuruddha. On Wed, Mar 11, 2015 at 12:33 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Danushka, Thanks for the useful information. Yes. The cache is in the session. Me too believe that the 1 minute time difference is too soon. +1 for increasing it. Regards Gayan On Wed, Mar 11, 2015 at 1:38 PM, Danushka Fernando danush...@wso2.com wrote: I didn't check the code. However I guess cache is in session. Is that right? So say A logs in to AF and do whatever stuff. And B logs in to AF and create an application foo and add A to that foo application. Then there is no way to update the cache unless we read it from data layer time to time. If this is not the case picture in my head is wrong so please correct it. However 1 minute seems too soon. 1. Make it configurable 2. Increase it to somewhere like 10 - 15 minutes. WDYT? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 11, 2015 at 1:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I noticed $subject in the index page. Any particular reason for having this ? Since we have a cache for user home data, IMO we do not need this anymore. Data from the back end can only be read initially. Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] User's invited to an application does not see the application until re login
Hi Gayan, It is JMS pub/sub model we have implemented for showing error messages to the users with guaranteed delivery. thank you. On Thu, Mar 12, 2015 at 2:50 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Manjula, Since we don't send mails when the users are invited to an application as of yet we would be needing some other way of doing this if it is essential. IMO, a messaging mechanism won't work since this is the logged in user's session that we are talking about. Another thing that we can do is to notify the user via the user notification wall. WDYT ? Regards On Thu, Mar 12, 2015 at 2:31 PM, Manjula Rathnayake manju...@wso2.com wrote: Hi all, IMO, the current behavior is ok because inviting to an application is followed by an email and we can mention to login in and check. But if above is really an issue we need to attend, we should be able to use guaranteed delivery messages to send the new event about new application and update the applications in session. thank you. On Thu, Mar 12, 2015 at 2:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The application information in the session is updated only when the user logs in. One thing that can be done is we can have a back end cache to track the users who are invited to an application and during the user home page load, a back end check can be done to check the cache and update the user home by reloading the application list. But this may introduce a overhead to the user home page. WDYT ? Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] User's invited to an application does not see the application until re login
Hi all, IMO, the current behavior is ok because inviting to an application is followed by an email and we can mention to login in and check. But if above is really an issue we need to attend, we should be able to use guaranteed delivery messages to send the new event about new application and update the applications in session. thank you. On Thu, Mar 12, 2015 at 2:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The application information in the session is updated only when the user logs in. One thing that can be done is we can have a back end cache to track the users who are invited to an application and during the user home page load, a back end check can be done to check the cache and update the user home by reloading the application list. But this may introduce a overhead to the user home page. WDYT ? Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] User's invited to an application does not see the application until re login
Hi Manjula, Since we don't send mails when the users are invited to an application as of yet we would be needing some other way of doing this if it is essential. IMO, a messaging mechanism won't work since this is the logged in user's session that we are talking about. Another thing that we can do is to notify the user via the user notification wall. WDYT ? Regards On Thu, Mar 12, 2015 at 2:31 PM, Manjula Rathnayake manju...@wso2.com wrote: Hi all, IMO, the current behavior is ok because inviting to an application is followed by an email and we can mention to login in and check. But if above is really an issue we need to attend, we should be able to use guaranteed delivery messages to send the new event about new application and update the applications in session. thank you. On Thu, Mar 12, 2015 at 2:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The application information in the session is updated only when the user logs in. One thing that can be done is we can have a back end cache to track the users who are invited to an application and during the user home page load, a back end check can be done to check the cache and update the user home by reloading the application list. But this may introduce a overhead to the user home page. WDYT ? Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] 403 Status when DELETE using JAX-RS
Hi, Shall we keep this in a common location such as [4]. This scenario is common for all application types. [4] https://docs.wso2.com/display/AS521/Application+Development+and+Deployment On Wed, Mar 11, 2015 at 8:47 PM, Nilmini Perera nilm...@wso2.com wrote: Hi, @Supun/@Kasun- Could you please check the following content and let me know? I have added some information for web applications, JAX-RS and JAX-WS application in the AS docs. [1] https://docs.wso2.com/display/AS521/Web+Applications [2] https://docs.wso2.com/display/AS521/Developing+JAX-WS+Services [3] https://docs.wso2.com/display/AS521/Developing+JAX-RS+Services Thanks, Nilmini On Wed, Mar 11, 2015 at 4:10 PM, Nilmini Perera nilm...@wso2.com wrote: Sorry about the delay. This will be completed today. Regards, Nilmini On Wed, Mar 11, 2015 at 3:34 PM, Supun Malinga sup...@wso2.com wrote: Hi Nilmini, On Tue, Feb 17, 2015 at 10:17 AM, Nilmini Perera nilm...@wso2.com wrote: I will look into this and update the docs. Thanks for the info. Any updates on the docs ?. thanks, Regards, Nilmini On Mon, Feb 16, 2015 at 11:06 PM, Supun Malinga sup...@wso2.com wrote: Hi, Enabling CORS requests for all origins by default is not recommended and certainly is a bad idea to enable it by default in the server. Users should enable it if they want CORS by themselves, per webapp. It can be a security concern otherwise AFAIK. But this gives an opportunity to add to documentation on how users can enable CORS. Were you able to test this out and see ?. thanks, On Mon, Feb 16, 2015 at 10:53 PM, Gimantha Bandara giman...@wso2.com wrote: Hi, We have hosted a jaxrs webapp in BAM 3.0 which is used for analytics. Sometimes when we try to send a DELETE request, we receive the status code 403, which we didn't really implemented to return. while searching for clue, I found that the cross-origin resource filters(CORS filters) are not set properly. We can set these filters either in webapp's web.xml or in carbon server's tomcat web.xml to overcome the issue as shown below. filter filter-nameCorsFilter/filter-name filter-classorg.apache.catalina.filters.CorsFilter/filter-class *init-param* *param-namecors.allowed.origins/param-name* *param-value*/param-value* */init-param* *init-param* *param-namecors.allowed.methods/param-name* * param-valueGET,POST,HEAD,OPTIONS,PUT,DELETE,PATCH/param-value* */init-param* /filter filter-mapping filter-nameCorsFilter/filter-name url-pattern/*/url-pattern /filter-mapping So should these init-params be included by default in the pack? if so, what will be the best place to add them ( in webapps' web.xml or in conf/tomcat/web.xml)? Thanks, -- Gimantha Bandara Software Engineer WSO2. Inc : http://wso2.com Mobile : +94714961919 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- You received this message because you are subscribed to the Google Groups WSO2 Documentation group. To unsubscribe from this group and stop receiving emails from it, send an email to documentation+unsubscr...@wso2.com. For more options, visit https://groups.google.com/a/wso2.com/d/optout. -- Nilmini Perera Senior Technical Writer WSO2 Inc. Mobile: 0094776722152 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Nilmini Perera Senior Technical Writer WSO2 Inc. Mobile: 0094776722152 -- Nilmini Perera Senior Technical Writer WSO2 Inc. Mobile: 0094776722152 -- 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
Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute
On Thu, Mar 12, 2015 at 12:58 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Anuruddha/ Danushka, FYI, I checked the code again and noticed that calling getAllAppsOfUser from the user home page is not needed anymore. It is used in the eventing page template. So updating the application_list in session IMO we shouldn't keep the application_list in the *session*. Otherwise this will cause the issue that Danushka explained earlier. Shall we move it to *application* cache and do proper invalidation on update/delete? from the notification wall template is enough. Further more application_list is not the attribtue in the session which is used to draw the user home page. Are we using this application_list somewhere else?. It's not correct to have the application_list in the *session* cache. It is USER_HOME_CACHE attribute the one which is used. So I think it is safe to remove the recurring getAllAppsOfUser from the user home page. Check whether the USER_HOME_CACHE have the application creation status; it shouldn't be cached since it's a dynamic parameter; in that case you'll have to getapplication info from the back-end. WDYT ? Regards Gayan On Thu, Mar 12, 2015 at 12:59 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layers rather than increasing callbacktime. WDYT? Regards, Anuruddha. On Wed, Mar 11, 2015 at 12:33 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Danushka, Thanks for the useful information. Yes. The cache is in the session. Me too believe that the 1 minute time difference is too soon. +1 for increasing it. Regards Gayan On Wed, Mar 11, 2015 at 1:38 PM, Danushka Fernando danush...@wso2.com wrote: I didn't check the code. However I guess cache is in session. Is that right? So say A logs in to AF and do whatever stuff. And B logs in to AF and create an application foo and add A to that foo application. Then there is no way to update the cache unless we read it from data layer time to time. If this is not the case picture in my head is wrong so please correct it. However 1 minute seems too soon. 1. Make it configurable 2. Increase it to somewhere like 10 - 15 minutes. WDYT? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 11, 2015 at 1:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I noticed $subject in the index page. Any particular reason for having this ? Since we have a cache for user home data, IMO we do not need this anymore. Data from the back end can only be read initially. Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [AppFactory] Error while creating an application
Hi, I am trying to create an application in the private cloud deployed in the remote machine at 192.168.57.4 It gives the following error. *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/lifecycle/lifecycle.jag} - Error in calling manage generic artifact service JavaException: org.jaggeryjs.scriptengine.exceptions.ScriptException: Error occured while invoking the service {module/lifecycle/lifecycle.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while storing resource * *undefined {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while creating application * *Error while storing registry resource {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {JAGGERY.site.blocks.application.add.ajax.add:jag} - Error while creating the applicationundefined {JAGGERY.site.blocks.application.add.ajax.add:jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89) {org.jaggeryjs.jaggery.core.manager.WebAppManager}* *org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)* * at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)* * at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)* * at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)* * at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)* * at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)* * at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)* * at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)* * at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)* * at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)* * at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)* * at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)* * at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)* * at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)* * at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)* * at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)* * at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)* * at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)* * at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)* * at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)* * at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)* * at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)* * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)* * at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)* * at java.lang.Thread.run(Thread.java:744)* *Caused by: org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89)* * at org.jaggeryjs.rhino.appmgt.site.blocks.application.add.ajax.c0._c_anonymous_1(/appmgt/site/blocks/application/add/ajax/add.jag:89)* * at
Re: [Dev] [AppFactory] Error while creating an application
Hi There a reported jira [1] which is similar to your exception. Maybe the related fix will be a help to you [1] https://wso2.org/jira/browse/APPFAC-2717 Thank You Erandi On Thu, Mar 12, 2015 at 3:06 PM, Fathima Dilhasha dilha...@wso2.com wrote: Hi, I am trying to create an application in the private cloud deployed in the remote machine at 192.168.57.4 It gives the following error. *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/lifecycle/lifecycle.jag} - Error in calling manage generic artifact service JavaException: org.jaggeryjs.scriptengine.exceptions.ScriptException: Error occured while invoking the service {module/lifecycle/lifecycle.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while storing resource * *undefined {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while creating application * *Error while storing registry resource {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {JAGGERY.site.blocks.application.add.ajax.add:jag} - Error while creating the applicationundefined {JAGGERY.site.blocks.application.add.ajax.add:jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89) {org.jaggeryjs.jaggery.core.manager.WebAppManager}* *org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)* * at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)* * at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)* * at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)* * at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)* * at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)* * at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)* * at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)* * at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)* * at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)* * at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)* * at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)* * at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)* * at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)* * at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)* * at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)* * at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)* * at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)* * at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)* * at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)* * at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)* * at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)* * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)* * at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)* * at
Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
Hi, Idea was when last subscriber goes purge the messages without getting slots involved because it need to happen lightweight and fast. Thanks On Thu, Mar 12, 2015 at 3:16 AM, Pamod Sylvester pa...@wso2.com wrote: +1 Agreed, also as you and Ramith mentioned deleting the content directly will not be possible with the current architecture, since matadata is partitioned based on the queue/topic but the message content is not and ranges could overlap between multiple topics/queues. Therefore, we could invoke the content deletion task for the moment. Also another question i have is as to why we cannot partition the message content the same way we partition the meta information ? Also, from the UI when purging we could still refer the unassigned slots i believe. That's my observation. Do correct me if i am wrong. Thanks, Pamod On Thu, Mar 12, 2015 at 1:29 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi Pamod, +1 for the solution. as discussed, we can use a single service call to fetch all slots from the coordinator for the given queue, and trigger single message deletions (referring to OnflightMessageTracker and SlotDeliveryWorker) . This will ensure that tombstones are not read when purging in a subscription closed scenario. However, we also need to think about triggering a queue purge from the UI, at which point we may not have active subscriptions or slot references. Thanks On Thu, Mar 12, 2015 at 11:56 AM, Pamod Sylvester pa...@wso2.com wrote: Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [App Factory] User's invited to an application does not see the application until re login
Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The application information in the session is updated only when the user logs in. One thing that can be done is we can have a back end cache to track the users who are invited to an application and during the user home page load, a back end check can be done to check the cache and update the user home by reloading the application list. But this may introduce a overhead to the user home page. WDYT ? Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
Tombstones became the killer :( The plan is to consolidate the unassigned slot ranges together and schedule the content to be removed within that range only so that the query will not grab tombstones. Thanks, Pamod On Thu, Mar 12, 2015 at 2:11 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, Idea was when last subscriber goes purge the messages without getting slots involved because it need to happen lightweight and fast. Thanks On Thu, Mar 12, 2015 at 3:16 AM, Pamod Sylvester pa...@wso2.com wrote: +1 Agreed, also as you and Ramith mentioned deleting the content directly will not be possible with the current architecture, since matadata is partitioned based on the queue/topic but the message content is not and ranges could overlap between multiple topics/queues. Therefore, we could invoke the content deletion task for the moment. Also another question i have is as to why we cannot partition the message content the same way we partition the meta information ? Also, from the UI when purging we could still refer the unassigned slots i believe. That's my observation. Do correct me if i am wrong. Thanks, Pamod On Thu, Mar 12, 2015 at 1:29 PM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi Pamod, +1 for the solution. as discussed, we can use a single service call to fetch all slots from the coordinator for the given queue, and trigger single message deletions (referring to OnflightMessageTracker and SlotDeliveryWorker) . This will ensure that tombstones are not read when purging in a subscription closed scenario. However, we also need to think about triggering a queue purge from the UI, at which point we may not have active subscriptions or slot references. Thanks On Thu, Mar 12, 2015 at 11:56 AM, Pamod Sylvester pa...@wso2.com wrote: Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- Cheers, Hasitha Amal De Silva Software Engineer Mobile : 0772037426 Blog: http://devnutshell.tumblr.com/ WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. ) -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AppFactory] Error while creating an application
Thank you. I'll have a look. Regards, Dilhasha *M.N.F. Dilhasha* Software Engineering Intern | *WSO2 Lanka* email : *dilha...@wso2.com dilha...@wso2.com*mobile : +94 77 8449321 On Thu, Mar 12, 2015 at 3:11 PM, Chathurika De Silva chathuri...@wso2.com wrote: Hi There a reported jira [1] which is similar to your exception. Maybe the related fix will be a help to you [1] https://wso2.org/jira/browse/APPFAC-2717 Thank You Erandi On Thu, Mar 12, 2015 at 3:06 PM, Fathima Dilhasha dilha...@wso2.com wrote: Hi, I am trying to create an application in the private cloud deployed in the remote machine at 192.168.57.4 It gives the following error. *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/lifecycle/lifecycle.jag} - Error in calling manage generic artifact service JavaException: org.jaggeryjs.scriptengine.exceptions.ScriptException: Error occured while invoking the service {module/lifecycle/lifecycle.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while storing resource * *undefined {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {module/application/add/add.jag} - Error while creating application * *Error while storing registry resource {module/application/add/add.jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {JAGGERY.site.blocks.application.add.ajax.add:jag} - Error while creating the applicationundefined {JAGGERY.site.blocks.application.add.ajax.add:jag}* *TID: [0] [AF] [2015-03-12 09:24:55,089] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89) {org.jaggeryjs.jaggery.core.manager.WebAppManager}* *org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.JavaScriptException: Error while creating the applicationundefined (/appmgt/site/blocks/application/add/ajax/add.jag#89)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)* * at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)* * at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541)* * at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)* * at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)* * at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)* * at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)* * at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)* * at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)* * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)* * at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)* * at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)* * at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)* * at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)* * at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)* * at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)* * at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)* * at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)* * at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)* * at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)* * at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)* * at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)* * at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)* * at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)* * at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)* * at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)* * at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)*
[Dev] [App-Manager] Query On APP-Manager Web App Description
Hi AM Team, When creating a webapp I observed a field named description, but after creating the webapp this field is not visible in the publisher or store. What is the intended purpose of this field. Shouldn't description be visible in the store to the end-users? Based on this observation I have created the following JIRA. [1] [1] - https://wso2.org/jira/browse/APPM-535 With Regards, -- Yasassri Ratnayake Software Engineer - QA WSO2 Inc ; http://wso2.com lean.enterprise.middleware *Mobile : +94715933168* *Blog : http://yasassriratnayake.blogspot.com/ http://yasassriratnayake.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSOC2015:PROJECT
Hi Tharinda, Please find the comments inline. I think the major part of this project is create a back end of java code created using wrangler script. Yes. Wrangler scripts are mostly done by javascript. So I need to convert those into java. Yes. Further, java code should be Apache Spark Transformation. Please refer my previous mail for details on Spark. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. You have to come up with a solution and an implementation for this. It is the core part of the project :) Feel free to contact us if you need further clarifications. Regards, Supun On Thu, Mar 12, 2015 at 1:04 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I think the major part of this project is create a back end of java code created using wrangler script. Wrangler scripts are mostly done by javascript. So I need to convert those into java. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. Thank you. Tharinda. On Wed, Mar 11, 2015 at 3:45 AM, Supun Sethunga sup...@wso2.com wrote: Hi Tharinda, Ultimately, the java code created using the wrangler script (after conversion), should be able to used as an Apache Spark [1] Transformations [2]. (at the back-end) On a side note, please use the WSO2 dev mailing list for any project related communication :) [1] https://spark.apache.org/ [2] http://spark.apache.org/docs/1.2.0/programming-guide.html#transformations Regards, Supun On Wed, Mar 11, 2015 at 7:52 AM, Nirmal Fernando nir...@wso2.com wrote: Yes, that's exactly what we want ! On Wed, Mar 11, 2015 at 3:30 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: I checked the libraries on wrangler. I think that you mentioned can be done using the libraries. What I think is get the libraries from wrangler and create a back-end for the interface created using jaggery. Wrangler script to java converter can be add to the back-end also. On Tue, Mar 10, 2015 at 4:10 AM, Nirmal Fernando nir...@wso2.com wrote: Remotely connecting to Wrangler (hosted service) is not a good option. What we expect is we take their library (it's Open source) and use the API to perform the transformations and cleaning. Could you please check the feasibility of that? On Tue, Mar 10, 2015 at 9:34 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I drew what I understood the project to be. If one wants to do data cleaning and transformation he need to connect to the wrangler directly. That is what I mean from the first two blocks. If they have a customized UI you can do data cleaning and transformation using ML also. They don't need to connect to the wrangler. Another thing i realized that is they don't need all the operations in wrangler. They need some specific subset of operations only. What I mean from the bottom block is the UI created using Jaggery interfacing between ML and the wrangler. On Tue, Mar 10, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Tharindu, Thanks for the diagram. Do you mind explaining the diagram? On Tue, Mar 10, 2015 at 3:27 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Here I attached a simple design of project development. Can you give me some comments about this. Thank you. On Mon, Mar 9, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Our ultimate goal is to provide data cleaning and transformation. Hence, Tharindu, you need to pick the things that is sufficient to perform those operations. What we prefer is a D3 based UI. On Sun, Mar 8, 2015 at 10:34 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Wrangler already has a UI. I think that you excepting customized UI for Wrangler using Jaggery. Which kind of conditions and options do you excepting from that UI. Thanks. On Sat, Mar 7, 2015 at 2:13 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Thanks for your response. I have some idea about both Data Wrangler API and Jaggery. I'll try to bulid a UI. Thanks. On Sat, Mar 7, 2015 at 11:04 AM, Nirmal Fernando nir...@wso2.com wrote: On Sat, Mar 7, 2015 at 4:34 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Tharinda, Thanks for your interest on the proposal #17. Actually, it is not for WSO2 CEP but for WSO2 Machine Learner which is a new product that we are building these days. The main idea of this project is to integrate the Data Wrangler to WSO2 ML and get the data cleaning, transformation features into WSO2 ML. But as a start, you could play with Data Wrangler API and check how you could build a UI (preferably using HTML, Jaggery) that exposes Data
[Dev] [Jaggery] From where does getOutputs in block files are called?
Hi all, In a Jaggery block file, there is below function. getOutputs:function (inputs) { //some logic } Can someone please tell me who calls this function (when a template is loading) because I want to know at where this input value is populated. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSDL generation for SOAP webservice ISSUE
On Thu, Mar 12, 2015 at 5:44 PM, Anjana Fernando anj...@wso2.com wrote: Hi Pubudu, Maybe Enums are not supported in Axis2, maybe Sagara may know more about this. As a quick workaround, avoid using Enums in the service and use something else to represent that, either a string value or something suitable. Enum support is available from Apache Axis2 1.7, BTW web services meant to be interoperable hence best practise is to avoid any language specific constructs. Thanks ! Cheers, Anjana. On Thu, Mar 12, 2015 at 5:36 PM, Pubudu Dodangoda pubu...@wso2.com wrote: I am trying to write a carbon component by referring link http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ I can generate the correct WSDL file for a simple service But when the service class is kind of complex, I get the following issue, when trying to test the wsdl using SOAP UI *Source:* https://10.100.4.135:9443/services/DashboardAdminService?wsdl *Error:* type 'Enum@http://www.w3.org/2001/XMLSchema' not found. I googled the issue and found this on stackoverflow http://stackoverflow.com/questions/6017441/generate-wsdl-file-and-webservice-client-based-on-wsdl-file-in-maven But I am unable to solve the issue What can I do to solve this? Note- I think the problem is when trying to convert complex objects(objects inside objects) into xml I have attached below the WSDL file here, in it, the widgets element is a complex object in the corresponding service class Thank You and Kind Regards -- Pubudu Dodangoda BSc Engineering(Hon's) Undergraduate Department of Computer Science Engineering University of Moratuwa 0716053681 / 0775192994 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] [Cluster] Error when trying to log in with the created tenants
Hi, I created an ESB cluster fronted by ELB. Created a LDAP server through ApacheDS. When creating a tenant the bellow error occurred. ERROR - TenantPersistor Error in changing the tenant admin password for tenant domain: To fix this, I applied the patch related to [1]. The problem solved and I was able to create tenants without a problem. - Now when I try to log in with the created tenants I get an error saying, Login failed! Please recheck the username and password and try again. - Then I tried to edit the tenant giving a new password and update. Got an error saying, ERROR - TenantMgtAdminService Error in changing the tenant admin password, tenant domain: Is there a solution for this? [1] - https://wso2.org/jira/browse/CARBON-15187 Thank you, Kala -- Kala C. Weerawardana *Software Engineer - QA Team* *WSO2 Inc. * Mobile : +94 (0) 716189886 +94 (0) 772877683 Blog : http://castakai.blogspot.com k...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Carbon Kernal 4.2.0 fixes required for patch0010
Hi, There is another thread for this. Let's continue that. thanks, On Tue, Mar 10, 2015 at 10:09 AM, Thilini Shanika thili...@wso2.com wrote: Hi, Can you please apply the fix provided with the JIRA [1] to Carbon Kernal patch0010? [1] - https://wso2.org/jira/browse/APPM-333 Thanks -- Thilini Shanika Software Engineer WSO2, Inc.; http://wso2.com 20, Palmgrove Avenue, Colombo 3 E-mail: tgtshan...@gmail.com -- 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
Re: [Dev] Implementation of API Manager-API Life Cycle Integration Test Cases
Hi Saneth, Can you update the QA test case document with correct mapping for test classes. Thanks, Krishantha. On Thu, Mar 12, 2015 at 7:51 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Please find the progress update of phase2, Pull request : https://github.com/wso2/product-apim/pull/49 This pull request contains, - Migration of test method to test classes that were developed in phase1. - New scenarios covered in Phase 2. - New base class was introduced to lifecycle test cases. - @BeforeTest and @AftterTest methods was introduced to do the configurations and restore those changes at the end of the lifecycle tests. - Add cleanup methods to remove the created/publish and subscribed APIs at the end of each test. - Completed test classes as follow (11 Classes and 44 test methods ). - AccessibilityOfBlockAPITestCase - AccessibilityOfDeprecatedOldAPIAndPublishedCopyAPITestCase - AccessibilityOfOldAPIAndCopyAPIWithOutReSubscriptionTestCase - AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase - AccessibilityOfRetireAPITestCase - APIAccessibilityOfPublishedOldAPIAndPublishedCopyAPITestCase - APIPublishingAndVisibilityInStoreTestCase - ChangeAPIBackendURLTestCase - ChangeAPITagsTestCase - EditAPIAndCheckUpdatedInformationTestCase - EditAPIContextAndCheckAccessibilityTestCase Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 8:00 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, Please find the progress update, I have finished following test cases. - testAPIPublishingAndVisibilityInStore - testAccessibilityOfPublishedOldAPIAndPublishedCopyAPI - testAccessibilityOfDeprecatedOldAPIAndPublishedCopyAPI - testAccessibilityOfOldAPIAndCopyAPIWithReSubscription - testAccessibilityOfOldAPIAndCopyAPIWithOutReSubscription - testAccessibilityOfBlockAPI - testAccessibilityOfRetireAPI Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Mon, Mar 2, 2015 at 5:53 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, I am working on $subject, test scenarios will be based on [1] API-M 1.9.0 Test Plan document (under API Life Cycle Tab). [1]API-M 1.9.0 Test Plan https://docs.google.com/a/wso2.com/spreadsheets/d/1SiktQWh463KZzr86ADqBnsyyHa2Tre-fIlGYvYRQfTQ/edit#gid=78 Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- 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] Please merge PR for IDENTITY-3052 and APPM-333
Hi Sameera. Can someone pls apply this into patch0010 ?. Seems I don't have permission to commit. thanks, On Thu, Feb 26, 2015 at 11:20 AM, Chanuka Dissanayake chan...@wso2.com wrote: Hi Supun, I have attached the svn diff for patch0010 [1] in the JIRA [2], please commit that as well. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0010/core/org.wso2.carbon.user.core/4.2.0 [2] https://wso2.org/jira/browse/IDENTITY-3052 Thanks, Chanuka. On Wed, Feb 25, 2015 at 8:13 PM, Supun Malinga sup...@wso2.com wrote: Merged. thanks. On Wed, Feb 25, 2015 at 5:33 PM, Chanuka Dissanayake chan...@wso2.com wrote: Hi Supun, Corrected them. Fix is in [1]. [1] https://github.com/wso2/carbon4-kernel/pull/140 Thanks Regards, Chanuka. On Wed, Feb 25, 2015 at 12:28 PM, Supun Malinga sup...@wso2.com wrote: Hi Chanuka, Added a comment. Please fix.. Let me know if you need more context. thanks, On Tue, Feb 24, 2015 at 10:23 PM, Supun Malinga sup...@wso2.com wrote: Just noticed this mail. Sorry I have missed it somehow. I'll follow up. thanks, On Mon, Feb 23, 2015 at 6:41 PM, Sameera Jayasoma same...@wso2.com wrote: SupunM, Can you look into the if this not already done? Thanks, Sameera. On Thu, Feb 19, 2015 at 12:17 PM, Chanuka Dissanayake chan...@wso2.com wrote: Hi, $subject. Contains fixes for [1] and [2]. PR is in [3]. [1] https://wso2.org/jira/browse/APPM-333 [2] https://wso2.org/jira/browse/IDENTITY-3052 [3] https://github.com/wso2/carbon4-kernel/pull/140 Thanks, Chanuka. -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com -- 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
Re: [Dev] App Factory API
Hi Dulitha, I assume your production URL is [1] and it seems it has successfully deployed in the production stage. Could you please elaborate on this more. When did you get this error? I mean what are the operations(api cals) that you've tried and resulted in above error. [1] * dmbk1991.dmbk1991.wso2apps.com http://dmbk1991.dmbk1991.wso2apps.com/* Thanks, Samith On Tue, Mar 10, 2015 at 9:44 PM, Dulitha Kularathne dulithameth...@gmail.com wrote: Hi !! I created two apps in the first one I changed the production URL manually and the second one I kept the default URL as it is. I got the scrren shots and I will send u them in the evening if necessary. i followed the guide and did exactly the same. But I did not have many users for each role. I had the same person for every role assigned. So after promoting the app to the next stage I logged out and logged when I was doing the second app. No deploy button was appeared as shown in the guide and instead the notifications on the right of the screen showed that it is deployed in the next stage(eg:- in production). So I thought that was because I did not assign separate users for roles. I also disabled auto build and auto deploy in the beginning. I used curl to call the APIs from the command line. Thanks. On Wed, Mar 11, 2015 at 10:09 AM, Dulitha Kularathne dulithameth...@gmail.com wrote: Hi Harsha!! I created two apps in the first one I changed the production URL manually and the second one I kept the default URL as it is. I got the scrren shots and I will send u them in the evening if necessary. i followed the guide and did exactly the same. But I did not have many users for each role. I had the same person for every role assigned. So after promoting the app to the next stage I logged out and logged when I was doing the second app. No deploy button was appeared as shown in the guide and instead the notifications on the right of the screen showed that it is deployed in the next stage(eg:- in production). So I thought that was because I did not assign separate users for roles. I also disabled auto build and auto deploy in the beginning. I used curl to call the APIs from the command line. Thanks. On Tue, Mar 10, 2015 at 10:20 PM, Harsha Thirimanna hars...@wso2.com wrote: Hi Dulitha, Is this the production URL that you are getting from AF or did you change production URL manually ? *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * http://www.apache.org/* *email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770 , +94 * *774617784twitter: **http://twitter.com/ http://twitter.com/afkham_azeez* *harshathirimannlinked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122* *Lean . Enterprise . Middleware* On Tue, Mar 10, 2015 at 7:10 AM, Danushka Fernando danush...@wso2.com wrote: Hi Dulitha Can you tell us the steps that exactly you followed. Screenshots or screen cast would be helpful. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Mar 10, 2015 at 5:24 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi Dulitha, I really appreciate your interest and effort on wso2appfactory gsoc project. No offense but please try always to use dev@ mail group to ask questions you have. :) Then your question will be exposed to a wider communitiy and the probability of getting what you expected is high. Regarding your error, where do you see this error ? in your browser ? i hope your are doing this in wso2 app cloud. On Mon, Mar 9, 2015 at 11:03 PM, Dulitha Kularathne dulithameth...@gmail.com wrote: Hi Mahesh!! I promoted my test app to production after creating a branch to try some API calls after deploying . Then I get the 404 error. Can you please help me on that. Thanks. Below given is the whole error message, I created a branch called 1.0.0 and promoted it to testing and deployed. After I promoted that to production and deployed again. HTTP Status 404 - /t/dmbk1991/webapps/dmbk1991-1.0.0/appmgt/site/blocks/user/login/ajax/login.jag -- *type* Status report *message* */t/dmbk1991/webapps/dmbk1991-1.0.0/appmgt/site/blocks/user/login/ajax/login.jag* *description* *The requested resource is not available* Connection #0 to host dmbk1991.dmbk1991.wso2apps.com http://dmbk1991.dmbk1991.wso2apps.com left intact .* -- -- *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
[Dev] [IS]Can not access oauth2 authorize endpoint url
Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160) org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74) org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183) org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146) org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) java.lang.Thread.run(Thread.java:662) [1]https://localhost:9443/oauth2/authorize Any help is highly appreciated. Thanks and Regards, Hasanthi Dissanayake Software Engineer | WSO2 E:
Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants
Hi Kala, What is the ESB version you are using here ? mean time can you attach the wso2carbon.log file. Thanks Godwin On Thu, Mar 12, 2015 at 8:16 PM, Kala Weerawardana k...@wso2.com wrote: Hi, I created an ESB cluster fronted by ELB. Created a LDAP server through ApacheDS. When creating a tenant the bellow error occurred. ERROR - TenantPersistor Error in changing the tenant admin password for tenant domain: To fix this, I applied the patch related to [1]. The problem solved and I was able to create tenants without a problem. - Now when I try to log in with the created tenants I get an error saying, Login failed! Please recheck the username and password and try again. - Then I tried to edit the tenant giving a new password and update. Got an error saying, ERROR - TenantMgtAdminService Error in changing the tenant admin password, tenant domain: Is there a solution for this? [1] - https://wso2.org/jira/browse/CARBON-15187 Thank you, Kala -- Kala C. Weerawardana *Software Engineer - QA Team* *WSO2 Inc. * Mobile : +94 (0) 716189886 +94 (0) 772877683 Blog : http://castakai.blogspot.com k...@wso2.com -- *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] [App Factory] User home data is read from the backend after if last access time is over 1 minute
Hi Anuruddha, Please find my comments inline. On Thu, Mar 12, 2015 at 2:21 AM, Anuruddha Premalal anurud...@wso2.com wrote: On Thu, Mar 12, 2015 at 12:58 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Anuruddha/ Danushka, FYI, I checked the code again and noticed that calling getAllAppsOfUser from the user home page is not needed anymore. It is used in the eventing page template. So updating the application_list in session IMO we shouldn't keep the application_list in the *session*. Otherwise this will cause the issue that Danushka explained earlier. Shall we move it to *application* cache and do proper invalidation on update/delete? The problem with the application level caching is, in real production environment there will be hundreds of applications and It is not recommended to keep heavyweight objects in the jaggery application cache as they might introduce issues under concurrent environments[1]. from the notification wall template is enough. Further more application_list is not the attribtue in the session which is used to draw the user home page. Are we using this application_list somewhere else?. It's not correct to have the application_list in the *session* cache. It is USER_HOME_CACHE attribute the one which is used. So I think it is safe to remove the recurring getAllAppsOfUser from the user home page. Check whether the USER_HOME_CACHE have the application creation status; it shouldn't be cached since it's a dynamic parameter; in that case you'll have to getapplication info from the back-end. Yes. USER_HOME_CACHE does has the application status and it will updated the dynamically by poling for status changes of the applications, which are in the pending status. [1] Do we have a cache implementation in Jaggery Thanks, Samith WDYT ? Regards Gayan On Thu, Mar 12, 2015 at 12:59 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layers rather than increasing callbacktime. WDYT? Regards, Anuruddha. On Wed, Mar 11, 2015 at 12:33 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Danushka, Thanks for the useful information. Yes. The cache is in the session. Me too believe that the 1 minute time difference is too soon. +1 for increasing it. Regards Gayan On Wed, Mar 11, 2015 at 1:38 PM, Danushka Fernando danush...@wso2.com wrote: I didn't check the code. However I guess cache is in session. Is that right? So say A logs in to AF and do whatever stuff. And B logs in to AF and create an application foo and add A to that foo application. Then there is no way to update the cache unless we read it from data layer time to time. If this is not the case picture in my head is wrong so please correct it. However 1 minute seems too soon. 1. Make it configurable 2. Increase it to somewhere like 10 - 15 minutes. WDYT? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 11, 2015 at 1:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I noticed $subject in the index page. Any particular reason for having this ? Since we have a cache for user home data, IMO we do not need this anymore. Data from the back end can only be read initially. Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to work with remote debug
you can do remote debugging from your IDE with ESB code. First start the ESB server script with debug option as follows. wso2server.sh -debug 5005 where the number is any port number used for remote debugging from your IDE. Then run debug in your IDE with whatever the port number you assigned. this [1] blog may help you. [1] http://blog.kasunbg.org/2010/05/remote-debugging-java-packages-in-wso2.html On Fri, Mar 13, 2015 at 10:58 AM, Naasheer Ali naashe...@wso2.com wrote: Hi, I'm trying to fix a jira issue (ESBJAVA-3311). Any suggestion or reference to subject. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Orbit update for Paho-MQTT Library
Did you go through the checklist of items for orbit creation process? There is a doc on this. On Mon, Mar 9, 2015 at 6:03 PM, Eranda Rajapakshe eran...@wso2.com wrote: Hi, Please review the pull request [1]. [1]. *https://github.com/wso2/orbit/pull/67 https://github.com/wso2/orbit/pull/67* Thank you! -- *Eranda Rajapakshe* Software Engineering intern WSO2 Inc. www.wso2.com Tel : +94784822608 Email : eran...@wso2.com -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509
Hi Maheeka, Is it a problem in ELB configurations? If so will you be able to explain? Thanks, Kala On Fri, Mar 13, 2015 at 9:05 AM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi Kala, I was also unable to resolve the issue. The problem seems to be in the ELB. Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Fri, Mar 13, 2015 at 8:38 AM, Kala Weerawardana k...@wso2.com wrote: Hi, I tried to invoke a proxy service in an ESB cluster and gets the same error. [2015-03-13 03:05:09,858] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:505) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:334) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:306) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:101) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141) at com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.flush(UTF8OutputStreamWriter.java:138) at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.close(XMLStreamWriterImpl.java:376) at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.close(XMLStreamWriterWrapper.java:46) at org.apache.axiom.om.impl.MTOMXMLStreamWriter.close(MTOMXMLStreamWriter.java:188) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:197) at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74) at org.apache.synapse.transport.passthru.PassThroughHttpSender.sendUsingOutputStream(PassThroughHttpSender.java:297) at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:261) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:321) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:94) 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.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:268) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Any thoughts about this please? Thanks, Kala On Thu, Feb 5, 2015 at 2:25 PM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi all, I have a ESB cluster setup with ESB M5 release (1 manager, 2 workers). Verified that DepSync is working correctly. I have activated JMS transports and have ActiveMQ running. However, when I try to invoke the proxy service, using Sample Stock Quote Client, I am getting the below errors. Verified that the request is successfully sent to the server on the first request. For second request the server doesn't receive the request and load balancer shows Error Code: 101509. *Request : * ant stockquote -Daddurl=http://esb.wso2.com:8280/services/StockP/ -Dmode=placeorder *For the first request: * *On management node : * [2015-02-05 14:17:35,925] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at
Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription
Hi Saneth, I think this is due to the caching of the older token. Can you please try again by setting EnableGatewayKeyCache to 'false' in the api-manager.xml? Thanks, NuwanD. On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: [Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2] will be disable until this issue is fixed. I have updated the API-M 1.9.0 Test Plan [3] with JIRA information. [1] https://wso2.org/jira/browse/APIMANAGER-3374 [2] org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java [3] API-M 1.9.0 Test Plan Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, 1. After copy and publish a new API version with the require re-subscription option and invoke the new API version without doing re-subscription it give an error, which is correct. 2. But after that if I do a re-subscription and invoke the new API version again, the first new API version invocation after re-subscription is getting failed and getting success from 2nd invocation after re-subscription. 3. This behaviour is not happening if I do not invoke the new API version before doing the re-subscription. In that case, first invocation of new API version after re-subscription is getting succeed. Is there any reason for the above 2nd observation?. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription
We cache the invalid access requests as well. So that someone with an invalid token can't overload the system (much). Thanks, NuwanD. On Fri, Mar 13, 2015 at 10:33 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Nuwan, With EnableGatewayKeyCache*false*/EnableGatewayKeyCache it is working correctly. First new API invocation after re-subscription is not getting failed even a false invocation happens before doing the re-subscription. But it is strange the behaviour with EnableGatewayKeyCache*true*/EnableGatewayKeyCache, because first new API invocation after re-subscription is getting failed when false invocation happens before doing the re-subscription and first API invocation after re-subscription is not getting failed when false invocation is not attempt before doing the re-subscription. Can't this be a issue with caching mechanism? because with or without cash, the first invocation after re-subscription should pass regardless of what has happened before the re-subscription. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 13, 2015 at 9:24 AM, Nuwan Dias nuw...@wso2.com wrote: Hi Saneth, I think this is due to the caching of the older token. Can you please try again by setting EnableGatewayKeyCache to 'false' in the api-manager.xml? Thanks, NuwanD. On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: [Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2] will be disable until this issue is fixed. I have updated the API-M 1.9.0 Test Plan [3] with JIRA information. [1] https://wso2.org/jira/browse/APIMANAGER-3374 [2] org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java [3] API-M 1.9.0 Test Plan Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, 1. After copy and publish a new API version with the require re-subscription option and invoke the new API version without doing re-subscription it give an error, which is correct. 2. But after that if I do a re-subscription and invoke the new API version again, the first new API version invocation after re-subscription is getting failed and getting success from 2nd invocation after re-subscription. 3. This behaviour is not happening if I do not invoke the new API version before doing the re-subscription. In that case, first invocation of new API version after re-subscription is getting succeed. Is there any reason for the above 2nd observation?. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription
Cashed invalid request should get overwrite after the subscription or the first invocation after the subscription? first invocation fails and second invocation pass. So the should't the overwrite happened in first call? Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 13, 2015 at 10:47 AM, Nuwan Dias nuw...@wso2.com wrote: We cache the invalid access requests as well. So that someone with an invalid token can't overload the system (much). Thanks, NuwanD. On Fri, Mar 13, 2015 at 10:33 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Nuwan, With EnableGatewayKeyCache*false*/EnableGatewayKeyCache it is working correctly. First new API invocation after re-subscription is not getting failed even a false invocation happens before doing the re-subscription. But it is strange the behaviour with EnableGatewayKeyCache*true*/EnableGatewayKeyCache, because first new API invocation after re-subscription is getting failed when false invocation happens before doing the re-subscription and first API invocation after re-subscription is not getting failed when false invocation is not attempt before doing the re-subscription. Can't this be a issue with caching mechanism? because with or without cash, the first invocation after re-subscription should pass regardless of what has happened before the re-subscription. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 13, 2015 at 9:24 AM, Nuwan Dias nuw...@wso2.com wrote: Hi Saneth, I think this is due to the caching of the older token. Can you please try again by setting EnableGatewayKeyCache to 'false' in the api-manager.xml? Thanks, NuwanD. On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: [Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2] will be disable until this issue is fixed. I have updated the API-M 1.9.0 Test Plan [3] with JIRA information. [1] https://wso2.org/jira/browse/APIMANAGER-3374 [2] org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java [3] API-M 1.9.0 Test Plan Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, 1. After copy and publish a new API version with the require re-subscription option and invoke the new API version without doing re-subscription it give an error, which is correct. 2. But after that if I do a re-subscription and invoke the new API version again, the first new API version invocation after re-subscription is getting failed and getting success from 2nd invocation after re-subscription. 3. This behaviour is not happening if I do not invoke the new API version before doing the re-subscription. In that case, first invocation of new API version after re-subscription is getting succeed. Is there any reason for the above 2nd observation?. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509
Hi, I tried to invoke a proxy service in an ESB cluster and gets the same error. [2015-03-13 03:05:09,858] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:505) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:334) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:306) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:101) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141) at com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.flush(UTF8OutputStreamWriter.java:138) at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.close(XMLStreamWriterImpl.java:376) at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.close(XMLStreamWriterWrapper.java:46) at org.apache.axiom.om.impl.MTOMXMLStreamWriter.close(MTOMXMLStreamWriter.java:188) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:197) at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74) at org.apache.synapse.transport.passthru.PassThroughHttpSender.sendUsingOutputStream(PassThroughHttpSender.java:297) at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:261) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:321) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:94) 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.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:268) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Any thoughts about this please? Thanks, Kala On Thu, Feb 5, 2015 at 2:25 PM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi all, I have a ESB cluster setup with ESB M5 release (1 manager, 2 workers). Verified that DepSync is working correctly. I have activated JMS transports and have ActiveMQ running. However, when I try to invoke the proxy service, using Sample Stock Quote Client, I am getting the below errors. Verified that the request is successfully sent to the server on the first request. For second request the server doesn't receive the request and load balancer shows Error Code: 101509. *Request : * ant stockquote -Daddurl=http://esb.wso2.com:8280/services/StockP/ -Dmode=placeorder *For the first request: * *On management node : * [2015-02-05 14:17:35,925] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:520) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:408) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) at
Re: [Dev] Fwd: Fix for issue https://wso2.org/jira/browse/CARBON-15009
Hi Firzhan, Can you confirm whether this fix is added to kernel 4.3.0/4.4.0? On Fri, Oct 17, 2014 at 4:30 PM, Firzhan Naqash firz...@wso2.com wrote: Hi, Since this else causes some issues on JDBC secondary user stores, I have attached the diff file which removes it. Please review and merge it for kernel patch0009. Regards, Firzhan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Senior Software Engineer, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription
[Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2] will be disable until this issue is fixed. I have updated the API-M 1.9.0 Test Plan [3] with JIRA information. [1] https://wso2.org/jira/browse/APIMANAGER-3374 [2] org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java [3] API-M 1.9.0 Test Plan Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, 1. After copy and publish a new API version with the require re-subscription option and invoke the new API version without doing re-subscription it give an error, which is correct. 2. But after that if I do a re-subscription and invoke the new API version again, the first new API version invocation after re-subscription is getting failed and getting success from 2nd invocation after re-subscription. 3. This behaviour is not happening if I do not invoke the new API version before doing the re-subscription. In that case, first invocation of new API version after re-subscription is getting succeed. Is there any reason for the above 2nd observation?. 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] [DEV][MB] Error when configuring mb in cluster mode with mysql
Hi all, I was able to solve the problem by using the MB 2.2 documentation. Thanks for your responses. On Fri, Mar 13, 2015 at 9:01 AM, Awanthika Senarath awanth...@wso2.com wrote: Hi Megala, Please ensure that your mysql database is accessible via the URL you have provided with the username and passowrd. I believe the url paramter should be something like this. urljdbc:mysql://localhost:3306/WSO2_MB http://10.100.4.40/WSO2_MB /url regards Awanthika On Thu, Mar 12, 2015 at 12:27 PM, Harsha Kumara hars...@wso2.com wrote: Hi Megala, Seems the issue with getting database connection. Your master data sources file *jdbc/MySQLMessageStore *has jdbc:mysql:// 10.100.4.40/WSO2_MB. Did you expose the mysql server through that IP or if not try with localhost with correct root username and password. Thanks, Harsha On Thu, Mar 12, 2015 at 12:19 PM, Megala Uthayakumar meg...@wso2.com wrote: Hi, I am getting following error when running the mb 3.0 in cluster mode with mysql. Cluster setup - 4 nodes mb and mysql server *Exception during startup: java.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverjava.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverat org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:266) at org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:147) at org.wso2.andes.server.Broker.startupImpl(Broker.java:153)at org.wso2.andes.server.Broker.startup(Broker.java:114)at org.wso2.andes.server.Main.startBroker(Main.java:218)at org.wso2.andes.server.Main.execute(Main.java:207)at org.wso2.andes.server.Main.init(Main.java:48)at org.wso2.andes.server.Main.main(Main.java:41)at org.wso2.carbon.andes.internal.QpidServiceComponent.startAndesBroker(QpidServiceComponent.java:330) at org.wso2.carbon.andes.internal.QpidServiceComponent.setHazelcastInstance(QpidServiceComponent.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950) at org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:223) at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:174) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at
Re: [Dev] GSOC2015:PROJECT
Hi, You can find all the necessary libraries in the Maven Repository [1]. Please use the latest version of spark (v1.2.1). [1] http://mvnrepository.com/artifact/org.apache.spark Regards, Supun On Fri, Mar 13, 2015 at 6:27 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I checked the methods of apache spark. Some of them are related to wrangler script. I run spark as a maven project. But I am not able to run example code in java. Because it asking about the libraries. I found some simple example from stackoverflow . But I am not able to find the library of spark.apache. So can you please give me some idea about those libraries. On Thu, Mar 12, 2015 at 11:35 AM, Supun Sethunga sup...@wso2.com wrote: Hi Tharinda, Please find the comments inline. I think the major part of this project is create a back end of java code created using wrangler script. Yes. Wrangler scripts are mostly done by javascript. So I need to convert those into java. Yes. Further, java code should be Apache Spark Transformation. Please refer my previous mail for details on Spark. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. You have to come up with a solution and an implementation for this. It is the core part of the project :) Feel free to contact us if you need further clarifications. Regards, Supun On Thu, Mar 12, 2015 at 1:04 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I think the major part of this project is create a back end of java code created using wrangler script. Wrangler scripts are mostly done by javascript. So I need to convert those into java. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. Thank you. Tharinda. On Wed, Mar 11, 2015 at 3:45 AM, Supun Sethunga sup...@wso2.com wrote: Hi Tharinda, Ultimately, the java code created using the wrangler script (after conversion), should be able to used as an Apache Spark [1] Transformations [2]. (at the back-end) On a side note, please use the WSO2 dev mailing list for any project related communication :) [1] https://spark.apache.org/ [2] http://spark.apache.org/docs/1.2.0/programming-guide.html#transformations Regards, Supun On Wed, Mar 11, 2015 at 7:52 AM, Nirmal Fernando nir...@wso2.com wrote: Yes, that's exactly what we want ! On Wed, Mar 11, 2015 at 3:30 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: I checked the libraries on wrangler. I think that you mentioned can be done using the libraries. What I think is get the libraries from wrangler and create a back-end for the interface created using jaggery. Wrangler script to java converter can be add to the back-end also. On Tue, Mar 10, 2015 at 4:10 AM, Nirmal Fernando nir...@wso2.com wrote: Remotely connecting to Wrangler (hosted service) is not a good option. What we expect is we take their library (it's Open source) and use the API to perform the transformations and cleaning. Could you please check the feasibility of that? On Tue, Mar 10, 2015 at 9:34 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I drew what I understood the project to be. If one wants to do data cleaning and transformation he need to connect to the wrangler directly. That is what I mean from the first two blocks. If they have a customized UI you can do data cleaning and transformation using ML also. They don't need to connect to the wrangler. Another thing i realized that is they don't need all the operations in wrangler. They need some specific subset of operations only. What I mean from the bottom block is the UI created using Jaggery interfacing between ML and the wrangler. On Tue, Mar 10, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Tharindu, Thanks for the diagram. Do you mind explaining the diagram? On Tue, Mar 10, 2015 at 3:27 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Here I attached a simple design of project development. Can you give me some comments about this. Thank you. On Mon, Mar 9, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Our ultimate goal is to provide data cleaning and transformation. Hence, Tharindu, you need to pick the things that is sufficient to perform those operations. What we prefer is a D3 based UI. On Sun, Mar 8, 2015 at 10:34 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Wrangler already has a UI. I think that you excepting customized UI for Wrangler using Jaggery. Which kind of conditions and options do you excepting from that UI. Thanks. On Sat, Mar 7, 2015 at 2:13 PM, Tharinda Ehelepola tharinda...@gmail.com wrote:
Re: [Dev] How to work with remote debug
Hi Naasheer, Please have a look in the following blog post. [1]http://dweebslair.blogspot.com/2014/02/wso2-esb-4.html On Fri, Mar 13, 2015 at 10:58 AM, Naasheer Ali naashe...@wso2.com wrote: Hi, I'm trying to fix a jira issue (ESBJAVA-3311). Any suggestion or reference to subject. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a thili...@wso2.comnurudd...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB][Clustering] Error Invoking Proxy Service - Invalid protocol version:209 : Error Code: 101509
Hi Kala, I was also unable to resolve the issue. The problem seems to be in the ELB. Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Fri, Mar 13, 2015 at 8:38 AM, Kala Weerawardana k...@wso2.com wrote: Hi, I tried to invoke a proxy service in an ESB cluster and gets the same error. [2015-03-13 03:05:09,858] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:505) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:334) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:306) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:101) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141) at com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.flush(UTF8OutputStreamWriter.java:138) at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.close(XMLStreamWriterImpl.java:376) at org.apache.axiom.util.stax.wrapper.XMLStreamWriterWrapper.close(XMLStreamWriterWrapper.java:46) at org.apache.axiom.om.impl.MTOMXMLStreamWriter.close(MTOMXMLStreamWriter.java:188) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:197) at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74) at org.apache.synapse.transport.passthru.PassThroughHttpSender.sendUsingOutputStream(PassThroughHttpSender.java:297) at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:261) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:321) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:94) 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.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:268) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Any thoughts about this please? Thanks, Kala On Thu, Feb 5, 2015 at 2:25 PM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi all, I have a ESB cluster setup with ESB M5 release (1 manager, 2 workers). Verified that DepSync is working correctly. I have activated JMS transports and have ActiveMQ running. However, when I try to invoke the proxy service, using Sample Stock Quote Client, I am getting the below errors. Verified that the request is successfully sent to the server on the first request. For second request the server doesn't receive the request and load balancer shows Error Code: 101509. *Request : * ant stockquote -Daddurl=http://esb.wso2.com:8280/services/StockP/ -Dmode=placeorder *For the first request: * *On management node : * [2015-02-05 14:17:35,925] ERROR - NativeWorkerPool Uncaught exception java.lang.NullPointerException at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:210) at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41) at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:117) at
Re: [Dev] Implementation of API Manager-API Life Cycle Integration Test Cases
Hi Krishantha, I Updated the document with test classes mapping . Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Thu, Mar 12, 2015 at 8:01 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Saneth, Can you update the QA test case document with correct mapping for test classes. Thanks, Krishantha. On Thu, Mar 12, 2015 at 7:51 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Please find the progress update of phase2, Pull request : https://github.com/wso2/product-apim/pull/49 This pull request contains, - Migration of test method to test classes that were developed in phase1. - New scenarios covered in Phase 2. - New base class was introduced to lifecycle test cases. - @BeforeTest and @AftterTest methods was introduced to do the configurations and restore those changes at the end of the lifecycle tests. - Add cleanup methods to remove the created/publish and subscribed APIs at the end of each test. - Completed test classes as follow (11 Classes and 44 test methods ). - AccessibilityOfBlockAPITestCase - AccessibilityOfDeprecatedOldAPIAndPublishedCopyAPITestCase - AccessibilityOfOldAPIAndCopyAPIWithOutReSubscriptionTestCase - AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase - AccessibilityOfRetireAPITestCase - APIAccessibilityOfPublishedOldAPIAndPublishedCopyAPITestCase - APIPublishingAndVisibilityInStoreTestCase - ChangeAPIBackendURLTestCase - ChangeAPITagsTestCase - EditAPIAndCheckUpdatedInformationTestCase - EditAPIContextAndCheckAccessibilityTestCase Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 8:00 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, Please find the progress update, I have finished following test cases. - testAPIPublishingAndVisibilityInStore - testAccessibilityOfPublishedOldAPIAndPublishedCopyAPI - testAccessibilityOfDeprecatedOldAPIAndPublishedCopyAPI - testAccessibilityOfOldAPIAndCopyAPIWithReSubscription - testAccessibilityOfOldAPIAndCopyAPIWithOutReSubscription - testAccessibilityOfBlockAPI - testAccessibilityOfRetireAPI Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Mon, Mar 2, 2015 at 5:53 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, I am working on $subject, test scenarios will be based on [1] API-M 1.9.0 Test Plan document (under API Life Cycle Tab). [1]API-M 1.9.0 Test Plan https://docs.google.com/a/wso2.com/spreadsheets/d/1SiktQWh463KZzr86ADqBnsyyHa2Tre-fIlGYvYRQfTQ/edit#gid=78 Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- 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] [IS]Can not access oauth2 authorize endpoint url
Hi Hasanthi, Jars inside plugins directory are written in the bundles.info file. Though you replace a jar with a new version, it won't get affected since original version is written in bundles.info file. You can apply the new jar as a patch or place the new jar inside droppings folder (given the jar is an OSGI bundle. Else place it in lib folder). Since the new jar is a newer version, IMO placing it in droppings folder is bit better. Normally we patch the jar with the same version. On Thu, Mar 12, 2015 at 9:51 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi Tharindu, I solved the problem by creating a higher patch number inside the patches folder as you suggested. Thanks for your guidance. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 9:24 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, Replacing the jar files directly in the plugins folder is not recommended because when you start IS, the jars in the plugins folder can get replaced by the jars in patch folders. Can you create a folder with a higher patch number than existing (eg : patch0999) inside IS_HOME/repository/components/patches folder and copy the particular jar file into that. Then restart IS. Regards, Tharindu On Thu, Mar 12, 2015 at 9:04 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi Tharindu, No I did not create a patch folder. I just replaced the spring.framework_3.2.9.wso2v1.jar inside product-is/modules/distribution/target/wso2is-5.1.0-SNAPSHOT/repository/components/plugins with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. Please guide me what should I do to recover from the above error. Thanks. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 8:44 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the jar inside it ? Regards, Tharindu On Thu, Mar 12, 2015 at 8:12 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
Re: [Dev] [DEV][MB] Error when configuring mb in cluster mode with mysql
Hi Megala, Please ensure that your mysql database is accessible via the URL you have provided with the username and passowrd. I believe the url paramter should be something like this. urljdbc:mysql://localhost:3306/WSO2_MB http://10.100.4.40/WSO2_MB/url regards Awanthika On Thu, Mar 12, 2015 at 12:27 PM, Harsha Kumara hars...@wso2.com wrote: Hi Megala, Seems the issue with getting database connection. Your master data sources file *jdbc/MySQLMessageStore *has jdbc:mysql://10.100.4.40/WSO2_MB. Did you expose the mysql server through that IP or if not try with localhost with correct root username and password. Thanks, Harsha On Thu, Mar 12, 2015 at 12:19 PM, Megala Uthayakumar meg...@wso2.com wrote: Hi, I am getting following error when running the mb 3.0 in cluster mode with mysql. Cluster setup - 4 nodes mb and mysql server *Exception during startup: java.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverjava.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverat org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:266) at org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:147) at org.wso2.andes.server.Broker.startupImpl(Broker.java:153)at org.wso2.andes.server.Broker.startup(Broker.java:114)at org.wso2.andes.server.Main.startBroker(Main.java:218)at org.wso2.andes.server.Main.execute(Main.java:207)at org.wso2.andes.server.Main.init(Main.java:48)at org.wso2.andes.server.Main.main(Main.java:41)at org.wso2.carbon.andes.internal.QpidServiceComponent.startAndesBroker(QpidServiceComponent.java:330) at org.wso2.carbon.andes.internal.QpidServiceComponent.setHazelcastInstance(QpidServiceComponent.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950) at org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:223) at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:174) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at
Re: [Dev] [APIM] First API invocation failed after re-subscription when a false invocation done before the re-subscription
Hi Nuwan, With EnableGatewayKeyCache*false*/EnableGatewayKeyCache it is working correctly. First new API invocation after re-subscription is not getting failed even a false invocation happens before doing the re-subscription. But it is strange the behaviour with EnableGatewayKeyCache*true*/EnableGatewayKeyCache, because first new API invocation after re-subscription is getting failed when false invocation happens before doing the re-subscription and first API invocation after re-subscription is not getting failed when false invocation is not attempt before doing the re-subscription. Can't this be a issue with caching mechanism? because with or without cash, the first invocation after re-subscription should pass regardless of what has happened before the re-subscription. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 13, 2015 at 9:24 AM, Nuwan Dias nuw...@wso2.com wrote: Hi Saneth, I think this is due to the caching of the older token. Can you please try again by setting EnableGatewayKeyCache to 'false' in the api-manager.xml? Thanks, NuwanD. On Fri, Mar 13, 2015 at 8:51 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: [Adding: Kala and Krishantha ] Hi, I tested this issue with both 1.9.0 SNAPSHOT version and 1.8.0. Both versions I was able to recreate the isssue. I created Jira :APIMANAGER-3374 [1] for tracking purpose. Automation test case AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase [2] will be disable until this issue is fixed. I have updated the API-M 1.9.0 Test Plan [3] with JIRA information. [1] https://wso2.org/jira/browse/APIMANAGER-3374 [2] org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfOldAPIAndCopyAPIWithReSubscriptionTestCase.java [3] API-M 1.9.0 Test Plan Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Fri, Mar 6, 2015 at 10:14 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, 1. After copy and publish a new API version with the require re-subscription option and invoke the new API version without doing re-subscription it give an error, which is correct. 2. But after that if I do a re-subscription and invoke the new API version again, the first new API version invocation after re-subscription is getting failed and getting success from 2nd invocation after re-subscription. 3. This behaviour is not happening if I do not invoke the new API version before doing the re-subscription. In that case, first invocation of new API version after re-subscription is getting succeed. Is there any reason for the above 2nd observation?. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to work with remote debug
Hi, I'm trying to fix a jira issue (ESBJAVA-3311). Any suggestion or reference to subject. Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naashe...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [IS]Can not access oauth2 authorize endpoint url
Hi Tharindu, No I did not create a patch folder. I just replaced the spring.framework_3.2.9.wso2v1.jar inside product-is/modules/distribution/target/wso2is-5.1.0-SNAPSHOT/repository/components/plugins with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. Please guide me what should I do to recover from the above error. Thanks. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 8:44 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the jar inside it ? Regards, Tharindu On Thu, Mar 12, 2015 at 8:12 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160) org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74) org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183) org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146) org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
Re: [Dev] [IS]Can not access oauth2 authorize endpoint url
Hi Tharindu, I solved the problem by creating a higher patch number inside the patches folder as you suggested. Thanks for your guidance. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 9:24 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, Replacing the jar files directly in the plugins folder is not recommended because when you start IS, the jars in the plugins folder can get replaced by the jars in patch folders. Can you create a folder with a higher patch number than existing (eg : patch0999) inside IS_HOME/repository/components/patches folder and copy the particular jar file into that. Then restart IS. Regards, Tharindu On Thu, Mar 12, 2015 at 9:04 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi Tharindu, No I did not create a patch folder. I just replaced the spring.framework_3.2.9.wso2v1.jar inside product-is/modules/distribution/target/wso2is-5.1.0-SNAPSHOT/repository/components/plugins with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. Please guide me what should I do to recover from the above error. Thanks. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 8:44 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the jar inside it ? Regards, Tharindu On Thu, Mar 12, 2015 at 8:12 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160) org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)
Re: [Dev] [IS]Can not access oauth2 authorize endpoint url
Hi Hasanthi, As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the jar inside it ? Regards, Tharindu On Thu, Mar 12, 2015 at 8:12 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160) org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74) org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183) org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146) org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
Re: [Dev] [IS]Can not access oauth2 authorize endpoint url
Hi Hasanthi, Replacing the jar files directly in the plugins folder is not recommended because when you start IS, the jars in the plugins folder can get replaced by the jars in patch folders. Can you create a folder with a higher patch number than existing (eg : patch0999) inside IS_HOME/repository/components/patches folder and copy the particular jar file into that. Then restart IS. Regards, Tharindu On Thu, Mar 12, 2015 at 9:04 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi Tharindu, No I did not create a patch folder. I just replaced the spring.framework_3.2.9.wso2v1.jar inside product-is/modules/distribution/target/wso2is-5.1.0-SNAPSHOT/repository/components/plugins with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. Please guide me what should I do to recover from the above error. Thanks. Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com nirosh...@wso2.com M :0718407133| http://wso2.com http://wso2.com/ On Thu, Mar 12, 2015 at 8:44 PM, Tharindu Edirisinghe tharin...@wso2.com wrote: Hi Hasanthi, As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1. jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 How did you replace the jar ? Did you create a new patch folder with a large number than the existing patches and put the jar inside it ? Regards, Tharindu On Thu, Mar 12, 2015 at 8:12 PM, Hasanthi Purnima Dissanayake hasan...@wso2.com wrote: Hi team, I am developing openid session management as my fast track training project. when I'm using [1] as the authorize endpoint url I got below error. As per the instructions I got, I replaced spring.framework_3.2.9.wso2v1.jar with spring.framework_3.1.0.wso2v1.jar which is inside patch in the IS 5.0.0 release. But still I get the same error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokEP': Cannot resolve reference to bean 'authzEndpointBean' while setting bean property 'serviceBeans' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authzEndpointBean' defined in URL [jndi:/localhost/oauth2/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/wso2/carbon/identity/oauth/cache/CacheKey org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516) org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:160) org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74) org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:71) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
[Dev] [Announce] WSO2 App Factory 2.1.0 RC Released!
WSO2 App Factory 2.1.0 RC Released! WSO2 App Factory team is pleased to announce the release of version 2.1.0 RC of the WSO2 App Factory. WSO2 App Factory is a multi-tenant, elastic and self-service enterprise platform that enables multiple project teams to collaboratively create, run and manage enterprise applications. Combining complete application lifecycle management and Platform-as-a-Service (PaaS) capabilities, WSO2 App Factory makes it possible to develop, test, deploy to production and retire applications with a single click. It also provides an easy way to discover and consume apps and APIs through a user-friendly storefront. The distribution is available to download at [1] . Bug fixes in this release can be found at [2]. Source repository for App Factory can be found at [3]. Puppet manifests for App Factory can be found at [4]. We encourage you to report issues, documentation faults and feature requests regarding WSO2 App Factory through the public WSO2 App Factory JIRA [5]. [1] https://svn.wso2.org/repos/wso2/scratch/appfactorycc_tags/2.1.0-RC/packs/wso2appfactory-2.1.0.zip [2] https://wso2.org/jira/issues/?jql=project%20%3D%20APPFAC%20AND%20fixVersion%20%3D%20%222.1.0%20RC1%22%20AND%20status%20%3D%20Resolved%20ORDER%20BY%20priority%20DESC [3] https://github.com/wso2/product-af/tree/release-2.1.0 [4] https://github.com/wso2/product-af/tree/release-2.1.0/modules/puppet-manifests [5] https://wso2.org/jira/browse/APPFAC -- The WSO2 App Factory Team -- -- Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] [Cluster] Error when trying to log in with the created tenants
Hi Kala, Can you provide the error trace here. Thank you. On Thu, Mar 12, 2015 at 8:19 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi Kala, What is the ESB version you are using here ? mean time can you attach the wso2carbon.log file. Thanks Godwin On Thu, Mar 12, 2015 at 8:16 PM, Kala Weerawardana k...@wso2.com wrote: Hi, I created an ESB cluster fronted by ELB. Created a LDAP server through ApacheDS. When creating a tenant the bellow error occurred. ERROR - TenantPersistor Error in changing the tenant admin password for tenant domain: To fix this, I applied the patch related to [1]. The problem solved and I was able to create tenants without a problem. - Now when I try to log in with the created tenants I get an error saying, Login failed! Please recheck the username and password and try again. - Then I tried to edit the tenant giving a new password and update. Got an error saying, ERROR - TenantMgtAdminService Error in changing the tenant admin password, tenant domain: Is there a solution for this? [1] - https://wso2.org/jira/browse/CARBON-15187 Thank you, Kala -- Kala C. Weerawardana *Software Engineer - QA Team* *WSO2 Inc. * Mobile : +94 (0) 716189886 +94 (0) 772877683 Blog : http://castakai.blogspot.com k...@wso2.com -- *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 -- 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] [Jaggery] From where does getOutputs in block files are called?
I just found that it is called like this via includeBlock. % jagg.includeBlock(subscription/subscription-list-element, {app:selectedApp,i:900}); % Thanks, Bhathiya On Thu, Mar 12, 2015 at 6:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, In a Jaggery block file, there is below function. getOutputs:function (inputs) { //some logic } Can someone please tell me who calls this function (when a template is loading) because I want to know at where this input value is populated. Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSOC2015:PROJECT
Hi, I checked the methods of apache spark. Some of them are related to wrangler script. I run spark as a maven project. But I am not able to run example code in java. Because it asking about the libraries. I found some simple example from stackoverflow . But I am not able to find the library of spark.apache. So can you please give me some idea about those libraries. On Thu, Mar 12, 2015 at 11:35 AM, Supun Sethunga sup...@wso2.com wrote: Hi Tharinda, Please find the comments inline. I think the major part of this project is create a back end of java code created using wrangler script. Yes. Wrangler scripts are mostly done by javascript. So I need to convert those into java. Yes. Further, java code should be Apache Spark Transformation. Please refer my previous mail for details on Spark. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. You have to come up with a solution and an implementation for this. It is the core part of the project :) Feel free to contact us if you need further clarifications. Regards, Supun On Thu, Mar 12, 2015 at 1:04 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I think the major part of this project is create a back end of java code created using wrangler script. Wrangler scripts are mostly done by javascript. So I need to convert those into java. I was not able to find some method. Other ways of doing this is used common methods like split,merge.. etc easily find on java. Rest of the methods are convert by manually. Is there any method to convert those scripts to java. Thank you. Tharinda. On Wed, Mar 11, 2015 at 3:45 AM, Supun Sethunga sup...@wso2.com wrote: Hi Tharinda, Ultimately, the java code created using the wrangler script (after conversion), should be able to used as an Apache Spark [1] Transformations [2]. (at the back-end) On a side note, please use the WSO2 dev mailing list for any project related communication :) [1] https://spark.apache.org/ [2] http://spark.apache.org/docs/1.2.0/programming-guide.html#transformations Regards, Supun On Wed, Mar 11, 2015 at 7:52 AM, Nirmal Fernando nir...@wso2.com wrote: Yes, that's exactly what we want ! On Wed, Mar 11, 2015 at 3:30 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: I checked the libraries on wrangler. I think that you mentioned can be done using the libraries. What I think is get the libraries from wrangler and create a back-end for the interface created using jaggery. Wrangler script to java converter can be add to the back-end also. On Tue, Mar 10, 2015 at 4:10 AM, Nirmal Fernando nir...@wso2.com wrote: Remotely connecting to Wrangler (hosted service) is not a good option. What we expect is we take their library (it's Open source) and use the API to perform the transformations and cleaning. Could you please check the feasibility of that? On Tue, Mar 10, 2015 at 9:34 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, I drew what I understood the project to be. If one wants to do data cleaning and transformation he need to connect to the wrangler directly. That is what I mean from the first two blocks. If they have a customized UI you can do data cleaning and transformation using ML also. They don't need to connect to the wrangler. Another thing i realized that is they don't need all the operations in wrangler. They need some specific subset of operations only. What I mean from the bottom block is the UI created using Jaggery interfacing between ML and the wrangler. On Tue, Mar 10, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Hi Tharindu, Thanks for the diagram. Do you mind explaining the diagram? On Tue, Mar 10, 2015 at 3:27 AM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Here I attached a simple design of project development. Can you give me some comments about this. Thank you. On Mon, Mar 9, 2015 at 2:16 AM, Nirmal Fernando nir...@wso2.com wrote: Our ultimate goal is to provide data cleaning and transformation. Hence, Tharindu, you need to pick the things that is sufficient to perform those operations. What we prefer is a D3 based UI. On Sun, Mar 8, 2015 at 10:34 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Wrangler already has a UI. I think that you excepting customized UI for Wrangler using Jaggery. Which kind of conditions and options do you excepting from that UI. Thanks. On Sat, Mar 7, 2015 at 2:13 PM, Tharinda Ehelepola tharinda...@gmail.com wrote: Hi, Thanks for your response. I have some idea about both Data Wrangler API and Jaggery. I'll try to bulid a UI. Thanks. On Sat, Mar 7, 2015 at 11:04 AM, Nirmal Fernando nir...@wso2.com wrote: On Sat, Mar 7, 2015 at 4:34 PM, Nirmal Fernando nir...@wso2.com wrote: Hi
Re: [Dev] WSO2 Committers += Dinesh J Weerakkody
Congratulations Dinesh !!! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Mar 12, 2015 at 5:29 PM, Ashan Dhananjaya ash...@wso2.com wrote: Congratulations Dinesh! Ashan Dhananjaya Kumara Trainee Software Engineer, WSO2 Inc. Inc: *WSO2 Inc. * Phone : +94715547461 Blog : http://ashandhananjaya.blogspot.com/ Twitter : https://twitter.com/Dhananjaya92 Say ello :https://ello.co/ashandk On Thu, Mar 12, 2015 at 4:53 PM, Supun Sethunga sup...@wso2.com wrote: Congratz Dinesh! On Thu, Mar 12, 2015 at 10:26 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Dinesh! On Thu, Mar 12, 2015 at 10:22 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Dinesh !! On Thu, Mar 12, 2015 at 10:20 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Congratz dinesh ! . On Thu, Mar 12, 2015 at 10:18 AM, Asok Perera as...@wso2.com wrote: Congratz Dinesh ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Thu, Mar 12, 2015 at 10:05 AM, Kasun De Silva kas...@wso2.com wrote: Congratz !!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Mar 12, 2015 at 10:03 AM, Niranda Perera nira...@wso2.com wrote: Congrats machan! :-) On Thu, Mar 12, 2015 at 10:01 AM, Jerad Rutnam je...@wso2.com wrote: Congratulations Dinesh! :) On Thu, Mar 12, 2015 at 9:51 AM, Madusanka Premaratne madusan...@wso2.com wrote: Congrats Dinesh.!!! On Thu, Mar 12, 2015 at 9:45 AM, Thilini Cooray thili...@wso2.com wrote: Congratulations, Dinesh. On Thu, Mar 12, 2015 at 9:42 AM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Dinesh..! On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Congratulations Dinesh ..! On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations Dinesh :) ! On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Dinesh !!! On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka tha...@wso2.com wrote: Congratulations Dinesh On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala ravin...@wso2.com wrote: Congratulations Dinesh ! On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva chama...@wso2.com wrote: congrats! On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats! On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias nuw...@wso2.com wrote: Hi, It is with great pleasure we welcome DineshW as a WSO2 Committer. @Dinesh, congratulations and keep up the good work! Thanks, NuwanD. -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chamalee De Silva Software Engineer | WSO2 E:chama...@wso2.com nirosh...@wso2.com M :0711540738| http://wso2.com http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: tha...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94719397528 Blog : techreadme.blogspot.com ___ Dev mailing list Dev@wso2.org
[Dev] WSDL generation for SOAP webservice ISSUE
I am trying to write a carbon component by referring link http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ I can generate the correct WSDL file for a simple service But when the service class is kind of complex, I get the following issue, when trying to test the wsdl using SOAP UI *Source:* https://10.100.4.135:9443/services/DashboardAdminService?wsdl *Error:* type 'Enum@http://www.w3.org/2001/XMLSchema' not found. I googled the issue and found this on stackoverflow http://stackoverflow.com/questions/6017441/generate-wsdl-file-and-webservice-client-based-on-wsdl-file-in-maven But I am unable to solve the issue What can I do to solve this? Note- I think the problem is when trying to convert complex objects(objects inside objects) into xml I have attached below the WSDL file here, in it, the widgets element is a complex object in the corresponding service class Thank You and Kind Regards -- Pubudu Dodangoda BSc Engineering(Hon's) Undergraduate Department of Computer Science Engineering University of Moratuwa 0716053681 / 0775192994 wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:ns1=http://org.apache.axis2/xsd; xmlns:ns=http://admin.dashboard.analytics.carbon.wso2.org; xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/; targetNamespace=http://admin.dashboard.analytics.carbon.wso2.org; wsdl:documentationDashboardAdminService/wsdl:documentation wsdl:types xs:schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://data.admin.dashboard.analytics.carbon.wso2.org/xsd; xs:complexType name=DataView xs:sequence xs:element maxOccurs=unbounded minOccurs=0 name=columns nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=dataSource nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=filter nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=name nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=type nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=widgets nillable=true type=xs:anyType/xs:element /xs:sequence /xs:complexType /xs:schema xs:schema attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://context.carbon.wso2.org/xsd; xs:complexType name=RegistryType xs:complexContent xs:extension base=xs:Enum xs:sequence/xs:sequence /xs:extension /xs:complexContent /xs:complexType /xs:schema xs:schema xmlns:ax26=http://context.carbon.wso2.org/xsd; xmlns:ax24=http://data.admin.dashboard.analytics.carbon.wso2.org/xsd; attributeFormDefault=qualified elementFormDefault=qualified targetNamespace=http://admin.dashboard.analytics.carbon.wso2.org; xs:import namespace=http://data.admin.dashboard.analytics.carbon.wso2.org/xsd;/xs:import xs:import namespace=http://context.carbon.wso2.org/xsd;/xs:import xs:element name=registryTest xs:complexType xs:sequence/xs:sequence /xs:complexType /xs:element xs:element name=getDataView xs:complexType xs:sequence xs:element minOccurs=0 name=name nillable=true type=xs:string/xs:element /xs:sequence /xs:complexType /xs:element xs:element name=getDataViewResponse xs:complexType xs:sequence xs:element minOccurs=0 name=return nillable=true type=ax23:DataView/xs:element /xs:sequence /xs:complexType /xs:element xs:element name=setDataview xs:complexType xs:sequence xs:element minOccurs=0 name=dataview nillable=true type=ax23:DataView/xs:element /xs:sequence /xs:complexType /xs:element xs:element name=readFromRegistry xs:complexType xs:sequence xs:element minOccurs=0 name=url nillable=true type=ax25:RegistryType/xs:element xs:element minOccurs=0 name=targetClass nillable=true type=xs:string/xs:element xs:element minOccurs=0 name=args2 nillable=true type=xs:anyType/xs:element /xs:sequence /xs:complexType
Re: [Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error
Hi Maheeka, Did you try whats suggest in the following mail thread? [1] [Dev] org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException is throwing GIT built apim Regards On Thu, Mar 12, 2015 at 5:02 PM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi Automation Team, I am getting the below error at the end of integration test execution. Can you explain the cause of this, and how to avoid? INFO [org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener] - Inside Test Suite Listener - On Finish INFO [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] - Inside Test Execution Listener - On Finish INFO [org.wso2.carbon.automation.extensions.servers.axis2server.Axis2ServerManager] - Stopping sample Axis2 server INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOListener] - HTTP Listener Shutdown INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOSender] - HTTP Sender Shutdown INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,630] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,630+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser11 INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser21 INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,808] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,808+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - wso2.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,998] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,998+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - abc.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:17,175] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:17,175+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - malintha.com INFO [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager] - Shutting down server.. INFO [org.wso2.carbon.integration.common.utils.ClientConnectionUtil] - Successfully connected to the server on port 9443 INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 -
Re: [Dev] [App Factory] User's invited to an application does not see the application until re login
Hi Guys, Don't over engineer. Please look at famous websites. Look how GitHub handle stuff. thanks, dimuthu On Thu, Mar 12, 2015 at 2:54 PM, Manjula Rathnayake manju...@wso2.com wrote: Hi Gayan, It is JMS pub/sub model we have implemented for showing error messages to the users with guaranteed delivery. thank you. On Thu, Mar 12, 2015 at 2:50 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Manjula, Since we don't send mails when the users are invited to an application as of yet we would be needing some other way of doing this if it is essential. IMO, a messaging mechanism won't work since this is the logged in user's session that we are talking about. Another thing that we can do is to notify the user via the user notification wall. WDYT ? Regards On Thu, Mar 12, 2015 at 2:31 PM, Manjula Rathnayake manju...@wso2.com wrote: Hi all, IMO, the current behavior is ok because inviting to an application is followed by an email and we can mention to login in and check. But if above is really an issue we need to attend, we should be able to use guaranteed delivery messages to send the new event about new application and update the applications in session. thank you. On Thu, Mar 12, 2015 at 2:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, Let's look at a simple scenario. User A and User B logs into AF. User A creates an application and invite user B into that application. Currently until user B logs out and login, he does not see the application. This is due to keeping user's application information in the session. The application information in the session is updated only when the user logs in. One thing that can be done is we can have a back end cache to track the users who are invited to an application and during the user home page load, a back end check can be done to check the cache and update the user home by reloading the application list. But this may introduce a overhead to the user home page. WDYT ? Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Manjula Rathnayaka Software Engineer WSO2, Inc. Mobile:+94 77 743 1987 -- Dimuthu Leelarathne Architect 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] WSDL generation for SOAP webservice ISSUE
Hi Pubudu, Maybe Enums are not supported in Axis2, maybe Sagara may know more about this. As a quick workaround, avoid using Enums in the service and use something else to represent that, either a string value or something suitable. Cheers, Anjana. On Thu, Mar 12, 2015 at 5:36 PM, Pubudu Dodangoda pubu...@wso2.com wrote: I am trying to write a carbon component by referring link http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ I can generate the correct WSDL file for a simple service But when the service class is kind of complex, I get the following issue, when trying to test the wsdl using SOAP UI *Source:* https://10.100.4.135:9443/services/DashboardAdminService?wsdl *Error:* type 'Enum@http://www.w3.org/2001/XMLSchema' not found. I googled the issue and found this on stackoverflow http://stackoverflow.com/questions/6017441/generate-wsdl-file-and-webservice-client-based-on-wsdl-file-in-maven But I am unable to solve the issue What can I do to solve this? Note- I think the problem is when trying to convert complex objects(objects inside objects) into xml I have attached below the WSDL file here, in it, the widgets element is a complex object in the corresponding service class Thank You and Kind Regards -- Pubudu Dodangoda BSc Engineering(Hon's) Undergraduate Department of Computer Science Engineering University of Moratuwa 0716053681 / 0775192994 -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error
Hi Maheeka, Test framework shutdown the server forcefully at the end all test suite execution. This error is thrown when forcefully shutting down the server. You better manually shutdown the ESB server and check this. Thanks, Krishantha. On Thu, Mar 12, 2015 at 5:39 PM, Dimuthu De Lanerolle dimut...@wso2.com wrote: Hi Maheeka, Did you try whats suggest in the following mail thread? [1] [Dev] org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException is throwing GIT built apim Regards On Thu, Mar 12, 2015 at 5:02 PM, Maheeka Jayasuriya mahe...@wso2.com wrote: Hi Automation Team, I am getting the below error at the end of integration test execution. Can you explain the cause of this, and how to avoid? INFO [org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener] - Inside Test Suite Listener - On Finish INFO [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] - Inside Test Execution Listener - On Finish INFO [org.wso2.carbon.automation.extensions.servers.axis2server.Axis2ServerManager] - Stopping sample Axis2 server INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOListener] - HTTP Listener Shutdown INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOSender] - HTTP Sender Shutdown INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,630] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,630+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser11 INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser21 INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,808] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,808+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - wso2.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,998] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,998+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - abc.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:17,175] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:17,175+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - malintha.com INFO [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager] - Shutting down
Re: [Dev] WSO2 Committers += Dinesh J Weerakkody
Congratz Dinesh! On Thu, Mar 12, 2015 at 10:26 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Dinesh! On Thu, Mar 12, 2015 at 10:22 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Dinesh !! On Thu, Mar 12, 2015 at 10:20 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Congratz dinesh ! . On Thu, Mar 12, 2015 at 10:18 AM, Asok Perera as...@wso2.com wrote: Congratz Dinesh ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Thu, Mar 12, 2015 at 10:05 AM, Kasun De Silva kas...@wso2.com wrote: Congratz !!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Mar 12, 2015 at 10:03 AM, Niranda Perera nira...@wso2.com wrote: Congrats machan! :-) On Thu, Mar 12, 2015 at 10:01 AM, Jerad Rutnam je...@wso2.com wrote: Congratulations Dinesh! :) On Thu, Mar 12, 2015 at 9:51 AM, Madusanka Premaratne madusan...@wso2.com wrote: Congrats Dinesh.!!! On Thu, Mar 12, 2015 at 9:45 AM, Thilini Cooray thili...@wso2.com wrote: Congratulations, Dinesh. On Thu, Mar 12, 2015 at 9:42 AM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Dinesh..! On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Congratulations Dinesh ..! On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations Dinesh :) ! On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Dinesh !!! On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka tha...@wso2.com wrote: Congratulations Dinesh On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala ravin...@wso2.com wrote: Congratulations Dinesh ! On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva chama...@wso2.com wrote: congrats! On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats! On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias nuw...@wso2.com wrote: Hi, It is with great pleasure we welcome DineshW as a WSO2 Committer. @Dinesh, congratulations and keep up the good work! Thanks, NuwanD. -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chamalee De Silva Software Engineer | WSO2 E:chama...@wso2.com nirosh...@wso2.com M :0711540738| http://wso2.com http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: tha...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94719397528 Blog : techreadme.blogspot.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 -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com
Re: [Dev] [GSoC-2015] Proposal 3: ESB - Netty transport enhancements
Hi Achintha, Ok lets meet I will inform you. Thanks On Thu, Mar 12, 2015 at 9:51 AM, Achintha Reemal achin...@wso2.com wrote: Hi Isuru, Will it be possible to have a little discussion on how Netty Transport for Pass-thru has being implemented, as it would help me grasp the intentions behind the project deliverables. Regards On Tue, Mar 10, 2015 at 1:58 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi Achintha, You can find source code from [1] [1]https://github.com/isururanawaka/wso2-synapse/tree/nettytransport On Tue, Mar 10, 2015 at 1:55 PM, Achintha Reemal achin...@wso2.com wrote: Hi Isuru, I have followed the articles that you have provided and gained a general level of understanding on how the message flow works.To get an idea on how the current Netty transport is being implemented, where can I find the source of this implementation?. Regards, On Tue, Mar 3, 2015 at 8:39 PM, Achintha Reemal achin...@wso2.com wrote: Hi Isuru, Thank you for the resources. Regards, On Tue, Mar 3, 2015 at 5:50 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi Achintha, Thanks for your interest in this project and as a start you need to understand the ESB architecture and mesage flow in pass through transport. For that you can read below resource and feel free to ask any question regarding this. [1] http://wso2.com/library/articles/2013/12/demystifying-wso2-esb-pass-through-transport-part-i/ [2] http://isurur.blogspot.com/2014/07/wso2-esb-message-flow.html Thanks IsuruR On Tue, Mar 3, 2015 at 5:38 PM, Achintha Reemal achin...@wso2.com wrote: Hi, I am Achintha Reemal, an Undergraduate from Department of Computer Science and Engineering, University of Moratuwa. I'm currently working as an Intern at WSO2. I am interested in the following proposal [1] https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2 and look forward to contribute for its development. [1] https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal3:ESB-Nettytransportenhancements Regards, -- *G.H.Achintha Reemal* *BSc Eng Undergraduate| Department of Computer Science Engineering | University of Moratuwa* *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* *Blog|** rimmythepaperclip.blogspot.com http://rimmythepaperclip.blogspot.com* *Twitter|* @rimmynuts(A.Reemal) *LinkedIn|* lk.linkedin.com/in/achinthareemal/ *Mobile| *0715471301 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- *G.H.Achintha Reemal* *BSc Eng Undergraduate| Department of Computer Science Engineering | University of Moratuwa* *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* *Blog|** rimmythepaperclip.blogspot.com http://rimmythepaperclip.blogspot.com* *Twitter|* @rimmynuts(A.Reemal) *LinkedIn|* lk.linkedin.com/in/achinthareemal/ *Mobile| *0715471301 -- *G.H.Achintha Reemal* *BSc Eng Undergraduate| Department of Computer Science Engineering | University of Moratuwa* *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* *Blog|** rimmythepaperclip.blogspot.com http://rimmythepaperclip.blogspot.com* *Twitter|* @rimmynuts(A.Reemal) *LinkedIn|* lk.linkedin.com/in/achinthareemal/ *Mobile| *0715471301 -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ -- *G.H.Achintha Reemal* *BSc Eng Undergraduate| Department of Computer Science Engineering | University of Moratuwa* *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* *Blog|** rimmythepaperclip.blogspot.com http://rimmythepaperclip.blogspot.com* *Twitter|* @rimmynuts(A.Reemal) *LinkedIn|* lk.linkedin.com/in/achinthareemal/ *Mobile| *0715471301 -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] [Automation] Error at TestSuite - On Finish - Deployment Synchronizer Error
Hi Automation Team, I am getting the below error at the end of integration test execution. Can you explain the cause of this, and how to avoid? INFO [org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener] - Inside Test Suite Listener - On Finish INFO [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] - Inside Test Execution Listener - On Finish INFO [org.wso2.carbon.automation.extensions.servers.axis2server.Axis2ServerManager] - Stopping sample Axis2 server INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOListener] - HTTP Listener Shutdown INFO [org.apache.synapse.transport.nhttp.HttpCoreNIOSender] - HTTP Sender Shutdown INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,630] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,630+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser11 INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testuser21 INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,808] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,808+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - wso2.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:16,998] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:16,998+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - abc.com INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:17,175] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:17,175+0530] INFO [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - malintha.com INFO [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager] - Shutting down server.. INFO [org.wso2.carbon.integration.common.utils.ClientConnectionUtil] - Successfully connected to the server on port 9443 INFO [org.apache.axis2.deployment.ModuleDeployer] - Deploying module: wso2caching-4.2.0 - file:/Users/maheeka/.m2/repository/org/wso2/carbon/org.wso2.carbon.caching.core/4.2.0/org.wso2.carbon.caching.core-4.2.0.jar INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:17,287] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-03-12 16:35:17,287+0530] INFO [org.wso2.carbon.integration.common.extensions.utils.ServerLogReader] - [2015-03-12 16:35:18,289] INFO -
[Dev] [IS] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
Hi, I'm getting following error when building the git product-is, I have successfully build the carbon identity and the carbon-commons respectively. java version 1.6.0_65 [INFO] --- maven-site-plugin:3.0:site (create-documentation-module) @ wso2is --- [WARNING] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446) at java.lang.Class.getDeclaredConstructors(Class.java:1872) at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245) at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99) at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210) at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032) at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:234) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at
Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute
Hi all, The idea is to check the flag when the block layer is called and clear the session when it is called. That is until we have web sockets. Lets not over engineer stuff. thanks, dimuthu On Thu, Mar 12, 2015 at 2:51 PM, Anuruddha Premalal anurud...@wso2.com wrote: On Thu, Mar 12, 2015 at 12:58 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Anuruddha/ Danushka, FYI, I checked the code again and noticed that calling getAllAppsOfUser from the user home page is not needed anymore. It is used in the eventing page template. So updating the application_list in session IMO we shouldn't keep the application_list in the *session*. Otherwise this will cause the issue that Danushka explained earlier. Shall we move it to *application* cache and do proper invalidation on update/delete? from the notification wall template is enough. Further more application_list is not the attribtue in the session which is used to draw the user home page. Are we using this application_list somewhere else?. It's not correct to have the application_list in the *session* cache. It is USER_HOME_CACHE attribute the one which is used. So I think it is safe to remove the recurring getAllAppsOfUser from the user home page. Check whether the USER_HOME_CACHE have the application creation status; it shouldn't be cached since it's a dynamic parameter; in that case you'll have to getapplication info from the back-end. WDYT ? Regards Gayan On Thu, Mar 12, 2015 at 12:59 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layers rather than increasing callbacktime. WDYT? Regards, Anuruddha. On Wed, Mar 11, 2015 at 12:33 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Danushka, Thanks for the useful information. Yes. The cache is in the session. Me too believe that the 1 minute time difference is too soon. +1 for increasing it. Regards Gayan On Wed, Mar 11, 2015 at 1:38 PM, Danushka Fernando danush...@wso2.com wrote: I didn't check the code. However I guess cache is in session. Is that right? So say A logs in to AF and do whatever stuff. And B logs in to AF and create an application foo and add A to that foo application. Then there is no way to update the cache unless we read it from data layer time to time. If this is not the case picture in my head is wrong so please correct it. However 1 minute seems too soon. 1. Make it configurable 2. Increase it to somewhere like 10 - 15 minutes. WDYT? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 11, 2015 at 1:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I noticed $subject in the index page. Any particular reason for having this ? Since we have a cache for user home data, IMO we do not need this anymore. Data from the back end can only be read initially. Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dimuthu Leelarathne Architect 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] WSO2 Committers += Dinesh J Weerakkody
Congratulations Dinesh !!! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Mar 12, 2015 at 12:21 PM, Harsha Kumara hars...@wso2.com wrote: Congratulations Dinesh! On Thu, Mar 12, 2015 at 12:15 PM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations... On Thu, Mar 12, 2015 at 11:08 AM, Sam Sivayogam s...@wso2.com wrote: Congrats !!! On Thu, Mar 12, 2015 at 10:26 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Dinesh! On Thu, Mar 12, 2015 at 10:22 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Dinesh !! On Thu, Mar 12, 2015 at 10:20 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Congratz dinesh ! . On Thu, Mar 12, 2015 at 10:18 AM, Asok Perera as...@wso2.com wrote: Congratz Dinesh ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Thu, Mar 12, 2015 at 10:05 AM, Kasun De Silva kas...@wso2.com wrote: Congratz !!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Mar 12, 2015 at 10:03 AM, Niranda Perera nira...@wso2.com wrote: Congrats machan! :-) On Thu, Mar 12, 2015 at 10:01 AM, Jerad Rutnam je...@wso2.com wrote: Congratulations Dinesh! :) On Thu, Mar 12, 2015 at 9:51 AM, Madusanka Premaratne madusan...@wso2.com wrote: Congrats Dinesh.!!! On Thu, Mar 12, 2015 at 9:45 AM, Thilini Cooray thili...@wso2.com wrote: Congratulations, Dinesh. On Thu, Mar 12, 2015 at 9:42 AM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Dinesh..! On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Congratulations Dinesh ..! On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations Dinesh :) ! On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Dinesh !!! On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka tha...@wso2.com wrote: Congratulations Dinesh On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala ravin...@wso2.com wrote: Congratulations Dinesh ! On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva chama...@wso2.com wrote: congrats! On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats! On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias nuw...@wso2.com wrote: Hi, It is with great pleasure we welcome DineshW as a WSO2 Committer. @Dinesh, congratulations and keep up the good work! Thanks, NuwanD. -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chamalee De Silva Software Engineer | WSO2 E:chama...@wso2.com nirosh...@wso2.com M :0711540738| http://wso2.com http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: tha...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94719397528 Blog : techreadme.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise .
[Dev] [DEV][MB] Error when configuring mb in cluster mode with mysql
Hi, I am getting following error when running the mb 3.0 in cluster mode with mysql. Cluster setup - 4 nodes mb and mysql server *Exception during startup: java.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverjava.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverat org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:266) at org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:147) at org.wso2.andes.server.Broker.startupImpl(Broker.java:153)at org.wso2.andes.server.Broker.startup(Broker.java:114)at org.wso2.andes.server.Main.startBroker(Main.java:218)at org.wso2.andes.server.Main.execute(Main.java:207)at org.wso2.andes.server.Main.init(Main.java:48)at org.wso2.andes.server.Main.main(Main.java:41)at org.wso2.carbon.andes.internal.QpidServiceComponent.startAndesBroker(QpidServiceComponent.java:330) at org.wso2.carbon.andes.internal.QpidServiceComponent.setHazelcastInstance(QpidServiceComponent.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950) at org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:223) at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:174) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123) at
Re: [Dev] WSO2 Committers += Dinesh J Weerakkody
Congratulations Dinesh! On Thu, Mar 12, 2015 at 12:15 PM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations... On Thu, Mar 12, 2015 at 11:08 AM, Sam Sivayogam s...@wso2.com wrote: Congrats !!! On Thu, Mar 12, 2015 at 10:26 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Dinesh! On Thu, Mar 12, 2015 at 10:22 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Dinesh !! On Thu, Mar 12, 2015 at 10:20 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Congratz dinesh ! . On Thu, Mar 12, 2015 at 10:18 AM, Asok Perera as...@wso2.com wrote: Congratz Dinesh ! *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Thu, Mar 12, 2015 at 10:05 AM, Kasun De Silva kas...@wso2.com wrote: Congratz !!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Mar 12, 2015 at 10:03 AM, Niranda Perera nira...@wso2.com wrote: Congrats machan! :-) On Thu, Mar 12, 2015 at 10:01 AM, Jerad Rutnam je...@wso2.com wrote: Congratulations Dinesh! :) On Thu, Mar 12, 2015 at 9:51 AM, Madusanka Premaratne madusan...@wso2.com wrote: Congrats Dinesh.!!! On Thu, Mar 12, 2015 at 9:45 AM, Thilini Cooray thili...@wso2.com wrote: Congratulations, Dinesh. On Thu, Mar 12, 2015 at 9:42 AM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Dinesh..! On Thu, Mar 12, 2015 at 9:40 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Congratulations Dinesh ..! On Thu, Mar 12, 2015 at 8:59 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations Dinesh :) ! On Thu, Mar 12, 2015 at 8:53 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Dinesh !!! On Thu, Mar 12, 2015 at 8:41 AM, Tharik Kanaka tha...@wso2.com wrote: Congratulations Dinesh On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala ravin...@wso2.com wrote: Congratulations Dinesh ! On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva chama...@wso2.com wrote: congrats! On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats! On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias nuw...@wso2.com wrote: Hi, It is with great pleasure we welcome DineshW as a WSO2 Committer. @Dinesh, congratulations and keep up the good work! Thanks, NuwanD. -- Nuwan Dias Associate Tech Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 773922820 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chamalee De Silva Software Engineer | WSO2 E:chama...@wso2.com nirosh...@wso2.com M :0711540738| http://wso2.com http://wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharik Kanaka* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: tha...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94719397528 Blog : techreadme.blogspot.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
[Dev] Proposal 16 : Enable selenium testing in Appfactory test stage
Hi, I'm Irunika and I'm studying as a 3rd year computer engineering student in university of Peradeniya. I'm still in my mid exams and it will be over by tomorrow. But I downloaded selenium and now I'm trying to get familiar with it. As well as I read AppFactory documentation to some extend. I would like to do this project for this summer of code. This is for integrating selenium 2 in AppFactory? ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][MB] Error when configuring mb in cluster mode with mysql
Hi Megala, Seems the issue with getting database connection. Your master data sources file *jdbc/MySQLMessageStore *has jdbc:mysql://10.100.4.40/WSO2_MB. Did you expose the mysql server through that IP or if not try with localhost with correct root username and password. Thanks, Harsha On Thu, Mar 12, 2015 at 12:19 PM, Megala Uthayakumar meg...@wso2.com wrote: Hi, I am getting following error when running the mb 3.0 in cluster mode with mysql. Cluster setup - 4 nodes mb and mysql server *Exception during startup: java.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverjava.lang.Exception: org.wso2.andes.kernel.AndesException: Connecting to database failed with jndi lookup : jdbc/MySQLMessageStore. data source username : root. SQL Error message : com.mysql.jdbc.Driverat org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:266) at org.wso2.andes.server.registry.ApplicationRegistry.initialise(ApplicationRegistry.java:147) at org.wso2.andes.server.Broker.startupImpl(Broker.java:153)at org.wso2.andes.server.Broker.startup(Broker.java:114)at org.wso2.andes.server.Main.startBroker(Main.java:218)at org.wso2.andes.server.Main.execute(Main.java:207)at org.wso2.andes.server.Main.init(Main.java:48)at org.wso2.andes.server.Main.main(Main.java:41)at org.wso2.carbon.andes.internal.QpidServiceComponent.startAndesBroker(QpidServiceComponent.java:330) at org.wso2.carbon.andes.internal.QpidServiceComponent.setHazelcastInstance(QpidServiceComponent.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950) at org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:223) at org.wso2.carbon.core.util.ClusteringUtil.enableClustering(ClusteringUtil.java:38) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:174) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:285) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at
Re: [Dev] Proposal 16 : Enable selenium testing in Appfactory test stage
Hi Irunika, Thank you for reaching and showing interest in the project. I'll schedule a hangout session to have introductions and discuss about future plans, will send the invitation by the end of this week. Idea of this project is to introduce selenium tests for Appfactory projects; not particularly for appfactory. Good luck with your exams! Regards, Anuruddha. On Thu, Mar 12, 2015 at 11:00 AM, Irunika Lakmal Weeraratne irunik...@gmail.com wrote: Hi, I'm Irunika and I'm studying as a 3rd year computer engineering student in university of Peradeniya. I'm still in my mid exams and it will be over by tomorrow. But I downloaded selenium and now I'm trying to get familiar with it. As well as I read AppFactory documentation to some extend. I would like to do this project for this summer of code. This is for integrating selenium 2 in AppFactory? -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] STS-Service with security policy
Hi, I am working on persisting security policy to registry, earlier it use file based persistence model. I have completed most of the registry persistence and doing testing. After applying UsernameToken policy to sts-service and call the IssueToken operation of sts-service using SOAPUI it gives following error. he security token could not be authenticated or authorized; nested exception is: javax.security.auth.callback.UnsupportedCallbackException: Check failed : System error {org.apache.axis2.engine.AxisEngine} org.apache.axis2.AxisFault: The security token could not be authenticated or authorized; nested exception is: javax.security.auth.callback.UnsupportedCallbackException: Check failed : System error at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ws.security.WSSecurityException: The security token could not be authenticated or authorized; nested exception is: javax.security.auth.callback.UnsupportedCallbackException: Check failed : System error at
Re: [Dev] WSO2 ESB Proxy blocking Request
Hi Aliosha, As you have included a send mediator in your inSequence, it gets executed once MySequence completed when you set continueAfter=true. Please refer [1] on the functionality of Conditional Router Mediator. You could fulfil your requirement by using Filter Mediator. Please refer [2], it has given an example for a regular expression as well. [1] https://docs.wso2.com/display/ESB481/Conditional+Router+Mediator [2] https://docs.wso2.com/display/ESB481/Filter+Mediator Thank you. On Thu, Mar 12, 2015 at 11:05 AM, Jagath Ariyananda jag...@wso2.com wrote: [Removed supp...@wso2.com from this thread] Please only use dev@wso2.org for this type of queries. Regards On Thu, Mar 12, 2015 at 10:10 AM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Aliosha, I think your condition is getting failed or it has some problem. Can you try filter mediators instead of condition. On Thu, Jan 29, 2015 at 2:00 AM, Aliosha aliosh...@gmail.com wrote: im on WSO2 ESB 4.8.1. I need to block some request if their path match a regular expression. So i've implemented this proxy and these sequences: In my proxy: target inSequence sequence key=MySequence/sequence send endpoint key=epProva/endpoint /send /inSequence Where MySequence is: sequence xmlns=http://ws.apache.org/ns/synapse; name=MySequence conditionalRouter continueAfter=false conditionalRoute breakRoute=true asynchronous=true condition match type=url regex=.*/my/path/.*/match /condition target sequence=conf:/BannedListMessage/target /conditionalRoute /conditionalRouter /sequence where BannedListMessage is: sequence xmlns=http://ws.apache.org/ns/synapse; header name=To action=remove/header property name=HTTP_SC value=401 scope=axis2/property property name=RESPONSE value=true/property property name=NO_ENTITY_BODY action=remove scope=axis2/property payloadFactory media-type=json format {code:401, unhautorized.} /format /payloadFactory property name=messageType value=application/json scope=axis2/property send/send /sequence MySquence has the job to check if the request url matches the regular expression and, in that case, it has to block the request's flow, before it can reach the server, and to call the BannedListMessage sequence which will send back an error response (401) to the client. During my attempts i noticed that - if the attribute continueAfter=true in MySequence i get the 401 unauthorized error as response but the request reach the server. - If i set continueAfter=false i receive a 202 Accepted response and the request doesn't reach the server. My target is to send the BannedListMessage 401 error to the client and to block the request. What have i to do? Regards Alessio -- S.Sriashalya, Associate Software Engineer, WSO2. -- Jagath Ariyananda Director - Support WSO2, Inc. Mobile:+94 714887531 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ 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
[Dev] [MB] TombstoneOverwhelmingException When Purge Operation is Triggered When Subscription Disconnection/Deletion
Hi All, During the subscription disconnection/deletion purge operation is being called on the the relevant non durable topic the subscription/s was bound to. During purge operation all existing data (if any) relevant to that topic will be removed. When using hector the removal is done through a range query following LOC, ListLong currentPage = HectorDataAccessHelper.getNumericColumnKeysOfRow (keyspace, CassandraConstants.META_DATA_COLUMN_FAMILY, storageQueueName, pageSize, lastProcessedID); Initially the relevant message ids are retrieved from MetaData CF and then removed from the MessageContent CF. Once more than 200,000 messages are sent since the range query queries the entire row of data belonging to a relevant topic, it results in the following, *Caused by: org.apache.cassandra.db.filter.TombstoneOverwhelmingException: nullat org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:214) ~[apache-cassandra-2.1.2.jar:2.1.2]at org.apache.cassandra.db.filter.QueryFilter.collateColumns(QueryFilter.java:107) ~[apache-cassandra-2.1.2.jar:2.1.2]* And causes *me.prettyprint.hector.api.exceptions.HTimedOutException: TimedOutException() *in the broker end, As solution, Since the idea of purging during disconnection is to clear out remaining data which have not being given out to its subscribers, we could query the slots which are still remaining and directly delete them from the MessageContentCF instead of querying them from meta data CF. Would there be any implication to this ? WDYT ? Thanks, Pamod -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Testing a Service Secured by WSO2 ESB
Hi, Well upon some research I think the following must be the reason for the error that I get, When I deploy a service in Axis2, it automatically generates three different end-points for the service. 1 - For SOAP 1.1 (*OrderServiceProxyHttpsSoap11Endpoint*) 2 - For SOAP 1.2 (*OrderServiceProxyHttpsSoap12Endpoint*) 3 - For RESTful calls (*OrderServiceProxyHttpsEndpoint*) I see that the ESB adds the SOAP headers and engages the rampart module(for authentication) when testing the service. So this works fine with the first two end-points but NOT with the RESTful one. This is because this Axis endpoint does not expect the rampart header in the 3rd scenario. The call for this endpoint could be checked by a simple java-client which does not engage the rampart module (but does authentication via HTTP authorization) as explained in [1]. Hope this is the correct conclusion for the given behaviour. [1] http://code.chamiladealwis.com/index.html Thanks - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com ayy...@wso2.com Mobile: +94 77 3516019 | +94 71 6583393 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Ashan Manathunga
Congratulations Ashan!!! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Tue, Mar 10, 2015 at 6:17 PM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Ashan !!! On Tue, Mar 10, 2015 at 6:12 PM, Chamin Dias cham...@wso2.com wrote: Congrats Ashan! :-) On Tue, Mar 10, 2015 at 1:17 PM, Lasantha Fernando lasan...@wso2.com wrote: Congratz Ashan!... On 10 March 2015 at 00:30, Malintha Adikari malin...@wso2.com wrote: Congratulations Ashan ! On Tue, Mar 10, 2015 at 6:17 AM, Chamara Silva cham...@wso2.com wrote: Congratulations On Mon, Mar 9, 2015 at 11:28 AM, Isuruwan Herath isuru...@wso2.com wrote: Congratz Ashan!!! On Mon, Mar 9, 2015 at 9:16 AM, Malith Munasinghe mali...@wso2.com wrote: Congratulations Ashan!!! On Mon, Mar 9, 2015 at 9:08 AM, Niranda Perera nira...@wso2.com wrote: Congrats Ashan! :-) On Mon, Mar 9, 2015 at 9:06 AM, Vinod Kavinda vi...@wso2.com wrote: Congratulations Ashan!! On Mon, Mar 9, 2015 at 8:33 AM, Thilini Cooray thili...@wso2.com wrote: Congrats, Ashan ! On Sun, Mar 8, 2015 at 10:26 PM, Jagath Ariyananda jag...@wso2.com wrote: Congratulations Ashan. On Fri, Mar 6, 2015 at 4:53 PM, Srisunmugaraja Paraparan parapa...@wso2.com wrote: Congratz Ashan. On Fri, Mar 6, 2015 at 4:45 PM, Samisa Abeysinghe sam...@wso2.com wrote: Hi All It's my pleasure to welcome Ashan as a WSO2 Committer. Ashan, welcome aboard and keep up the good work! Thanks, Samisa... Samisa Abeysinghe Vice President Delivery WSO2 Inc. http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 -- Jagath Ariyananda Director - Support WSO2, Inc. Mobile:+94 714887531 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ 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 -- Vinod Kavinda Software Engineer, *WSO2, Inc http://www.wso2.com.* Mobile : +94 (0) 712 415544 vi...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Malith Munasinghe | Software Engineer M: +94 (071) 9401122 E: mali...@wso2.com W: http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuruwan Herath Technical Lead Contact: +94 776 273 296 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Suminda Chamara Silva Associate Technical Lead WSO2 Inc. Mobile: +94718302858 blog: http://chamaras.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog:http://malinthas.blogspot.com Page: http://about.me/malintha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasantha Fernando* Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: lasan...@wso2.com mobile: (+94) 71 5247551 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chamin Dias *Software Engineer* Mobile
Re: [Dev] [App Factory] User home data is read from the backend after if last access time is over 1 minute
Hi Gayan, IMO we should cache user data in the session cache and the application data should go to the application level cache. This way we can get rid of unwanted back-end calls and do proper cache invalidation. So IMO the proper way to do this is to have a clear data separation in caching layers rather than increasing callbacktime. WDYT? Regards, Anuruddha. On Wed, Mar 11, 2015 at 12:33 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi Danushka, Thanks for the useful information. Yes. The cache is in the session. Me too believe that the 1 minute time difference is too soon. +1 for increasing it. Regards Gayan On Wed, Mar 11, 2015 at 1:38 PM, Danushka Fernando danush...@wso2.com wrote: I didn't check the code. However I guess cache is in session. Is that right? So say A logs in to AF and do whatever stuff. And B logs in to AF and create an application foo and add A to that foo application. Then there is no way to update the cache unless we read it from data layer time to time. If this is not the case picture in my head is wrong so please correct it. However 1 minute seems too soon. 1. Make it configurable 2. Increase it to somewhere like 10 - 15 minutes. WDYT? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 11, 2015 at 1:13 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I noticed $subject in the index page. Any particular reason for having this ? Since we have a cache for user home data, IMO we do not need this anymore. Data from the back end can only be read initially. Regards Gayan -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev