Re: Issue about deploy Fineract to Tomcat server

2018-07-08 Thread Dingfan Zhao
Hello,

I have installed MySQL since I can login to MySQL server from terminal. 
However, I am not sure whether my configurations about MySQL is correct, let me 
check it.

Thanks for your advice. 

Regards,
Dingfan

> On 9 Jul 2018, at 1:55 PM, Sampath Kumar G  
> wrote:
> 
> Hi Zhao,
> 
> Looks like MySQL has not installed. Can you please check are you able to 
> login to MySQL without any issues.
> 
> Regards,
> Sampath
> 
> ​Conflux Technologies Pvt Ltd  
> #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 Sun, Jul 8, 2018 at 10:57 PM, Dingfan Zhao  > wrote:
> Hi folks, 
> 
> I encountered some errors when I tried to deploy the Fineract application to 
> Tomcat server. 
> 
> At first, I generate the war file of Fineract using the command `./gradlew 
> -Penv=dev clean dist`. 
> Then I run the `run fineract.sh` to deploy my war file to Tomcat server. 
> During this process, I encountered the error of “Unable to start embedded 
> container; nested exception is 
> org.springframework.boot.context.embedded.EmbeddedServletContainerException: 
> Unable to start embedded Tomcat”. 
> 
> I have searched on Google and StackOverflow, most of the answers are about 
> changing port number. However, this solution does not work for me. I would 
> like to ask for you guys’ help, do you have any idea about the errors? 
> 
> P.S. The full log of my deployment process is attached.
> 
> 
> 
> Regards,
> Dingfan
> 
> 



Re: Issue about deploy Fineract to Tomcat server

2018-07-08 Thread Sampath Kumar G
Hi Zhao,

Looks like MySQL has not installed. Can you please check are you able to
login to MySQL without any issues.

Regards,
Sampath

​

*Conflux Technologies Pvt Ltd  *#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 Sun, Jul 8, 2018 at 10:57 PM, Dingfan Zhao 
wrote:

> Hi folks,
>
> I encountered some errors when I tried to deploy the Fineract application
> to Tomcat server.
>
> At first, I generate the war file of Fineract using the command `./gradlew
> -Penv=dev clean dist`.
> Then I run the `run fineract.sh` to deploy my war file to Tomcat server.
> During this process, I encountered the error of “Unable to start embedded
> container; nested exception is org.springframework.boot.context.embedded.
> EmbeddedServletContainerException: Unable to start embedded Tomcat”.
>
> I have searched on Google and StackOverflow, most of the answers are about
> changing port number. However, this solution does not work for me. I would
> like to ask for you guys’ help, do you have any idea about the errors?
>
> P.S. The full log of my deployment process is attached.
>
>
>
> Regards,
> Dingfan
>
>


Issue about deploy Fineract to Tomcat server

2018-07-08 Thread Dingfan Zhao
Hi folks, I encountered some errors when I tried to deploy the Fineract application to Tomcat server. At first, I generate the war file of Fineract using the command `./gradlew -Penv=dev clean dist`. Then I run the `run fineract.sh` to deploy my war file to Tomcat server. During this process, I encountered the error of “Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat”. I have searched on Google and StackOverflow, most of the answers are about changing port number. However, this solution does not work for me. I would like to ask for you guys’ help, do you have any idea about the errors? P.S. The full log of my deployment process is attached.log4j:WARN No appenders could be found for logger 
(org.springframework.boot.logging.ClasspathLoggingApplicationListener).
log4j:WARN Please initialize the log4j system properly.

  .     ___ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  || .__|_| |_|_| |_\__, | / / / /
 =|_|==|___/=/_/_/_/
 :: Spring Boot ::(v1.1.6.RELEASE)

