Re: Issue about deploy Fineract to Tomcat server

2019-03-31 Thread Saransh Sharma
The actual error is like this

 You have enabled runtime enhancement, but have not specified the set of
persistent classes.  OpenJPA must look for metadata for every loaded class,
which might increase class load times significantly.
51  jpa-pu  WARN   [localhost-startStop-1] openjpa.Runtime - An error
occurred while registering a ClassTransformer with PersistenceUnitInfo:
name 'jpa-pu', root URL
[file:/Users/maektwain/fineract/fineract-provider/out/production/resources].
The error has been consumed. To see it, set your openjpa.Runtime log level
to TRACE. Load-time class transformation will not be available.
60  jpa-pu  INFO   [localhost-startStop-1] openjpa.Runtime - OpenJPA
dynamically loaded a validation provider.

On Sun, Mar 31, 2019 at 4:15 PM Saransh Sharma 
wrote:

> Seems like same issue with which I have on local server.
>
> This can be reproduced as well on Mac OS 10.14 with mysql 5.6 although I
> am using docker based mysql connection / setup.
>
> Thanks
>
> On Tue, Jul 10, 2018 at 6:55 PM Dingfan Zhao 
> wrote:
>
>> Hi Steve,
>>
>> I followed the guide (
>> https://github.com/openMF/mifosx/blob/master/INSTALL.md#234-configure-for-ssl
>> <
>> https://github.com/openMF/mifosx/blob/master/INSTALL.md#234-configure-for-ssl>)
>> to set up the 2 databases. However, I still cannot make it work.
>>
>> Regards,
>> Dingfan
>>
>> > On 9 Jul 2018, at 11:37 PM, Steve Conrad  wrote:
>> >
>> > HI Dingfan -
>> >
>> > Have you created the 2 MySQL databases that are required for Fineract?
>> This
>> > process is described in the installation documents. From a MySQL
>> terminal,
>> > you need to do the following:
>> >
>> > create database `mifosplatform-tenants`;
>> > create database `mifostenant-default`;
>> >
>> > Take care,
>> > Steve
>> >
>> >
>> > On Mon, Jul 9, 2018 at 1:03 AM Dingfan Zhao > >
>> > wrote:
>> >
>> >> 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 <
>> >> samp...@confluxtechnologies.com> 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 > 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
>>  > >> supp...@confluxtechnologies.com > 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 <
>> zhaodingfanh...@gmail.com 
>> >> >>
>> 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
>>
>>
>
> --
>
>
> Saransh Sharma
>
>
>
> 

Re: Issue about deploy Fineract to Tomcat server

2018-07-10 Thread Dingfan Zhao
Hi Steve, 

I followed the guide 
(https://github.com/openMF/mifosx/blob/master/INSTALL.md#234-configure-for-ssl 
)
 to set up the 2 databases. However, I still cannot make it work.

Regards,
Dingfan

> On 9 Jul 2018, at 11:37 PM, Steve Conrad  wrote:
> 
> HI Dingfan -
> 
> Have you created the 2 MySQL databases that are required for Fineract? This
> process is described in the installation documents. From a MySQL terminal,
> you need to do the following:
> 
> create database `mifosplatform-tenants`;
> create database `mifostenant-default`;
> 
> Take care,
> Steve
> 
> 
> On Mon, Jul 9, 2018 at 1:03 AM Dingfan Zhao  >
> wrote:
> 
>> 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 <
>> samp...@confluxtechnologies.com> 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 
>>  > 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-09 Thread Steve Conrad
HI Dingfan -

Have you created the 2 MySQL databases that are required for Fineract? This
process is described in the installation documents. From a MySQL terminal,
you need to do the following:

create database `mifosplatform-tenants`;
create database `mifostenant-default`;

Take care,
Steve


On Mon, Jul 9, 2018 at 1:03 AM Dingfan Zhao 
wrote:

> 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 <
> samp...@confluxtechnologies.com> 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  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-09 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 -