Hai,
I wanted to retain only the seed data in my database.For that I ran the command "ant clean-all" succeeded by "ant run-install-seed".After this I used the command "startofbiz.bat".But when I entered username as "admin" and password "ofbiz" It showed that"user not found".What should I do further?. Thanks in advance. Regards G.Selvakumar |
UserLogin data is part of seed-initial data which can be loaded using:
ant run-install-extseed or if you don't want the ext data to be loaded (there isn't any by default): ant run-install-readers -Ddata-readers=seed,seed-initial Regards Scott HotWax Media http://www.hotwaxmedia.com On 28/04/2010, at 7:06 PM, Selvakumar Ganesan wrote: > Hai, > I wanted to retain only the seed data in my database.For that I ran > the command "ant clean-all" succeeded by "ant run-install-seed".After this I > used the command "startofbiz.bat".But when I entered username as "admin" and > password "ofbiz" It showed that"user not found".What should I do further?. > Thanks in advance. > > > Regards > > > G.Selvakumar smime.p7s (3K) Download Attachment |
In reply to this post by Selvakumar Ganesan
you can also use
ant run-install-seed then create your own admin login ant load-admin-user-login Creates a user login with admin privileges and a temporary password equal to 'ofbiz'; after a succesful login the user will be prompted for a new password. Example command for the userLogin 'admin': ./ant load-admin-user-login -DuserLoginId=admin"> this will be the only login in ofbiz with no parties defined. you will manually have to create a party after you login and then use webtools to connect that part to the login you created, for it to work with portals. you can also do as scott says snd still use the ant load-admin-user-login as a back door login using am email or name as a login. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Scott Gray sent the following on 4/28/2010 12:19 AM: > UserLogin data is part of seed-initial data which can be loaded using: > ant run-install-extseed > or if you don't want the ext data to be loaded (there isn't any by default): > ant run-install-readers -Ddata-readers=seed,seed-initial > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 28/04/2010, at 7:06 PM, Selvakumar Ganesan wrote: > >> Hai, >> I wanted to retain only the seed data in my database.For that I ran >> the command "ant clean-all" succeeded by "ant run-install-seed".After this I >> used the command "startofbiz.bat".But when I entered username as "admin" and >> password "ofbiz" It showed that"user not found".What should I do further?. >> Thanks in advance. >> >> >> Regards >> >> >> G.Selvakumar > |
In reply to this post by Selvakumar Ganesan
After "run-install-seed" you should also run the following ant target to load an admin user:
ant create-admin-user-login When prompted, enter the user login name (e.g. "admin"). Then you will be able to login using the newly created user with password "ofbiz" (you will be asked to change the password after the successful login). Kind regards, Jacopo On Apr 28, 2010, at 9:06 AM, Selvakumar Ganesan wrote: > Hai, > I wanted to retain only the seed data in my database.For that I ran > the command "ant clean-all" succeeded by "ant run-install-seed".After this I > used the command "startofbiz.bat".But when I entered username as "admin" and > password "ofbiz" It showed that"user not found".What should I do further?. > Thanks in advance. > > > Regards > > > G.Selvakumar |
Administrator
|
And finally, to know more about ant targets use
ant -p Jacques From: "Jacopo Cappellato" <[hidden email]> > After "run-install-seed" you should also run the following ant target to load an admin user: > > ant create-admin-user-login > > When prompted, enter the user login name (e.g. "admin"). > Then you will be able to login using the newly created user with password "ofbiz" (you will be asked to change the password after > the successful login). > > Kind regards, > > Jacopo > > On Apr 28, 2010, at 9:06 AM, Selvakumar Ganesan wrote: > >> Hai, >> I wanted to retain only the seed data in my database.For that I ran >> the command "ant clean-all" succeeded by "ant run-install-seed".After this I >> used the command "startofbiz.bat".But when I entered username as "admin" and >> password "ofbiz" It showed that"user not found".What should I do further?. >> Thanks in advance. >> >> >> Regards >> >> >> G.Selvakumar > > |
Free forum by Nabble | Edit this page |