RE: Need to fetch records using multiple ids in where clause

2012-05-02 Thread deb . panda
Sharing an experience findByCondition - is deprecated and hence not suggested. This might hit performance later. Food for thought -- findByAnd , findList are preferred to findByCondition. Also condition can be made by EntityCondition - A static class of all the condition may be used to be

Re: Need to fetch records using multiple ids in where clause

2012-05-02 Thread krishan.babbar
Great Thanks, Krishan Babbar Disclaimer: This email and any files transmitted with it may contain privileged or confidential information. It is solely for use by the

Re: Performance of Ofbiz

2012-05-02 Thread hzzg6y
Please can someone help me with performance tips for Ofbiz. I am really struggling to get to high performance of the ecommerce site. Rgds, -- View this message in context: http://ofbiz.135035.n4.nabble.com/Performance-of-Ofbiz-tp4586418p4602795.html Sent from the OFBiz - User mailing list

Re: Performance of Ofbiz

2012-05-02 Thread Hans Bakker
check my blog i wrote sometime ago http://www.antwebsystems.com/control/ViewBlogArticle?contentId=16640 Regards, Hans On 05/02/2012 05:16 PM, hzzg6y wrote: Please can someone help me with performance tips for Ofbiz. I am really struggling to get to high performance of the ecommerce

Re: Performance of Ofbiz

2012-05-02 Thread Scott Gray
In regards to one part of that post, I wouldn't recommend disabling Visit tracking for ecommerce unless you have some other type of analytics in place. It can be an invaluable resource for tracking down slow pages and also aid in locating requests are causing errors in the logs. Regards Scott

Re: Performance of Ofbiz

2012-05-02 Thread hzzg6y
Thanks a lot to Hans Scott for prompt response. Scott, If we don't disable visit function, do we have any other choice. Ecommerce site should be working like amazon.com else it is of NO use. We need to make ofbiz with top performance as normal PHP+MYSQL site else we will lose visitors

Re: Performance of Ofbiz

2012-05-02 Thread Adrian Crum
This thread illustrates the fundamental problem with most performance tuning advice - there are no statistics, no metrics, no examples, etc. In other words, there is no concrete information to base a decision on. I would recommend hiring a qualified and experienced professional to evaluate

Re: Performance of Ofbiz

2012-05-02 Thread Scott Gray
Exactly, you need to perform (or have on performed on your behalf) analysis of the site. There are plenty of OFBiz sites out there that perform just fine with nothing much more than correctly configured cache settings. Regards Scott On 3/05/2012, at 1:06 AM, Adrian Crum wrote: This thread

Re: Performance of Ofbiz

2012-05-02 Thread Mike
Try switching java. Download java from sun and modify the startup script to use it. I place java in /opt, like this: root@vm-121:/opt# ls -al /opt lrwxrwxrwx 1 root root12 2012-03-04 15:36 java - jdk1.6.0_31/ drwxr-xr-x 10 root root 4096 2012-03-04 15:36 jdk1.6.0_31 I then reference it

Re: product attributes

2012-05-02 Thread Info Olagos
I will do it then myself, i think. :-) Heidi 2012/5/1 Robert G. g...@mercon24.de I can sell you 5 minutes (10$ / minute) :) -- View this message in context: http://ofbiz.135035.n4.nabble.com/product-attributes-tp4583112p4601788.html Sent from the OFBiz - User mailing list archive at

Re: Performance of Ofbiz

2012-05-02 Thread hzzg6y
I somehow want to redue the startup time for my ecommerce site. Below are some threads posted by Cameron - information which I need to know whether it is valid today or not. 1. Logging. In debug.properties, log only to file and not stdout. Set logging to WARN for everything. 2. Modules. a.

Re: Performance of Ofbiz

2012-05-02 Thread hzzg6y
Mike, Thanks ... You mean that JDK6 is better than JDK7 ( jdk-7u4-linux-x64.rpm ). Please clarify that whether I should use the old version of JDK which finely tuned with Ofbiz. Rgsd -- View this message in context:

Re: Performance of Ofbiz

2012-05-02 Thread hzzg6y
Since We are using Postgresql. Is it the issue with DB. We can fine to switch to MYSQL but performance need to be improved for ecommerce site. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Performance-of-Ofbiz-tp4586418p4603628.html Sent from the OFBiz - User mailing list

Re: Performance of Ofbiz

2012-05-02 Thread Mike
Try running pgtune for postgres and set the figures 30-50% (or more) higher. pgtune -i /etc/postgresql/8.4/main/postgresql.conf Requires a restart. Regarding java, yes, use the latest 1.6 java from sun (only). On Wed, May 2, 2012 at 8:53 AM, hzzg6y rupadh...@gmail.com wrote: Since We are

Re: Performance of Ofbiz

2012-05-02 Thread Sanjeev Gupta
Also try configuring Apache HTTP server as a fronted to Ofbiz server. Although it will add an additional layer in the architecture, it will handle all static and cached content rendering to browser and improve your app server's performance. That said, please do to keep in mind that a Java bases

Promotions, mutually exclusive

2012-05-02 Thread Nick Rosser
For example: We have 3 promotions setup. One for 10% off, one for 20% off, one for Free Shipping. Each have a couple of promo-codes. So it looks something like this: Promotion: TENPCTOFF, promo-codes TENOFF, TENPCT Promotion: TWENTYOFF, promo-codes TWENTYOFF, TWENTYPCT Promotion:

ofbiz 10.04 and lock wait time out exceptions

2012-05-02 Thread varun bhansaly
Hi, I'm using ofbiz release10.04@1072382 with MySQL database server (with default settings). Of late I have been observing lots of 'lock wait time out' exceptions in the logs primarily while the system is trying to update entity OrderHeader. If anyone has any suggestions please do share. Below

Re: Performance of Ofbiz

2012-05-02 Thread Deepak Agarwal
Following has benifited me: 1) -Xms1024M -Xmx2048M -XX:MaxPermSize=1024m(Increased the PermSize from 512 to 1024) 2) Increased innodb_lock_wait_timeout from 50 sec to 300 sec in mysql 3) Added following in mysql a) table_cache=1000 b) table_definition_cache=1000 c)

Re: protected view in security system in ofbiz

2012-05-02 Thread Jacques Le Roux
Please use rather user ML for such questions, see why here : http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:d...@ofbiz.apache.org I open a thread in user ML. If ever you need more information then use it. This said, help yourself

Re: how to use ofBiz service in .Net application?

2012-05-02 Thread Paul Foxworthy
Hi Deval, .NET WCF can receive a Map from a SOAP service. In .NET terms it's a Dictionary. There's a nice discussion at http://www.request-response.com/blog/PermaLink,guid,ff5fab81-affb-4b2b-aa67-c80bdfc86cbd.aspx Cheers Paul Foxworthy devalpatel wrote Thanks for your suggestion Jacques.