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
> > > __ __
> > > 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)
> > > 

Re: [Mifos-developer] Error in setting up Message gateway

2018-08-08 Thread Santosh Math
Please share the screenshot of the message gateway server running.

On Wed 8 Aug, 2018, 8:24 PM Santosh Math, 
wrote:

> Hi Innocent,
> Are u sure message gateway server is running successfully?
>
> On Wed 8 Aug, 2018, 6:53 PM ,  wrote:
>
>> Hi Santosh
>>
>>
>>
>> I am having challenges with setting up message gateway on windows tomcat
>> server.
>>
>> When I try to create sms campaign am getting an error
>>
>>
>>
>>  field is required
>>
>> error.msg.unable.to.connect.to.intermediate.server
>>
>>
>>
>> also the drop down for sms provider is not pick data in the database
>>
>> kindly Assist
>>
>>
>>
>> Regards
>>
>>
>>
>> Innocent Marozva
>>
>>
>>
>>
>>
>> *From:* sif...@skyburgsystems.org 
>> *Sent:* 08 August 2018 09:17
>> *To:* 'Mifos software development' > >
>> *Cc:* innoc...@taatconsulting.com
>> *Subject:* RE: [Mifos-developer] Error in setting up Message gateway
>>
>>
>>
>> Hi Innocent,
>>
>>
>>
>> Checked your url and it is not loading. Please check that your ip address
>> and portal are the correct ones used to access your tenants.
>>
>>
>>
>> Sifiso
>>
>>
>>
>> *From:* innoc...@taatconsulting.com 
>> *Sent:* Wednesday, August 8, 2018 9:08 AM
>> *To:* 'Mifos software development' > >
>> *Subject:* Re: [Mifos-developer] Error in setting up Message gateway
>>
>>
>>
>> Hi @all
>>
>>
>>
>> Could you please clarify on setting message gateway, am also facing some
>> challenges in trying to get key using REST ,
>>
>>
>>
>> Using url
>>
>>
>>
>> My url: https://52.53.14.67:8445/tenants
>>
>> Body content  : application/json; charset=UTF-8
>>
>> Using POST method
>>
>> Body : {
>>
>> "tenantId":"metcash",
>>
>> "description": "SMS Campaign"
>>
>> }
>>
>>
>>
>>
>>
>>
>>
>> *Error message *
>>
>>
>>
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>
>> javax.net.ssl.SSLHandshakeException:
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
>> valid certification path to requested target
>>
>>at sun.security.ssl.Alerts.getSSLException(Unknown Source)
>>
>>at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
>>
>>at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
>>
>>at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
>>
>>at
>> sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
>>
>>at
>> sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
>>
>>at sun.security.ssl.Handshaker.processLoop(Unknown Source)
>>
>>at sun.security.ssl.Handshaker.process_record(Unknown
>> Source)
>>
>>at sun.security.ssl.SSLSocketImpl.readRecord(Unknown
>> Source)
>>
>>at
>> sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
>>
>>at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
>> Source)
>>
>>at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown
>> Source)
>>
>>at
>> org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
>>
>>at
>> org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
>>
>>at
>> org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
>>
>>at
>> org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
>>
>>at
>> org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
>>
>>at
>> org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
>>
>>at
>> org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
>>
>>at
>> org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
>>
>>at
>> org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
>>
>>at
>> org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
>>
>>at
>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
>>
>>at
>> org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:391)
>>
>>at
>> org.wiztools.restclient.ui.RESTViewImpl$3.run(RESTViewImpl.java:341)
>>
>> Caused by: sun.security.validator.ValidatorException: PKIX path building
>> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
>> to find valid certification path to requested target
>>
>>at 

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
> > __ __
> > 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
> >