When i am trying to run mifos on tomcat application server it is showing the
following error.
I have installed the latest version of mysql database, but still its showing
the following error.
Is there any solution for that.
------------------------------------------
Mifos Database Upgrade Error
The system was not able to automatically upgrade the database. Correct the error
and restart the application. More about database upgrades.
Database is too old to have a version
Application Version = 164
Here are details of what went wrong:
org.hibernate.exception.GenericJDBCException: Cannot open connection
at
org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:384)
at org.hibernate.jdbc.JDBCContext.connect(JDBCContext.java:141)
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:88)
at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:314)
at
org.mifos.framework.persistence.DatabaseVersionPersistence.<init>(DatabaseVersionPersistence.java:238)
at
org.mifos.framework.ApplicationInitializer.syncDatabaseVersion(ApplicationInitializer.java:181)
at org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:59)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:48)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost'
(using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:798)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3715)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1203)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2568)
at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:381)
... 31 more
Platform: All, OS: All
Ok. I'm not sure specifically what you downloaded from test.mifos.org or your
specific goals in building and installing Mifos. Currently, we do not have a
publicly available release for deploying in production at an MFI. You are
welcome to build and install the code for development or demonstration purposes.
Instructions to do that are located here:
http://mifos.org/developers/install-mifos
Let us know if you have any questions about that process. You can email the
developer listserv with questions around the build/install process -
http://mifos.org/developers/listserv and we are happy to answer any questions
you have to help get you up and running with Mifos.
Thanks,
Aliya
I am a student and trying to develop mifos with my best efforts and knowledge.
I am not working for any MFI. So i request you to please guide me for the same.
Thanks
Jitin
Hi Jitin,
We are excited to have you working on the Mifos project. Can you start by
trying out the instructions on this page:
http://mifos.org/developers/install-mifos
Also, we would love to have you join our mailing lists and send us email there,
so we can help you with any of your questions. Can you follow the instructions
on this page and sign up for the mailing lists?
http://mifos.org/developers/listserv
Our normal process is to help people with their questions and issues around
getting Mifos installed using the mailing list, rather than on the issue tracker.
Thanks,
Aliya
changed QA contact
close this issue/thread.