RE: Web-self-service app

2020-04-30 Thread Karthik Ananthakrishnan
Hey Floyd. I can help you with this.

Sent from Mail for Windows 10


From: Floyd Nickson 
Sent: Thursday, April 30, 2020 4:08:11 PM
To: Mifos software development ; 
dev@fineract.apache.org 
Subject: Web-self-service app

Hello, am looking for someone who can deploy mifos web-self-service and ensure 
that it's running.


MIFOS Azure Image for latest version

2019-05-16 Thread Karthik Ananthakrishnan
Hello all,

Last available Image-ID for Azure is 16.03.03 released in March 2016.

How do we get the Azure Image-ID for 18.03.01.? Looking for image-id in
Mumbai region.

Regards,
Karthik


Re: Fineract CN - Migration for Cassandra

2019-02-22 Thread Karthik Ananthakrishnan
Thanks Marcus. Let me check in accounting and get back for any queries.

Regards,
Karthik

On Fri, Feb 22, 2019 at 6:43 PM Markus Geiss  wrote:

> Hey,
>
> Apache Fineract CN provides a mechanism to also migrate data in a similar
> way like Flyway.
>
> Within the core component for Cassandra we have build some mechansim to
> easily do this.
>
> In the migration handler of accounting you can see how it is used to
> migrate the journal entry data model.
>
> Cheers
>
> Markus
>
>
>
> On Fri, Feb 22, 2019 at 2:06 PM yildirim.oguzha...@gmail.com <
> yildirim.oguzha...@gmail.com> wrote:
>
> > Hello,
> >
> > While i was in Internship they were using a github repository let me add
> > the link
> >
> > https://github.com/patka/cassandra-migration
> >
> > Kind Regards,
> > Oguzhan
> >
> > On 2019/02/21 06:40:53, Karthik Ananthakrishnan <
> > karthi...@beyondsquare.com.INVALID> wrote:
> > > Hello All,
> > >
> > > We use Flyway for MySQL DB migration.
> > >
> > > Do we have something similar to manage the migrations for Cassandra DB
> > > changes in Fineract CN.? Currently DB schema and tables are created in
> > > Cassandra through SchemaBuild library and buildTable() functions called
> > > from the provisioner classes.
> > >
> > > SchemaBuilder has alterTable functions which can be used, but I think
> we
> > > will need to add new functions to implement alter table when we start
> > > server without provisioning.
> > >
> > > Regards,
> > > Karthik
> > >
> >
>


Fineract CN - Migration for Cassandra

2019-02-20 Thread Karthik Ananthakrishnan
Hello All,

We use Flyway for MySQL DB migration.

Do we have something similar to manage the migrations for Cassandra DB
changes in Fineract CN.? Currently DB schema and tables are created in
Cassandra through SchemaBuild library and buildTable() functions called
from the provisioner classes.

SchemaBuilder has alterTable functions which can be used, but I think we
will need to add new functions to implement alter table when we start
server without provisioning.

Regards,
Karthik


Enabling Flyway in Fineract CN

2019-01-16 Thread Karthik Ananthakrishnan
Hello all,

Currently flyway is by default disabled in Fineract CN. So, additional
script will not get executed and we need to clean DB and run the server
with provisioner true.

To enable flyway,
Open application.yml in service/src/main/resources/application.yml

in
all repos and change flyway enabled to true.

After this change, we need to create run the server from scratch so that
flyway baseline tables are created and populated.

Regards,
Karthik


Re: Simplifying Fineract CN Demo-server

2019-01-16 Thread Karthik Ananthakrishnan
Hello Isaac,

I started the server first time with provisioner that created the tables.
After that, i commented out provisioner starting and other services that i
dont need in servicerunner.java. So, i was running the application only
with Identity, Portfolio and customer. When i did this, i could start the
application within 5-7 minutes. I could login, create a customer when
starting with the limited service.

Cons were as below.
1. Since flyway was not enabled, any additional DB changes, i have to again
run the server with provisioner - Solution to this was, i enabled flyway in
.yaml file and then flyway worked.

2. In one of the tables in cassandra, the ports for each server was getting
saved when run with provisioner for the first time. So, when starting the
services limited services, the port numbers mismatched - I wasnt sure of
the effect of this.

I tried this before a month. I will add more to this thread as  i remember
other cons that i faced.

Regards,
Karthik


On Thu, Jan 17, 2019 at 12:25 AM Isaac Kamga  wrote:

> Hello there,
>
> @Ebenezer You're welcome to improve the Notification's service API docs
> ... Btw, I never knew you were working on that already ( You should have
> alerted the list ;-) ).
>
> Concerning your feign client issue, please take a close look at Awasum's
> recent response to Marta Jankovics and Peter Santa on thread titled
> "[Fineract CN] feign client issues".
>
> @Karthik Ananthakrishnan  , as concerns Simplifying
> demo-server, could you kindly share your experience stopping provisioner
> from starting every time and how much time that saved you ? What were the
> cons and pros of this approach ?
>
> Cheers,
> Isaac Kamga.
>
> On Thu, Jan 3, 2019 at 5:31 PM Ebenezer Graham 
> wrote:
>
>> Hi Isaac,
>>
>> Concerning the 4th question, there is no special reason, We can use
>> OrgAdmin.
>>
>> Thank you for documenting the notification API.
>>
>> I started the documentation here
>> https://github.com/ebenezergraham/fineract-cn-notifications/tree/permitted-feign-client-auth/component-test/src/main/java/org/apache/fineract/cn/notification
>> I couldn't submit it because of the Permitted client authentication which
>> is still in progress.
>>
>> I have sent a PR so that you can assist in debugging this issue
>>
>> Please take a look at these files and snippet to aid you to understand
>> what I am doing.
>>
>>
>> https://github.com/ebenezergraham/fineract-cn-notifications/tree/permitted-feign-client-auth/service/src/main/java/org/apache/fineract/cn/notification/service/internal/identity
>>
>>
>>
>> https://github.com/ebenezergraham/fineract-cn-demo-server/blob/notification-permission-with-wadaadmin/src/main/java/org/apache/fineract/cn/dev/ServiceRunner.java#L497-L513
>>
>> And in the process of fixing the error highlighted below, I will change the
>> user to orgadmin and take out wadaadmin.
>>
>> These are the logs from my build
>> 15:48:14.482 [PollingServerListUpdater-0] INFO
>> c.n.config.ChainedDynamicProperty - Flipping property:
>> identity-v1.ribbon.ActiveConnectionsLimit to use NEXT property:
>> niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =
>> 2147483647
>> 15:48:14.897 [PollingServerListUpdater-1] INFO
>> c.n.config.ChainedDynamicProperty - Flipping property:
>> customer-v1.ribbon.ActiveConnectionsLimit to use NEXT property:
>> niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =
>> 2147483647
>> 15:49:23.738 [DefaultMessageListenerContainer-1] INFO
>> notification-logger - customerUpdatedEvents has been invoked
>> 15:49:23.738 [DefaultMessageListenerContainer-1] DEBUG
>> permitted-feign-client-logger - Creating refresh token for
>> TokenCacheKey{user='wadaadmin', tenant='playground',
>> endpointSet='Optional.empty'}
>> 15:49:23.756 [DefaultMessageListenerContainer-1] DEBUG
>> permitted-feign-client-logger - Getting access token for
>> TokenCacheKey{user='wadaadmin', tenant='playground',
>> endpointSet='Optional.empty'}
>> 15:49:23.795 [DefaultMessageListenerContainer-1] DEBUG
>> notification-logger - Access token: Bearer {token}
>> 15:49:23.795 [DefaultMessageListenerContainer-1] DEBUG
>> notification-logger - Getting Customer
>> *15:49:23.824 [DefaultMessageListenerContainer-1] ERROR
>> notification-logger -
>> org.apache.fineract.cn.customer.api.v1.client.CustomerNotFoundException*
>> 15:51:58.897 [AsyncResolver-bootstrap-executor-0] INFO
>> c.n.d.s.r.aws.ConfigClusterResolver - Resolving eureka endpoints via
>> configuration
>>
>>
>>
>>
>>
>> On Sat, 15 Dec 2018

Fineract CN : Flyway

2018-12-05 Thread Karthik Ananthakrishnan
Dear All,

When i ran the application for the first time, i ran the command with
provisioner = true and all the scripts in resource folder got executed with
schema version tables getting created..

I was playing with the flyway scripts in Fineract CN and when i added a new
script and started the server without provisioner=true command(Ref below
command), the additional flyway script did not execute as expected.

*java -Ddemoserver.persistent=true
-Dcustom.cassandra.contactPoints=127.0.0.1:9042 
-Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password
-Dcustom.mariadb.host=localhost -Dcustom.mariadb.user=root
-Dcustom.mariadb.password=mysql -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar*

Can anyone tell me if i am missing something? Should i delete the DBs and
run the application with provisioner = true.?

Thanks,
Karthik


Re: Fineract CN - UI build issues

2018-10-12 Thread Karthik Ananthakrishnan
Thanks Kelvin. Feedback is helpful.

Let me try and see if i can find the issue for ng build --prod.

I will raise the PR in couple of days.

Regards,
Karthik.

On Fri, Oct 12, 2018 at 11:52 AM Kelvin Ikome  wrote:

