Re: [Architecture] [Dev] [VOTE] Release WSO2 DSS 3.5.0 RC2

2015-10-27 Thread Madhawa Gunasekara
Hi Sumedha, Please find my comments inline. But following did not work. May be my filter criteria is wrong. > https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=city > yes you query is wrong, if you need to

Re: [Architecture] [Dev] [VOTE] Release WSO2 DSS 3.5.0 RC2

2015-10-27 Thread Rajith Vitharana
Hi All, Thank you for testing and verifying the WSO2 Data Services Server 3.5.0 RC2. We are closing this vote now. This vote has passed with 5 +1s and 0 -1s. Therefore we are proceeding with the WSO2 Data Services Server 3.5.0 release. 5 +1s 0 -1s Thank you and Regards, WSO2 DSS Team __

[Architecture] (no subject)

2015-10-27 Thread Madhawa Gunasekara
Hi Sumedha, yes, if you need to filter by CITY then specify a string to filter like this, https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$filter=CITY eq 'Nantes' or if you need only to select CITY then you can use this https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS?$select

Re: [Architecture] [Dev] [VOTE] Release WSO2 DSS 3.5.0 RC2

2015-10-27 Thread Sumedha Rubasinghe
Hi, I tested the latest pack. I enabled OData on RDBMSSample. I was able to access following endpoints and get results as expected. https://localhost:9443/odata/RDBMSSample/default https://localhost:9443/odata/RDBMSSample/default/CUSTOMERS But following did not work. May be my filter criteria is

Re: [Architecture] Frequently seen issue in Microservices Server on Kubernetes environment

2015-10-27 Thread Afkham Azeez
Yes, having the ability to see the original exception is crucial. On Wed, Oct 28, 2015 at 10:33 AM, Samiyuru Senarathne wrote: > This happens when an exception is thrown inside a resource method. Cause > for the null pointer exception is not passing an ExceptionHandler instance > to the HttpReso

Re: [Architecture] [ESB-Connector] EJB Connector

2015-10-27 Thread Rajjaz Mohammed
yes malaka, i got the point. development will be based on that. @Rasika Thanks Rasika for the Reply. On Wed, Oct 28, 2015 at 10:57 AM, Malaka Silva wrote: > Rajjaz as we discussed offline this implementation should be generic and > should not tightly coupled to a container. > > On Wed, Oct 28,

Re: [Architecture] [ESB-Connector] EJB Connector

2015-10-27 Thread Malaka Silva
Rajjaz as we discussed offline this implementation should be generic and should not tightly coupled to a container. On Wed, Oct 28, 2015 at 10:45 AM, Rasika Perera wrote: > Can you list down the libraries you are using? > > On Wed, Oct 28, 2015 at 10:42 AM, Rajjaz Mohammed wrote: > >> Hi All, >

Re: [Architecture] [ESB-Connector] EJB Connector

2015-10-27 Thread Rasika Perera
Can you list down the libraries you are using? On Wed, Oct 28, 2015 at 10:42 AM, Rajjaz Mohammed wrote: > Hi All, > Since I’m adding server libraries for Connector the size of the connector > zip file is increasing (now 65 MB) so is there any limitation for Connector > file? or do we have any ot

Re: [Architecture] [ESB-Connector] EJB Connector

2015-10-27 Thread Rajjaz Mohammed
Hi All, Since I’m adding server libraries for Connector the size of the connector zip file is increasing (now 65 MB) so is there any limitation for Connector file? or do we have any other solution? On Sat, Oct 24, 2015 at 6:15 PM, Rasika Perera wrote: > Hi Rajjaz, > > i need to know which EJB-Co

Re: [Architecture] Frequently seen issue in Microservices Server on Kubernetes environment

2015-10-27 Thread Samiyuru Senarathne
This happens when an exception is thrown inside a resource method. Cause for the null pointer exception is not passing an ExceptionHandler instance to the HttpResourceHandler and it becomes the reason for the relevant HttpMethodInfo instance to have a null ExceptionHandler. I will send a PR to fix

Re: [Architecture] Permission model for WSO2 GReg Publisher

