Prerequisite SoftwareNote the software and versions included below are a mandatory prerequisite
|
|---|
| |
|---|---|
1) Before beginning, uninstall any existing versions of Java currently on your computer. | 2) In your web browser, go to https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_windows-x64_bin.zip Download and Install openjdk-17.0.2_windows-x64_bin.zip following steps shown here |
| |
|---|---|
1) In your web browser, go to https://mariadb.org/download/?t=mariadb&p=mariadb&r=10.6.7&os=windows&cpu=x86_64&pkg=msi&m=liquidtelecom to download MariaDB server v10.6.7. | 2) Run the MariaDB installation file. Click on the Typical button and then click on Next button.
|
3) During MariaDB installation, use Advanced Configuration > Show Advanced Options and set the MariaDB ROOT Password to MariaDB. Then click on the Save button. This will set your username to root and your password to MariaDB. |
| |
|---|---|
1) In your web browser, go to https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.59/bin/to download Tomcat 9.0.59. >> Under the section Binary Distributions>>Core, click on the link 32-bit windows zip or 64-bit windows zip (depending on your system architecture) to download. | 2) Extract the apache-tomcat-9.0.59.zip.
|
3) Copy and paste the apache-tomcat-9.0.59 folder to the c:\ drive, then rename it tomcat. | |
| |
|---|---|
1) Open your Environment Variables: | 2) Create the JAVA_HOME variable:
|
3) Edit the PATH variable:
| 4) Create the JAVA_OPTS variable:
|
| |
|---|---|
1) Go to https://github.com/apache/fineract/releases/tag/1.6.0 from your web browser and download the release source code and build it following the steps shown here https://github.com/apache/fineract#instructions-to-build-a-war-file | |
| |
|---|---|
1) Download HEIDISQL from http://www.heidisql.com/download.php and save the installation file to your computer. | 2) Run the Heidisql installation file and setup Heidisql: i) Click on local and enter the MariaDB password (mysql) in the Password field. ii) Click on the Save button. iii) Click on the Open button. |
4) Copy the following database command and paste it into the large white box titled Query | 5) Click on the Run button to execute the query. |
| |
|---|---|
1) Setting up the Lib folder a) Download the MariaDB J connector (mariadb-java-client-3.0.3.jar) jar file from here b) Once it's downloaded, copy the file and paste it to the Tomcat>>lib folder. | 2) Generate keystore Generate a new keystore using the Java keytool : i) Open Command Prompt keytool -genkey -alias tomcat -keyalg RSA or keytool -genkey -keyalg RSA -keysize 2048 -alias tomcat -(add a key size parameter of size 2048 as some browsers will not display the UI) Note Once the keystore is created, it should be placed in your home directory. For Example: C:/Users/john/.keystore |
3) Configure server.xml page, a) Go to tomcat>>conf, rename to server.xml file as server.bkp b)Download server.xml file from here and move the downloaded file to the folder 'tomcat>>conf' to reflect your system and settings: reflect the username and password used in step 4 of the Install MariaDB section above (for e | |
Note
If your any of the server port connections are using port number 8443, then you need to change your port number to 443 in server.xml:
port="8443" maxThreads="200" scheme="https" to port="443" maxThreads="200" scheme="https"
| |
|---|---|
1) fineract-provider.war to tomcat>>webapps folder 1-a) Copy "fineract-provider.war" file from downloaded Mifos-platform folder
|
1-b) Paste it to tomcat\webapps folder
|
2) Community-app to tomcat>>webapps folder 2-a) Copy "community-app" folder from downloaded Mifos-platform>>apps folder:
2-b) Paste it to tomcat\webapps | 2-c) Rename existing ROOT folder to OLDROOT under tomcat\webapps\ 2-d) Rename community-app folder to ROOT |
3) web-app to tomcat>>webapps folder 2-a) Copy "web-app" folder from downloaded Mifos-platform>>apps folder:
2-b) Paste it to tomcat\webapps | 4) api-docs to tomcat>>webapps>>ROOT folder 4-a) Copy "api-docs" folder from downloaded Mifos-platform>>api-docs folder:
4-b) Paste it to tomcat\webapps\ROOT folder |
| |
|---|---|
1) Create .mifosx folder in home directory & paste Pentaho folder into it Use command prompt for creating .Mifos folder(make directory) i.e md .mifosx | 2) Copy PentahoReports folder from downloaded Mifos-platform folder |
3) Paste it to .mifosx folder
| |
| |
|---|---|
1) Go to "C:\tomcat\bin" folder, Run "startup.bat" by clicking it.
Note: You can create a shortcut of "startup.bat" on your desktop and rename it as start mifosx. | 2) Application gets started
|
3) Once server starts, will display as "Server startup in xxxxx ms"
| 4) You could access through any internet browser:- @ https://localhost:8443 ( or any port number which you are using) To Access new UI:- @ https://localhost:8443/web-app ( or any port number which you are using) |
5) For the first time access it will display as shown below, please click on proceed:-
| 6) Login into Mifos, Provide user name: mifos and password as: password
|
Stop Mifos X |
|---|
| You could stop by pressing ctrl+c key on tomcat server window & Mifos X gets stopped. |
Pentaho Plugin Work
Steps to Plug Pentaho jars with Fineract
- Once you are able to successfully login, stop the tomcat server by pressing ctrl+c.
- copy all the (.JAR ) files from 'pentaholibs' folder from downloaded Mifos-platform folder (do not copy fineract-pentaho.war file)
- paste to the the location 'tomcat\webapps\fineract-provider\WEB-INF\lib'
- restart the tomcat server and login successfully.
There you go!! Pentaho reports are now available for your analysis ![]()
- Platform application should be available @ https://[public DNS]/fineract-provider/api/v1/offices?tenantIdentifier=default&pretty=true, and this API should return JSON format text with office details
- API docs should be available @ https://[public DNS]/api-docs/apiLive.htm
FAQs
FAQ 1:- If you are able to log-in to the application successfully, but Pentaho reports are not working
NOTE
FAQ 2:- Pentaho reports are working fine, only a few are throwing the error "Failed to load content using value C:\Users\hp1\Desktop\MIfosX_unofficial_logo.png"
1.This is error is because the logos were not removed from some reports when we upgraded the Pentaho version to 7.00.6.25
2. If you come across such reports, you could simply remove the logo and send PR and contribute to the community or you can work around this by placing a logo inside of pentahoReports folder and name it 'MIfosX_unofficial_logo.png' to resolve the error on your installation.
FAQ 3:- Not able to login / Connectivity Issue on Community-app
FAQ 4:- Not able to log-in through web-app UI
Related articles




















