Re: E-commerce home page without products

2009-03-13 Thread Hansen Wang
s the home page. On Fri, Mar 13, 2009 at 6:38 PM, Hansen Wang wrote: > The initial page to display for the ecommerce webapp's root is defined in > the following two files: > > ecommerce/webapp/ecommerce/WEB-INF/web.xml defines index.jsp as the webcome > file and include it

Re: E-commerce home page without products

2009-03-13 Thread Hansen Wang
The initial page to display for the ecommerce webapp's root is defined in the following two files: ecommerce/webapp/ecommerce/WEB-INF/web.xml defines index.jsp as the webcome file and include it in the allowedPaths ecommerce/webapp/ecommerce/index.jsp forwards to the main servlet So you can cha

Re: e commerce payment

2009-03-13 Thread Hansen Wang
The three payment methods (CC, EFT, GC) was hardcoded in the paymentoptions.ftl. It seems that you need to change the code to use billing account for the customer, or other offline payment methods to pass the payment method step. Hansen On Fri, Mar 13, 2009 at 5:13 PM, BJ Freeman wrote: > -

Re: ClientAbortException (broken pipe) serving error pages

2009-03-11 Thread Hansen Wang
ad of iptables > > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp > > Jacques > > From: "Hansen Wang" > > Hi, >> >> I frequently receive the following exception. It indicates

Re: quickShipEntireOrder problems

2009-03-10 Thread Hansen Wang
Thanks for the help. I will play around the code and check the difference. I will reply with my findings to update this thread. On Mon, Mar 9, 2009 at 3:10 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > From: "Hansen Wang" > >> 1. Yes. The transactio

ClientAbortException (broken pipe) serving error pages

2009-03-10 Thread Hansen Wang
Hi, I frequently receive the following exception. It indicates that the connection is reset when sending the error page to the client. This kind of exception is normal OK to ignore. But before I change the log level for the corresponding package to get rid of the noise, I want to make sure that th

embed visitId in log message

2009-03-09 Thread Hansen Wang
Hi, The current log file is very difficult to use because lines are not correlated. It would be good if each line includes a visitId. I know this is not as easy as those applications where a request is handled by a single thread. In that case, a ThreadLocal variable for the visitId or sessionId wi

Re: quickShipEntireOrder problems

2009-03-09 Thread Hansen Wang
capture you could try "global-commit" instead of "commit" > 2) Is this happening only when payment capture fails ? > > Jacques > > From: "Hansen Wang" > > Hi, >> >> I am using release4.0 and am having the following problems in >> q

quickShipEntireOrder problems

2009-03-06 Thread Hansen Wang
Hi, I am using release4.0 and am having the following problems in quickShipEntireOrder. 1. An order complete email is sent even if payment capture failed. 2. An order complete email is sent with status as "Approved" instead of "Complete" even when the service succeeded. The following is the rel

Re: quick ship order cause deadlock

2009-02-25 Thread Hansen Wang
o why are you using a so old Kernel version ? > > > > Jacques > > > > From: "Hansen Wang" > >> The same configuration and data work fine in windows. Only difference is > >> that I have a newer version of postgreSQL (8.4) in windows. > &g

Re: quick ship order cause deadlock

2009-02-23 Thread Hansen Wang
, 2009 at 12:51 AM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Please try to use the lastest version of Postgres and the problem should > dissapear. Also why are you using a so old Kernel version ? > > Jacques > > From: "Hansen Wang" > > The

Re: quick ship order cause deadlock

2009-02-22 Thread Hansen Wang
jdbc is either postgresql-8.3-604.jdbc4.jar (jdbc4 for jdk1.6) or postgresql-8.3-604.jdbc3.jar (jdbc3 for jdk1.5). On Sun, Feb 22, 2009 at 2:55 PM, Hansen Wang wrote: > I can confirm that this is not caused by low memory. I have been monitoring > the memory and there are not such si

Re: quick ship order cause deadlock

2009-02-22 Thread Hansen Wang
s not the data being passed. > the only other thing different is permissions. > possibly not enough memory. > > Hansen Wang sent the following on 2/22/2009 11:24 AM: > > The same configuration and data work fine in windows. Only difference is > > that I have a newer version of

Re: quick ship order cause deadlock

2009-02-22 Thread Hansen Wang
looks like a loop after the first warning > [ServiceEcaCondition.java:127:WARN ] From Field (communicationEventId) is > > not found in context for createWorkEffort, defaulting to null. > > > Hansen Wang sent the following on 2/22/2009 3:57 AM: > > I encountered the follow

quick ship order cause deadlock

2009-02-22 Thread Hansen Wang
I encountered the following deadlock when I tried to quick ship an entire order. The server environment are as bellows: psql (PostgreSQL) 7.4.19 2.6.9-42.0.3.EL #1 Mon Sep 25 17:14:19 EDT 2006 i686 athlon i386 GNU/Linux java version "1.5.0_06" ofbiz4.0 Please note that the order is the only orde

Re: average cost calculation in price rule

2009-02-19 Thread Hansen Wang
ories of this product" > > - Original Message - > From: "Hansen Wang" > To: user@ofbiz.apache.org > Sent: Thursday, February 19, 2009 1:47:15 PM (GMT-0600) America/Chicago > Subject: Re: average cost calculation in price rule > > Or is that right, that the "average