2015-10-27 Thread Mushthaq Rumy
Hi Shiro, Dulindra, I have attached the user story doc[1] for this. [1] https://docs.google.com/a/wso2.com/document/d/1uO5mjVRv9Adtb5vFDI497N4wieGbnBcWU9_3SaDJZYA/edit?usp=sharing Thanks & Regards, On Wed, Oct 28, 2015 at 8:55 AM, Dulindra Wijethilake wrote: > *@ by Hexigo

Re: [Architecture] WSO2 MSS - pet store k8s deployment is not very stable

2015-10-27 Thread Lakmal Warusawithana
I scaled into multiple replicas, still running without restarts. Will do more testing Lakmals-MacBook-Pro:wso2mss-automation lakmal$ kubectl get pods NAME READY STATUSRESTARTS AGE admin-fe-ldm97 1/1 Running 0 16h fileserver-8npyj 1/1

Re: [Architecture] WSO2 MSS - pet store k8s deployment is not very stable

2015-10-27 Thread Afkham Azeez
I am running multiple replicas of several pods. On Wed, Oct 28, 2015 at 7:41 AM, Lakmal Warusawithana wrote: > Will have a look, my setup running more than 15 hours without any restart. > > NAME READY STATUSRESTARTS AGE > > admin-fe-ldm97 1/1 Running 0

Re: [Architecture] Permission model for WSO2 GReg Publisher

2015-10-27 Thread Dulindra Wijethilake
*@ by Hexigo * On Mon, Oct 26, 2015 at 4:18 PM, Shiro Kulatilake wrote: > Hi Mushtaq, Dulindra, > > What are the user stories that make this a requirement ? > > If we think from a user POV (if not already done) maybe we"ll be able to > capture some edge ca

Re: [Architecture] WSO2 MSS - pet store k8s deployment is not very stable

2015-10-27 Thread Lakmal Warusawithana
Will have a look, my setup running more than 15 hours without any restart. NAME READY STATUSRESTARTS AGE admin-fe-ldm97 1/1 Running 0 15h fileserver-8npyj 1/1 Running 0 15h pet-9mm4q 1/1 Running 0

Re: [Architecture] Need to do a 1.0 release of Carbon-transports

2015-10-27 Thread Kishanthan Thangarajah
On Mon, Oct 26, 2015 at 6:42 PM, Kishanthan Thangarajah wrote: > We need the carbon-startup coordinator integrated with transports project. > I'm integrating and testing it now. We can merge it, test it and release it. > This PR [1] include the fixes needed for integrating the startup coordinato

[Architecture] WSO2 Carbon Kernel 5.0.0 - Milestone 07 Released !

2015-10-27 Thread Aruna Karunarathna
WSO2 Carbon Kernel 5.0.0 - Milestone 07 Released ! We are pleased to announce that the seventh milestone release of Carbon Kernel 5.0.0 is now available to download from here . The Source and Tag Loca

[Architecture] WSO2 MSS - pet store k8s deployment is not very stable

2015-10-27 Thread Afkham Azeez
NAME READY STATUSRESTARTS AGE admin-fe-0fz2a 1/1 Running 0 3h admin-fe-wfyez 1/1 Running 0 3h fileserver-v3t0r 1/1 Running 0 3h pet-c7moa 0/1 Running 12 3h pet-cz6n

