Hi Fred,

Kindly copy messages to the list so that community may benefit. Which
Operating System are you using? While generating the key you'll be asked
for confirmation - you need to type yes, otherwise it does it again.
Remember the password you gave for your server.xml configuration. Your
server.xml seems mostly the default provided by the OS. Better keep things
simple - backup your server.xml as server.xml.orig and create a fresh
server.xml as given below, but first ensure you've done all the other steps
as mentioned in the link sent by Lajeo:

https://github.com/openMF/mifosx/blob/develop/INSTALL.md

Sample server.xml:

<?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="[root mysql password]"
            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="/home/ubuntu/.keystore"
           keystorePass="testmifos"
           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 &quot;%r&quot; %s %b" />
      </Host>
    </Engine>
  </Service>
</Server>

​In case you need further assistance, we can set up a Skype call. My Skype
id is terence.monteiro​ and my mobile number is +91 96633 13728

--
Best Regards,
Terence Monteiro,


www.sanjosesolutions.in
"Terroy", No. 67, 10th Cross,
Lingarajpuram, Bangalore - 84.

On Sat, Sep 27, 2014 at 11:56 AM, fred Amanyire <[email protected]> wrote:

> hello Terence,
> i tried that but it did not work. Maybe take a look at my server.xml
> and my tomcat-users.xml. That i have attached.
> If ok, could the problem be with my keystore! Because i created a
> keystore and when it prompted me with a yes/no line for the
> presentation of the country code, i selected no and it took me back to
> create another one.
> regards
> fred
> +256705983441
> (uganda)
>
> On 26/09/2014, Terence Monteiro <[email protected]> wrote:
> > Hi Fred,
> >
> > Are you trying to access it using http by any chance, because it the
> > community app URL for your setup should be
> > https://localhost:8443/community-app
> >
> > In case you're still unable to access, kindly post the latest log
> section.
> >
> > --
> > Best Regards,
> > Terence Monteiro,
> >
> >
> > www.sanjosesolutions.in
> > "Terroy", No. 67, 10th Cross,
> > Lingarajpuram, Bangalore - 84.
> >
> > On Fri, Sep 26, 2014 at 7:02 PM, Ed Cable <[email protected]> wrote:
> >
> >> Fred, I've forwarded your question to the users mailing list. Our
> >> community should be able to assist you there.
> >>
> >> Ed
> >> ---------- Forwarded message ----------
> >> From: "fred Amanyire" <[email protected]>
> >> Date: Sep 26, 2014 6:24 AM
> >> Subject: mifos x access in the browser still a problem
> >> To: <[email protected]>
> >> Cc:
> >>
> >> Hello ED,
> >> i have configured by laptop to run mifos x locally. when i test
> >> localhost:8080 in the browser, i access the tomcat default page that
> >> alerts me that it has been successfully installed. when i deployed the
> >> war file into the webapps directory and started tomcat, it extracted
> >> into a folder. i added the apidocs folder and the whole folder of apps
> >> from the release of 1.24 and started tomcat.
> >>
> >> When i tried using localhost:8443, i get no connection in the browser.
> >> i think the problem is the way how i created the keystore or how i
> >> deployed the war file.
> >> one more thing, should the mysql be running as well?
> >> please help me am a bit stuck here.
> >> thanks
> >> fred
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> >>
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Mifos-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/mifos-users
> >>
> >>
> >
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to