java - Mifosx Installation failure -


i trying install mifos x server on windows 7 pc. installed java runtime 1.8 -> set jre_home variable. downloaded tomcat 1.9 -> set catalina_home variable

i installed wamp server mysql server. came mysql 5.7. added mysql drizzle jdbc driver mentioned in installation notes.

when start tomcat server starts successfully, can't access mifos app (/fineract-provider - name of app) gives 404 error. checked manager app of tomcat. shows app not started default. tried starting app manually, throws error

fail - application @ context path [/fineract-provider] not started fail - encountered exception [org.apache.catalina.lifecycleexception: failed start component [standardengine[catalina].standardhost[localhost].standardcontext[/fineract-provider]]] 

so checked tomcat log app. shows

this dependency. dependency annotations: {@org.springframework.beans.factory.annotation.qualifier(value=tenantdatasourcejndi)}; nested exception org.springframework.beans.factory.nosuchbeandefinitionexception: no qualifying bean of type [javax.sql.datasource] found dependency: expected @ least 1 bean qualifies autowire candidate dependency. dependency annotations: {@org.springframework.beans.factory.annotation.qualifier(value=tenantdatasourcejndi)}     @ org.springframework.beans.factory.support.constructorresolver.createargumentarray(constructorresolver.java:747) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.autowireconstructor(constructorresolver.java:185) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.autowireconstructor(abstractautowirecapablebeanfactory.java:1115) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:1018) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:504) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:292) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     ... 146 common frames omitted caused by: org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean name 'jdbctenantdetailsservice' defined in file [c:\users\kailasom\desktop\apache-tomcat-9.0.0.m26\webapps\fineract-provider\web-inf\classes\org\apache\fineract\infrastructure\security\service\jdbctenantdetailsservice.class]: unsatisfied dependency expressed through constructor argument index 0 of type [javax.sql.datasource]: : no qualifying bean of type [javax.sql.datasource] found dependency: expected @ least 1 bean qualifies autowire candidate dependency. dependency annotations: {@org.springframework.beans.factory.annotation.qualifier(value=tenantdatasourcejndi)}; nested exception org.springframework.beans.factory.nosuchbeandefinitionexception: no qualifying bean of type [javax.sql.datasource] found dependency: expected @ least 1 bean qualifies autowire candidate dependency. dependency annotations: {@org.springframework.beans.factory.annotation.qualifier(value=tenantdatasourcejndi)}     @ org.springframework.beans.factory.support.constructorresolver.createargumentarray(constructorresolver.java:747) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.autowireconstructor(constructorresolver.java:185) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.autowireconstructor(abstractautowirecapablebeanfactory.java:1115) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:1018) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:504) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:475) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:302) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:228) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:298) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:193) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.findautowirecandidates(defaultlistablebeanfactory.java:1021) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.doresolvedependency(defaultlistablebeanfactory.java:964) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.resolvedependency(defaultlistablebeanfactory.java:862) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.resolveautowiredargument(constructorresolver.java:811) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.createargumentarray(constructorresolver.java:739) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     ... 158 common frames omitted caused by: org.springframework.beans.factory.nosuchbeandefinitionexception: no qualifying bean of type [javax.sql.datasource] found dependency: expected @ least 1 bean qualifies autowire candidate dependency. dependency annotations: {@org.springframework.beans.factory.annotation.qualifier(value=tenantdatasourcejndi)}     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.raisenosuchbeandefinitionexception(defaultlistablebeanfactory.java:1118) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.doresolvedependency(defaultlistablebeanfactory.java:967) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.defaultlistablebeanfactory.resolvedependency(defaultlistablebeanfactory.java:862) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.resolveautowiredargument(constructorresolver.java:811) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     @ org.springframework.beans.factory.support.constructorresolver.createargumentarray(constructorresolver.java:739) ~[spring-beans-4.0.8.release.jar:4.0.8.release]     ... 172 common frames omitted 

it shows kind of bean missing. be?

try downgrading mysql 5.5 or 5.6. according mifos installation manual:

prerequisite software's note:- below mandatory prerequisite software's mentioned versions only

java development kit >> version 1.8.0_65 & above                                 mysql server >> version 5.5 or 5.6 tomcat >> version 7.0.64.0 & above 

mifos x schema migrations fails when using mysql 5.7, cause of failed datasource connection.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -