Issues with Ballerina Integrator

111 Views Asked by At

I have tried the FTP samples of Ballerina Integrator with 1.0.3,1.0.5 and 1.1.0 too. I am facing the same issues with all those mentioned versions. But i am able to run Ballerina Samples with the help of Ballerina Versions 1.0.3, 1.0.5 and 1.1.0 When am facing issues means while running the samples of Ballerina Integrator alone. Through Command Prompt and Also VSCode Editor Same issues only coming.

I dont know where am doing the mistake and which mistake am doing?

Please help me to do further.

For the reference, please find the screenshots

Command Prompt Console

VSCode Console

3

There are 3 best solutions below

0
On BEST ANSWER

Just install Ballerina Integrator alone which is packed with Ballerina 1.0.2 so no need to install Ballerina again or separately.

Locally installed "Ballerina Integrator with Ballerina" is lower version ie)1.0.2, In VSCode "Ballerina Integrator with Ballerina" is latest one ie)1.1.0.

Mismatched version is the main problem which i was faced.

I have removed BI and Ballerina plugin from VSCode just tried the samples from random location now its working fine

1
On

It looks like you have installed Ballerina again after installing Ballerina Integrator. You do not have to install Ballerina again if you have already installed Ballerina Integrator. You can download the latest Ballerina Integrator from here.

Execute command which ballerina and make sure the path is similar to <EI_HOME>/ballerina-integrator/bin/ballerina.

0
On

You can install Ballerina 1.0.2 using ballerina dist command as well. Use ballerina dist pull jballerina-1.0.2 to downgrade the ballerina version.