Re: average cost calculation in price rule

2009-02-19 Thread Hansen Wang
ot; price of the product using the inventory costs of all the inventory items for this product? What we really want is a price structure based on the average cost of based on inventory items for a product and a profit margin based on related categories of this product. On Thu, Feb 19, 2009 at 10:2

average cost calculation in price rule

2009-02-19 Thread Hansen Wang
I have a product whose list price and default price are both set to 5. These are the only explicit prices set for this product. There is also no cost component set for this product. This product has only one inventory item whose cost is 3. I set up a price rule for this product to add 30% of averag

Re: paypal IPN causes security error when creating payment

2009-02-05 Thread Hansen Wang
llowing on 2/5/2009 1:01 PM: > > release4 is the most stable. however they may be bugs that have not > been > > found. > > > > Hansen Wang sent the following on 2/5/2009 12:48 PM: > >> I use release4 trunk. My presumption is that paypalIPN works out of the > bo

Re: paypal IPN causes security error when creating payment

2009-02-05 Thread Hansen Wang
s not have PAY_INFO_CREATE > permissions. > my guess is that the code is not use the "system" user in running this > code. it is is then the security permissions have to assigned to the > system user. > > it seems we have lost the ability to assign permissions to groups in the >

paypal IPN causes security error when creating payment

2009-02-05 Thread Hansen Wang
The following exception happened when I received an paypal IPN for a sales order. accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml#createPayment]]: ; [Security Error : To Create a Payment you must either be the to or from party or have the PAY_INFO_CREATE or PAY_INFO_ADMIN permis

Re: order created when payment authorization failed

2009-02-04 Thread Hansen Wang
does not match, etc). On Wed, Feb 4, 2009 at 12:04 PM, Hansen Wang wrote: > When submiting a sales order, payment authorization failed. But the > order was created. However, the shopping cart was not empty and the user was > presented the same checkout review screen. Can anyone tel

order created when payment authorization failed

2009-02-04 Thread Hansen Wang
When submiting a sales order, payment authorization failed. But the order was created. However, the shopping cart was not empty and the user was presented the same checkout review screen. Can anyone tell me why an order should be created if the payment authorization failed? Thanks, Hansen

How to get the size of a collection in simple method

2008-12-15 Thread Hansen Wang
Is there a way to get the size of a collection in simple-method implementation? Thanks!

Re: Create a purchase order

2008-03-20 Thread Hansen Wang
This is normally your company party or warehouse facility party. But I guess you can set it to any party with a postal address. On 3/20/08, james yong <[EMAIL PROTECTED]> wrote: > > > Hi, > > I was trying to create a purchase order. At the step shown below, the > shipping destination is missing. H

Re: order shipped email

2008-03-17 Thread Hansen Wang
{orderId}" > > Look at > component://ecommerce/widget/EmailOrderScreens.xml#ShipmentCompleteNotice > > Jacques > > From: "Hansen Wang" <[EMAIL PROTECTED]> > >I have been to these places. But could not find an "order shipped" email > > type. I ha

Re: order shipped email

2008-03-17 Thread Hansen Wang
ques Le Roux <[EMAIL PROTECTED]> wrote: > > It's set there > https://demo.hotwaxmedia.com/catalog/control/EditProductStoreEmails?productStoreId=9000 > > Jacques > > From: "Hansen Wang" <[EMAIL PROTECTED]> > > Hi, > > > > I have been goin

Re: Connecting to a legacy database (FoxPro)

2008-03-17 Thread Hansen Wang
You can find the scheduled jobs from "webtools" -> "jobs". The related database tables are JobSandbox, RecurrenceRule and RecurrenceInfo. One of the configured job from seed is "Order Auto-Cancel" which is defined in applications/order/data/OrderScheduledServices.xml. Regards, Hansen On 3/17/08,

order shipped email

2008-03-17 Thread Hansen Wang
Hi, I have been going through the admin webapps looking for places where a shipping notification email is sent. But I was not able to find that. Is such function supported out of box from the admin webapps? Thanks, Hansen

exception when add new item to an approved order

2008-03-14 Thread Hansen Wang
Hi, The following exception happened when I try to add one item to an approved order. It is a foreign key violation but I do not know why it would happen. Any information about this would be appreciated. I will trace the code to find it out later today. Thanks Hansen Generic Entity Exception occ

Re: component dependency

2008-03-10 Thread Hansen Wang
t of > inter-dependencies. > If you try to disable browser access on the applications, you can use > roles > or disable the webapps in by commenting out entries in > component.xml files. > > Nicolas > > 2008/3/8, Ryan Sweet <[EMAIL PROTECTED]>: > > > > Ha

component dependency

2008-03-07 Thread Hansen Wang
I am looking for information regarding the inter-dependency among all ofbiz components. I fount that the ofbiz-component.xsd define a depends-on element but it never be used in any of the ofbiz-component.xml. Is there any effective way to know this kind of information. So that I can safely remove

release4.0 compilation error

2008-02-29 Thread Hansen Wang
The follow error happen when run 'ant run-install'. I am using jdk1.5 and ant 1.7. The problem is due to the conflict between the code and build.xml. The code is using auto-boxing while the build.xml javac task has source="1.4". Was I doing something wrong or this is a known issue. Thanks, Hanse