> Hello Kathik,
>
> I have tried the solution you came up with and it works when I build using
> "npm run build". However, I still get the same error when I try to build
> using "ng build --prod".
>
> Please send a pull request for the fix you did and take a look at this
> issue on Jira (https://issues.apache.org/jira/browse/FINCN-96?filter=-2)
> related to this bug.
>
> Thanks
>
> On Fri, Oct 5, 2018 at 3:51 PM Ruphine Kengne 
> wrote:
>
> > Hello Karthik,
> >
> > I have done those changes to the package.json file but it did not solve
> the
> > build error in my case.
> >
> > Since yours worked, Please can you sent a PR for it to be merge so that I
> > can pull ??
> >
> > Thanks
> > Ruphine Kengne
> >
> > On Fri, 5 Oct 2018 at 14:17, Karthik Ananthakrishnan
> >  wrote:
> >
> > > Hello all,
> > >
> > > We made this below change in package.json and build worked.
> > >
> > > Before
> > > "runProd": "ng serve --proxy-config proxy.conf.json --prod",
> > >  "build": "ng build --prod",
> > >
> > > After
> > > "runProd": "ng serve --proxy-config proxy.conf.json
> > *--environment=prod*",
> > > "build": "ng build *--environment=prod*",
> > >
> > > For people who are facing UI build error, please check.
> > >
> > > Thanks,
> > > Karthik
> > >
> > > On Fri, Sep 28, 2018 at 9:18 PM Karthik Ananthakrishnan <
> > > karthi...@beyondsquare.com> wrote:
> > >
> > > >
> > > >
> > >
> >
> https://user-images.githubusercontent.com/33152020/46206285-1f497b00-c341-11e8-9fe9-4fdc43ecb88e.png
> > > >
> > > > Image is attached in the git branch. Link is given above.
> > > >
> > > > Regards,
> > > > Karthik
> > > >
> > > > On Fri, Sep 28, 2018 at 5:46 PM Awasum Yannick <
> > > > awasum.yann...@skylabase.com> wrote:
> > > >
> > > >> Hey Karthik,
> > > >>
> > > >> This list seems not to take attachments or pictures. Can you link
> the
> > > >> error
> > > >> to an external service and use url here?
> > > >> Or just paste the error in the email body.
> > > >>
> > > >>
> > > >> Thanks.
> > > >>
> > > >> On Fri, Sep 28, 2018 at 1:01 PM Karthik Ananthakrishnan
> > > >>  wrote:
> > > >>
> > > >> > Hello All,
> > > >> >
> > > >> > I tried running the "build" command from the latest fims-web-app
> > > branch
> > > >> > and i am getting the following error. Is anyone facing this and
> have
> > > >> > resolved the issue?
> > > >> >
> > > >> > [image: UI_Build_Error.png]
> > > >> >
> > > >>
> > > >
> > >
> >
>


Re: Fineract CN - UI build issues

2018-10-05 Thread Karthik Ananthakrishnan
Hello all,

We made this below change in package.json and build worked.

Before
"runProd": "ng serve --proxy-config proxy.conf.json --prod",
 "build": "ng build --prod",

After
"runProd": "ng serve --proxy-config proxy.conf.json *--environment=prod*",
"build": "ng build *--environment=prod*",

For people who are facing UI build error, please check.

Thanks,
Karthik

On Fri, Sep 28, 2018 at 9:18 PM Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

>
> https://user-images.githubusercontent.com/33152020/46206285-1f497b00-c341-11e8-9fe9-4fdc43ecb88e.png
>
> Image is attached in the git branch. Link is given above.
>
> Regards,
> Karthik
>
> On Fri, Sep 28, 2018 at 5:46 PM Awasum Yannick <
> awasum.yann...@skylabase.com> wrote:
>
>> Hey Karthik,
>>
>> This list seems not to take attachments or pictures. Can you link the
>> error
>> to an external service and use url here?
>> Or just paste the error in the email body.
>>
>>
>> Thanks.
>>
>> On Fri, Sep 28, 2018 at 1:01 PM Karthik Ananthakrishnan
>>  wrote:
>>
>> > Hello All,
>> >
>> > I tried running the "build" command from the latest fims-web-app branch
>> > and i am getting the following error. Is anyone facing this and have
>> > resolved the issue?
>> >
>> > [image: UI_Build_Error.png]
>> >
>>
>


Re: Fineract CN Server - Insufficient memory - Java Run time error

2018-10-01 Thread Karthik Ananthakrishnan
It is possible. But for now. I have only one EC2 machine provisioned. If i
need to enable more micro services, my plan is to run Cassandra and MySQL
is RDS and connect it from the application.

On Mon, Oct 1, 2018 at 11:47 AM Awasum Yannick 
wrote:

> Is it possible to run Cassandra and MySQL in a different VM? This might
> reduce the load on the single VM. Just have to connect the data stores to
> the other services.
>
>
> Thanks.
> Awasum
>
> On Mon, Oct 1, 2018, 06:24 Karthik Ananthakrishnan 
> wrote:
>
>> Hey Victor,
>>
>> I did check for different metrics to analyse server performance in
>> cloudwatch before trying out swap space. Nginx, MySQL, Cassandra and
>> Fineract Application are the only resource consuming applications. Each
>> microservice takes around 2GB of memory when starting.. so, 12 micro
>> services taking up around 25GB of Memory space leaving very limited
>> resource for MySQL, Cassandra, Nginx to run. For now i am not considering
>> elastic scalability. This is the reason, i commented out few microservices
>> and starting the server to optimise memory consumption.
>>
>> Regards,
>> Karthik
>>
>> On Mon, Oct 1, 2018 at 1:42 AM Victor Manuel Romero Rodriguez <
>> vic_rom...@hotmail.com> wrote:
>>
>> > Hi Karthik,
>> >
>> > You have faced the error that all might face when running the services.
>> >
>> > I can view in the image log that you are using a EC2 machine, you can
>> > check the behaviour of the server and make the proper changes using
>> > CloudWatch.
>> >
>> > https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring_ec2.html
>> >
>> > Changes are not only at JVM, but also at OS level and of course the
>> > Elastic Cloud could help to jump from one machine size to another in a
>> > "smooth" way (always there is pain).
>> >
>> > Even for testing/demo you should check what is the resource consumption
>> > for suggesting or proposing a better sizing of the machine based on the
>> > services that will be enabled.
>> >
>> > Regards
>> >
>> > Victor
>> >
>> >
>> > El 30/09/18 a las 14:06, Karthik Ananthakrishnan escribió:
>> > > Hello Isaac and others,
>> > >
>> > > Many thanks for the suggestions. I tried with xms4G and was not very
>> > > helpful. When i looked at the root cause, I found that cassandra trips
>> > > during the server boot process when the memory hits peak(free memory
>> less
>> > > than 100MB) in 32GB RAM server. So, i added swap space to it which
>> > helped.
>> > > But still the cassandra would go down when memory hits peak. So, i
>> > decided
>> > > to run the server with fewer microservices by commenting out a few.
>> Once
>> > i
>> > > did that server started properly and has been stable for around a
>> week.
>> > > Even in local machine, i could run the application by running fewer
>> > > microservices.
>> > >
>> > > Thanks,
>> > > Karthik
>> > >
>> > > On Tue, Sep 18, 2018 at 10:31 PM Karthik Ananthakrishnan <
>> > > karthi...@beyondsquare.com> wrote:
>> > >
>> > >> Hey Issac. I did try the 2G and didnt really help. So, i have already
>> > made
>> > >> changes as xms2G and Xmx4G. Will get back to you if it worked.
>> > >>
>> > >> On Tue, Sep 18, 2018 at 7:20 PM, Isaac Kamga 
>> > >> wrote:
>> > >>
>> > >>> Thanks for helping out with the image Ed.
>> > >>>
>> > >>> The image never showed up for me...probably a pesky internet
>> > connection.
>> > >>>
>> > >>> @Karthik Ananthakrishnan  , I think my
>> > >>> aforementioned
>> > >>> suggestion should work. If it doesn't, then use `* -Xms4G -Xmx4G* `
>> > >>> instead. Also, provide feedback on whether or not it helped and
>> update
>> > >>> documentation appropriately.
>> > >>>
>> > >>> Cheers,
>> > >>> Isaac Kamga
>> > >>>
>> > >>> On Tue, Sep 18, 2018 at 2:43 PM Ed Cable  wrote:
>> > >>>
>> > >>>> The image showed up for me. I've added it to imgur here:
>> > >>>>
>> > >>>> https://imgur.com/a/Qt145wA
>> > >>>>
>> > >>>> Ed
>> > >>>>
>> > >>>> On Tue, Sep 18, 2018 at 3:50 AM Courage Angeh <
>> couragean...@gmail.com
>> > >
>> > >>>> wrote:
>> > >>>>
>> > >>>>> Hi Karthik,
>> > >>>>>
>> > >>>>> You still haven't attached the image. You could try using
>> > >>>>> https://pastebin.com/ instead.
>> > >>>>>
>> > >>>>> On Mon, Sep 17, 2018 at 11:54 AM Karthik Ananthakrishnan
>> > >>>>>  wrote:
>> > >>>>>
>> > >>>>>> Thanks Issac. Attached the image as well as the err log for your
>> > >>>>>> reference. Let me try using the xms  and xmx options. Are you
>> using
>> > >>>> those
>> > >>>>>> when you run the server.?
>> > >>>>>>
>> > >>>>>>
>> > >>>>
>> > >>>> --
>> > >>>> *Ed Cable*
>> > >>>> President/CEO, Mifos Initiative
>> > >>>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>> > >>>>
>> > >>>> *Collectively Creating a World of 3 Billion Maries | *
>> > http://mifos.org
>> > >>>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>> > >>>>
>> > >>
>> >
>> >
>>
>> --
>> Karthik Krishnan
>>
>


Re: Fineract CN Server - Insufficient memory - Java Run time error

2018-09-30 Thread Karthik Ananthakrishnan
Hey Victor,

I did check for different metrics to analyse server performance in
cloudwatch before trying out swap space. Nginx, MySQL, Cassandra and
Fineract Application are the only resource consuming applications. Each
microservice takes around 2GB of memory when starting.. so, 12 micro
services taking up around 25GB of Memory space leaving very limited
resource for MySQL, Cassandra, Nginx to run. For now i am not considering
elastic scalability. This is the reason, i commented out few microservices
and starting the server to optimise memory consumption.

Regards,
Karthik

On Mon, Oct 1, 2018 at 1:42 AM Victor Manuel Romero Rodriguez <
vic_rom...@hotmail.com> wrote:

> Hi Karthik,
>
> You have faced the error that all might face when running the services.
>
> I can view in the image log that you are using a EC2 machine, you can
> check the behaviour of the server and make the proper changes using
> CloudWatch.
>
> https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring_ec2.html
>
> Changes are not only at JVM, but also at OS level and of course the
> Elastic Cloud could help to jump from one machine size to another in a
> "smooth" way (always there is pain).
>
> Even for testing/demo you should check what is the resource consumption
> for suggesting or proposing a better sizing of the machine based on the
> services that will be enabled.
>
> Regards
>
> Victor
>
>
> El 30/09/18 a las 14:06, Karthik Ananthakrishnan escribió:
> > Hello Isaac and others,
> >
> > Many thanks for the suggestions. I tried with xms4G and was not very
> > helpful. When i looked at the root cause, I found that cassandra trips
> > during the server boot process when the memory hits peak(free memory less
> > than 100MB) in 32GB RAM server. So, i added swap space to it which
> helped.
> > But still the cassandra would go down when memory hits peak. So, i
> decided
> > to run the server with fewer microservices by commenting out a few. Once
> i
> > did that server started properly and has been stable for around a week.
> > Even in local machine, i could run the application by running fewer
> > microservices.
> >
> > Thanks,
> > Karthik
> >
> > On Tue, Sep 18, 2018 at 10:31 PM Karthik Ananthakrishnan <
> > karthi...@beyondsquare.com> wrote:
> >
> >> Hey Issac. I did try the 2G and didnt really help. So, i have already
> made
> >> changes as xms2G and Xmx4G. Will get back to you if it worked.
> >>
> >> On Tue, Sep 18, 2018 at 7:20 PM, Isaac Kamga 
> >> wrote:
> >>
> >>> Thanks for helping out with the image Ed.
> >>>
> >>> The image never showed up for me...probably a pesky internet
> connection.
> >>>
> >>> @Karthik Ananthakrishnan  , I think my
> >>> aforementioned
> >>> suggestion should work. If it doesn't, then use `* -Xms4G -Xmx4G* `
> >>> instead. Also, provide feedback on whether or not it helped and update
> >>> documentation appropriately.
> >>>
> >>> Cheers,
> >>> Isaac Kamga
> >>>
> >>> On Tue, Sep 18, 2018 at 2:43 PM Ed Cable  wrote:
> >>>
> >>>> The image showed up for me. I've added it to imgur here:
> >>>>
> >>>> https://imgur.com/a/Qt145wA
> >>>>
> >>>> Ed
> >>>>
> >>>> On Tue, Sep 18, 2018 at 3:50 AM Courage Angeh  >
> >>>> wrote:
> >>>>
> >>>>> Hi Karthik,
> >>>>>
> >>>>> You still haven't attached the image. You could try using
> >>>>> https://pastebin.com/ instead.
> >>>>>
> >>>>> On Mon, Sep 17, 2018 at 11:54 AM Karthik Ananthakrishnan
> >>>>>  wrote:
> >>>>>
> >>>>>> Thanks Issac. Attached the image as well as the err log for your
> >>>>>> reference. Let me try using the xms  and xmx options. Are you using
> >>>> those
> >>>>>> when you run the server.?
> >>>>>>
> >>>>>>
> >>>>
> >>>> --
> >>>> *Ed Cable*
> >>>> President/CEO, Mifos Initiative
> >>>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> >>>>
> >>>> *Collectively Creating a World of 3 Billion Maries | *
> http://mifos.org
> >>>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
> >>>>
> >>
>
>

-- 
Karthik Krishnan


Re: Fineract CN Server - Insufficient memory - Java Run time error

2018-09-30 Thread Karthik Ananthakrishnan
Hello Isaac and others,

Many thanks for the suggestions. I tried with xms4G and was not very
helpful. When i looked at the root cause, I found that cassandra trips
during the server boot process when the memory hits peak(free memory less
than 100MB) in 32GB RAM server. So, i added swap space to it which helped.
But still the cassandra would go down when memory hits peak. So, i decided
to run the server with fewer microservices by commenting out a few. Once i
did that server started properly and has been stable for around a week.
Even in local machine, i could run the application by running fewer
microservices.

Thanks,
Karthik

On Tue, Sep 18, 2018 at 10:31 PM Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Hey Issac. I did try the 2G and didnt really help. So, i have already made
> changes as xms2G and Xmx4G. Will get back to you if it worked.
>
> On Tue, Sep 18, 2018 at 7:20 PM, Isaac Kamga 
> wrote:
>
>> Thanks for helping out with the image Ed.
>>
>> The image never showed up for me...probably a pesky internet connection.
>>
>> @Karthik Ananthakrishnan  , I think my
>> aforementioned
>> suggestion should work. If it doesn't, then use `* -Xms4G -Xmx4G* `
>> instead. Also, provide feedback on whether or not it helped and update
>> documentation appropriately.
>>
>> Cheers,
>> Isaac Kamga
>>
>> On Tue, Sep 18, 2018 at 2:43 PM Ed Cable  wrote:
>>
>> > The image showed up for me. I've added it to imgur here:
>> >
>> > https://imgur.com/a/Qt145wA
>> >
>> > Ed
>> >
>> > On Tue, Sep 18, 2018 at 3:50 AM Courage Angeh 
>> > wrote:
>> >
>> > > Hi Karthik,
>> > >
>> > > You still haven't attached the image. You could try using
>> > > https://pastebin.com/ instead.
>> > >
>> > > On Mon, Sep 17, 2018 at 11:54 AM Karthik Ananthakrishnan
>> > >  wrote:
>> > >
>> > > > Thanks Issac. Attached the image as well as the err log for your
>> > > > reference. Let me try using the xms  and xmx options. Are you using
>> > those
>> > > > when you run the server.?
>> > > >
>> > > >
>> > >
>> >
>> >
>> > --
>> > *Ed Cable*
>> > President/CEO, Mifos Initiative
>> > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>> >
>> > *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>> > <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>> >
>>
>
>

-- 
Karthik Krishnan


Re: Fineract CN - UI build issues

2018-09-28 Thread Karthik Ananthakrishnan
https://user-images.githubusercontent.com/33152020/46206285-1f497b00-c341-11e8-9fe9-4fdc43ecb88e.png

Image is attached in the git branch. Link is given above.

Regards,
Karthik

On Fri, Sep 28, 2018 at 5:46 PM Awasum Yannick 
wrote:

> Hey Karthik,
>
> This list seems not to take attachments or pictures. Can you link the error
> to an external service and use url here?
> Or just paste the error in the email body.
>
>
> Thanks.
>
> On Fri, Sep 28, 2018 at 1:01 PM Karthik Ananthakrishnan
>  wrote:
>
> > Hello All,
> >
> > I tried running the "build" command from the latest fims-web-app branch
> > and i am getting the following error. Is anyone facing this and have
> > resolved the issue?
> >
> > [image: UI_Build_Error.png]
> >
>


Fineract CN - UI build issues

2018-09-28 Thread Karthik Ananthakrishnan
Hello All,

I tried running the "build" command from the latest fims-web-app branch and
i am getting the following error. Is anyone facing this and have resolved
the issue?

[image: UI_Build_Error.png]


Re: Fineract CN - API Documentation

2018-09-28 Thread Karthik Ananthakrishnan
I get your point in Swagger2. Its a duplication effort for our community.

Was trying to check if someone from the community has tried swagger2 for
Fineract CN.

Thanks,
Karthik

On Fri, Sep 28, 2018 at 2:15 PM Isaac Kamga  wrote:

> Hello Karthik and Awasum,
>
> Karthik, I am happy that link helped you get sorted with API Docs.
>
> During an earlier discussion on the mailing list regarding whether or not
> snippets should be checked into the respective repositories, the feedback
> obtained was a BIG NO and rightly so. I went further to check in just the
> required code and wrote the guide out on how developers can obtain
> documentation when they need it. Since we stand for community over code,
> it's left for the community to decide on this.
>
> I also don't know if anyone is experimenting with the Swagger2 tool to do
> API documentation for Fineract CN. IMHO, I think this will be unnecessarily
> duplicating effort whereas there are lots of items on our community roadmap
> <
> https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+Community+Roadmap
> >
> which are yet to be attended to.
>
> At Your Service,
> Isaac Kamga.
>
>
>
>
> On Fri, Sep 28, 2018 at 5:52 AM Karthik Ananthakrishnan
>  wrote:
>
> > Hey Awasum,
> >
> > It would be better to integrate API documentation to the project and
> build
> > such that documentation is generated with build and does not require
> manual
> > updation on every update. Ascii doctor helps in that. We can also look at
> > Swagger2 as another option.
> >
> > Has anyone tried Swagger2 API documentation for Fineract CN.?
> >
> > Thanks,
> > Karthik
> >
> > On Thu, Sep 27, 2018 at 11:55 PM Awasum Yannick 
> wrote:
> >
> > > Hello Isaac, Karthik and others,
> > >
> > > Do you think we need a separate repo which contains the upto date API
> > > documentation for all Fineract CN services?
> > > If we do this, then moving forward, we will have periodically update
> this
> > > repo as soon as an API is created and as features are added.
> > >
> > > Do you think it will be too much work for developers to be manually
> > copying
> > > API docs around? I will like your opinion on this.
> > >
> > > Or Maybe we just request a subdomain such as
> > > fineract-cn-api.fineract.apache.org from Apche Infra and update it
> > > periodically with new changes. What do you think?
> > >
> > > Thanks.
> > > Awasum
> > >
> > > On Thu, Sep 27, 2018 at 6:42 PM Karthik Ananthakrishnan
> > >  wrote:
> > >
> > > > Hello Issac,
> > > >
> > > > Ran the tests successfully and the snippets got generated in the
> > snippets
> > > > folder. I created as empty ascii file which i think is wrong. I will
> > > check
> > > > the link you have provided and try. Is it possible to send me the
> > > > asciidoc.adoc file that you have used.? Will come back if we needed a
> > > call
> > > > to sort this.
> > > >
> > > > Thanks,
> > > > Karthik
> > > >
> > > > On Thu, Sep 27, 2018 at 7:01 PM Isaac Kamga 
> > > wrote:
> > > >
> > > > > Hello Karthik,
> > > > >
> > > > > There are 3 steps involved in getting the API Docs generated. At
> > which
> > > > step
> > > > > did you have issues ? Did you successfully run the unit tests, use
> an
> > > > > asciidoc.adoc
> > > > > <https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/>
> file
> > > to
> > > > > reference the snippets before running `gradle asciidoctor` ? You
> need
> > > to
> > > > > follow the steps in that order to make it work.
> > > > >
> > > > > Ensure you have the right version of gradle, try again and provide
> > > > feedback
> > > > > here. We can set up a call if you like.
> > > > >
> > > > > Cheers,
> > > > > Isaac Kamga.
> > > > >
> > > > > On Tue, Sep 25, 2018 at 7:31 PM Karthik Ananthakrishnan
> > > > >  wrote:
> > > > >
> > > > > > Dear All,
> > > > > >
> > > > > > I was following the steps in the below link to generate API
> > > > documentation
> > > > > > in Fineract CN.
> > > > > > Link:
> > > > > >
> > > > >

Re: Fineract CN - API Documentation

2018-09-27 Thread Karthik Ananthakrishnan
Hey Awasum,

It would be better to integrate API documentation to the project and build
such that documentation is generated with build and does not require manual
updation on every update. Ascii doctor helps in that. We can also look at
Swagger2 as another option.

Has anyone tried Swagger2 API documentation for Fineract CN.?

Thanks,
Karthik

On Thu, Sep 27, 2018 at 11:55 PM Awasum Yannick  wrote:

> Hello Isaac, Karthik and others,
>
> Do you think we need a separate repo which contains the upto date API
> documentation for all Fineract CN services?
> If we do this, then moving forward, we will have periodically update this
> repo as soon as an API is created and as features are added.
>
> Do you think it will be too much work for developers to be manually copying
> API docs around? I will like your opinion on this.
>
> Or Maybe we just request a subdomain such as
> fineract-cn-api.fineract.apache.org from Apche Infra and update it
> periodically with new changes. What do you think?
>
> Thanks.
> Awasum
>
> On Thu, Sep 27, 2018 at 6:42 PM Karthik Ananthakrishnan
>  wrote:
>
> > Hello Issac,
> >
> > Ran the tests successfully and the snippets got generated in the snippets
> > folder. I created as empty ascii file which i think is wrong. I will
> check
> > the link you have provided and try. Is it possible to send me the
> > asciidoc.adoc file that you have used.? Will come back if we needed a
> call
> > to sort this.
> >
> > Thanks,
> > Karthik
> >
> > On Thu, Sep 27, 2018 at 7:01 PM Isaac Kamga 
> wrote:
> >
> > > Hello Karthik,
> > >
> > > There are 3 steps involved in getting the API Docs generated. At which
> > step
> > > did you have issues ? Did you successfully run the unit tests, use an
> > > asciidoc.adoc
> > > <https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/> file
> to
> > > reference the snippets before running `gradle asciidoctor` ? You need
> to
> > > follow the steps in that order to make it work.
> > >
> > > Ensure you have the right version of gradle, try again and provide
> > feedback
> > > here. We can set up a call if you like.
> > >
> > > Cheers,
> > > Isaac Kamga.
> > >
> > > On Tue, Sep 25, 2018 at 7:31 PM Karthik Ananthakrishnan
> > >  wrote:
> > >
> > > > Dear All,
> > > >
> > > > I was following the steps in the below link to generate API
> > documentation
> > > > in Fineract CN.
> > > > Link:
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+API+Documentation
> > > >
> > > > When I ran Asciidoctor the documentation is not getting generated. A
> > HTML
> > > > file with timestamp is getting generated.
> > > >
> > > > [image: AsciiDoctor.png]
> > > >
> > > > c:\All\fineractcn\fineract-cn-accounting\component-test>gradle
> > > asciidoctor
> > > > > Task :asciidoctor
> > > > io/console not supported; tty will not be manipulated
> > > >
> > > > Deprecated Gradle features were used in this build, making it
> > > incompatible
> > > > with Gradle 5.0.
> > > > Use '--warning-mode all' to show the individual deprecation warnings.
> > > > See
> > > >
> > >
> >
> https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
> > > >
> > > > BUILD SUCCESSFUL in 1m 32s
> > > > 1 actionable task: 1 executed
> > > >
> > > > Can someone help me understand what i am missing.?
> > > >
> > > > Thanks,
> > > > Karthik
> > > >
> > >
> >
>


Re: Fineract CN - API Documentation

2018-09-27 Thread Karthik Ananthakrishnan
Hey Isaac,

Many thanks for the link. It helped us to generate the API documentation.

Thanks,
Karthik

On Thu, Sep 27, 2018 at 7:01 PM Isaac Kamga  wrote:

> Hello Karthik,
>
> There are 3 steps involved in getting the API Docs generated. At which step
> did you have issues ? Did you successfully run the unit tests, use an
> asciidoc.adoc
> <https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/> file to
> reference the snippets before running `gradle asciidoctor` ? You need to
> follow the steps in that order to make it work.
>
> Ensure you have the right version of gradle, try again and provide feedback
> here. We can set up a call if you like.
>
> Cheers,
> Isaac Kamga.
>
> On Tue, Sep 25, 2018 at 7:31 PM Karthik Ananthakrishnan
>  wrote:
>
> > Dear All,
> >
> > I was following the steps in the below link to generate API documentation
> > in Fineract CN.
> > Link:
> >
> https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+API+Documentation
> >
> > When I ran Asciidoctor the documentation is not getting generated. A HTML
> > file with timestamp is getting generated.
> >
> > [image: AsciiDoctor.png]
> >
> > c:\All\fineractcn\fineract-cn-accounting\component-test>gradle
> asciidoctor
> > > Task :asciidoctor
> > io/console not supported; tty will not be manipulated
> >
> > Deprecated Gradle features were used in this build, making it
> incompatible
> > with Gradle 5.0.
> > Use '--warning-mode all' to show the individual deprecation warnings.
> > See
> >
> https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
> >
> > BUILD SUCCESSFUL in 1m 32s
> > 1 actionable task: 1 executed
> >
> > Can someone help me understand what i am missing.?
> >
> > Thanks,
> > Karthik
> >
>


Fineract CN - API Documentation

2018-09-25 Thread Karthik Ananthakrishnan
Dear All,

I was following the steps in the below link to generate API documentation
in Fineract CN.
Link:
https://cwiki.apache.org/confluence/display/FINERACT/Apache+Fineract+CN+API+Documentation

When I ran Asciidoctor the documentation is not getting generated. A HTML
file with timestamp is getting generated.

[image: AsciiDoctor.png]

c:\All\fineractcn\fineract-cn-accounting\component-test>gradle asciidoctor
> Task :asciidoctor
io/console not supported; tty will not be manipulated

Deprecated Gradle features were used in this build, making it incompatible
with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 32s
1 actionable task: 1 executed

Can someone help me understand what i am missing.?

Thanks,
Karthik


Fwd: Fineract CN Server Startup issues

2018-09-18 Thread Karthik Ananthakrishnan
Dear All,

I earlier tried setting up Fineract CN in a AWS Amazon Linux machine and
was able to start the server, but have some stability issues.

So, tried to set up a new environment in a Amazon Ubuntu 16.03 server with
8Core and 32GB machine.

I followed the steps as mentioned in https://cwiki.apache.org/co
nfluence/display/FINERACT/How+To+Build+Apache+Fineract+CN and tried to
start the server with provision=true.

I am facing an issue like seshat and playground databases gets created in
Cassandra and MySQL. The migration scripts starts running in MySQL and then
the server starting error's out that cassandra DB connection is closed. PFB
some error log and log file is available in https://pastebin.com/raw/
fqbQ9DeH

I tried resolving by making changes to timeout parameter for cassandra in
cassandra.yaml but didnt help. Has anyone faced this issue.? Also the
server errors out at the same place everytime i try starting the server.
Kindly help.

2018-09-17 14:32:21.530  INFO 30934 --- [ync-processor-1]
o.f.core.internal.util.VersionPrinter: Flyway 3.2.1 by Boxfuse
2018-09-17 14:32:21.673  INFO 30934 --- [ync-processor-1]
o.f.c.i.dbsupport.DbSupportFactory   : Database:
jdbc:mysql://localhost:3306/playground (MySQL 5.7)
14:32:21.881 [Test Cluster-worker-16] ERROR c.d.driver.core.ControlConnection
- [Control connection] Unexpected error while refreshing schema
java.util.concurrent.ExecutionException:
com.datastax.driver.core.exceptions.TransportException:
[/127.0.0.1:9042] Connection has been closed
at com.google.common.util.concurrent.AbstractFuture$Sync.
getValue(AbstractFuture.java:299)


Time: 1,315.797
There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError:
{"timestamp":1537194742974,"status":500,"error":"Internal Server
Error","exception":"com.datastax.driver.core.exceptions.NoHo
stAvailableException","message":"com.datastax.driver.core.
exceptions.NoHostAvailableException: All host(s) tried for query failed (no
host was tried)","path":"/accounting/v1/ledgers/1000"}
at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlt
ernative(AnnotatedErrorDecoder.java:78)
at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode
(AnnotatedErrorDecoder.java:65)

Thanks,
Karthik


Re: Fineract CN Server - Insufficient memory - Java Run time error

2018-09-18 Thread Karthik Ananthakrishnan
Hey Issac. I did try the 2G and didnt really help. So, i have already made
changes as xms2G and Xmx4G. Will get back to you if it worked.

On Tue, Sep 18, 2018 at 7:20 PM, Isaac Kamga  wrote:

> Thanks for helping out with the image Ed.
>
> The image never showed up for me...probably a pesky internet connection.
>
> @Karthik Ananthakrishnan  , I think my aforementioned
> suggestion should work. If it doesn't, then use `* -Xms4G -Xmx4G* `
> instead. Also, provide feedback on whether or not it helped and update
> documentation appropriately.
>
> Cheers,
> Isaac Kamga
>
> On Tue, Sep 18, 2018 at 2:43 PM Ed Cable  wrote:
>
> > The image showed up for me. I've added it to imgur here:
> >
> > https://imgur.com/a/Qt145wA
> >
> > Ed
> >
> > On Tue, Sep 18, 2018 at 3:50 AM Courage Angeh 
> > wrote:
> >
> > > Hi Karthik,
> > >
> > > You still haven't attached the image. You could try using
> > > https://pastebin.com/ instead.
> > >
> > > On Mon, Sep 17, 2018 at 11:54 AM Karthik Ananthakrishnan
> > >  wrote:
> > >
> > > > Thanks Issac. Attached the image as well as the err log for your
> > > > reference. Let me try using the xms  and xmx options. Are you using
> > those
> > > > when you run the server.?
> > > >
> > > >
> > >
> >
> >
> > --
> > *Ed Cable*
> > President/CEO, Mifos Initiative
> > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> >
> > *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> > <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
> >
>


Re: Fineract CN Server - Insufficient memory - Java Run time error

2018-09-17 Thread Karthik Ananthakrishnan
Thanks Issac. Attached the image as well as the err log for your reference.
Let me try using the xms  and xmx options. Are you using those when you run
the server.?


Fineract CN Server - Insufficient memory - Java Run time error

2018-09-17 Thread Karthik Ananthakrishnan
Dear all,

I have cloned the Fineract CN to my AWS server which is 8Core - 32GB RAM.
Running Cassandra, MySQL and all Java services in the same machine. I am
getting Insufficient memory issue after few hours of my server running.
Gets resolved only when i reboot the machine. I have not made any code
changes.



Has someone faced this.? Can you please help me on this.

Thanks,
Karthik


Re: Fineract CN Setup issues

2018-08-09 Thread Karthik Ananthakrishnan
Sure Issac

Get Outlook for iOS

From: Isaac Kamga 
Sent: Thursday, August 9, 2018 4:52:59 PM
To: Dev
Cc: Myrle Krantz
Subject: Re: Fineract CN Setup issues

Hi Karthik,

Given that you've fixed both issues, could you kindly send a PR to the
fims-web-app 
repository ?

I will be thrilled to review and merge.

You could also update the How To Build Fineract CN

page on Confluence with your learnings.

Cheers,
Isaac Kamga.


Re: Fineract CN Setup issues

2018-08-08 Thread Karthik Ananthakrishnan
Dear Marcus and Others,

npm run runProd and npm run build failed due to below reasons.

1. GroupSelectComponent not declared in common.module
2. applicationDate Missing and lastModifiedBuy spelling error in
group.model.ts.

Fixed both issues and then npm runProd and build commands worked. But,
changes to proxy.conf didnt work out. So, deployed the dist contents into
nginx in the same server where backend was deployed and then i could run
the application.

Thanks for the support.

Regards,
Karthik


On Wed, Aug 8, 2018 at 1:31 PM, Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Thanks Marcus.. I figured out the proxy.conf but was running in dev mode.
> Will try running Prod and check. Appreciate your response and help.
>
> On 08/08/18, 12:36 PM, "Markus Geiss"  wrote:
>
> Hey Karthik,
>
> in the source tree of the UI you will find a file called
> proxy.conf.json.
> You simply need to adjust the configured URLs and ports to point to
> your back end services.Then you can run it with 'npm run runProd'.
>
> It is recommended to either use nginx or Apache httpd to serve the
> static content. In this case you need to configure the http service to
> be a reverse proxy for the back end.
>
> Cheers
>
> Markus
>
> .::Yagni likes a DRY KISS::.
>
>
> On Tue, Aug 7, 2018 at 6:40 PM Louis Niyongabo 
> wrote:
>
> > Welcome, glad it worked.
> > For local deployment of client, I have no idea on how to proceed.
> > Hope someone else will pick it up and help you on this.
> > Good luck.
> > Louis
> >
> >
> > -Original Message-
> > From: Karthik Ananthakrishnan [mailto:karthik.a@
> beyondsquare.com.INVALID]
> > Sent: Tuesday, August 7, 2018 18:27
> > To: Dev 
> > Cc: my...@apache.org
> > Subject: Re: Fineract CN Setup issues
> >
> > Thank you Louis for the support.
> >
> > I Unstalled Cassandra, reinstalled it and made config changes to
> yaml file
> > and server started properly and tables got created in schema.
> >
> > I have deployed Fineract CN in AWS EC2. I want to deploy the
> front-end in
> > my local machine and connect the backend deployed in AWS. What
> changes i
> > have to make in front end.?
> >
> > Regards,
> > Karthik
> >
> >
> >
> > On Mon, Aug 6, 2018 at 11:12 PM, Louis Niyongabo <
> lniyong...@gmail.com>
> > wrote:
> >
> > > Well, I know only what I tested on my dev machine Windows 10 64
> bit.
> > > Other than setting up CASSANDRA_HOME in environment variables, I
> also
> > > changed these attached files "cassandra.yaml" and "
> cassandra-env.sh"
> > > (I appended txt to prevent them from being email-blocked) following
> > > some guidelines from Internet.
> > >
> > > Use a tool like Notepad++(plugin compare) to verify how those files
> > > are different from yours, eventually you may pick what you need to
> > > change at your end. Which OS are you running?
> > >
> > > If it doesn't work, we can discuss further off this forum tomorrow
> > morning.
> > >
> > > Regards,
> > >
> > > Louis
> > >
> > > -Original Message-
> > > From: Karthik Ananthakrishnan
> > > [mailto:karthi...@beyondsquare.com.INVALID]
> > > Sent: Monday, August 6, 2018 19:23
> > > To: dev@fineract.apache.org; dev@fineract.apache.org
> > > Cc: my...@apache.org
> > > Subject: Re: Fineract CN Setup issues
> > >
> > > How do I fix this Louis.?
> > >
> > > Get Outlook for iOS<https://aka.ms/o0ukef>
> > > __ __
> > > From: Louis Niyongabo 
> > > Sent: Monday, August 6, 2018 10:51:01 PM
> > > To: dev@fineract.apache.org
> > > Cc: my...@apache.org
> > > Subject: RE: Fineract CN Setup issues
> > >
> > > The first error (datastax) seems to be related to Cassandra.
> > > I tested on Windows box, this service DataStax_DDC_Server (DataStax
> > > DDC Server 3.9.0) had to be running.
> > > Please take note that it's different from starting Cassandra from
> its
> > path.
> > >
> > > I could have Cassandra successfully started, but the service
>  

Re: Fineract CN Setup issues

2018-08-08 Thread Karthik Ananthakrishnan
Thanks Marcus.. I figured out the proxy.conf but was running in dev mode. Will 
try running Prod and check. Appreciate your response and help.

On 08/08/18, 12:36 PM, "Markus Geiss"  wrote:

Hey Karthik,

in the source tree of the UI you will find a file called proxy.conf.json.
You simply need to adjust the configured URLs and ports to point to
your back end services.Then you can run it with 'npm run runProd'.

It is recommended to either use nginx or Apache httpd to serve the
static content. In this case you need to configure the http service to
be a reverse proxy for the back end.

Cheers

Markus

.::Yagni likes a DRY KISS::.


On Tue, Aug 7, 2018 at 6:40 PM Louis Niyongabo  wrote:

> Welcome, glad it worked.
> For local deployment of client, I have no idea on how to proceed.
> Hope someone else will pick it up and help you on this.
> Good luck.
> Louis
>
>
> -Original Message-
    > From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID]
> Sent: Tuesday, August 7, 2018 18:27
> To: Dev 
> Cc: my...@apache.org
> Subject: Re: Fineract CN Setup issues
>
> Thank you Louis for the support.
>
> I Unstalled Cassandra, reinstalled it and made config changes to yaml file
> and server started properly and tables got created in schema.
>
> I have deployed Fineract CN in AWS EC2. I want to deploy the front-end in
> my local machine and connect the backend deployed in AWS. What changes i
> have to make in front end.?
>
> Regards,
> Karthik
>
>
>
> On Mon, Aug 6, 2018 at 11:12 PM, Louis Niyongabo 
> wrote:
>
> > Well, I know only what I tested on my dev machine Windows 10 64 bit.
> > Other than setting up CASSANDRA_HOME in environment variables, I also
> > changed these attached files "cassandra.yaml" and " cassandra-env.sh"
> > (I appended txt to prevent them from being email-blocked) following
> > some guidelines from Internet.
> >
> > Use a tool like Notepad++(plugin compare) to verify how those files
> > are different from yours, eventually you may pick what you need to
> > change at your end. Which OS are you running?
> >
> > If it doesn't work, we can discuss further off this forum tomorrow
> morning.
> >
> > Regards,
> >
> > Louis
> >
> > -Original Message-
> > From: Karthik Ananthakrishnan
> > [mailto:karthi...@beyondsquare.com.INVALID]
> > Sent: Monday, August 6, 2018 19:23
> > To: dev@fineract.apache.org; dev@fineract.apache.org
> > Cc: my...@apache.org
> > Subject: Re: Fineract CN Setup issues
> >
> > How do I fix this Louis.?
> >
> > Get Outlook for iOS<https://aka.ms/o0ukef>
> > __ __
> > From: Louis Niyongabo 
> > Sent: Monday, August 6, 2018 10:51:01 PM
> > To: dev@fineract.apache.org
> > Cc: my...@apache.org
> > Subject: RE: Fineract CN Setup issues
> >
> > The first error (datastax) seems to be related to Cassandra.
> > I tested on Windows box, this service DataStax_DDC_Server (DataStax
> > DDC Server 3.9.0) had to be running.
> > Please take note that it's different from starting Cassandra from its
> path.
> >
> > I could have Cassandra successfully started, but the service
> > DataStax_DDC_Server would still fail to start. The setup went through
> > only when the Service could start successfully.
> >
> >
> >
> > -Original Message-
> > From: Karthik Ananthakrishnan
> > [mailto:karthi...@beyondsquare.com.INVALID]
> > Sent: Monday, August 6, 2018 19:06
> > To: dev@fineract.apache.org
> > Cc: my...@apache.org
> > Subject: Re: Fineract CN Setup issues
> >
> > Below is the error I got when I deleted the DBs in Cassandra, MySQL
> > and started the server with the given command.
> >
> > There was 1 failure:
> > 1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
> > org.apache.fineract.cn.api.util.InternalServerError:
> > {"timestamp":1533561449009,"status":500,"error":"Internal Server
> > Error","exception":"java.lang.IllegalStateException","
> > message":"org.springfr
> > amework.web.util.Nested

Re: Fineract CN Setup issues

2018-08-07 Thread Karthik Ananthakrishnan
Thank you Louis for the support.

I Unstalled Cassandra, reinstalled it and made config changes to yaml file
and server started properly and tables got created in schema.

I have deployed Fineract CN in AWS EC2. I want to deploy the front-end in
my local machine and connect the backend deployed in AWS. What changes i
have to make in front end.?

Regards,
Karthik



On Mon, Aug 6, 2018 at 11:12 PM, Louis Niyongabo 
wrote:

> Well, I know only what I tested on my dev machine Windows 10 64 bit.
> Other than setting up CASSANDRA_HOME in environment variables, I also
> changed these attached files "cassandra.yaml" and " cassandra-env.sh" (I
> appended txt to prevent them from being email-blocked) following some
> guidelines from Internet.
>
> Use a tool like Notepad++(plugin compare) to verify how those files are
> different from yours, eventually you may pick what you need to change at
> your end. Which OS are you running?
>
> If it doesn't work, we can discuss further off this forum tomorrow morning.
>
> Regards,
>
> Louis
>
> -Original Message-
> From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID]
> Sent: Monday, August 6, 2018 19:23
> To: dev@fineract.apache.org; dev@fineract.apache.org
> Cc: my...@apache.org
> Subject: Re: Fineract CN Setup issues
>
> How do I fix this Louis.?
>
> Get Outlook for iOS<https://aka.ms/o0ukef> __
> __
> From: Louis Niyongabo 
> Sent: Monday, August 6, 2018 10:51:01 PM
> To: dev@fineract.apache.org
> Cc: my...@apache.org
> Subject: RE: Fineract CN Setup issues
>
> The first error (datastax) seems to be related to Cassandra.
> I tested on Windows box, this service DataStax_DDC_Server (DataStax DDC
> Server 3.9.0) had to be running.
> Please take note that it's different from starting Cassandra from its path.
>
> I could have Cassandra successfully started, but the service
> DataStax_DDC_Server would still fail to start. The setup went through only
> when the Service could start successfully.
>
>
>
> -Original Message-
> From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID]
> Sent: Monday, August 6, 2018 19:06
> To: dev@fineract.apache.org
> Cc: my...@apache.org
> Subject: Re: Fineract CN Setup issues
>
> Below is the error I got when I deleted the DBs in Cassandra, MySQL and
> started the server with the given command.
>
> There was 1 failure:
> 1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
> org.apache.fineract.cn.api.util.InternalServerError:
> {"timestamp":1533561449009,"status":500,"error":"Internal Server
> Error","exception":"java.lang.IllegalStateException","
> message":"org.springfr
> amework.web.util.NestedServletException: Request processing failed; nested
> exception is java.lang.IllegalStateException:
> org.apache.fineract.cn.api.util.InternalServerError:
> {\"timestamp\":1533561448970,\"status\":500,\"error\":\"Internal Server
> Error\",\"exception\":\"com.datastax.driver.core.
> exceptions.SyntaxError\",\"
> message\":\"org.springframework.web.util.NestedServletException: Request
> processing failed; nested exception is
> com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable
> alternative at input
> 'date'\",\"path\":\"/identity/v1/initialize\"}","path":"/
> provisioner/v1/tena
> nts/playground/identityservice"}
> at
> org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.
> getAlternative(Annotat
> edErrorDecoder.java:78)
> at
> org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.
> decode(AnnotatedErrorD
> ecoder.java:65)
> at
> feign.SynchronousMethodHandler.executeAndDecode(
> SynchronousMethodHandler.jav
> a:138)
> at
> feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
> at
> feign.ReflectiveFeign$FeignInvocationHandler.invoke(
> ReflectiveFeign.java:103
> )
> at com.sun.proxy.$Proxy196.assignIdentityManager(Unknown Source) .
> .
> .
> .
> .
>
> 13:17:28.959 [qtp630028734-22] INFO  o.a.f.c.l.c.ServiceExceptionFilter -
> Unexpected exception caught
> org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is com.datastax.driver.core.
> exceptions.SyntaxError:
> line 8:22 no viable alternative at input 'date'
> 13:17:28.962 [qtp630028734-22] WARN  o.e.jetty.servlet.ServletHandler -
> org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is com.

Re: Fineract CN Setup issues

2018-08-06 Thread Karthik Ananthakrishnan
How do I fix this Louis.?

Get Outlook for iOS<https://aka.ms/o0ukef>

From: Louis Niyongabo 
Sent: Monday, August 6, 2018 10:51:01 PM
To: dev@fineract.apache.org
Cc: my...@apache.org
Subject: RE: Fineract CN Setup issues

The first error (datastax) seems to be related to Cassandra.
I tested on Windows box, this service DataStax_DDC_Server (DataStax DDC Server 
3.9.0) had to be running.
Please take note that it's different from starting Cassandra from its path.

I could have Cassandra successfully started, but the service 
DataStax_DDC_Server would still fail to start. The setup went through only when 
the Service could start successfully.



-Original Message-
From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID]
Sent: Monday, August 6, 2018 19:06
To: dev@fineract.apache.org
Cc: my...@apache.org
Subject: Re: Fineract CN Setup issues

Below is the error I got when I deleted the DBs in Cassandra, MySQL and started 
the server with the given command.

There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError: 
{"timestamp":1533561449009,"status":500,"error":"Internal Server 
Error","exception":"java.lang.IllegalStateException","message":"org.springframework.web.util.NestedServletException:
 Request processing failed; nested exception is 
java.lang.IllegalStateException: 
org.apache.fineract.cn.api.util.InternalServerError: 
{\"timestamp\":1533561448970,\"status\":500,\"error\":\"Internal Server 
Error\",\"exception\":\"com.datastax.driver.core.exceptions.SyntaxError\",\"message\":\"org.springframework.web.util.NestedServletException:
 Request processing failed; nested exception is 
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable 
alternative at input 
'date'\",\"path\":\"/identity/v1/initialize\"}","path":"/provisioner/v1/tenants/playground/identityservice"}
at 
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlternative(AnnotatedErrorDecoder.java:78)
at 
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:65)
at 
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
at 
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at 
feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy196.assignIdentityManager(Unknown Source) .
.
.
.
.

13:17:28.959 [qtp630028734-22] INFO  o.a.f.c.l.c.ServiceExceptionFilter - 
Unexpected exception caught 
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is com.datastax.driver.core.exceptions.SyntaxError: line 8:22 
no viable alternative at input 'date'
13:17:28.962 [qtp630028734-22] WARN  o.e.jetty.servlet.ServletHandler -
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is com.datastax.driver.core.exceptions.SyntaxError: line 8:22 
no viable alternative at input 'date'
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


On 06/08/18, 10:24 PM, "Louis Niyongabo"  wrote:

No idea, let's rebuild those DBs:

1. delete ‘seshat’ and ‘playground’ databases from Cassandra and MySQL.

2. java -Ddemoserver.provision=true -Ddemoserver.persistent=true 
-Dcustom.cassandra.contactPoints=127.0.0.1:9042 
-Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password 
-Dcustom.mariadb.host=localhost -Dcustom.mariadb.user=root 
-Dcustom.mariadb.password=mysql -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar

And share the errors you get.

Louis


-Original Message-
From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID]
Sent: Monday, August 6, 2018 18:37
To: dev@fineract.apache.org
Cc: my...@apache.org
Subject: Re: Fineract CN Setup issues

