Skip to content

Yet Another Blog!

Tag: Opentaps seed

Opentaps: Can’t login after loading seed template ?

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

 ./ant run-install-seed

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.

Author Mahmudul IslamPosted on October 31, 2011Categories Open Source, OpentapsTags Opentaps cannot login, Opentaps cannot login after loading seed data, Opentaps seed1 Comment on Opentaps: Can’t login after loading seed template ?

Recent Posts

  • Castle Windsor, Service Locator and a possible memory leak !!!
  • Managed Extensibility Framework –
  • Chapter 1: Introduction to FluentNHibernate
  • How to enable Automatic Reference Counting (ARC) in XCode 4.2
  • Opentaps: Can’t login after loading seed template ?

Recent Comments

  • Gert on Uploading files from iPhone to ASP.net web site
  • Perry on Windows XP Browser not opening Microsoft or Antivirus Sites
  • Weight Loss - Weight Loss Advice on WCF Web Service – Enabling JSON – Solution 1
  • weight loss on WCF Web Service – Enabling JSON – Solution 1
  • Gloria on WCF Web Service – Enabling JSON – Solution 1

Archives

  • July 2013
  • April 2012
  • November 2011
  • October 2011
  • September 2011
  • April 2011
  • February 2011

Categories

  • C# .Net
  • Castle
  • Creative JS
  • FluentNHibernate + NHibernate
  • IPhone
  • JavaScript
  • Learn JavaScript
  • Learning FluentNHibernate + NHibernate (FluentNH + NH)
  • Mobile Developement
  • Native and Third Party Frameworks for .NET
  • Open Source
  • Opentaps
  • Operating System
  • Scripting Language
  • Web Service
  • Windows XP

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Yet Another Blog! Proudly powered by WordPress
Bitnami