Jorge,
I tried running with your attached custom files on a new database, and
did not encounter the errors you mentioned.  The COA files are only read
once, so maybe on your first startup, you have some bad data in the COA
files that is causing problems.  

For the files you provided, I placed them here on my Windows machine:

a) mifosChartOfAccounts.custom.xml and mifosBeanConfig.custom.xml in
apache-tomcat-6.0.18\lib (per our discussion on irc, it isn't clear you
even need these files for your deployment)
b) I placed applicationConfiguration.custom.properties and
local.properties in my accounts .mifos directory - for my Windows
system, I have a .mifos directory under C:\Documents and
Settings\jbrewster\.mifos  (where jbrewster is my windows account).

I recommend setting up a new mifos database.  One way to do that is to
drop the database "mifos" from MySQL and rerun the scripts described in
the INSTALL guide section 3.2.  To drop the mifos database, do the
following commands on the DOS command line:

c:\trunk>mysql -u root -p
Enter password: *****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 717
Server version: 5.1.39-community-log MySQL Community Server (GPL)

mysql> drop database geo;
Query OK, 207 rows affected (8.39 sec)


However, if you wish to save the existing database, you can instead do
the following:

1. modify the script sql\create_mifos_db.sql and change the line in that
file to a new database name - e.g. create database geomifos;
2. save that script and then execute these 4 scripts at DOS command line
- note the new database name is used below:
a) C:\ mifos_v1.3.1> mysql -u root -pmysql < sql/create_geoDB.sql
b) C:\mifos_v1.3.1>mysql -D geomifos -u root -pmysql <
sql/latest-schema.sql
c) C:\r1.3.1\mifos_v1.3.1>mysql -D geomifos -u root -pmysql <
sql/latest-data.sql
d) C:\r1.3.1\mifos_v1.3.1>mysql -D geomifos -u root -pmysql <
sql/init_mifos_password.sql
3. Edit your local properties file so main.database=geomifos
4. Start tomcat.   You should see information on the tomcat console and
in mifos.log that confirms it's using the custom properties stored in
the .mifos directory on startup.  If mifos starts, you can go to the
Admin tab and click on System Information to confirm the database name
matches your new database.




>-----Original Message-----
>From: Jorge Gonzalez [mailto:[email protected]]
>Sent: Monday, October 26, 2009 6:25 PM
>To: 'A good place to start for users or folks new to Mifos.'
>Subject: Re: [Mifos-users] Installation Issue
>
>Hi Adam,
>
>Thanks for your quick response. Yes, we were talking a few days ago. I
>check the syntax of XML and is correct. Besides, I am using the default
>xml files without changes, the attachment here.
>
>I have a question. I added a value to Enviroment Variables (MIFOS_CONF)
>and put these files there. But I found others similar into
>CATALINA_HOME\webapps\mifos\WEB-INF\classes\org\mifos\config\resources.
>What folder is using Mifos, MIFOS_CONF or resources?  I put these files
>in both anyway. I should also put them in CATALINA_HOME\lib?.
>
>Regrats,
>Jorge (Geo)
>
>
>-----Mensaje original-----
>De: Adam Monsen [mailto:[email protected]]
>Enviado el: lunes, 26 de octubre de 2009 04:26 p.m.
>Para: Mifos User Discussions
>Asunto: Re: [Mifos-users] Installation Issue
>
>>
org.mifos.application.accounts.financial.util.helpers.FinancialInitial
>> izer.initialize(FinancialInitializer.java:62)
>
>Hi Jorge,
>
>Thanks for all the information.
>
>Sounds like there might be a problem in your chart of accounts or
>financial action mapping configuration file(s). Most likely a general
>XML-related issue. You and I were talking on IRC (with Ed translating)
a
>few days ago, right?
>
>First make sure mifosChartOfAccounts.custom.xml and
>mifosBeanConfig.custom.xml are well-formed:
>http://www.xml.com/pub/a/tools/ruwf/check.html
>
>You might also want to share both mifosChartOfAccounts.custom.xml and
>mifosBeanConfig.custom.xml with folks on this list. You can either
>compress & attach them or paste them at http://pastey.net/ and reply
>back with the links.
>
>Thank you,
>-Adam

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to