Thanks Louis. Will try this.

Any idea, why tables are not getting created in MySQL playground DB 
schema.? Will they not be created when we start the Fineract server.?

On 06/08/18, 9:33 PM, "Louis Niyongabo"  wrote:

Hi Karthik,

Reference to your first email, I run into similar issues, down how the 
workaround I used on Windows,

1. For the port 61616, I was getting this error "java.io.IOException: 
Failed

Re: Fineract CN Setup issues

2018-08-06 Thread Karthik Ananthakrishnan
Below is the error I got when I deleted the DBs in Cassandra, MySQL and started 
the server with the given command.

There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError: 
{"timestamp":1533561449009,"status":500,"error":"Internal Server 
Error","exception":"java.lang.IllegalStateException","message":"org.springframework.web.util.NestedServletException:
 Request processing failed; nested exception is 
java.lang.IllegalStateException: 
org.apache.fineract.cn.api.util.InternalServerError: 
{\"timestamp\":1533561448970,\"status\":500,\"error\":\"Internal Server 
Error\",\"exception\":\"com.datastax.driver.core.exceptions.SyntaxError\",\"message\":\"org.springframework.web.util.NestedServletException:
 Request processing failed; nested exception is 
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable 
alternative at input 
'date'\",\"path\":\"/identity/v1/initialize\"}","path":"/provisioner/v1/tenants/playground/identityservice"}
at 
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlternative(AnnotatedErrorDecoder.java:78)
at 
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:65)
at 
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
at 
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at 
feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy196.assignIdentityManager(Unknown Source)
.
.
.
.
.

