-
Notifications
You must be signed in to change notification settings - Fork 749
Installation FAQ's
- I am unable to login to the Community App and get an error message saying "Please try again, your credentials are not valid"
- How do I upgrade my existing Mifosx Installation to the latest version?
- How do I load sample data for testing out Mifos X?
- How do I add custom reports to MifosX
- Flyway upgrade failed, how do I debug the same
This error is usually encountered when the MifosX platform server you are trying to connect to is not available or you are trying to connect with Invalid Credentials
Troubleshoot the same as follows:
The default username/password are mifos/password
Try connecting to the Mifos platform with the default credentials and ensure that you get a JSON response Ex: https://localhost:8443/mifosng-provider/api/v1/clients?tenantIdentifier=default&pretty=true
Some of the most commonly found errors are
If you see an error log similar to
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Tomcat7\apache-tomcat-7.0.53\webapps\mifosng-provider-jpa-pu\WEB-INF\classes\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No qualifying bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:738) ~[spring-beans-3.2.5.RELEASE.jar:3.2.5.RELEASE]
Verify the following
If you find an error similar to
Exception sending context initialized event to listener instance of class org.sp ringframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'tenantDatabaseUpgradeService': Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could no t get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNested Exception: Cannot create PoolableConnectionFactory (Access denied for user 'root '@'localhost' (using password: YES))
Verify the following
- The table "tenants" in "mifosplatform-tenants" has a row for "mifostenant-default". If your database credentials are not "root" and "mysql", update the same accordingly in this row
- Verify that you have created a database called
mifostenant-default
If you see an error similar to
http-bio-8443-exec-9" java.lang.OutOfMemoryError: PermGen space
you would have to increase the permgen space for tomcat. There are a number fo ways of doing the same, the simplest being setting the size in an environment variable called JAVA_OPTS
Ex: JAVA_OPTS = -Xms1024M -Xmx1024M -XX:MaxPermSize=256m
If you see and error similar to
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8443"] java.io.IOException: Keystore was tampered with, or password was incorrect
Double check steps listed in https://github.com/openMF/mifosx/blob/master/INSTALL.md#234-configure-for-ssl
-
Ensure that server.xml is updated with the correct path to the Keystore
-
Ensure that the right password has been supplied in server.xml
-
Download the latest version from http://sourceforge.net/projects/mifos/files/latest/download?source=files and unzip its contents
-
Delete "fineract-provider.war"(Note:If your using Version 15.12.2.RELEASE and below the file name will be mifosng-provider.war) and "fineract-provider" folder from tomcat/webapps and replace them with the latest copy of "fineract-provider.war" from the release downloaded in the previous step.
-
Delete "community-app" and "api-docs" folders from \tomcat\webapps\ROOT and replace the same with the latest versions from the release downloaded earlier.
If you are updating from version 1.24.0 or lower, follow the special instructions at https://github.com/openMF/mifosx/blob/develop/INSTALL.md#2221-special-instructions-for-those-upgrading-from-version-124-or-lower
- Restart tomcat ( this automatically updates the database for the latest release)
Refer http://www.youtube.com/watch?v=tk7uyjAM37U Or https://www.youtube.com/watch?v=JgTJCiyOsIQ or You can refer the following link https://hackpad.com/Mifos-X-Reporting-Training-zlXGVQerbOv
Refer thread at https://groups.google.com/d/msg/mifosdeveloper/coFu1xfq3ys/fipLdXkFrcwJ