Thanks Lukasz Will be trying this out to see how best I can Implement this with Tomcat (or Jetty If I dnt succeed with Tomcat)
On Sep 18, 2:16 pm, Lukasz Chudy <[email protected]> wrote: > Hi Thomas. > > I don't think that it is possible in the way you were trying but one of > our developers found some workaround. It works on Ubuntu and Jetty, but > probably it should be possible also to do it on Windows with Tomcat. > > First, you need to create 2 system users, for example mifos1, mifos2. > Next, you should create .mifos directory (for every user) in their home > directories and local.properties files with database names (eg. mifos1, > mifos2) inside those directories. > > After that, you need to create 2 instances of Jetty and edit second > Jetty config file (file etc/jetty.xml) to listen on different port (e.g. > 8989). You can also edit $JETTY_RUN variable to /tmp/jetty2. > > For each user, you should create proper environment variables. After > all, you should run both Jetty instances for two different users and > access them on those > addresses:http://localhost:8080/mifoshttp://localhost:8989/mifos. > > If you want to use both instances on one machine in the same time, you > should use two different browsers, otherwise you may encounter problems. > > I hope my workaround will help you in your problem. > > Best regards, > Lukasz > > On 09/15/2012 10:07 AM, Thomas (Uganda) wrote: > > > > > > > > > > > Hello > > > I would like to set up 2 mifos deploymnets with separate databases on > > 1 Machine > > > i.e > >http://localhost/mifos1 & Database: mifos1 > >http://localhost/mifos2 & Database: mifos2 > > > Problem is with the Config file as I can only set up 1 environmental > > variable of MIFOS_CONF = C:\Program Files\Apache Software Foundation > > \Tomcat 7.0\webapps\config .... > > > which accepts only a single database connection > > > Any suggestions > > > ------------------------------------------------------------------------------ > > How fast is your code? > > 3 out of 4 devs don\\\'t know how their code performs in production. > > Find out how slow your code is with AppDynamics Lite. > >http://ad.doubleclick.net/clk;262219672;13503038;z? > >http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Mifos-users mailing list > > [email protected] > >https://lists.sourceforge.net/lists/listinfo/mifos-users > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mifos-users mailing list > [email protected]https://lists.sourceforge.net/lists/listinfo/mifos-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mifos-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-users
