Suraj,
Please test APIs running or not, paste https://[public
DNS]:<port>/fineract-provider/api/v1/offices?tenantIdentifier=default&pretty=true
URL in browser.
if it is local host and listening port 8443 then try
https://localhost:8443/fineract-provider/api/v1/offices?tenantIdentifier=default&pretty=true
if this does not return the json with office data and gives any error
message then server is not started properly, then please share the server
logs for further investigation.
Thanks
Nayan Ambali
Thanks and Regards,
Nayan Ambali
+91 9591996042
skype: nayangambali
On Thu, Jul 7, 2016 at 9:25 PM, Suraj Mundada <su...@cashcare.in> 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 "%r" %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
>
>
------------------------------------------------------------------------------
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