Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Rajith Roshan
Hi all, The reason maybe its not working with standard ballerina 0.970.1 is, in alpha version we are using ballerina 0.974 which comes with the balo support. So to generate the balx we use the complied balo files. This was not in the ballerina 0.970.1. So there might be a difference between the

Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Dinusha Senanayaka
Thanks Malintha/Nuwan. Had no specific use case to run .balx with standard ballerina distribution. Was just trying different stuff. Will use the script provided with distribution. Regards, Dinusha On Wed, Jun 27, 2018 at 5:36 PM Nuwan Dias wrote: > We will be getting rid of the .balx file gener

Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Nuwan Dias
We will be getting rid of the .balx file generated outside the project directory. Therefore it would be best if you could extract the .zip file that's generated and run the program via the provided bash script. On Wed, Jun 27, 2018 at 5:03 PM Dinusha Senanayaka wrote: > > Hi Malintha, > > On Wed

Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Malintha Amarasinghe
Hi Dinusha, On Wed, Jun 27, 2018 at 5:01 PM, Dinusha Senanayaka wrote: > > Hi Malintha, > > On Wed, Jun 27, 2018 at 4:57 PM Malintha Amarasinghe > wrote: > >> Hi Dinusha, >> >> It should work, basically the shell script created inside the >> distribution (distribution/micro-gw-marketing_store/b

Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Dinusha Senanayaka
Hi Malintha, On Wed, Jun 27, 2018 at 4:57 PM Malintha Amarasinghe wrote: > Hi Dinusha, > > It should work, basically the shell script created inside the distribution > (distribution/micro-gw-marketing_store/bin/micro_gw.sh) also doing a > ballerina run command. > > Does running the above file (.

Re: [Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Malintha Amarasinghe
Hi Dinusha, It should work, basically the shell script created inside the distribution ( distribution/micro-gw-marketing_store/bin/micro_gw.sh) also doing a ballerina run command. Does running the above file (./micro_gw.sh) work? If it works, the ballerina runtime installed in your machine may be

[Dev] [APIM] Unable to run micro-gw generated balx file

2018-06-27 Thread Dinusha Senanayaka
Hi APIM team, I'm trying to run micro-gw build generated balx file as a separate ballerina program and getting following error. Is that something possible ? Any idea on what could be wrong here ? Tried to execute the balx file in project's target directory and then the one in "target/distribution