13:17:28.959 [qtp630028734-22] INFO  o.a.f.c.l.c.ServiceExceptionFilter - 
Unexpected exception caught 
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is com.datastax.driver.core.exceptions.SyntaxError: line 8:22 
no viable alternative at input 'date'
13:17:28.962 [qtp630028734-22] WARN  o.e.jetty.servlet.ServletHandler -
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is com.datastax.driver.core.exceptions.SyntaxError: line 8:22 
no viable alternative at input 'date'
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


On 06/08/18, 10:24 PM, "Louis Niyongabo"  wrote:

No idea, let's rebuild those DBs:

1. delete ‘seshat’ and ‘playground’ databases from Cassandra and MySQL.

2. java -Ddemoserver.provision=true -Ddemoserver.persistent=true 
-Dcustom.cassandra.contactPoints=127.0.0.1:9042 
-Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password 
-Dcustom.mariadb.host=localhost -Dcustom.mariadb.user=root 
-Dcustom.mariadb.password=mysql -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar

And share the errors you get.

Louis


-Original Message-
From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID] 
Sent: Monday, August 6, 2018 18:37
To: dev@fineract.apache.org
Cc: my...@apache.org
Subject: Re: Fineract CN Setup issues

Thanks Louis. Will try this. 

Any idea, why tables are not getting created in MySQL playground DB 
schema.? Will they not be created when we start the Fineract server.?

