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+Window
s 

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

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to