You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Dingfan Zhao <zh...@gmail.com> on 2018/07/08 17:27:00 UTC

Issue about deploy Fineract to Tomcat server

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

Posted by Saransh Sharma <sa...@theupscale.in>.
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 <sa...@theupscale.in>
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 <zh...@gmail.com>
> 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 <sc...@gmail.com> 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 <zhaodingfanhaha@gmail.com
>> <ma...@gmail.com>>
>> > 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 <
>> >> sampath@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/ <
>> 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:support@confluxtechnologies.com
>> <ma...@confluxtechnologies.com> <mailto:
>> >> support@confluxtechnologies.com <mailto:
>> support@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 <
>> zhaodingfanhaha@gmail.com <ma...@gmail.com>
>> >> <mailto:zhaodingfanhaha@gmail.com <ma...@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
>
>
>
> ----------------------------------------------------------------------------------------------
>
> You know what I. love a woman whose name is simran,
>
> ----------------------------------------------------------------------------------------------
>
>
>


-- 


Saransh Sharma


----------------------------------------------------------------------------------------------

You know what I. love a woman whose name is simran,
----------------------------------------------------------------------------------------------

Re: Issue about deploy Fineract to Tomcat server

Posted by Saransh Sharma <sa...@theupscale.in>.
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 <zh...@gmail.com>
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 <sc...@gmail.com> 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 <zhaodingfanhaha@gmail.com
> <ma...@gmail.com>>
> > 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 <
> >> sampath@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/ <
> 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:support@confluxtechnologies.com
> <ma...@confluxtechnologies.com> <mailto:
> >> support@confluxtechnologies.com <ma...@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 <
> zhaodingfanhaha@gmail.com <ma...@gmail.com>
> >> <mailto:zhaodingfanhaha@gmail.com <ma...@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


----------------------------------------------------------------------------------------------

You know what I. love a woman whose name is simran,
----------------------------------------------------------------------------------------------

Re: Issue about deploy Fineract to Tomcat server

Posted by Dingfan Zhao <zh...@gmail.com>.
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 <sc...@gmail.com> 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 <zhaodingfanhaha@gmail.com <ma...@gmail.com>>
> 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 <
>> sampath@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/ <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:support@confluxtechnologies.com <ma...@confluxtechnologies.com> <mailto:
>> support@confluxtechnologies.com <ma...@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 <zhaodingfanhaha@gmail.com <ma...@gmail.com>
>> <mailto:zhaodingfanhaha@gmail.com <ma...@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


Re: Issue about deploy Fineract to Tomcat server

Posted by Steve Conrad <sc...@gmail.com>.
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 <zh...@gmail.com>
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 <
> sampath@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:support@confluxtechnologies.com <mailto:
> support@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 <zhaodingfanhaha@gmail.com
> <ma...@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
> >
> >
>
>

Re: Issue about deploy Fineract to Tomcat server

Posted by Dingfan Zhao <zh...@gmail.com>.
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 <sa...@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:support@confluxtechnologies.com <ma...@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 <zhaodingfanhaha@gmail.com <ma...@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
> 
> 


Re: Issue about deploy Fineract to Tomcat server

Posted by Sampath Kumar G <sa...@confluxtechnologies.com>.
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:support@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 <zh...@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
>
>