On 06/08/18, 9:33 PM, "Louis Niyongabo"  wrote:

Hi Karthik,

Reference to your first email, I run into similar issues, down how the 
workaround I used on Windows, 

1. For the port 61616, I was getting this error "java.io.IOException: 
Failed to bind to server socket: tcp://localhost:61616 due to: 
java.net.BindException: Address already in use: JVM_Bind". I fixed it by 
changing the config file activemq.xml, from 61616 into 51616.

2. For Cassandra, I realized that the service must be running during 
setup. I had to change the config files cassandra.yaml and cassandra-env.sh for 
hostname, listen_address, rpc_address to be 127.0.0.1, along created the folder 
" cdc_raw" that wasn't there by default.

3. For local databases, when the services fail to start, delete the 
databases in Casandra and start over until the services run successfully. Going 
fotward, run the second command without " -Ddemoserver.provision=true". That 
parameter was required to create the DBs the first time.

Regards,

Louis

Re: Fineract CN Setup issues

2018-08-06 Thread Karthik Ananthakrishnan
Thanks Louis. Will try this. 

Any idea, why tables are not getting created in MySQL playground DB schema.? 
Will they not be created when we start the Fineract server.?

On 06/08/18, 9:33 PM, "Louis Niyongabo"  wrote:

Hi Karthik,

