Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Courage Angeh
Hi Mua, `Ctrl' + `C` works for me, but I use Ubuntu, not Mac OS. Concerning your question on Active MQ. Fineract has a notification system that uses Active MQ to track and pick up important events like *new client created*, between the Finerect services. Fineract has been configured to silently t

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Mua Rachmann
Hi Courage, Vishwas, Please is there a means for stopping the *./gradlew tomcatRunWar*? so i can run other gradlew commands I stop mine this way *CTRL + Z* and kill the process using *kill -9 * but I feel i am not doing it right. Is this the correct way or is there some other way. Sorry if i am

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Mua Rachmann
Yes Vishwas, I noticed it works only with the 8443 port. Thanks for that clarification. Hmmm, Vishwas i read on Activemq and - it's a messaging reporting tool Can i know what it actually does in the codebas thanks. Just being curious Regards On Tue, Mar 12, 2019 at 6:13 PM Vishwas Babu < vish..

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Courage Angeh
Yea. To add to that you might have to you request for a valid authentication token at https://localhost:8443/fineract-provider/api/v1/authentication?username=mifos&password=password so you can use it to access the secured endpoints On Tue, Mar 12, 2019, 1:13 PM Vishwas Babu wrote: > Adding a mi

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Vishwas Babu
Adding a minor clarification in case other GSOC students are referring to this thread. After the installation, Fineract would be available on port 8443 (with only https supported) and NOT 8080. So a valid URL would be similar to https://localhost:8443/fineract-provider/api/v1/clients?tenantIdentifi

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Mua Rachmann
Hey Couarage, Juhan, Vishwas, Awasum. I installed activemq and started it. Now i no longer get the active mq error message. See the new logs here. - https://pastebin.com/4MEjFPSk Thanks for your guides and prompt response so far. I use postman for testing the api and setting suitable headers. Al

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Courage Angeh
Hi Mua, I also realized you dont have active MQ installed. So you get an activeMQ network error in your logs. On Tue, Mar 12, 2019, 8:57 AM Courage Angeh wrote: > Hi Mua, > > Thats the expected response. You wrk with the api doc to see the header > params to set so you can make a succesful requ

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Courage Angeh
Hi Mua, Thats the expected response. You wrk with the api doc to see the header params to set so you can make a succesful request. You set tenant id and an authorization header On Tue, Mar 12, 2019, 4:01 AM Mua Rachmann wrote: > Hi Juhan, > > Thanks for your prompt response but i have opened t

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Mua Rachmann
Hi Juhan, Thanks for your prompt response but i have opened the url and i get this Not Found - The requested URL /fineract-provider/api/v1/clients was not found on this server. Nothing logged as it is still at 92% of the build. Anything i need to do? Thanks On Tue, Mar 12, 2019 at 8:45 AM Juhan

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Juhan Aasaru
Hi Mua this should be expected behaviour. Try to open the browser at http://localhost:8080/fineract-provider/api/v1/clients?tenantIdentifier=default and if you get a valid JSON (something like "[]" since you don't have any customers yet in your database) back then you have fineract back-end workin

Re: Error when running *gradlew runTomCat*

2019-03-12 Thread Mua Rachmann
Hi Vishwas, I corrected the context.xml file thanks. This time around I ran *./gradlew tomcatRunWar* All builds fine but stucked at 92% of the build. Could there be something wrong? Or is this the expected behaviour. Should i have to wait again for it to complete? Here is the output of the comma

Re: Error when running *gradlew runTomCat*

2019-03-11 Thread Vishwas Babu
Mua, During tomcatRunwar, the following tasks are carried out 1) Initialize and upgrade the tenants list database (which lists details of all tenants and their database connection credentials, i.e the equivalent of ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants ) You are stuck here

Re: Error when running *gradlew runTomCat*

2019-03-11 Thread Mua Rachmann
Sorry about the subject of the mail it is actually tomcatRunWar. Sorry for the confusion. I am new to the names Still would love to know why my build fails. Cheers On Tue, Mar 12, 2019 at 3:19 AM Mua Rachmann wrote: > Hi everyone, > > I ran the following commands below which built successfully

Error when running *gradlew runTomCat*

2019-03-11 Thread Mua Rachmann
Hi everyone, I ran the following commands below which built successfully. 1. ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants 2. ./gradlew migrateTenantDB -PdbName=mifostenant-default Upon running *gradlew tomcatRunWar* I get the following error https://pastebin.com/ExQZEG6c