I am also facing issue while setting up on mac - error that I get is different 
though -

Caused by: com.googlecode.flyway.core.api.FlywayException: Migration of schema 
`mifostenant-default` to version 118.7 failed! Please restore backups and roll 
back database and code!; for Tenant DB URL: 
jdbc:mysql://localhost:3306/mifostenant-default, username: root
at 
org.apache.fineract.infrastructure.core.service.TenantDatabaseUpgradeService.upgradeAllTenants(TenantDatabaseUpgradeService.java:78)
 ~[classes/:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_101]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_101]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_101]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101]

> On 13-Oct-2016, at 11:56 AM, Avinash Dalvi <avinas...@knabfinance.com> wrote:
> 
> M also facing same issue. 
> 
> ############################
> 6902 [localhost-startStop-1] ERROR o.a.tomcat.jdbc.pool.ConnectionPool - 
> Unable to create initial connections of pool.
> java.sql.SQLNonTransientConnectionException: Could not connect: Connection 
> refused
>         at 
> org.drizzle.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:97) 
> ~[drizzle-jdbc-1.3.jar:na]
>         at org.drizzle.jdbc.DrizzleDriver.connect(DrizzleDriver.java:98) 
> ~[drizzle-jdbc-1.3.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
>  ~[tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
>  ~[tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486) 
> [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:144) 
> [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:554)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:242)
>  [tomcat-jdbc-7.0.55.jar:na]
>         at 
> org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
>  [catalina.jar:7.0.72]
>         at 
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) 
> [na:1.8.0_101]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:848) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:159) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:836) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:173) 
> [catalina.jar:7.0.72]
>         at 
> org.apache.naming.factory.ResourceLinkFactory.getObjectInstance(ResourceLinkFactory.java:146)
>  [catalina.jar:7.0.72]
>         at 
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) 
> [na:1.8.0_101]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:848) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:159) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:836) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:159) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:836) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:159) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:836) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.NamingContext.lookup(NamingContext.java:173) 
> [catalina.jar:7.0.72]
>         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156) 
> [catalina.jar:7.0.72]
> ################################# 
> 
> here fineract-platform.log details
> 
> On Thursday, July 7, 2016 at 10:01:04 PM UTC+5:30, Suraj Mundada wrote:
> Hi,
> 
> I am new to Mifos. I installed it as per the instructions given on 
> https://mifosforge.jira.com/wiki/display/docs/Mifos+X+Installation+on+Windows 
> <https://mifosforge.jira.com/wiki/display/docs/Mifos+X+Installation+on+Windows>
> Java - jdk1.8.0_u73x64
> 
> MySQL – 5.6
> 
> Tomcat - apache-tomcat-8.0.36
> 
> When started, fineract-provider.war gets deployed correctly and I can see 
> login page. However, I get below error message when I login:
> 
> 
> Couldn't connect to server. Make sure you are using correct settings.
> 
> Server.conf looks as below:
> 
> 
> <?xml version='1.0' encoding='utf-8'?>
> 
> <Server port="8005" shutdown="SHUTDOWN">
> 
>   <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
> 
>   <Listener className="org.apache.catalina.core.AprLifecycleListener" 
> SSLEngine="on" />
> 
>   <Listener 
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
> 
>   <Listener 
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
> 
>   <Listener 
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
> 
>   <GlobalNamingResources>
> 
>     <Resource name="UserDatabase" auth="Container"
> 
>               type="org.apache.catalina.UserDatabase"
> 
>               description="User database that can be updated and saved"
> 
>               factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> 
>               pathname="conf/tomcat-users.xml" />
> 
>                           
>         <Resource type="javax.sql.DataSource"
> 
>                         name="jdbc/mifosplatform-tenants"
> 
>                         
> factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
> 
>                         driverClassName="com.mysql.jdbc.Driver"
> 
>                         
> url="jdbc:mysql://localhost:3306/mifosplatform-tenants"
> 
>                         username="root"
> 
>                         password="mysql"
> 
>                         initialSize="3"
> 
>                         maxActive="10"
> 
>                         maxIdle="6"
> 
>                         minIdle="3"
> 
>                         validationQuery="SELECT 1"
> 
>                         testOnBorrow="true"
> 
>                         testOnReturn="true"
> 
>                         testWhileIdle="true"
> 
>                         timeBetweenEvictionRunsMillis="30000"
> 
>                         minEvictableIdleTimeMillis="60000"
> 
>                         logAbandoned="true"
> 
>                         suspectTimeout="60"/>                    
> 
>   </GlobalNamingResources>
> 
>   <Service name="Catalina">
> 
>     <Connector port="8080" protocol="HTTP/1.1"
> 
>                connectionTimeout="20000"
> 
>                redirectPort="8443" />
> 
>    
>     <Connector port="8443" 
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> 
>                maxThreads="150" SSLEnabled="true" scheme="https" 
> secure="true" keystoreFile="C:/Users/Suraj/.keystore"
> 
>                            keystorePass="xyz12" clientAuth="false" 
> sslProtocol="TLS"
> 
>                            
> compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"/>
> 
>                            
>     <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
> 
>     <Engine name="Catalina" defaultHost="localhost">
> 
>       <Realm className="org.apache.catalina.realm.LockOutRealm">
> 
>         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> 
>                resourceName="UserDatabase"/>
> 
>       </Realm>
> 
>       <Host name="localhost"  appBase="webapps"
> 
>             unpackWARs="true" autoDeploy="true">
> 
>         <Valve className="org.apache.catalina.valves.AccessLogValve" 
> directory="logs"
> 
>                prefix="localhost_access_log" suffix=".txt"
> 
>                pattern="%h %l %u %t &quot;%r&quot; %s %b" />
> 
>       </Host>
> 
>     </Engine>
> 
>   </Service>
> 
> </Server>
> 
> 
> Logs not giving any idea what is wrong.
> 
> I have placed mysql-connector-java-5.1.38-bin.jar in lib folder.
> 
> Any help will be appreciated.
> 
> Regards,
> 
> Suraj Mundada
> 
> CTO, www.cashcare.in <http://www.cashcare.in/>
> +91 77220 75369
> 
> 
> 
> This message contains information that may be privileged or confidential and 
> is the property of KNAB finance. It is intended only for the person to whom 
> it is addressed. If you are not the intended recipient, you are not 
> authorized to read, print, retain, copy, disseminate, distribute, or use this 
> message or any part thereof. If you receive this message in error, please 
> notify the sender immediately and delete all copies of this message.
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot_______________________________________________
> Mifos-users mailing list
> Mifos-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to