Reference to your first email, I run into similar issues, down how the 
workaround I used on Windows, 

1. For the port 61616, I was getting this error "java.io.IOException: 
Failed to bind to server socket: tcp://localhost:61616 due to: 
java.net.BindException: Address already in use: JVM_Bind". I fixed it by 
changing the config file activemq.xml, from 61616 into 51616.

2. For Cassandra, I realized that the service must be running during setup. 
I had to change the config files cassandra.yaml and cassandra-env.sh for 
hostname, listen_address, rpc_address to be 127.0.0.1, along created the folder 
" cdc_raw" that wasn't there by default.

3. For local databases, when the services fail to start, delete the 
databases in Casandra and start over until the services run successfully. Going 
fotward, run the second command without " -Ddemoserver.provision=true". That 
parameter was required to create the DBs the first time.

Regards,

Louis



    -Original Message-
From: Karthik Ananthakrishnan [mailto:karthi...@beyondsquare.com.INVALID] 
Sent: Monday, August 6, 2018 16:45
To: Dev 
Cc: my...@apache.org
Subject: Re: Fineract CN Setup issues

Hello All,

Below is the error logged when i try to start the FINERACT CN server with 
provision = true. Don't get this when i set it to false. I need to get the 
localstore created. So, not able to proceed. Can someone who has faced this and 
resolved help me.?

There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError:
{"timestamp":1533561449009,"status":500,"error":"Internal Server

Error","exception":"java.lang.IllegalStateException","message":"org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is
java.lang.IllegalStateException:
org.apache.fineract.cn.api.util.InternalServerError:
{\"timestamp\":1533561448970,\"status\":500,\"error\":\"Internal Server

Error\",\"exception\":\"com.datastax.driver.core.exceptions.SyntaxError\",\"message\":\"org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable 
alternative at input 
'date'\",\"path\":\"/identity/v1/initialize\"}","path":"/provisioner/v1/tenants/playground/identityservice"}
at

org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlternative(AnnotatedErrorDecoder.java:78)
at

org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:65)
at

feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
at
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at

feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy196.assignIdentityManager(Unknown Source)


.'
.
.
.
13:17:28.435 [qtp630028734-22] INFO  c.d.d.c.p.DCAwareRoundRobinPolicy - 
Using data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this is 
incorrect, please provide the correct datacenter name with 
DCAwareRoundRobinPolicy constructor)
13:17:28.435 [qtp630028734-22] INFO  com.datastax.driver.core.Cluster - New 
Cassandra host /127.0.0.1:9042 added
13:17:28.959 [qtp630028734-22] INFO  o.a.f.c.l.c.ServiceExceptionFilter - 
Unexpected exception caught
org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable 
alternative at input 'date'
13:17:28.962 [qtp630028734-22] WARN  o.e.jetty.servlet.ServletHandler -
org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable 
alternative at input 'date'
at

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
at

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.se

Re: Fineract CN Setup issues

2018-08-06 Thread Karthik Ananthakrishnan
Hello All,

Below is the error logged when i try to start the FINERACT CN server with
provision = true. Don't get this when i set it to false. I need to get the
localstore created. So, not able to proceed. Can someone who has faced this
and resolved help me.?

There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError:
{"timestamp":1533561449009,"status":500,"error":"Internal Server
Error","exception":"java.lang.IllegalStateException","message":"org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is
java.lang.IllegalStateException:
org.apache.fineract.cn.api.util.InternalServerError:
{\"timestamp\":1533561448970,\"status\":500,\"error\":\"Internal Server
Error\",\"exception\":\"com.datastax.driver.core.exceptions.SyntaxError\",\"message\":\"org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable
alternative at input
'date'\",\"path\":\"/identity/v1/initialize\"}","path":"/provisioner/v1/tenants/playground/identityservice"}
at
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlternative(AnnotatedErrorDecoder.java:78)
at
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:65)
at
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
at
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at
feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy196.assignIdentityManager(Unknown Source)


.'
.
.
.
13:17:28.435 [qtp630028734-22] INFO  c.d.d.c.p.DCAwareRoundRobinPolicy -
Using data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this
is incorrect, please provide the correct datacenter name with
DCAwareRoundRobinPolicy constructor)
13:17:28.435 [qtp630028734-22] INFO  com.datastax.driver.core.Cluster - New
Cassandra host /127.0.0.1:9042 added
13:17:28.959 [qtp630028734-22] INFO  o.a.f.c.l.c.ServiceExceptionFilter -
Unexpected exception caught
org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable
alternative at input 'date'
13:17:28.962 [qtp630028734-22] WARN  o.e.jetty.servlet.ServletHandler -
org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable
alternative at input 'date'
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

.
.
.
.
.

Caused by: org.apache.fineract.cn.api.util.InternalServerError:
{"timestamp":1533561448970,"status":500,"error":"Internal Server
Error","exception":"com.datastax.driver.core.exceptions.SyntaxError","message":"org.springframework.web.util.NestedServletException:
Request processing failed; nested exception is
com.datastax.driver.core.exceptions.SyntaxError: line 8:22 no viable
alternative at input 'date'","path":"/identity/v1/initialize"}
at
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlternative(AnnotatedErrorDecoder.java:78)
at
org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:65)
at
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
at
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
at
feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
at com.sun.proxy.$Proxy153.initialize(Unknown Source)
at
org.apache.fineract.cn.provisioner.internal.service.applications.IdentityServiceInitializer.initializeIsis(IdentityServiceInitializer.java:128)
... 99 common frames omitted
13:17:29.023 [Thread-15] INFO
o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing
org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@11438d26:
startup date [Mon Aug 06 12:55:53 UTC 2018]; parent:
org.springframework.context.annotation.AnnotationConfigApplicationContext@7dc5e7b4


On Mon, Aug 6, 2018 at 4:02 PM, Karthik Ananthakrishnan <
karthi...@beyondsq

Fineract CN Setup issues

2018-08-06 Thread Karthik Ananthakrishnan
Dear all,

I am trying to setup Fineract CN in a EC2 machine following the
instructions in
https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN

I am facing the below issues. I am trying to create localstore DB to build
the Jar. So i used the below command.

java -Ddemoserver.provision=true -Ddemoserver.persistent=true
-Dcustom.cassandra.contactPoints=127.0.0.1:9042
-Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password
-Dcustom.mariadb.host=localhost -Dcustom.mariadb.user=root
-Dcustom.mariadb.password=mysql -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar

When i ran the above command, it created seshat and playground schemas in
MySQL and Cassandra. In MySQL - It didnot create any tables in playground..
It only created 1 entry in seshat - tenants table.

Also i got the below error and server startup failed.

Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused (Connection refused)
Should i install Active MQ separately.? Also, i have not installed Maria
DB. If anyone has done the setup successfully, please help us.

Thanks,
Karthik


Re: Mifos AMI 18.03 not available.

2018-07-25 Thread Karthik Ananthakrishnan
Hello Sampath,

V18 AMI link is working now. Thank you so much and appreciate the quick
help.

Regards,
Karthik

On Wed, Jul 25, 2018 at 7:17 PM, Sampath Kumar G <
samp...@confluxtechnologies.com> wrote:

> Hi Ed/Karthik,
>
> Kindly try launching the AMI now. Kindly do let us know if you still face
> the issue.
>
> Regards,
> Sampath
>
> ​
>
> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/> *#304,
> 2nd Floor, 7th Main Road
>
> HRBR Layout 1st Block
>
> Bengaluru, Karnataka, 560043 INDIA
>
>  ™
>
> Disclaimer: The information contained in this e-mail message and any
> files/attachment transmitted with it is confidential and for the sole use
> of the intended recipient(s) or entity identified. If you are not the
> intended recipient, please email:supp...@confluxtechnologies.com and
> destroy/delete all copies and attachment thereto along with the original
> message. Any unauthorized review, use, disclosure, dissemination,
> forwarding, printing or copying of this email or any action taken in
> reliance on this e-mail is strictly prohibited and is unlawful. The
> recipient acknowledges that Conflux Technologies Private Limited or its
> subsidiaries and associated companies are unable to exercise control or
> ensure or guarantee the integrity of/over the contents of the information
> contained in e-mail transmissions. Before opening any attachments, please
> check.
>
> On Wed, Jul 25, 2018 at 6:45 PM, Ed Cable  wrote:
>
>> Sampath,
>>
>> Are you able to assist?
>>
>> Ed
>>
>> On Wed, Jul 25, 2018 at 5:05 AM Karthik Ananthakrishnan <
>> karthi...@beyondsquare.com> wrote:
>>
>>> The error i get is "AMI Could have been unregistered or you are not
>>> authorised to use this AMI"when i try to launch a instance with the AMI ID.
>>>
>>>
>>> On Wed, Jul 25, 2018 at 5:30 PM, Karthik Ananthakrishnan <
>>> karthi...@beyondsquare.com> wrote:
>>>
>>>> Hello All,
>>>>
>>>> I am trying to setup the latest mifos(18.03.01) instance from AMI
>>>> image. I am not able to locate the AMI file when i try the same. I am
>>>> referring to the below link.
>>>>
>>>> https://en.wikipedia.org/wiki/Mifos_X#Amazon_EC2_AMI_Locator
>>>>
>>>> When i click on the AMI Id, ami-37fbfc4b
>>>> <https://console.aws.amazon.com/ec2/home?region=ap-southeast-1#LaunchInstanceWizard:ami=ami-37fbfc4b>
>>>>  I
>>>> am getting a error saying that I donot have the permission to use the AMI.
>>>> Can you please help us with this issue.
>>>>
>>>> https://ap-southeast-1.console.aws.amazon.com/ec2/home?
>>>> region=ap-southeast-1#LaunchInstanceWizard:ami=ami-37fbfc4b
>>>>
>>>> Thanks,
>>>> Karthik
>>>>
>>>
>>>
>>
>> --
>> *Ed Cable*
>> President/CEO, Mifos Initiative
>> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>>
>> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>>
>>
>


Re: Mifos AMI 18.03 not available.

2018-07-25 Thread Karthik Ananthakrishnan
The error i get is "AMI Could have been unregistered or you are not
authorised to use this AMI"when i try to launch a instance with the AMI ID.


On Wed, Jul 25, 2018 at 5:30 PM, Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Hello All,
>
> I am trying to setup the latest mifos(18.03.01) instance from AMI image. I
> am not able to locate the AMI file when i try the same. I am referring to
> the below link.
>
> https://en.wikipedia.org/wiki/Mifos_X#Amazon_EC2_AMI_Locator
>
> When i click on the AMI Id, ami-37fbfc4b
> <https://console.aws.amazon.com/ec2/home?region=ap-southeast-1#LaunchInstanceWizard:ami=ami-37fbfc4b>
>  I
> am getting a error saying that I donot have the permission to use the AMI.
> Can you please help us with this issue.
>
> https://ap-southeast-1.console.aws.amazon.com/ec2/
> home?region=ap-southeast-1#LaunchInstanceWizard:ami=ami-37fbfc4b
>
> Thanks,
> Karthik
>


