Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CABB7205 for ; Fri, 11 Nov 2011 19:04:03 +0000 (UTC) Received: (qmail 23331 invoked by uid 500); 11 Nov 2011 19:04:02 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 23315 invoked by uid 500); 11 Nov 2011 19:04:02 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 23307 invoked by uid 99); 11 Nov 2011 19:04:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 19:04:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bjfree@free-man.net designates 69.94.133.32 as permitted sender) Received: from [69.94.133.32] (HELO main.free-man.net) (69.94.133.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 19:03:54 +0000 Received: from 39.sub-75-196-77.myvzw.com ([75.196.77.39]) by main.free-man.net (JAMES SMTP Server 2.3.2) with SMTP ID 655 for ; Fri, 11 Nov 2011 11:02:07 -0800 (PST) Message-ID: <4EBD7174.7080307@free-man.net> Date: Fri, 11 Nov 2011 11:03:16 -0800 From: BJ Freeman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Re: Error creating Product STore References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit do a google on ofbiz GenericEntity:CarrierShipmentMethod there was a email thread and jira back in aug and Sept of this year. Jonas Colmsjo sent the following on 11/11/2011 6:57 AM: > Hi, > > I just installed ofbiz and I'm trying to do the initial setup. I get an > error when trying to create the Product Store (tab three in the Initial > Setup): > > The Following Errors Occurred: > > Error: Error parsing entity xml file: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:CarrierShipmentMethod][createdStamp,2011-11-11 > 15:50:17.968(java.sql.Timestamp)][createdTxStamp,2011-11-11 > 15:50:17.866(java.sql.Timestamp)][lastUpdatedStamp,2011-11-11 > 15:50:17.968(java.sql.Timestamp)][lastUpdatedTxStamp,2011-11-11 > 15:50:17.866(java.sql.Timestamp)][partyId,10000(java.lang.String)][roleTypeId,CARRIER(java.lang.String)][sequenceNumber,4(java.lang.Long)][shipmentMethodTypeId,LOCAL_DELIVERY(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > OFBIZ.CARRIER_SHIPMENT_METHOD (SHIPMENT_METHOD_TYPE_ID, PARTY_ID, > ROLE_TYPE_ID, SEQUENCE_NUMBER, CARRIER_SERVICE_CODE, LAST_UPDATED_STAMP, > LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, > ?, ?, ?, ?, ?) (INSERT on table 'CARRIER_SHIPMENT_METHOD' caused a > violation of foreign key constraint 'CARR_SHMETH_TYPE' for key > (LOCAL_DELIVERY). The statement has been rolled back.)) calling service > parseEntityXmlFile in importTempDataFile > > I've reinstalled the application but I'm getting the same error. > > I'm running OSX Lion. > $ java -version > java version "1.6.0_29" > Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527) > Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode) > > What am I doing wrong? > > /BR > Jonas >