Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Ajith Vitharana
Other issue is, 1. According to the sample I'm shutting down the backend-1 and send a request. 2. Now I can see the message store has one message. 3. Before 50 delivery attempts , start the backend-1 4. Now I can see the message processor executed and message delivered to backed-1 But just

Re: [Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Awanthika Senarath
In that case we have a bug in developer studio! :) as we have not introduced a filed for defaultValue in our graphical view, hence on adding a value for defaultValue in the source view in switching to graphical view will remove the saved value. I will create the relevant JIRA after discussing

Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Yasassri Ratnayake
According to [1] "*The deactivate sequence that will be executed when the processor is deactivated automatically. Automatic deactivation occurs when the maximum delivery attempts is exceeded and the Drop message after maximum delivery attempts parameter is disabled.*" [1] -

Re: [Dev] Sending custom responses in automation test

2015-10-06 Thread Senduran Balasubramaniyam
Hi Krishantha, Following are the steps I followed to verify the scenario. - Created a mock service to respond with status code 202, empty body with content-type text/html - Invoked the service from ESB and added a log full after calling the endpoint since there is a content type

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Gimantha Bandara
Please use the request body mentioned in the documentation jira I sent previously. On Wed, Oct 7, 2015 at 1:12 AM, Isuru Wijesinghe wrote: > Hi Gimantha, > > using the aggregate API [1], I passed the below lucene object. But it > gives me an error (Internal server error). Does

Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Yasassri Ratnayake
And also If you are receiving a reply you need to define a on-reply sequence. On Wed, Oct 7, 2015 at 10:13 AM, Yasassri Ratnayake wrote: > According to [1] "*The deactivate sequence that will be executed when > the processor is deactivated automatically. Automatic

Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Ajith Vitharana
On Wed, Oct 7, 2015 at 12:43 AM, Yasassri Ratnayake wrote: > According to [1] "*The deactivate sequence that will be executed when > the processor is deactivated automatically. Automatic deactivation occurs > when the maximum delivery attempts is exceeded and the Drop message

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Gimantha, using the aggregate API [1], I passed the below lucene object. But it gives me an error (Internal server error). Does the COUNT function disable from a configuration file due to performance issues? { "tableName": "PROCESS_USAGE_SUMMARY_DATA", "groupByField": "processDefKey",

Re: [Dev] Sending custom responses in automation test

2015-10-06 Thread Nuwan Wimalasekara
Hi Senduran, You can simply create another proxy service or API to send the empty body response with 202 status code. if not you can create a axis2 service which return the response as you expected and deploy it on ESB or axis2 server. Thanks, Nuwanw On Wed, Oct 7, 2015 at 10:20 AM, Senduran

Re: [Dev] Please review and merge

2015-10-06 Thread Ayesha Dissanayaka
Hi Sajith, I am referring to user not logged in sate. In that case if we directly access https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=false URL then we will see the default view. And when there a logged in user viewing

Re: [Dev] Please review and merge

2015-10-06 Thread Sajith Abeywardhana
Hi Ayesha, Small clarification? > I observed that even *anonymous users* can view the logged in view by > setting query parameter "isAnonView=false" or without setting it at all in > the browser. > I think you mean in here when the *logged in user* viewing anonymous view he can view logged in

[Dev] STS functionality broken due to opensaml upgrade

2015-10-06 Thread Hasintha Indrajee
STS functionality has been broken due to the upgrade of the opensaml version (from 2.4.1 to 2.6.4) in carbon-identity. Error [1], can be observed while invoking sts service with UT policy engaged. Further the issue seems to be a failure to find class org.opensaml,XML from one of the classes which

Re: [Dev] Sending custom responses in automation test

2015-10-06 Thread Krishantha Samaraweera
Hi Senduran, Can you list the steps that you have followed to verify the scenario manually. Thanks, Krishantha. On Tue, Oct 6, 2015 at 10:05 AM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote: > Hi Krishantha, > > I need to write a test for ESB where my proxy service should receive some

Re: [Dev] Please review and merge

2015-10-06 Thread Udara Rathnayake
Had a chat with Sajith. Current implementation seems fine.. On Wed, Oct 7, 2015 at 10:40 AM, Sajith Abeywardhana wrote: > Hi Ayesha, > > Small clarification? > > >> I observed that even *anonymous users* can view the logged in view by >> setting query parameter

Re: [Dev] STS functionality broken due to opensaml upgrade

2015-10-06 Thread Maduranga Siriwardena
Hi all, We are having a web app deployment issue possibly due to the new opensaml orbit bundle (because of having two opensaml versions). So until we find a proper solution we are downgrading the opensaml version back to 2.4.1. Thanks, Maduranga. On Wed, Oct 7, 2015 at 11:09 AM, Hasintha

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Danushka Fernando
IMO get stages from appfactory.xml and create tenant in all stages makes sense. But IIRC we added stages to the bpel in case we need to do some special thing for some stage such as production. @Manjula: Is it a valid requirement still? Thanks & Regards Danushka Fernando Senior Software Engineer

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Amalka Subasinghe
Yes, we need 3 messages in MB, that we are creating within the initializeCloudManager method. see the sequence diagram I have shared in @architecture: [Architecture] [AppFactory]New governance and tenant creation changes to AppFactory deployment with single Stratos On Tue, Oct 6, 2015 at 8:03 PM,

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Punnadi Gunarathna
Hi, I think since we are going to introduce 3 GReg servers for each stage, we will have to have 3 topics in MB and subscribe to relevant one based on the stage as it was done before. On Tue, Oct 6, 2015 at 9:07 AM, Amalka Subasinghe wrote: > As I know what you are doing is,

Re: [Dev] Please review and merge

2015-10-06 Thread Sajith Abeywardhana
If the user removes the isAnonView param from the url, next time browser will show url as *https://10.100.7.19:9443/portal/dashboards/ano-db01/landing?isAnonView=null . *Since null value is a bit ugly I fixed it and

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Thanuja, The problem is not in the luciene *group by. *It works perfectly with aggregate functions such as* SUM, MIN, MAX, AVG . *But actually it didn't work with *COUNT *function. Thanks and Regards, On Wed, Oct 7, 2015 at 12:07 AM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote:

Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Yasassri Ratnayake
Hi Ajith, It seems the configs are not correct in the sample, Also in your second step the parameter name is *4 *which is correct, but in the sample the Property is given *50. *This must be causing the inconsistent behavior. With Regards, On Wed, Oct 7, 2015 at 8:27 AM, Ajith Vitharana

Re: [Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Ajith Vitharana
Hi Yasassri. Yes. According to the carbon commits it has renamed. Then those configs never tested after 2012 :) [1] https://wso2.org/jira/browse/CARBON-13114 -Ajith Author: ishan Date: Fri Jun 15 02:00:53 2012 New Revision: 130164 URL: http://wso2.org/svn/browse/wso2?view=rev=130164 Log:

[Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Awanthika Senarath
Hi all, On testing the developer studio 3.8.0 I could observe that the "defaultValue" field for attribute parameters in the Publish Event Mediator [1] is always empty and will not store any values. On referring the documentation [2] for ESB 4.9.0 in the sample displayed also I could observe the

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Gimantha Bandara
Hi Isuru, Please refer to this[1] for equivalent COUNT in DAS. You can use aggregate API for your case. But it may have some performance issues which I am currently working on. [1] https://wso2.org/jira/browse/DOCUMENTATION-2438 On Tue, Oct 6, 2015 at 2:37 PM, Thanuja Uruththirakodeeswaran <

[Dev] carbon-commons-4.5.0 released!

2015-10-06 Thread Kalpa Welivitigoda
Hi folks, $subject, org.wso2.carbon.commons carbon-commons 4.5.0 -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org

Re: [Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Nuwan Pallewela
Hi Awanthika, I think this defaultValue can be any value. It is assigned for the attribute if the expression can not find a property value. Thanks, Nuwan On Wed, Oct 7, 2015 at 9:29 AM, Awanthika Senarath wrote: > Hi all, > > On testing the developer studio 3.8.0 I could

Re: [Dev] Please review and merge

2015-10-06 Thread Ayesha Dissanayaka
Hi Sajith, Thanks for the fixes. I've merged the changes locally and testing the functionality. I observed that even anonymous users can view the logged in view by setting query parameter "isAnonView=false" or without setting it at all in the browser. Can you check this. Further, instead of

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Gimantha Bandara
Hi Isuru, On Tue, Oct 6, 2015 at 11:13 PM, Isuru Wijesinghe wrote: > Hi Thanuja, > > The problem is not in the luciene *group by. *It works perfectly with > aggregate functions such as* SUM, MIN, MAX, AVG . *But actually it > didn't work with *COUNT *function. > > What do you

Re: [Dev] SSO Authentication Error

2015-10-06 Thread Gayan Gunawardana
Hi Darshana, I also experienced NPE in federated SAML SSO use case. Should be fixed with following changes you have added. - cacheEntry = new SessionContextCacheEntry(sessionContextDO); + if (sessionContextDO != null) { + cacheEntry = new SessionContextCacheEntry (sessionContextDO); + } Thanks,

Re: [Dev] SSO Authentication Error

2015-10-06 Thread Darshana Gunawardana
Hi Gayan, On Tue, Oct 6, 2015 at 11:17 PM, Gayan Gunawardana wrote: > Hi Darshana, > > I also experienced NPE in federated SAML SSO use case. Should be fixed > with following changes you have added. > Yes, we had this NPE earlier and as mentioned above its fixed with

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Thanuja Uruththirakodeeswaran
Hi Isuru, I think Gimantha has already discussed about this in this thread [1]. The link suggests to do lucene 'group by' queries using writing a custom facet collector. [1].

[Dev] USE-597 Use case update

2015-10-06 Thread Sajith Abeywardhana
Hi All, As discussed with Udara, I update the use case of the jirs[1]. If you got any suggestion please let me know. Updated use case : When the user designing a dashboard he can click on the view button. Then dashboard preview should be displayed. If the user designing the anonymous page, then

Re: [Dev] Code Styling - Throwing Exceptions

2015-10-06 Thread Nuwan Wimalasekara
Hi Manuranga, We have discussed the subject in the mail thread "Best Practice in Throwing Exceptions in test methods signature"@d...@wso2.com as well. You can get some information from the thread. Thanks, Nuwanw On Tue, Oct 6, 2015 at 12:01 PM, Manuranga Perera wrote: >

Re: [Dev] [EJB Mediator] SequenceMediator object is not an instance of declaring class

2015-10-06 Thread Malaka Silva
Hi Rajjaz, Seems like you have specified invalid method or invalid number of arguments. Try debugging this case [1] [1] https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/mediators/bean/BeanUtils.java On Tue, Oct 6, 2015 at 12:32 PM, Rajjaz Mohammed

Re: [Dev] [UES][Dashboard Server] Dashboard anonymous view landing page

2015-10-06 Thread Udara Rathnayake
Hi Ayesha, frankly I haven't tested any tenant scenarios with this implementation. *few points to consider* If user (not authenticated) browses the dashboard https://:/portal/dashboards/ this should render the anon view. Once user logged in we should render the default view. In this default view

[Dev] [BRS] Upgrading the Drools and its Dependencies

2015-10-06 Thread Natasha Wijesekara
Hi All, I am trying to upgrade the Drools version of BRS to 6.2.0 and for this I need the following drool jars: drools-core drools-complier drools-jsr94 knowledge-api kie-api kie-internal I was able to find out that out of the above all are osgi bundles except for* drools-jsr94 *and*

Re: [Dev] Allowing jms publishers to create queues when publishing

2015-10-06 Thread Hemika Kodikara
Hi, My concern is, as long as we don't break anything in the specifications(AMQP, JMS), we can allow creation of queues from publishers. Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Tue, Oct 6, 2015 at

[Dev] Code Styling - Throwing Exceptions

2015-10-06 Thread Manuranga Perera
Following issue came up during a code review. when writing tests should we throw individual Exception types [1] or should we just throw Exception super class. I though the best practice is to throw individual classes. But I got to know that there is a common practice to throw Exception class in

[Dev] Is there any method which can checks the resource exists or not in registry

2015-10-06 Thread Rajeenthini Satkunam
Hi all, I am writing UI test cases for UES/Dashboard Server(DS).I have tried to write a test class for adding and deleting dashboard for the Dashboard Server.Here I need to check the resource is existing or not at the registry.You can have a look for the class[1] I have wrote for adding and

[Dev] WSO2 Governance Registry 5.0.1 Released !!

2015-10-06 Thread Sameera Kannangara
WSO2 Governance Registry team is pleased to announce the release of WSO2 Governance Registry 5.0.1.!! WSO2 Governance Registry provides end-to-end governance for enterprises. IT professionals can streamline application development, testing and deployment processes, as well as manage service

Re: [Dev] [UES][Dashboard Server] Dashboard anonymous view landing page

2015-10-06 Thread Ayesha Dissanayaka
Hi Udara/Manu, Have we considered multi-tenant scenarios while designing anonymous view of dashboards. For instance what will be the dashboard view rendered for an user who has logged into super tenant and trying to access a dashboard view URL of another tenant domain.( ex. wso2.com). In that

[Dev] [EJB Mediator] SequenceMediator object is not an instance of declaring class

2015-10-06 Thread Rajjaz Mohammed
Hi Dev, I’m trying simple helloworld sample using EJB Mediator . while I’m running the sample I’m getting below error. can anyone guide me on this error?(Jboss-5.1) [2015-10-06 12:24:01,082] DEBUG - wire >> "POST /services/ejb HTTP/1.1[\r][\n]" [2015-10-06 12:24:01,083] DEBUG - wire >>

[Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi, I need to perform COUNT() operation through DAS REST API (an example is shown below). I tried to pass COUNT() from a luciene object. But it didn't work for me. Does DAS support COUNT operation through luciene ??? if not how can I enable it in DAS side??? eg: *SELECT startedTime,

Re: [Dev] [PPaaS] PPaaS 4.1.0 installer

2015-10-06 Thread Lasindu Charith
Hi Imesh, On Mon, Oct 5, 2015 at 11:03 PM, Imesh Gunaratne wrote: > On Tue, Oct 6, 2015 at 12:09 AM, Gayan Gunarathne wrote: >> >> >> PPaaS installer will setup the private paas. Main responsibility of that >> installer will be setup the db, ActiveMQ and

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-10-06 Thread Lasindu Charith
Hi Akila/Imesh, Any reason why we moved common samples (network partitions, autoscale policies, deployment policies, application policies) inside each cartridge? If those artifacts are similar, what if we keep them in a common place? (say inside common/samples/..). Once we introduce more

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-10-06 Thread Rajkumar Rajaratnam
On Wed, Oct 7, 2015 at 9:38 AM, Lasindu Charith wrote: > Hi Akila/Imesh, > > Any reason why we moved common samples (network partitions, autoscale > policies, deployment policies, application policies) inside each cartridge? > > If those artifacts are similar, what if we keep

Re: [Dev] USE-597 Use case update

2015-10-06 Thread Udara Rathnayake
Hi, +1. I don't see real use case to have a toggle between default/anon during the actual preview window hence suggested above. And we are not going to have the same toggle within the actual dashboard view for the end-user(NOT the design view). Simply authenticated user will get the default

Re: [Dev] [BRS] Upgrading the Drools and its Dependencies

2015-10-06 Thread KasunG Gajasinghe
Hi, You can include drools jars under one orbit. Its dependencies will need separate orbit bundles. On Tue, Oct 6, 2015 at 11:33 AM, Natasha Wijesekara wrote: > Hi All, > > I am trying to upgrade the Drools version of BRS to 6.2.0 and for this I > need the following drool

Re: [Dev] [ESB] NPE with EIP guide sample.

2015-10-06 Thread Chanaka Fernando
Hi Ajith, The scenario which you have tested is not correct. If you put mediator in the outSequence, since you are cloning the request and send to 2 back ends, ESB will get 2 responses and tries to send back 2 responses to client and that is causing this exception. What happens is that ESB will

[Dev] SSO Authentication Error

2015-10-06 Thread Charitha Goonetilleke
Hi All, I'm using carbon.identity.version 4.6.0-SNAPSHOT with IoT Server for testing. $subject occurred when I tried to login in to store/publisher. It further saying, "Something went wrong during the authentication process. Please try signing in again." Also in console printing a Null Pointer

Re: [Dev] [UES][Dashboard Server] Dashboard anonymous view landing page

2015-10-06 Thread Manuranga Perera
let's consider tenanted URLs after M5. On Tue, Oct 6, 2015 at 1:10 PM, Udara Rathnayake wrote: > Hi Ayesha, > > frankly I haven't tested any tenant scenarios with this implementation. > > *few points to consider* > If user (not authenticated) browses the dashboard >

Re: [Dev] SSO Authentication Error

2015-10-06 Thread Hasintha Indrajee
Seems like this issue occurs since the session key you send with your second request is no longer there in the server side and it gives this error. Did you check this in the latest code base ? Can you confirm that this is still there in the latest code base. If this is still there, please open a

Re: [Dev] Web app class loading issue

2015-10-06 Thread Charitha Goonetilleke
Hi all, Thanks for the suggestions, I removed *json_3.0.0.wso2v1* from org.wso2.carbon.device.mgt.iot.common and modified code to comply with *json_2.0.0.wso2v1*. Since org.wso2.carbon.event.simulator.core not used any specific classes only provided by *json_3.0.0.wso2v1*, I was able to solve the

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-10-06 Thread Akila Ravihansa Perera
Hi, We are planning to create a single set of templates for samples using Jinja templating language. Once it is done we can remove individual sample artifacts. Thanks. On Wednesday, 7 October 2015, Imesh Gunaratne wrote: > On Wed, Oct 7, 2015 at 2:08 AM, Lasindu Charith

[Dev] [ESB 4.9.0] Different ESB configs for Message Processor.

2015-10-06 Thread Ajith Vitharana
Hi All, I updated source view from the configuration mentioned in sample [1]. i) When I double check the message processor configs from source view, I noticed same config as the sample (expected behavior). 1000 false DurableSubscriberEndpoint *50* ii)

Re: [Dev] [PPaaS] private-paas-cartridges repository structure

2015-10-06 Thread Imesh Gunaratne
On Wed, Oct 7, 2015 at 2:08 AM, Lasindu Charith wrote: > Hi Akila/Imesh, > > Any reason why we moved common samples (network partitions, autoscale > policies, deployment policies, application policies) inside each cartridge? > > If those artifacts are similar, what if we keep

[Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Lahiru Manohara
Hi Anuruddha, According to this full request[1]. The stage parameter was removed from the initializeCloudManager method in the AppFactoryTenantInfraStructureInitializerService class. In Tenantcreation BPEL and default workflow is calling initializeCloudManager for three stages (development,

Re: [Dev] SSO Authentication Error

2015-10-06 Thread Darshana Gunawardana
On Tue, Oct 6, 2015 at 2:21 PM, Hasintha Indrajee wrote: > Seems like this issue occurs since the session key you send with your > second request is no longer there in the server side and it gives this > error. Did you check this in the latest code base ? Can you confirm that

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Rukshan Premathunga
Hi Isuru, You can filter out result on more than one attribute using boolean operators [1]. ex: *"query" : "timestamp : [1243214324532 TO 4654365223] AND "processId" : 10035 * [1] https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Boolean operators On Tue, Oct 6, 2015 at 1:04 PM,

Re: [Dev] Is there any method which can checks the resource exists or not in registry

2015-10-06 Thread Kasun Bandara
Hi Rajeenthini, You can invoke the *boolean resourceExists(String resorcePath)* method through the Registry class comes with registry core. Returns true if the resource exists in the specified path & returns false if it's not reside in the path. Thanks and Regards. On Tue, Oct 6, 2015 at 3:42

Re: [Dev] [DAS] SingelSignOn support in DAS Analytics Dashboard

2015-10-06 Thread Dunith Dhanushka
Hi Thanuja, At the moment, DAS Analytics Dashboard doesn't provide SSO facility. But UES 2.0 M3 was released last week with SSO support. We'll upgrade the carbon-dashboards version to 1.0.4 in DAS to include UES 2.0 M3 features. Will update the thread once the upgrade is done. Regards, Dunith

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Chanaka Fernando
Hi Nuwan, I had a look into the code which is causing this NPE. According to the way it is written, this NPE can be occurred. I have tried to replicate what NuwanD has mentioned but couldn't reproduce the same NPE. This can be occurred due to synapse configuration issue. @NuwanD: Can you share

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Nuwan Dias
Attaching the two APIs I used for testing. To reproduce this issue, create a tenant with the domain as 'wso2.com' and deploy these two APIs within the tenant space and restart the server. Then access the API without the version using the following URL.

[Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
Hi Devs, I'm trying to test importing registry files using a dump file. I have created a dump file using following command [1]. [1] sh checkin-client.sh co https://localhost:9443/registry/ -u admin -p admin -f 10-06-2015_test2.dump Dump file is successfully created in the bin folder. Then when

Re: [Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
Hi, After i tried to checkout the dump file , following error is show in command line when i try to browse registry. [2015-10-06 15:20:27,354] WARN {org.wso2.carbon.registry.core.caching.CacheBackedRegistry} - User admin is not authorized to read the resource /. Thanks, Nuwan On Tue, Oct 6,

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC

2015-10-06 Thread Susinda Perera
Hi All I have tested following areas AppServer projects (JAX-RS/JAX-WS/Webapp/Axis2Service/Client generation) creation - in both linux and windows. AppServer project creation and deployment - in linux. Registry perspective and registry project operations (checkout/add-new/commit) in windows and

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC

2015-10-06 Thread Nuwan Pallewela
Hi All, I have tested following scenarios. - JAX-WS service classes with App Server. - JAX-RS service classes with App Server. - Created ESB artifacts ,car files and with connectors. - Tested most of the security scenarios with proxy services. - Tested MMM project creation and

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC

2015-10-06 Thread Kavith Lokuhewage
Hi, Please refer to my inline comment. On Tue, Oct 6, 2015 at 3:48 PM, Nuwan Pallewela wrote: > Hi All, > > I have tested following scenarios. > >- JAX-WS service classes with App Server. >- JAX-RS service classes with App Server. >- Created ESB artifacts ,car

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Anjana Fernando
Hi Isuru, You can use the REST APIs search count [1] operation. [1] https://docs.wso2.com/display/DAS300/Retrieving+the+Number+of+Records+Matching+the+Given+Search+Query+via+REST+API Cheers, Anjana. On Tue, Oct 6, 2015 at 1:04 PM, Isuru Wijesinghe wrote: > Hi, > > I need to

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC

2015-10-06 Thread Rajeevan Vimalanathan
Hi, Please find my comments inline, On Tue, Oct 6, 2015 at 3:52 PM, Kavith Lokuhewage wrote: > Hi, > > Please refer to my inline comment. > > On Tue, Oct 6, 2015 at 3:48 PM, Nuwan Pallewela wrote: > >> Hi All, >> >> I have tested following scenarios. >> >>

[Dev] [IS] How to enable the SVN in IS cluster to sync BPEL and HT artifacts

2015-10-06 Thread Aparna Karunarathna
Hi Johann and IS team, How to enable the SVN in IS cluster to sync BPEL and HT artifacts among nodes? In Worker/Manager cluster setup, manager node is used to commit artifacts, but for IS cluster doesn't have manager node, both nodes are behave as manager nodes. Basically this issue is getting

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Anuruddha Premalal
Hi Lahiru, Tenant creation was done by (+ punnadi). Since we had a single stratos, didn't want stage parameter to create tenant in separate registries, however once we move tenant creation to greg's you might have to bring the stage parameter back or you could use multiple subscriber on the

Re: [Dev] [IS] How to enable the SVN in IS cluster to sync BPEL and HT artifacts

2015-10-06 Thread Nandika Jayawardana
In the cluster scenario, its better to point to an external BPS cluster. Regards Nandika On Tue, Oct 6, 2015 at 4:06 PM, Aparna Karunarathna wrote: > Hi Johann and IS team, > > How to enable the SVN in IS cluster to sync BPEL and HT artifacts among > nodes? > > In

Re: [Dev] Is there any method which can checks the resource exists or not in registry

2015-10-06 Thread Rajith Roshan
Hi Rajeenthini, You can get the instance of registry as below and check if the resource exists. RegistryProviderUtil provider = new RegistryProviderUtil(); WSRegistryServiceClient registry = provider.getWSRegistry(automationContext); if(registry.resourceExists(path)) Thanks, Rajith On Tue,

Re: [Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Sameera Kannangara
Hi Nuwan, What is the WSO2 server type you are using? and what is the version? In any case none of the users have ability to check-in to the root directory. Therefore you'll have to take the checkout from a collection that is closer to the resource location you are trying to move. Ex - sh

Re: [Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
Hi Sameera, I'm using 5.0.0 Greg server. It was the issue. It worked when I mention a different location. Thanks. There was an issue, after I tried to invoke it to root directory it gave the error that admin is not allowed to write for root. Then I could not browse any file from the management

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Lahiru Manohara
Now cloud manager initialization is happening inside the initializeCloudManager method and also initializeCloudManager method calls for three stages are removed from the BPEL as well. On Tue, Oct 6, 2015 at 4:25 PM, Anuruddha Premalal wrote: > Hi Lahiru, > > Tenant creation

[Dev] [DAS][APIM] DAS REST API, cApp Deployable URL in Cluster mode

2015-10-06 Thread Rukshan Premathunga
Hi all, APIM keep the configuration for Capp deploy server url and Event publisher URL. Now we have used the REST API to fetch data and we need to keep the URL for that as well. We allow users to set them from the APIM UI. But we have a doubt about how would be the above URLs are change in

Re: [Dev] [IS] How to enable the SVN in IS cluster to sync BPEL and HT artifacts

2015-10-06 Thread Harsha Thirimanna
Hi Aparna, As Nandika said, I think we don't need to worry about this bps feature in cluster mode with embeded one. Better to test it with external. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* *

Re: [Dev] SSO Authentication Error

2015-10-06 Thread Charitha Goonetilleke
Hi All, I tried with latest commits and seems, $subject is solved with latest changes. Thanks, /charithag On Tue, Oct 6, 2015 at 3:20 PM, Darshana Gunawardana wrote: > > > On Tue, Oct 6, 2015 at 2:21 PM, Hasintha Indrajee > wrote: > >> Seems like this

Re: [Dev] ESB 4.9.0 - NPE occurs in tenant APIs with same context and different versions

2015-10-06 Thread Chanaka Fernando
Hi NuwanD, I can reproduce the issue with the provided configuration. I have already created a fix for this issue and currently testing it. I'll update the thread once I finalized the fix and merge the PR. On Tue, Oct 6, 2015 at 2:59 PM, Nuwan Dias wrote: > Attaching the two

[Dev] Cannot log to Identity Server Dashboard - NPE in shindig

2015-10-06 Thread Godwin Amila Shrimal
Hi All, When we log to Identity Server Dashboard (IS 5.1.0-Alpha) it gives following error which is reported in [1] {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant -1234 [2015-09-29 18:10:31,754] INFO

Re: [Dev] Issue in verifying the Account locking mechanism

2015-10-06 Thread Isura Karunaratne
HI Chalitha, Please refer [1] for latest config changes. [1] https://wso2.org/jira/browse/DOCUMENTATION-2114 Thanks Isura On Tue, Oct 6, 2015 at 6:37 PM, Chalitha Waldeniyage wrote: > Hi Isura, > > I am testing the Account locking mechanism in [1] and it doesn't contains >

Re: [Dev] [ESB] NPE with EIP guide sample.

2015-10-06 Thread Chanaka Fernando
Hi Ajith, I have already added a fix to the NPE and currently testing that. Just wanted to let you know that this is happening due to a configuration issue. The code was written assuming that this NPE cannot occur in proper configurations. But there can be some edge cases where this can become

Re: [Dev] Is there any method which can checks the resource exists or not in registry

2015-10-06 Thread Rajeenthini Satkunam
Hi rajith, I have tried the way you mentioned.When I use like this RegistryProviderUtil provider = new RegistryProviderUtil(); WSRegistryServiceClient registry = provider.getWSRegistry(getUesContext()); assertFalse(registry.resourceExists(resourcePath),"Registry resource could not be deleted due

Re: [Dev] Issue in verifying the Account locking mechanism

2015-10-06 Thread Chalitha Waldeniyage
Thanks for the information Isura. [Looping Samuel] since most of the identity management docs needs to be change. On Tue, Oct 6, 2015 at 6:45 PM, Isura Karunaratne wrote: > HI Chalitha, > > Please refer [1] for latest config changes. > > [1]

Re: [Dev] [ESB] NPE with EIP guide sample.

2015-10-06 Thread Ajith Vitharana
On Tue, Oct 6, 2015 at 9:31 AM, Chanaka Fernando wrote: > Hi Ajith, > > I have already added a fix to the NPE and currently testing that. Just > wanted to let you know that this is happening due to a configuration issue. > The code was written assuming that this NPE cannot

Re: [Dev] [IS] How to enable the SVN in IS cluster to sync BPEL and HT artifacts

2015-10-06 Thread Aparna Karunarathna
Hi Harsha/ Nandika, > > > As Nandika said, I think we don't need to worry about this bps feature in > cluster mode with embeded one. Better to test it with external. > > I'm not sure whether you understood my question or not. Enabling DepSync (SVN) in both nodes is not the problem. My question

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Punnadi Gunarathna
Hi Lahiru, Please find the changes made by me in [1]. I think you will have to revert it back to it's initial state. [1] https://github.com/punnadih/product-af/commit/c58f448a61f42d1ba8f6e5206e437076926267f8 On Tue, Oct 6, 2015 at 6:49 AM, Lahiru Manohara wrote: > Now

[Dev] Issue in verifying the Account locking mechanism

2015-10-06 Thread Chalitha Waldeniyage
Hi Isura, I am testing the Account locking mechanism in [1] and it doesn't contains identity-mgt.properties file in mentioned file path. Instead we can find this in repository/conf/identity location. But some of the mentioned properties are not in that location. Please let us know what is the

Re: [Dev] Issue in verifying the Account locking mechanism

2015-10-06 Thread Samuel Gnaniah
Noted. Adding this as soon as we're done with workflows. :) Thanks, *Samuel Gnaniah* Lead Technical Writer WSO2 (pvt.) Ltd. Colombo, Sri Lanka (+94) 773131798 On Tue, Oct 6, 2015 at 7:00 PM, Chalitha Waldeniyage wrote: > Thanks for the information Isura. > > [Looping

[Dev] [jaggery] product-jaggery build fail due to version mismatch

2015-10-06 Thread Lalanke Athauda
Hi, I'm trying to build product-jaggery, so I updated the carbon versions in the pom.xml file. I have updated to newest versions. When it builds, it gives following error and fails the build. Installation failed. Cannot complete the install because one or more required items could not be found.

Re: [Dev] [ESB] NPE with EIP guide sample.

2015-10-06 Thread Ajith Vitharana
On Tue, Oct 6, 2015 at 5:06 AM, Chanaka Fernando wrote: > Hi Ajith, > > The scenario which you have tested is not correct. If you put > mediator in the outSequence, since you are cloning the request and send to > 2 back ends, ESB will get 2 responses and tries to send back 2

[Dev] Hazelcast Issue - sequence is too small. the current head sequence...

2015-10-06 Thread Hasitha Hiranya
Hi Peter, We are using Hazelcast in our Message Broker project. We are getting following exception when using a iTopic for syncing data. Appreciate any idea why this happen? Are we doing something wrong in our client application? We found code [1] throwing the exception. Oct 06, 2015 4:26:44

Re: [Dev] [AF] dockersupport-1.1 branch building issue with workflow extensions changes

2015-10-06 Thread Amalka Subasinghe
As I know what you are doing is, implementing a extension class to invoke the methods defined in AppFactoryTenantInfraStructureInitializerService class. Now with the new implementation we have removed calling initializeCloudManager method 3 times for 3 stages. Instead of that we call

Re: [Dev] [IS] - Assertion Signing is displayed in Federated Authenticators > SAML2 Web SSO but not in SAML Service Provider

2015-10-06 Thread Nadeesha Meegoda
Thanks Dulanja and Gayan for the clarification. On Tue, Oct 6, 2015 at 11:07 PM, Gayan Gunawardana wrote: > > > On Tue, Oct 6, 2015 at 10:48 PM, Nadeesha Meegoda > wrote: > >> Hi Dulanja, >> >> In the SAML SP configuration for IS 5.1.0 there is no such

Re: [Dev] Table 'is510reg.REG_LOG' doesn't exist" error was thrown when starting the server

2015-10-06 Thread Isuruwan Herath
Hi Isura, Is it possible to verify that in QA DB, REG_LOG table has been created in *is510reg* database and access granted to the DB user which is configured in IS node, to the same database? Thanks, Isuruwan On Tue, Oct 6, 2015 at 8:26 PM, Isura Karunaratne wrote: > > Hi, >>

Re: [Dev] [IS] - Assertion Signing is displayed in Federated Authenticators > SAML2 Web SSO but not in SAML Service Provider

2015-10-06 Thread Dulanja Liyanage
Hi Nadeesha, Assertion Signing option in the IdP UI enables/disables Assertion Signature *validation*. The Assertion coming from the external IS will be always signed. The IS acting as the SP can decide whether to validate that or not. Thanks Dulanja On Tue, Oct 6, 2015 at 8:35 PM, Nadeesha

Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Anjana, I think the link [1] given something similar to *where* clause in sql (I mean the *query *part is something similar to *where *clause). Here what I really need to do is, use the count operation with *group by. * In addition to that does luicene support for ascending and descending

[Dev] [DEV] [IS] [user-mgt] Clarification for Bulk Import Users

2015-10-06 Thread Kavitha Subramaniyam
Hi IS team, I have configured external JDBC R/W-mysql for primary user store and I could be able to see the 'Bulk Import Users' link, only if JDBC configured as primary user store and no other secondary user stores configured. When I have secondary stores configured and disable those stores to

  1   2   >