Mifos AMI 18.03 not available.

2018-07-25 Thread Karthik Ananthakrishnan
Hello All,

I am trying to setup the latest mifos(18.03.01) instance from AMI image. I
am not able to locate the AMI file when i try the same. I am referring to
the below link.

https://en.wikipedia.org/wiki/Mifos_X#Amazon_EC2_AMI_Locator

When i click on the AMI Id, ami-37fbfc4b

I
am getting a error saying that I donot have the permission to use the AMI.
Can you please help us with this issue.

https://ap-southeast-1.console.aws.amazon.com/ec2/home?region=ap-southeast-1#LaunchInstanceWizard:ami=ami-37fbfc4b

Thanks,
Karthik


Re: Adding Pentaho to Fineract

2018-07-14 Thread Karthik Ananthakrishnan
Dear Louis,

I can guide you on the steps followed as per Sampath and Santhosh's
guidelines and help. Please ping me.

Thanks,
Karthik

On Sat, Jul 14, 2018 at 5:00 PM, Louis Niyongabo 
wrote:

> Ref. to email by Karthik, subj. above.
>
> I would like to know how it was solved.
>
>
>
> Thanks,
>
>
>
> Louis
>
>
>
>
>
>


SMS/Email Notification in Fineract 1

2018-07-11 Thread Karthik Ananthakrishnan
Dear All,

 

I am looking to send SMS/EMail notification for EMI and overdue remainders. Not 
able to find the right documentation. Can someone help me with the information 
on how can I activate/configure this in Fineract 1.

 

Thanks in advance,

Karthik



Adding Pentaho to Fineract

2018-06-19 Thread Karthik Ananthakrishnan
Hello all,

 

We are building an application with base code from Apache Fineract git repo. We 
realized that there are few accounting reports which works only with penta ho 
and we will need to add pentaho capability to the application.

 

Can anyone who has done this before help us add the right components to our 
application to enable pentaho reports running.

 

Thanks,

Karthik



Running Fineract in debug mode

2018-06-19 Thread Karthik Ananthakrishnan
Hello All,

 

Has anyone succeded in running fineract in debug mode from eclipse in a 
linux/mac machine.? I could do it from Windows, but not able to from Linux and 
Mac.

 

Thanks,

Karthik



Negative Value of interest in tranche loan creation

2018-04-08 Thread Karthik Ananthakrishnan
Hello all,

Facing negative interest issue when creating trache loan. Below is the details. 
Can someone tell if you have faced the same issue and fixed.? Or are we making 
any mistake while creating the loan.

We have created a new Tranche Loan as follows:
Disbursement Date: 01/05/2018
Principal : 100,000
Loan Term : 60 Months
Number Of Repayments: 60
Repaid Every: 1 Month
First Repayment: 31 May 2018
Nominal Interest Rate: 10 per Year
Interest Method: Declining Balance
Amortization: Equal Installments
Interest Calculation Period: Same as Repayment Period
Calculate interest for exact days in partial period: True

Loan Tranche Details:
Maximum allowed outstanding balance: 100,000
Expected Disbursement On  Principal
01/05/2018 20,000
05/05/2018 30,000
10/05/2018 40,000
15/05/2018 10,000

The loan creation screenshots are attached
Below(LoanCreation1,LoanCreation2,LoanCreation3,LoanCreation4)

When we create this loan, the repayment schedule generated gives the Interest 
for the first installment as a negative value.
This issue is only faced when we explicitly mention the first repayment date in 
the same month as of the tranche expected disbursement date. The repayment 
schedule generated is also attached (RepaymentSchedule).

Thanks,
Karthik




Help in understanding Cache

2018-02-01 Thread Karthik Ananthakrishnan
Hello All,

 

I would like to know if anyone has implemented MultiNode cache in Mifos 
implementation. I can see the below in API documentation.

 

Cache

The following settings are possible for cache:
No Caching: caching turned off
Single node: caching on for single instance deployments of platorm (works for 
multiple tenants but only one tomcat)
By default caching is set to No Caching. Switching between caches results in 
the cache been clear e.g. from Single node to No cache and back again would 
clear down the single node cache.

 

I can see that CacheType.java has 3 Enum values.

 

    INVALID(0, "cacheType.invalid"), //

    NO_CACHE(1, "cacheType.noCache"), //

    SINGLE_NODE(2, "cacheType.singleNode"), //

    MULTI_NODE(3, "cacheType.multiNode");

 

If we need to enable cache in multi instance deployment, how do I setup cache.?

 

Thanks,

Karthik



Re: Scheduler Jobs - Quartz.

2018-01-24 Thread Karthik Ananthakrishnan
Hello All,

 

I am posting the specific queries with regards to Clustered Scheduler setup.

 

1. MIFOS by default implements RAMStore Quartz Scheduler which is a 
NON_CLUSTERED.

2. Quartz scheduler provisions CLUSTERED SCHEDULER by using DB/Terracotta.

3. For our application, we will have to use Clustered scheduler for efficiency 
and also for HA. Need to know if CLUSTERED Setup was explored or implemented. 
If yes, Was it DBStore or Terracotta Store. What infra is required.?

4. How does this work for Multi-Tenants. Can i setup a clustered scheduler for 
1 set of tenants.? Or Clustering is across all tenants.? Was this explored.?

5. As per our understanding of MIFOS scheduler implementation, Jobs run per 
tenant. Suppose job is same for 2 different tenants. Job run individually for 
tenant. Is this correct.

 

I am looking for some help if someone had tried the clustered scheduler setup.

 

Thanks,

Karthik

 

From: Karthik Ananthakrishnan <karthi...@beyondsquare.com>
Date: Friday, 19 January 2018 at 12:48 AM
To: <dev@fineract.apache.org>
Subject: Scheduler Jobs - Quartz.

 

Hello All,

 

I am trying to understand Mifos in depth and add new features to it. 

 

I am trying to understand how the scheduler in MIFOS works. I figured out that 
MIFOS uses Spring quartz scheduler for achieving this. I would like to know how 
this will work when we have like 50 tenants connected.? Can I use a separate 
server to schedule for all tenants or a set of tenants.? Each tenant has 
separate schedulers which are not linked.? Or same scheduler runs for all 
tenants.? 

 

Have few more queries. If anyone has good knowledge of setting up schedulers, I 
would like to talk to them and understand more.

 

Thanks in advance.

 

Regards,

Karthik



Re: Scheduler Jobs - Quartz.

2018-01-23 Thread Karthik Ananthakrishnan
Thank You Ed for the connect,

Hello all.

Below are my queries.

1. MIFOS by default implements RAMStore Quartz Scheduler which is a 
NON_CLUSTERED.
2. Quartz scheduler provisions CLUSTERED SCHEDULER by using DB/Terracotta.
3. For our application, we will have to use Clustered scheduler for efficiency 
and also for HA. Need to know if CLUSTERED Setup was explored or implemented. 
If yes, Was it DBStore or Terracotta Store. What infra is required.?
4. How does this work for Multi-Tenants. Can i setup a clustered scheduler for 
1 set of tenants.? Or Clustering is across all tenants.? Was this explored.?
5. As per our understanding of MIFOS scheduler implementation, Jobs run per 
tenant. Suppose job is same for 2 different tenants. Job run individually for 
tenant. Is this correct.

Thanks in advance.

Regards,
Karthik

On 23/01/18, 10:59 PM, "Ed Cable" <edca...@mifos.org> wrote:

I just wanted to surface this email directly to a few of the contributors
in the community who'd be in the best position to respond about a clustered
scheduler setup for Fineract.

Avik, Vishwas, Sander - could you share some insight?

Ed

On Thu, Jan 18, 2018 at 11:18 AM, Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Hello All,
>
>
>
> I am trying to understand Mifos in depth and add new features to it.
>
>
>
> I am trying to understand how the scheduler in MIFOS works. I figured out
> that MIFOS uses Spring quartz scheduler for achieving this. I would like 
to
> know how this will work when we have like 50 tenants connected.? Can I use
> a separate server to schedule for all tenants or a set of tenants.? Each
> tenant has separate schedulers which are not linked.? Or same scheduler
> runs for all tenants.?
>
>
>
> Have few more queries. If anyone has good knowledge of setting up
> schedulers, I would like to talk to them and understand more.
>
>
>
> Thanks in advance.
>
>
>
> Regards,
>
> Karthik
>
>


-- 
*Ed Cable*
President/CEO, Mifos Initiative
edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649

*Collectively Creating a World of 3 Billion Maries | *http://mifos.org
<http://facebook.com/mifos>  <http://www.twitter.com/mifos>





New Tenant - Issues

2018-01-19 Thread Karthik Ananthakrishnan
Hello all,

 

We have forked the Apache Fineract branch. DB Scripts for Default tenant got 
created when we first started the server. I tried adding a new tenant. Followed 
the below steps.

 

1. Create a new mifostenants-newtenant schema.

2. Add new schema to tenant and tenant connection details table in 
mifosplatform-tenants schema.

3. Started the server.

 

Flyway scripts didn’t run for new tenant. Am I missing something.? Has anyone 
faced the same issue and resolved it.?

 

Thanks,

Karthik



Scheduler Jobs - Quartz.

2018-01-18 Thread Karthik Ananthakrishnan
Hello All,

 

I am trying to understand Mifos in depth and add new features to it. 

 

I am trying to understand how the scheduler in MIFOS works. I figured out that 
MIFOS uses Spring quartz scheduler for achieving this. I would like to know how 
this will work when we have like 50 tenants connected.? Can I use a separate 
server to schedule for all tenants or a set of tenants.? Each tenant has 
separate schedulers which are not linked.? Or same scheduler runs for all 
tenants.? 

 

Have few more queries. If anyone has good knowledge of setting up schedulers, I 
would like to talk to them and understand more.

 

Thanks in advance.

 

Regards,

Karthik



Roles and Permissions - Query

2017-11-29 Thread Karthik Ananthakrishnan
Dear Fineract Champions,

 

I have a query with regards to adding new permissions.

 

I am able to add new roles from Mifos UI. But don’t have an option to add new 
permission. Even if I created the new permission through scripts in DB and 
mapped it to Roles, I am not able to see the list of permissions to the users 
in View Role screen. Can someone help me on this.

 

Regards,

Karthik



Re: MIFOS - Dev Setup Issue

2017-11-28 Thread Karthik Ananthakrishnan
Hello All,

I have got this issue resolved. I was using MySQL 5.7 and was getting that 
error. I changed it to 5.6 and tomcat started without any error. ☺

Thanks,
Karthik

On 28/11/17, 6:22 PM, "Karthik Ananthakrishnan" <karthi...@beyondsquare.com> 
wrote:

Santhosh,

 

I have created the Eclipse WS from 
https://github.com/openMF/incubator-fineract/tree/mifosplatform-17.07.01.RELEASE

I have installed Apache Activemq 5.15.2 and Started it. (No Configurations 
wr.r.t mifos done.)

 

Started Fineract using 'gradlew clean tomcatrunwar' from the root folder.

 

When I try connecting my community-app to server I am not able to.


http://localhost:9002/?baseApiUrl=http://localhost:8080=default
 Gave the mifos/password as credentials and got the below error.

Couldn't connect to server. Make sure you are using correct settings.

 

Got the below error during tomcat server startup. 

17:43:34.023 [localhost-startStop-1] INFO  
org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'Scheduler1group4' 
initialized from an externally provided properties instance.

17:43:34.024 [localhost-startStop-1] INFO  
org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.1.7

17:43:34.024 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler 
- JobFactory set to: 
org.springframework.scheduling.quartz.AdaptableJobFactory@592de645

17:43:34.024 [localhost-startStop-1] INFO  
o.s.s.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now

17:43:34.024 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler 
- Scheduler Scheduler1group4_$_NON_CLUSTERED started.

17:43:34.567 [localhost-startStop-1] ERROR 
o.a.f.i.j.s.JobRegisterServiceImpl - Could not schedule job: Generate 
AdhocClient Schedule