Re: [Architecture] WSO2 MSS - petstore sample - after session times out, take the user to the home page

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 12:03 PM, Afkham Azeez wrote: > $subject > I have introduced above modification. Thanks ! > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * * > *emai

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 4:29 PM, Lakmal Warusawithana wrote: > Its working now!! > Cool :) Thanks ! > > > > On Tue, Oct 27, 2015 at 4:22 PM, Lakmal Warusawithana > wrote: > >> >> >> On Tue, Oct 27, 2015 at 4:21 PM, Lakmal Warusawithana >> wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 4:11 PM

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
It is working now. On Tue, Oct 27, 2015 at 5:46 PM, Afkham Azeez wrote: > The env var was wrong. I have changed it. > > On Tue, Oct 27, 2015 at 5:30 PM, Afkham Azeez wrote: > >> The sample still fails. It is a 404. >> >> Log from store-fe >> >> 27-Oct-2015 11:48:44.122 SEVERE [http-nio-8080-exe

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
The env var was wrong. I have changed it. On Tue, Oct 27, 2015 at 5:30 PM, Afkham Azeez wrote: > The sample still fails. It is a 404. > > Log from store-fe > > 27-Oct-2015 11:48:44.122 SEVERE [http-nio-8080-exec-8] > org.wso2.carbon.mss.examples.petstore.util.fe.client.TxnServiceClient.addOrder

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
The sample still fails. It is a 404. Log from store-fe 27-Oct-2015 11:48:44.122 SEVERE [http-nio-8080-exec-8] org.wso2.carbon.mss.examples.petstore.util.fe.client.TxnServiceClient.addOrder TXN service return code is 404 , hence can't proceed with the response On Tue, Oct 27, 2015 at 3:42 PM, Af

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
Its working now!! On Tue, Oct 27, 2015 at 4:22 PM, Lakmal Warusawithana wrote: > > > On Tue, Oct 27, 2015 at 4:21 PM, Lakmal Warusawithana > wrote: > >> >> >> On Tue, Oct 27, 2015 at 4:11 PM, Sagara Gunathunga >> wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 4:09 PM, Lakmal Warusawithana >>

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
On Tue, Oct 27, 2015 at 4:21 PM, Lakmal Warusawithana wrote: > > > On Tue, Oct 27, 2015 at 4:11 PM, Sagara Gunathunga > wrote: > >> >> >> On Tue, Oct 27, 2015 at 4:09 PM, Lakmal Warusawithana >> wrote: >> >>> >>> On Tue, Oct 27, 2015 at 4:06 PM, Lakmal Warusawithana >>> wrote: >>> >>

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
On Tue, Oct 27, 2015 at 4:11 PM, Sagara Gunathunga wrote: > > > On Tue, Oct 27, 2015 at 4:09 PM, Lakmal Warusawithana > wrote: > >> >> On Tue, Oct 27, 2015 at 4:06 PM, Lakmal Warusawithana >> wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 4:05 PM, Sagara Gunathunga >>> wrote: >>>

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 4:09 PM, Lakmal Warusawithana wrote: > > On Tue, Oct 27, 2015 at 4:06 PM, Lakmal Warusawithana > wrote: > >> >> >> On Tue, Oct 27, 2015 at 4:05 PM, Sagara Gunathunga >> wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 3:55 PM, Afkham Azeez wrote: >>> Yes, image URL is

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
On Tue, Oct 27, 2015 at 4:06 PM, Lakmal Warusawithana wrote: > > > On Tue, Oct 27, 2015 at 4:05 PM, Sagara Gunathunga > wrote: > >> >> >> On Tue, Oct 27, 2015 at 3:55 PM, Afkham Azeez wrote: >> >>> Yes, image URL is still wrong. http://172.17.8.102:80/fs/cat.jpeg";> >>> >> >> Have you set FE_FI

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
On Tue, Oct 27, 2015 at 4:05 PM, Sagara Gunathunga wrote: > > > On Tue, Oct 27, 2015 at 3:55 PM, Afkham Azeez wrote: > >> Yes, image URL is still wrong. http://172.17.8.102:80/fs/cat.jpeg";> >> > > Have you set FE_FILE_SERVICE_NODE_PORT env variable ? > > Check following log -> "File Service Nod

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 3:55 PM, Afkham Azeez wrote: > Yes, image URL is still wrong. http://172.17.8.102:80/fs/cat.jpeg";> > Have you set FE_FILE_SERVICE_NODE_PORT env variable ? Check following log -> "File Service Node Port : X " Thanks ! > > > On Tue, Oct 27, 2015 at 3:50 PM, Lakmal Warus

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Afkham Azeez
Yes, image URL is still wrong. http://172.17.8.102:80/fs/cat.jpeg "> On Tue, Oct 27, 2015 at 3:50 PM, Lakmal Warusawithana wrote: > > > On Tue, Oct 27, 2015 at 3:13 PM, Sagara Gunathunga > wrote: > >> >> >> On Tue, Oct 27, 2015 at 3:00 PM, Lakmal Warusawithana >> wrote: >> >>> Hi Sagara, >>>

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
On Tue, Oct 27, 2015 at 3:13 PM, Sagara Gunathunga wrote: > > > On Tue, Oct 27, 2015 at 3:00 PM, Lakmal Warusawithana > wrote: > >> Hi Sagara, >> >> On Tue, Oct 27, 2015 at 2:54 PM, Sagara Gunathunga >> wrote: >> >>> >>> >>> On Tue, Oct 27, 2015 at 12:11 PM, Afkham Azeez wrote: >>> There

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
We have to make this work without embedding the wso2carbon.jks in the jar file itself. The KS file has to be outside the jar. On Tue, Oct 27, 2015 at 3:17 PM, Dinusha Senanayaka wrote: > Hi Azeez, > > On Tue, Oct 27, 2015 at 2:53 PM, Afkham Azeez wrote: > >> Dinusha can you check? >> > > Issue

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Dinusha Senanayaka
Hi Azeez, On Tue, Oct 27, 2015 at 2:53 PM, Afkham Azeez wrote: > Dinusha can you check? > Issue is there is no keystore configured for transaction service. If you add default wso2carbon keystore to resources directory of transaction service and re-build the jar and deploy, this cart checkout op

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 3:00 PM, Lakmal Warusawithana wrote: > Hi Sagara, > > On Tue, Oct 27, 2015 at 2:54 PM, Sagara Gunathunga > wrote: > >> >> >> On Tue, Oct 27, 2015 at 12:11 PM, Afkham Azeez wrote: >> >>> There is an exception in the FE services >>> >>> >>> 27-Oct-2015 06:04:32.229 INFO [h

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Lakmal Warusawithana
Hi Sagara, On Tue, Oct 27, 2015 at 2:54 PM, Sagara Gunathunga wrote: > > > On Tue, Oct 27, 2015 at 12:11 PM, Afkham Azeez wrote: > >> There is an exception in the FE services >> >> >> 27-Oct-2015 06:04:32.229 INFO [http-nio-8080-exec-10] >> org.wso2.carbon.mss.examples.petstore.util.fe.view.Pet

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 2:50 PM, Afkham Azeez wrote: > I checked txn service, There was no error logged. > Can you take Git pull and check whether you have "*SEVERE: TXN service return code is 500 " log *message printed after following log . " INFO: Returned from TXN service http://localhost:

Re: [Architecture] WSO2 MSS - Pet store sample - image not fetched from the fileserver service

2015-10-27 Thread Sagara Gunathunga
On Tue, Oct 27, 2015 at 12:11 PM, Afkham Azeez wrote: > There is an exception in the FE services > > > 27-Oct-2015 06:04:32.229 INFO [http-nio-8080-exec-10] > org.wso2.carbon.mss.examples.petstore.util.fe.view.PetListBean.modifyImage*URL > Current Image URL dog.jpeg* > @Lakmal, So far in your im

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
Dinusha can you check? On Tue, Oct 27, 2015 at 2:47 PM, Sagara Gunathunga wrote: > > This happen because TXN service return HTTP 500 with empty body, this is > the expected behaviour from FE when it get error code from BE services. I > have added new log message to show HTTP status code, in this

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Afkham Azeez
I checked txn service, There was no error logged. On Tue, Oct 27, 2015 at 2:47 PM, Sagara Gunathunga wrote: > > This happen because TXN service return HTTP 500 with empty body, this is > the expected behaviour from FE when it get error code from BE services. I > have added new log message to sho

Re: [Architecture] WSO2 MSS - Petstore sample - failed to complete transaction

2015-10-27 Thread Sagara Gunathunga
This happen because TXN service return HTTP 500 with empty body, this is the expected behaviour from FE when it get error code from BE services. I have added new log message to show HTTP status code, in this case I can see following log. *SEVERE: TXN service return code is 500 , hence can't proce