Jul 09, 2018 12:52:56 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jul 09, 2018 12:52:56 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Jul 09, 2018 12:52:59 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
00:52:59.676 [localhost-startStop-1] INFO  ch.vorburger.mariadb4j.DB - 
Installing a new embedded database to: build/db/bin
00:52:59.693 [localhost-startStop-1] INFO  ch.vorburger.exec.ManagedProcess - 
Starting Program 
[/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin/bin/mysql_install_db,
 
--datadir=/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/data,
 
--basedir=/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin,
 --no-defaults, --force, --skip-name-resolve] (in working directory 
/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin)
00:52:59.798 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: Installing MariaDB/MySQL system tables in 
'/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/data' 
...
00:52:59.799 [localhost-startStop-1] INFO  ch.vorburger.exec.ManagedProcess - 
Thread is now going to wait for this process to terminate itself: Program 
[/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin/bin/mysql_install_db,
 
--datadir=/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/data,
 
--basedir=/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin,
 --no-defaults, --force, --skip-name-resolve] (in working directory 
/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin)
00:53:00.028 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: OK
00:53:00.029 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: Filling help tables...
00:53:00.196 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: OK
00:53:00.197 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
00:53:00.197 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: To start mysqld at boot time you have to copy
00:53:00.197 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: support-files/mysql.server to the right place for your system
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: To do so, start the server, then issue the following commands:
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
'/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin/bin/mysqladmin'
 -u root password 'new-password'
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
'/Users/dingfan/fineract/build/distributions/fineract-provider/build/db/bin/bin/mysqladmin'
 -u root -h  password 'new-password'
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: 
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_db: Alternatively you can run:
00:53:00.198 [Exec Stream Pumper] INFO  ch.vorburger.exec.ManagedProcess - 
mysql_install_

Re: Self-Service APIs for GSOC Students

2018-07-08 Thread Abhay Chawla
Hello Everyone,

Following up on the previous email, I had a few more questions.
1) I can see that for the entries of users who are self-service users
currently in the application we don't have a corresponding entry for a
client. According to my understanding as the self-service application is
client facing we should have both an entry for user and client isn't it or
am I missing out on something?
2) Also, is it currently possible to associate a client with a user? I am
unable to find a common id using which I could connect them.

I think I misjudged that the current APIs will be sufficient for
self-service user management. I would like to request for a discussion
regarding this for some clarity so that the required APIs can be built.

Thanks
Abhay.

On Fri, Jul 6, 2018 at 10:50 PM Abhay Chawla 
wrote:

> Hello Everyone,
>
> As I was exploring the APIs that I will be using for user management I saw
> that we don't have a field for mobile no in the API for users, only the
> email. On the other hand, clients have both email and mobile. I want to
> know why do we don't have a mobile no in the users API, considering that
> for self-service registration in the Online banking app as I see the user
> requires one of them for authentication. Also according to my
> understanding, I want to confirm are all self-service users definitely
> clients? I would appreciate if anyone of you could clarify this.
>
> And yes Welcome, Shruthi and thanks for your help on the APIs.
>
> Thanks
> Abhay.
>
>
> On Fri, Jul 6, 2018 at 6:26 PM Ed Cable  wrote:
>
>> As you all saw via the intro to the dev list, I wanted to introduce you
>> to Shruthi, who is beginning to work on the self-service API wrappers.
>>
>> She'll be on our check-in today so hopefully she can schedule some time
>> with each of the interns who need assistance as well.
>>
>> On Thu, Jun 21, 2018 at 3:23 PM Ed Cable  wrote:
>>
>>> Saksham and Ankit,
>>>
>>> Thanks for your patience and your engagement with Adi thus far in
>>> helping to get clarity around the APIs needed for your projects.
>>>
>>> I do have a resource finally coming on board that will be able to assist
>>> directly by building out the wrappers around existing APIs to enable them
>>> as self-service.
>>>
>>> Can you please confirm that these are the APIs that are missing and/or
>>> lacking documentation:
>>>
>>> *Lacking Documentation:*
>>> @Dilpreet Singh   Are you able to document
>>> these on the Fineract API docs page since you consumed them last summer?
>>>
>>> Or Perhaps @Sampath Kumar G  you could
>>> do documentation with support of Adi/Nazeer and Dilpreet.
>>>
>>>- View Reports
>>>- Notification Service
>>>   - GET device/registration/client/{clientId}
>>>   - POST device/registration
>>>   - PUT device/registration/{id}
>>>- Registration Service
>>>   - POST registration
>>>   - POST registration/user
>>>
>>> *New APIs to be Built*
>>> Saksham and Ankit have documented the new APIs that need to be created
>>> at https://issues.apache.org/jira/browse/FINERACT-628 inclusive of:
>>>
>>> 1) Support for applying for for savings accounts
>>> 2) Support for viewing share accounts
>>> 3) Support for adding guarantors
>>> 4) Support for editing user details.
>>> 5) Support for surveys
>>>
>>> 6) Support for Applying for new Shares Account
>>>
>>> 7) Support for uploading new Client's Image
>>>
>>> 8) Support for the list of Loan, Savings, Shares product along with
>>> their details
>>>
>>>
>>>
>>> --
>>> *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
>>>   
>>>
>>>
>>
>> --
>> *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
>>   
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Mifos Google Summer of Code 2018" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gsoc-2018+unsubscr...@mifos.org.
>>
>