Ok, first of all I am not really sure which version I am using right now, but since I got it from gitorious master about 3 days back I am guessing its probably 1.5M1. Anyway, lets get to the point, it seems after running
in my open taps installation I can’t login. I followed all the steps about duplicating mycompany and changing other values as mentioned in opentaps wiki, I still can’t get it to work. Then I got really angry and opened the database table with editor and found that my company values are not being copied to the system. At first I thought this is probably because I did something wrong in editing the values to match my custom values. So i tried again with default mycompany folder and still I can’t see any update. I checked the logs and it shows that it imported that data folder for sure but it didn’t import a single thing, Then I realized one more thing, in the opentaps wiki, the lines that is documented is looked like this in the ofbiz-component.xml file-
<entity-resource type="data" reader-name="seed" loader="main" location="data/Users.xml"/>
but in the opentaps source that I downloaded from git has the line like this –
<entity-resource type="data" reader-name="ext" loader="main" location="data/Users.xml"/>
Have you noticed it?. Bamm!!!!!!.. I got my answers. I am running run-install-seed configuration but the data is configured to be imported with the ant-install-extseed. I am not sure why this is like this right now, but I tested with both the following –
- I replaced all ext tags with seed and it worked as a charm
- I ran the ./ant run-install-extseed configuration and also it worked.
But still there are some problems, it surely loads the data, I can now login with the user name and password mention in Users.xml file but the console logs shows that it could not load the data. Not sure why this is happening, but Hey!, we got the biggest problem solved.
By the way, if you are looking to change the default password form the Users.xml file, use an SHA hash generator tool and copy the generated string as the password. It will work.
I will definitely post more about the error in the log if I could find the answer.