Login  Register

Re: [OFBiz] Users - Demo data not installed 2 of 2

Posted by michal-2 on Nov 08, 2005; 3:23pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Demo-data-not-installed-2-of-2-tp136344p136348.html

I dloaded Sequoia/ofbiz, went throught installation steps and everything
worked fine. Data was there and I was albe to login.
Now I have noticed big difference when I was running ofbiz with derby db and
then with postgresql. With postgresql everything is much slower. The pages
are loading slowely. Is there any way i can tweak that ?

Also I am going now for production setup.
I have created new database with new user(tested db and it worked fine),
unzipped new sequoia packagae, changed entityengine.xml for proper info and
run this command:
$JAVA_HOME/bin/java -jar ofbiz.jar -install-readers=seed
and I got this output :
Exception in thread "main" java.io.IOException: Cannot
load configuration properties :
org/ofbiz/base/start/install-readers=seed.properties
        at
org.ofbiz.base.start.Start$Config.getPropertiesFile(Start.java:500)
        at
org.ofbiz.base.start.Start$Config.readConfig(Start.java:518)
        at
org.ofbiz.base.start.Start.init(Start.java:75)
        at
org.ofbiz.base.start.Start.main(Start.java:412)

Console.log is emtpy. Any ideas what happen there ?

Michal
----- Original Message -----
From: <[hidden email]>
To: "OFBiz Users / Usage Discussion" <[hidden email]>
Sent: Tuesday, November 08, 2005 3:57 AM
Subject: Re: [OFBiz] Users - Demo data not installed 2 of 2


> Michal
>
> The production setup guide is intended for the OFBIZ post 3.0.0 releases.
> I recommend you delete your db, get a ofbiz trunk version from svn or a
> stable release at http://www.sequoiaerp.org/ .
> And  start your steps again.
>
>
> mit freundlichen Grüssen/ Kind regards / muchos saludos
> --
> Dipl. Wirt.-Ing. Michael Pfurtscheller
> zentric  GmbH & Co. KG
> mobil: +49-172-5457143
> fon: +49-6101-556060
> fax: +49-6101-556065
> icq# 8724822
> mailto:[hidden email]
> http://www.zentric.com
>
> [hidden email] wrote on 07.11.2005 20:20:03:
>
>> Thanks for the reply.
>> The lines you have mentioned I get during installation and I dont think
>> there is something wrong with them because all the tables are created.
> The
>> problem I have is that demo data is not populated in my database.
>>
>> Iam using PostgreSQL 7.4.6 on RedHat Enterprise 4.0, java 1.4.2_09 and
> ofbiz
>> 3.0.0. I tried to access ofbiz catalog after installation and the page
> comes
>> up asking me for username and password. I enter admin and ofbiz and I
> get
>> this errors in console:
>> JobManager.java:176:ERROR]
>> org.ofbiz.entity.transaction.GenericTransactionException:
>> System error, could not commit transaction (Unexpected
>> Exception on commit_one_phase)
>>
>> Thread.run(Thread.java:534)
>> javax.transaction.SystemException: Unexpected
>> Exception on commit_one_phase
>>
>> and directly on the page that I was entering username and pass I get
> this
>> error:
>> The following error occurred during login:
>> Service [userLogin] Failed (Exception on
>> rollback:java.rmi.RemoteException: rollback:
>> Unexpected XAException:7)
>> I think my user has privilegeds for inserting data but  I will double
> check
>> that.
>>
>> Michal
>>
>>
>> ----- Original Message -----
>> From: "Ray" <[hidden email]>
>> To: "OFBiz Users / Usage Discussion" <[hidden email]>
>> Sent: Monday, November 07, 2005 10:09 AM
>> Subject: Re: [OFBiz] Users - Demo data not installed 2 of 2
>>
>>
>> > Hi,
>> >
>> > Are you saying you get these sort of messages every time you restart
>> > ofbiz?
>> >    12796[       DatabaseUtil.java:272:WARN ] Entity "ProductCategory"
> has
>> > no table in the database
>> >    12809[       DatabaseUtil.java:285:INFO ] Created table
>> > "public.PRODUCT_CATEGORY"
>> > Could it be that your user connection to the DB is not privileged
> enough
>> > to query the schema?
>> >
>> > How about a little more detail on your set up like versions for OS,
> OFBiz,
>> > java, DB etc. Also if you are testing against the an svn version try
>> > running an "svn st" command to double check which files if any have
> been
>> > changed.
>> >
>> > Ray
>> >
>> > michal wrote:
>> >
>> >> 2 of 2.
>> >> Here are the logs from console.log after installation. They looked
> fine
>> >> to me unles I missed something.
>> >>
>>
> ---------------------------------------------------------------------------------------
>> >> 12784[       DatabaseUtil.java:272:WARN ] Entity "ProductAttribute"
> has
>> >> no table in the database
>> >> 12795[       DatabaseUtil.java:285:INFO ] Created table
>> >> "public.PRODUCT_ATTRIBUTE"
>> >>
>> >
>> > _______________________________________________
>> > Users mailing list
>> > [hidden email]
>> > http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users 

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users