java.lang.IllegalArgumentException: Code has no @CronTarget with this job 
name (@see JobName); seems like DB/code are not in line: Generate AdhocClient 
Schedule

at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.createJobDetail(JobRegisterServiceImpl.java:344)
 [JobRegisterServiceImpl.class:na]

at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.scheduleJob(JobRegisterServiceImpl.java:264)
 [JobRegisterServiceImpl.class:na]

at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.loadAllJobs(JobRegisterServiceImpl.java:120)
 [JobRegisterServiceImpl.class:na]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[na:1.8.0_144]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_144]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) 
~[na:1.8.0_144]

at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1546)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228

Re: MIFOS - Dev Setup Issue

2017-11-28 Thread Karthik Ananthakrishnan
Santhosh,

 

I have created the Eclipse WS from 
https://github.com/openMF/incubator-fineract/tree/mifosplatform-17.07.01.RELEASE

I have installed Apache Activemq 5.15.2 and Started it. (No Configurations 
wr.r.t mifos done.)

 

Started Fineract using 'gradlew clean tomcatrunwar' from the root folder.

 

When I try connecting my community-app to server I am not able to.

http://localhost:9002/?baseApiUrl=http://localhost:8080=default
 Gave the mifos/password as credentials and got the below error.

Couldn't connect to server. Make sure you are using correct settings.

 

Got the below error during tomcat server startup. 

17:43:34.023 [localhost-startStop-1] INFO  org.quartz.impl.StdSchedulerFactory 
- Quartz scheduler 'Scheduler1group4' initialized from an externally provided 
properties instance.

17:43:34.024 [localhost-startStop-1] INFO  org.quartz.impl.StdSchedulerFactory 
- Quartz scheduler version: 2.1.7

17:43:34.024 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler - 
JobFactory set to: 
org.springframework.scheduling.quartz.AdaptableJobFactory@592de645

17:43:34.024 [localhost-startStop-1] INFO  o.s.s.quartz.SchedulerFactoryBean - 
Starting Quartz Scheduler now

17:43:34.024 [localhost-startStop-1] INFO  org.quartz.core.QuartzScheduler - 
Scheduler Scheduler1group4_$_NON_CLUSTERED started.

17:43:34.567 [localhost-startStop-1] ERROR o.a.f.i.j.s.JobRegisterServiceImpl - 
Could not schedule job: Generate AdhocClient Schedule

java.lang.IllegalArgumentException: Code has no @CronTarget with this job name 
(@see JobName); seems like DB/code are not in line: Generate AdhocClient 
Schedule

    at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.createJobDetail(JobRegisterServiceImpl.java:344)
 [JobRegisterServiceImpl.class:na]

    at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.scheduleJob(JobRegisterServiceImpl.java:264)
 [JobRegisterServiceImpl.class:na]

    at 
org.apache.fineract.infrastructure.jobs.service.JobRegisterServiceImpl.loadAllJobs(JobRegisterServiceImpl.java:120)
 [JobRegisterServiceImpl.class:na]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_144]

    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_144]

    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_144]

    at java.lang.reflect.Method.invoke(Method.java:498) 
~[na:1.8.0_144]

    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1546)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
 [spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE]

    at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1021)
 

Re: Code base Help

2017-11-27 Thread Karthik Ananthakrishnan
Thanks Ed. Isaac’s intro was very helpful.

Looking forward for the interaction with Nazeer for Fineract 1.0

Regards,
Karthik

On 27/11/17, 11:24 PM, "Ed Cable" <edca...@mifos.org> wrote:

To add to Markus' comments Karthik and to follow up on the conversations we
have had, the Mifos X distribution (which contains the Mifos X web app,
mobile apps, and reporting in-built) is powered by the latest stable
version of Apache Fineract. All of the lead maintainers and release
managers of the official Apache Fineract repository are in fact Mifos
community members or contracted out by the Mifos Initiative.

As you know, The Mifos Initiative also contributed the Apache Fineract code
into Apache and our organization champions the voice of the broader
financial inclusion community so don't want it to seem like Mifos X is just
any "vendor-specific distribution forked from Apache Fineract."

Hopefully the intro Isaac provided you the other day to Fineract CN was
valuable and I'll schedule a time for Nazeer to do the same on Fineract
1.0.

Thanks,

Ed

On Mon, Nov 27, 2017 at 4:44 AM, Markus Geiss <m...@apache.org> wrote:

> Hey Karthik,
>
> just a FYI:
>
> Apache Fineract is the official open source project governed by the Apache
> community.
>
> Mifos X is a vendor specific distribution forked from Apache Fineract, and
> is not supported by the Apache community.
>
> Cheers
>
> Markus
>
> .::Yagni likes a DRY KISS::.
>
> On Mon, Nov 27, 2017 at 12:47 PM Karthik Ananthakrishnan <
> karthi...@beyondsquare.com> wrote:
>
> > Thanks Santhosh.
> >
> > On 27/11/17, 4:51 PM, "Santosh Math" <sant...@confluxtechnologies.com>
> > wrote:
> >
> > Try this.
> >
    > > https://github.com/openMF/incubator-fineract/tree/
> mifosplatform-17.07.01.RELEASE
> >
> > On Mon, Nov 27, 2017 at 3:54 PM, Karthik Ananthakrishnan <
> > karthi...@beyondsquare.com> wrote:
> >
> > > Dear all,
> > >
> > >
> > >
> > > I am in the process of setting up my Repo.
> > >
> > >
> > >
> > > I understand there are 2 code base to MIFOS Backend.
> > >
> > >
> > >
> > > 1. MIFOS Code base which includes Pentaho. (
> > https://github.com/openMF/
> > > incubator-fineract)
> > >
> > > 2. Apache code base which does not include Pentaho. (
> > > https://github.com/apache/fineract)
> > >
> > >
> > >
> > > I want to take a stable code base which I will use as base and
> build
> > > extensible functionalities in my repo. Can someone tell me if all
> > changes
> > > are ported to both branches.? Or MIFOS code base is outdated with
> > changes
> > > in FINERACT code base.?
> > >
> > >
> > >
> > > I see check-ins latest in Fineract branch and release branches in
> > MIFOS.
> > > So, I am confused which repo to take as base branch. Kindly help.
> > >
> > >
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Karthik
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>



-- 
*Ed Cable*
President/CEO, Mifos Initiative
edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649

*Collectively Creating a World of 3 Billion Maries | *http://mifos.org
<http://facebook.com/mifos>  <http://www.twitter.com/mifos>





Re: Code base Help

2017-11-27 Thread Karthik Ananthakrishnan
Thanks Santhosh. 

On 27/11/17, 4:51 PM, "Santosh Math" <sant...@confluxtechnologies.com> wrote:

Try this.

https://github.com/openMF/incubator-fineract/tree/mifosplatform-17.07.01.RELEASE

On Mon, Nov 27, 2017 at 3:54 PM, Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Dear all,
>
>
>
> I am in the process of setting up my Repo.
>
>
>
> I understand there are 2 code base to MIFOS Backend.
>
>
>
> 1. MIFOS Code base which includes Pentaho. (https://github.com/openMF/
> incubator-fineract)
>
> 2. Apache code base which does not include Pentaho. (
> https://github.com/apache/fineract)
>
>
>
> I want to take a stable code base which I will use as base and build
> extensible functionalities in my repo. Can someone tell me if all changes
> are ported to both branches.? Or MIFOS code base is outdated with changes
> in FINERACT code base.?
>
>
>
> I see check-ins latest in Fineract branch and release branches in MIFOS.
> So, I am confused which repo to take as base branch. Kindly help.
>
>
>
> Thanks in advance.
>
>
>
> Regards,
>
> Karthik
>
>
>
>





Code base Help

2017-11-27 Thread Karthik Ananthakrishnan
Dear all,

 

I am in the process of setting up my Repo.

 

I understand there are 2 code base to MIFOS Backend.

 

1. MIFOS Code base which includes Pentaho. 
(https://github.com/openMF/incubator-fineract)

2. Apache code base which does not include Pentaho. 
(https://github.com/apache/fineract)

 

I want to take a stable code base which I will use as base and build extensible 
functionalities in my repo. Can someone tell me if all changes are ported to 
both branches.? Or MIFOS code base is outdated with changes in FINERACT code 
base.? 

 

I see check-ins latest in Fineract branch and release branches in MIFOS. So, I 
am confused which repo to take as base branch. Kindly help.

 

Thanks in advance.

 

Regards,

Karthik

 



Re: Web App Demo for Apache Fineract CN

2017-11-24 Thread Karthik Ananthakrishnan
Able to login now. Thanks Marcus. ☺

On 24/11/17, 8:39 PM, "Markus Geiss" <m...@apache.org> wrote:

Sorry for that ... was a typo in the pwd ...

Cheers

Markus

.::Yagni likes a DRY KISS::.

On Fri, Nov 24, 2017 at 3:52 PM Karthik Ananthakrishnan <
karthi...@beyondsquare.com> wrote:

> Hi Markus,
>
> Tried the below credentials. Didn’t work.
>
> https://training.kuelap.io:8443/index.html
>
> > Tenant: playground
> > Username: apache.demo
> > Password ven3t1@n
>
> Can you correct me if I am giving anything wrong.
>
> Thanks,
> Karthik
>
> On 24/11/17, 8:14 PM, "Markus Geiss" <m...@apache.org> wrote:
>
> yup it has gone. (;
>
> I've created a new user: apache.demo holding the same password as
> before.
>
> Cheers
>
> Markus
>
> .::Yagni likes a DRY KISS::.
>
> On Fri, Nov 24, 2017 at 2:51 PM Ed Cable <edca...@mifos.org> wrote:
>
> > Markus or others,
> >
> > Did the password for the web app demo for Apache Fineract CN change?
> >
> > https://training.kuelap.io:8443/index.html
> >
> > Tenant: playground
> > Username: demo
> > Password ven3t1@n
> >
> > When attempting to authenticate, I get the error of "Sorry, Login
> did not
> > work".
> >
> > Thanks,
> >
> > Ed
> >
>
>
>
>





Re: Fineract - MySQL to Oracle.

2017-11-22 Thread Karthik Ananthakrishnan
Thanks Sendoro,

I can see there is a Persistence layer(Open JPA) in Apache Fineract. So, I can 
replace MySQL with Oracle with some effort.

I am looking for help/info if anyone has successfully done it before and if 
yes, would like to understand the changes required so that I don’t have to 
re-invent the wheel or have a starting point.

Regards,
Karthik

On 22/11/17, 9:25 PM, "Sendoro Juma"  wrote:

Hell Karthik,


To be specific these were answers see 1. and 2. below:

1. advise From Ed.
--START-
Orlando,

Depending on what your use cases are and your timeline for implementation,
the forthcoming Apache Fineract CN architecture is relational database
agnostic so you could more easily swap out MySQL for another database like
SQL server.

Ed
--- END-



2. Response fro Markus

START
Hey,

the issue is, that the current version is using native SQL within the code
... so it will get hard to replace the DB without a lot of refactoring.

Cheers
END---

Best Regards
Sendoro


- Original Message -
From: "karthik" 
To: dev-h...@fineract.apache.org, "dev" 
Sent: Wednesday, November 22, 2017 5:33:13 PM
Subject: Fineract - MySQL to Oracle.

Hello all,

 

I am planning to build a lending platform on top of Fineract 
(https://github.com/apache/fineract). We want to change the DB from MySQL to 
Oracle. Has anyone in the group attempted this before.? If yes, do you have the 
steps so that I don’t have to re-invent the wheel again.

 

People who are aware of the changes required can also please let me know 
the steps. Will be helpful and can be a starting point for me.

 

Thanks in advance.

 

Regards,

Karthik





Fineract - MySQL to Oracle.

2017-11-22 Thread Karthik Ananthakrishnan
Hello all,

 

I am planning to build a lending platform on top of Fineract 
(https://github.com/apache/fineract). We want to change the DB from MySQL to 
Oracle. Has anyone in the group attempted this before.? If yes, do you have the 
steps so that I don’t have to re-invent the wheel again.

 

People who are aware of the changes required can also please let me know the 
steps. Will be helpful and can be a starting point for me.

 

Thanks in advance.

 

Regards,

Karthik