Product Price Rule page load error.

2011-06-28 Thread rohit
hi, there is a problem in the product price rules page. the default value in the conditions table under the input drop-down list is product, which causes the value drop-down list to list all the products currently in the catalog. A store may have thousands of products which in this case will

Re: Catalog component loading Very slow on trunk

2011-06-28 Thread Ganesh Bawne
Thanks you Jacques, Its strange, I checked the issue on other server m/c and is also taking around 7-8 secs. My machine details are as follows: Processor : Intel Core 2 Due CPU T9400@2.53 GHz RAM : 3 GB DB - Postgres 9.0 Thanks, Ganesh On Mon, Jun 27, 2011 at 5:16 PM, Jacques Le Roux

Re: Product Price Rule page load error.

2011-06-28 Thread Jacques Le Roux
Hi Rohit, Your contribution would be welcome. Else you can then use the old way. Another option is to use an input field with Id instead of a drop-down in the new screen below See the comment I put just above !--screen name=EditProductPriceRules in PriceScreens.xml Jacques From: rohit

Re: Problem: mysql with ofbiz 10.4

2011-06-28 Thread Santosh Malviya
The exception you posted is not complete, post full exception. -- Thanks and Regards Santosh Malviya On Tue, Jun 28, 2011 at 10:40 AM, Rakesh_Ists rake...@istsinc.com wrote: HI, I am getting following exceptions. [java] 2011-06-28 16:24:06,503 (main) [

Re: Problem: mysql with ofbiz 10.4

2011-06-28 Thread Mike
A couple of things I noticed. When I used mysql (I don't anymore, I use PG) I had this: delegator name=default entity-model-reader=main entity-group-reader=main entity-eca-reader=main distributed-cache-clear-enabled=false group-map group-name=org.ofbiz datasource-name=localmysql/

Re: Catalog component loading Very slow on trunk

2011-06-28 Thread Ganesh Bawne
Hi Guys, Does anyone faced similar issue? Thanks, Ganesh On Mon, Jun 27, 2011 at 10:24 AM, Ganesh Bawne ganesh4of...@gmail.comwrote: Hi, The catalog component in back-end loading very slow, Its taking almost 10-12 secs to load the page. After looking in details I found that its because

GenericValue and nulls

2011-06-28 Thread BJ Freeman
I know you can, through expressions, setup null_field parms. I have a field as a string and do a GenericValue.getString(fieldname) and it throws a null exception. what I am looking for is to go through I iteration and check if the field is empty(null). is there something I missed?

Re: GenericValue and nulls

2011-06-28 Thread Scott Gray
You'll have to provide more detail about the error, but GenericEntity.getXXX(...) doesn't really throw any sort of exceptions. Regards Scott HotWax Media http://www.hotwaxmedia.com On 29/06/2011, at 10:45 AM, BJ Freeman wrote: I know you can, through expressions, setup null_field parms. I

Access_log name format

2011-06-28 Thread Mike
In my runtime/logs directory, access_log get created like this: -rw-rw 1 ofbiz ofbiz 72258 2011-06-26 23:58 access_log.2011-06-26 -rw-rw 1 ofbiz ofbiz 100759 2011-06-27 23:54 access_log.2011-06-27 -rw-rw 1 ofbiz ofbiz 4689194 2011-06-28 16:41 access_log.2011-06-28 Is there a way

Re: Access_log name format

2011-06-28 Thread Adrian Crum
Those are created by Catalina. Try searching Tomcat docs. -Adrian On 6/29/2011 12:49 AM, Mike wrote: In my runtime/logs directory, access_log get created like this: -rw-rw 1 ofbiz ofbiz 72258 2011-06-26 23:58 access_log.2011-06-26 -rw-rw 1 ofbiz ofbiz 100759 2011-06-27 23:54

Re: GenericValue and nulls

2011-06-28 Thread BJ Freeman
I am calling a new routine from controller.java So I am not down to the log4 level yet. denylist = delegator.findList(VisitFllter, EntityCondition .makeCondition(exprs, EntityOperator.AND), null, null, null, Boolean.FALSE); while

Re: GenericValue and nulls

2011-06-28 Thread Scott Gray
The only reason I can see why you'd get an NPE on that line is if denylistrcd were null. GenericValue won't throw an NPE on a call to getString(). Regards Scott On 29/06/2011, at 12:28 PM, BJ Freeman wrote: I am calling a new routine from controller.java So I am not down to the log4 level

Re: GenericValue and nulls

2011-06-28 Thread BJ Freeman
each row has on field that is not null. did not think to testsdenylistrcd for null. will give it a try. Scott Gray sent the following on 6/28/2011 5:41 PM: The only reason I can see why you'd get an NPE on that line is if denylistrcd were null. GenericValue won't throw an NPE on a call to

Re: GenericValue and nulls

2011-06-28 Thread BJ Freeman
nope it is not null here is part of the log as you can see it work till this record what ever it is. 2011-06-28 18:01:42,978 (http-0.0.0.0-8443-1) [ VisitHandler.java:455:INFO ] VisitFllter checking initialUserAgent=Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420

Re: Problem: mysql with ofbiz 10.4

2011-06-28 Thread Ricky Khatri
Hi you don't need to include jar file for derby because derby is an ASF product setup defaultly with OFBiz i will suggest you first take svn update and then start working with OFBiz project Regards Ricky Khatri