Dear Supreeth,
Kindly follow the summarized steps I have shared with you over here, if this is your first time to start using MifosX, I recommend you install on Windows which is a lot more easier than Unix / Linux. Uninstall java install new one Install Java (Runtime) check java -version in cmd java version must be >= 1.8 Install MySQL (give root password) (Database Server) >= 5.5 Install TOMCAT (copy tomcat to localdisk) (Application Server / WebApplication Server) >= 7.0.85 Install HeidSQL >= 9.5 Create Environment Variables Create JAVA_HOME variable: •Click on the New button, under the User Variables section. Edit PATH variable: • In the System Variables section, scroll down to and select the Path variable. • Add the following text onto the end of the existing Variable Value text: - For Java path example:- ;C:\Program Files\Java\jdk1.8.0_66\bin - For Mysql server path example:- ;C:\Program Files\MySQL\MySQL Server 5.5\bin Create JAVA_OPTS variable: • a. Click the New... button again, under the User Variables section. • b. For Variable Name, enter JAVA_OPTS • c. For Variable Value, example -Xms512m -Xmx1024m (OPTIONAL) Initialize MySQL data Run the Heidisql installation file & setup Heidisql: i) For local - Provide mysql password as mysql. ii) Click on Save button. iii) Click on open button. 4 Copy the following database command and paste it into the large white box titled Query create database `mifosplatform-tenants`; create database `mifostenant-default`; use `mifosplatform-tenants`; 5 Click on Run button to Execute the query. . 6 On heidisql, click on File>>Load SQL file.. 7) Through Load SQL file window, • Navigate to the location where you extracted the mifosplatform-18.03.01. RELEASE.zip application files. • Navigate to the database folder, inside that location. • Select the file mifospltaform-tenants-first-time-install.sql and click Open. Run the first-time-install script, by clicking Run TOMCAT Setup 1) Setting up Lib folder downloaded 'mysql jdbc 5.1.27' copy & paste it to lib folder, Go to Tomcat>>lib folder 2) Generate keystore Generate a new keystore using java keytool : >> Open command prompt >> Go to the path where your JAVA>>bin folder is located. >> Run this command to generate the key: keytool -genkey -alias tomcat -keyalg RSA >> Then provide the password. For example: 2) Generate keystore Generate a new keystore using java keytool : >> Open command prompt >> Go to the path where your JAVA>>bin folder is located. >> Run this command to generate the key: keytool -genkey -alias tomcat -keyalg RSA >> Then provide the password. For example: Provide input and type in y for the last question to confirm. Note: Once the keystore is created, it should be placed in your home directory. For Example: C:/Users/john/.keystore 3) Configure server.xml page, Delete everything in it and copy-paste the following right side entire content of the page code: c) Once content is pasted in server.xml, Below mentioned are to be modified with respect to your system & settings: i - Key store path should be modified with your key store path location Example:- keystoreFile="C:/Users/john/.keystore" ii - Key store password (which was provided while creating the key), should be modified Example:- keystorePass="kspassword" iii - MYSQL credentials should be modified Example:- username="root" & password="mysql" ****************************** Copy and Paste the below content into server.xml file found inside tomcat/conf/ ****************************** <?xml version='1.0' encoding='utf-8'?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.JasperListener" /> <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 protocol="org.apache.coyote.http11.Http11Protocol" port="8443" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="C:/Users/john/.keystore" keystorePass="kspassword" clientAuth="false" sslProtocol="TLS" URIEncoding="UTF-8" compression="force" compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"/> <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=".log" pattern="%h %l %u %t "%r" %s %b" /> </Host> </Engine> </Service> </Server> ****************************** Download mifosplatform-18.03.01.RELEASE.zip from https://sourceforge.net/projects/mifos/files/Mifos%20X/mifosplatform-18.03.01.RELEASE.zip/download Drop mifosplatform-18.03.01.RELEASE.zip into TOMCAT folder 1) fineract-provider.war to tomcat>>webapps folder 1-a) Copy "fineract-provider.war" file from downloaded mifosplatform-18.03.01.RELEASE.zip folder 1-b) Paste it to tomcat\webapps folder 2) Community-app to tomcat>>webapps folder 2-a) Copy "community-app" folder from downloaded mifosplatform-18.03.RELEASE >>apps folder: 2-b) Paste it to tomcat\webapps 2-c) Rename existing ROOT folder to OLDROOT under tomcat\webapps\ 2-d) Rename community-app folder to ROOT Create .mifosx folder 1) Create .mifosx folder in home directory & paste Pentaho folder into it Use command prompt for creating .mifos folder i.e md .mifosx Open cmd --> change your directory to home --> type md .mifosx --> Press Enter 2) Copy PentahoReports folder from downloaded mifosplatform-18.03.01.RELEASE.zip folder 3) Paste it to .mifosx folder ********************************************************************************** Open your browser then go to: https://localhost:8443 ********************************************************************************** Regards, Abiy A. On Sat, Nov 3, 2018 at 3:28 AM Supreeth Menon <supreethmeno...@gmail.com> wrote: > Thank you , > So for now , in MIFOS X Client page , when i am trying to enter the user : > mifos and password : password , it is showing "Couldn't connect to the > server. > Make sure you are using correct settings." > Please need help in this regard. > Thanks & Regards > > On Mon, Oct 29, 2018 at 10:08 AM Santosh Math < > sant...@confluxtechnologies.com> wrote: > >> The error is due to the CATALINA_HOME path is not set . >> >> On Fri, Oct 26, 2018 at 4:53 PM Supreeth Menon <supreethmeno...@gmail.com> >> wrote: >> >>> Hello Respected Sir/Madam, >>> I am interested in the open source development prorammes . I have gone >>> through the orgs and would like to work with you since this organization is >>> duly for the betterment of the people , So i have started going through the >>> basic things such as your website and also have been trying to install it >>> from the MifosX User Zone. >>> I have stuck at the last step , "*sudo /etc/init.d/tomcat7 start*" and >>> immediately after executing this command "Cannot find >>> /opt/apache-tomcat/bin/setclasspath.sh >>> This file is needed to run this program" >>> i see this. >>> According to the instructions given above i have done it step by step. >>> Looking Forward for anyone who could solve this and i would go futher >>> and explore and also would like to contribute. >>> _______________________________________________ >>> Mifos-users mailing list >>> Mifos-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/mifos-users >>> >> >> >> -- >> Thanks & Regards >> >> Santosh Math >> >> *QA Engineer* >> >> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>* >> | *Office*: +91-080-41208662 | >> >> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, >> Bengaluru, Karnataka, 560043 INDIA >> _______________________________________________ >> Mifos-users mailing list >> Mifos-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mifos-users >> > _______________________________________________ > Mifos-users mailing list > Mifos-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mifos-users >
_______________________________________________ Mifos-users mailing list Mifos-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-users