Hi,
i am running my application with MSSQL. i did ant clean all and then i am facing issue when i am doing quick ship entire order from order manager application. the code is same , i just did ant clean all , what is the problem with this. Please help. this is error which i am getting , pLz help. Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign key constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled back.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign key constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled back.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign key constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled back.))) Please help. -- Abhijeet Pandey |
Hi Abhijeet,
please make sure that, in entityengine.xml, you have properly mapped to a valid data source the group-name="org.ofbiz.olap" Jacopo On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: > Hi, > > i am running my application with MSSQL. i did ant clean all and then > i am > facing issue when i am doing quick ship entire order from order > manager > application. > the code is same , i just did ant clean all , what is the problem > with this. > Please help. > this is error which i am getting , pLz help. > > Error trying to begin transaction, could not process method: The > current > transaction is marked for rollback, not beginning a new transaction > and > aborting current operation; the rollbackOnly was caused by: Failure in > create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of > foreign key > constraint 'SIIF_INVDATE' for key (_NF_). The statement has been > rolled > back.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: > Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of > foreign key > constraint 'SIIF_INVDATE' for key (_NF_). The statement has been > rolled > back.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of > foreign key > constraint 'SIIF_INVDATE' for key (_NF_). The statement has been > rolled > back.))) > > > > Please help. > > > > -- > Abhijeet Pandey |
Hi,
currently it is <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="localmssql"/> <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/> </delegator> so this should be changed to <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="localmssql"/> <group-map group-name="org.ofbiz.olap" datasource-name="localmssql"/> </delegator> Is this correct ? Thanks, On Mon, Oct 12, 2009 at 2:55 PM, Jacopo Cappellato < [hidden email]> wrote: > Hi Abhijeet, > > please make sure that, in entityengine.xml, you have properly mapped to a > valid data source the group-name="org.ofbiz.olap" > > Jacopo > > > On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: > > Hi, >> >> i am running my application with MSSQL. i did ant clean all and then i am >> facing issue when i am doing quick ship entire order from order manager >> application. >> the code is same , i just did ant clean all , what is the problem with >> this. >> Please help. >> this is error which i am getting , pLz help. >> >> Error trying to begin transaction, could not process method: The current >> transaction is marked for rollback, not beginning a new transaction and >> aborting current operation; the rollbackOnly was caused by: Failure in >> create operation for entity [SalesInvoiceItemFact]: >> org.ofbiz.entity.GenericEntityException: Error while inserting: >> >> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >> (SQL Exception while executing the following:INSERT INTO >> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >> CREATED_TX_STAMP) >> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >> key >> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >> back.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: >> Error while inserting: >> >> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >> (SQL Exception while executing the following:INSERT INTO >> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >> CREATED_TX_STAMP) >> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >> key >> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >> back.)) (Error while inserting: >> >> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >> >> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >> (SQL Exception while executing the following:INSERT INTO >> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >> CREATED_TX_STAMP) >> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >> key >> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >> back.))) >> >> >> >> Please help. >> >> >> >> -- >> Abhijeet Pandey >> > > -- Abhijeet Pandey |
Hi,
it was not of any help. getting same error. Plz help .What is the possible problem and solution for the same. here is what i got is server log ---> Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) ---- cause --------------------------------------------------------------------- Exception: org.ofbiz.entity.GenericEntityException Message: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) ---- cause --------------------------------------------------------------------- Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) ---- cause --------------------------------------------------------------------- Exception: com.microsoft.sqlserver.jdbc.SQLServerException Message: The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. ---- stack trace --------------------------------------------------------------- com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source) com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PreparedStatementExecutionRequest.executeStatement(Unknown Source) com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source) org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:410) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:165) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_olap.xml#loadSalesInvoiceItemFact:26) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:173) org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_olap.xml#loadSalesInvoiceFact:37) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:157) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:490) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:812) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoiceForOrder:147) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipments(InvoiceServices.java:1712) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoicesFromShipments:222) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoicesFromShipment:195) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:157) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:490) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:173) org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:85) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.product.servicedef.services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/E:/workspace/BHV/applications/product/servicedef/services_shipment.xml#quickShipEntireOrder:71) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2009-10-12 18:42:00,502 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:530:ERROR] Error in Service [setInvoicesToReadyFromShipment]: Trouble getting Shipment entity for shipment [] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback only is already set. 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][PURCH_SHIP_RECEIVED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][PURCH_SHIP_SHIPPED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][PURCH_SHIP_RECEIVED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][PURCH_SHIP_RECEIVED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][SHIPMENT_SCHEDULED][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ServiceEcaCondition.java:155:WARN ] From Field (originFacilityId) is not found in context for updateShipment, defaulting to null. 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [originFacilityId][is-not-empty][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ServiceEcaCondition.java:155:WARN ] From Field (destinationFacilityId) is not found in context for updateShipment, defaulting to null. 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [destinationFacilityId][is-not-empty][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ServiceEcaCondition.java:155:WARN ] From Field (primaryOrderId) is not found in context for updateShipment, defaulting to null. 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [primaryOrderId][is-not-empty][true][String] 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on [commit] got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true][String] 2009-10-12 18:42:00,564 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/updateShipment] finished in [3466] milliseconds 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ TransactionUtil.java:101:WARN ] ---- exception report ---------------------------------------------------------- [TransactionUtil.begin] active transaction marked for rollback in place, so no transaction begun; this stack trace shows when the exception began: Exception: java.lang.Exception Message: Tx Stack Placeholder ---- stack trace --------------------------------------------------------------- java.lang.Exception: Tx Stack Placeholder org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:647) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:135) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:310) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ SimpleMethod.java:684:WARN ] Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ SimpleMethod.java:685:WARN ] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) ---- cause --------------------------------------------------------------------- Exception: org.ofbiz.entity.GenericEntityException Message: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) ---- cause --------------------------------------------------------------------- Exception: org.ofbiz.entity.GenericDataSourceException Message: SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) ---- cause --------------------------------------------------------------------- Exception: com.microsoft.sqlserver.jdbc.SQLServerException Message: The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. ---- stack trace --------------------------------------------------------------- com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source) com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PreparedStatementExecutionRequest.executeStatement(Unknown Source) com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source) com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source) org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:410) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:165) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_olap.xml#loadSalesInvoiceItemFact:26) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:173) org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_olap.xml#loadSalesInvoiceFact:37) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:157) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:490) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:812) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoiceForOrder:147) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipments(InvoiceServices.java:1712) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoicesFromShipments:222) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.accounting.servicedef.services_95$invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/workspace/BHV/applications/accounting/servicedef/services_invoice.xml#createInvoicesFromShipment:195) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:135) org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:157) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:490) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:173) org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:85) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.product.servicedef.services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/E:/workspace/BHV/applications/product/servicedef/services_shipment.xml#quickShipEntireOrder:71) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:530:ERROR] Error in Service [updateShipment]: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback only is already set. 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ CallService.java:327:ERROR] ---- exception report ---------------------------------------------------------- Exception: java.lang.Exception Message: Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) calling service updateShipment in createShipmentForFacilityAndShipGroup ---- stack trace --------------------------------------------------------------- java.lang.Exception: Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) calling service updateShipment in createShipmentForFacilityAndShipGroup org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:327) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:85) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785) _$gen.file_58$.E_58$.workspace.BHV.applications.product.servicedef.services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/E:/workspace/BHV/applications/product/servicedef/services_shipment.xml#quickShipEntireOrder:71) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:392) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback only is already set. 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ CallSimpleMethod.java:108:WARN ] Got error [error] calling inline simple-method named [createShipmentForFacilityAndShipGroup] in resource [], message is null, and the error message list is: [Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] transaction rollback only not set, rollback only is already set. 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:530:ERROR] Error in Service [quickShipEntireOrder]: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ TransactionUtil.java:286:ERROR] ---- exception report ---------------------------------------------------------- [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack Trace ---- stack trace --------------------------------------------------------------- java.lang.Exception: Stack Trace org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:285) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:267) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:534) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ TransactionUtil.java:296:INFO ] [TransactionUtil.rollback] transaction rolled back 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/quickShipEntireOrder] finished in [7399] milliseconds 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ RequestHandler.java:612:INFO ] Ran Event [service:#quickShipEntireOrder] from [request], result is [error] 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ RequestHandler.java:415:ERROR] Request quickShipOrder caused an error with the following message: [Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back transaction.org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] (SQL Exception while executing the following:INSERT INTO dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The INSERT statement conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ RequestHandler.java:716:INFO ] Rendering View [orderview], sessionId=70B32FA9A9EB4CDAE895E5863E297393.jvm1 2009-10-12 18:42:00,877 (http-0.0.0.0-8443-6) [ ScreenFactory.java:129:INFO ] Got 26 screens in 0.032s from: file:/E:/workspace/BHV/applications/order/widget/ordermgr/OrderViewScreens.xml 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getInventoryAvailableByFacility] finished in [63] milliseconds 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getProductInventorySummaryForItems] finished in [110] milliseconds 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getInventoryAvailableByFacility] finished in [62] milliseconds 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getProductInventorySummaryForItems] finished in [78] milliseconds 2009-10-12 18:42:02,126 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getReturnableItems] finished in [78] milliseconds 2009-10-12 18:42:02,298 (http-0.0.0.0-8443-6) [ ScreenFactory.java:129:INFO ] Got 5 screens in 0.047s from: file:/E:/workspace/BHV/applications/order/widget/ordermgr/CommonScreens.xml 2009-10-12 18:42:02,329 (http-0.0.0.0-8443-6) [ ScreenFactory.java:129:INFO ] Got 1 screens in 0.031s from: file:/E:/workspace/BHV/applications/commonext/widget/CommonScreens.xml 2009-10-12 18:42:02,516 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getLastSystemInfoNote] finished in [78] milliseconds 2009-10-12 18:42:02,563 (http-0.0.0.0-8443-6) [ ScreenFactory.java:129:INFO ] Got 22 screens in 0.031s from: file:/E:/workspace/BHV/framework/common/widget/CommonScreens.xml 2009-10-12 18:42:02,626 (http-0.0.0.0-8443-6) [ ServiceDispatcher.java:586:INFO ] Sync service [order/getVisualThemeResources] finished in [63] milliseconds 2009-10-12 18:42:03,266 (http-0.0.0.0-8443-6) [ ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 18 requests, 14 views in file:/E:/workspace/BHV/framework/common/webcommon/WEB-INF/common-controller.xml 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 4 requests, 2 views in file:/E:/workspace/BHV/applications/commonext/webapp/WEB-INF/controller.xml 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ ConfigXMLReader.java:118:INFO ] controller loaded: 0.016s, 348 requests, 149 views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml 2009-10-12 18:42:03,937 (http-0.0.0.0-8443-6) [ ControlServlet.java:312:INFO ] [[[quickShipOrder] Request Done- total:10.913,since last([quickShipOrder] ...):10.913]] 2009-10-12 18:42:04,562 (http-0.0.0.0-8443-6) [ ControlServlet.java:134:INFO ] [[[getAssociatedStateList] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2009-10-12 18:42:04,609 (http-0.0.0.0-8443-6) [ RequestHandler.java:612:INFO ] Ran Event [jsonservice:#getAssociatedStateList] from [request], result is [success] 2009-10-12 18:42:04,656 (http-0.0.0.0-8443-6) [ ControlServlet.java:312:INFO ] [[[getAssociatedStateList] Request Done- total:0.094,since last([getAssociatedSta...):0.094]] 2009-10-12 18:42:16,602 (default-invoker-Thread-7) [ JobInvoker.java:232:INFO ] Invoker [default-invoker-Thread-7] received job [1255353116646] from poller [org.ofbiz.service.job.JobPoller@d26755] 2009-10-12 18:42:16,649 (default-invoker-Thread-7) [PersistedServiceJob.java:178:INFO ] org.ofbiz.service.job.PersistedServiceJob@1925734[31737] -- Next runtime: Thu Jan 01 05:29:59 IST 1970 2009-10-12 18:42:17,008 (default-invoker-Thread-7) [ ScreenFactory.java:129:INFO ] Got 7 screens in 0.031s from: file:/E:/workspace/BHV/specialpurpose/ecommerce/widget/EmailOrderScreens.xml 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ CallSiteArray.java:43 :WARN ] Warning: in OrderStatus.groovy before getting order detail info: role not found or user not logged in; partyId=[10360], userLoginId=[null] 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ EmailServices.java:523:INFO ] Expanded email subject to: OFBiz Demo - Your Order Is Complete #BIGCO10240 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ServiceEcaCondition.java:155:WARN ] From Field (communicationEventId) is not found in context for sendMail, defaulting to null. 2009-10-12 18:42:17,273 (default-invoker-Thread-7) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: createCommEventFromEmail, triggered by rule on Service: sendMail 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for primary permission PARTYMGR_CREATE 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for alternate permission PARTYMGR_CME_CREATE 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/partyCommunicationEventPermissionCheck] finished in [78] milliseconds 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ ServiceEcaRule.java:134:INFO ] For Service ECA [createCommunicationEvent] on [commit] got false for condition: [statusId][equals][COM_ENTERED][true][String] 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/createCommunicationEvent] finished in [250] milliseconds 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/createCommEventFromEmail] finished in [297] milliseconds 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ EmailServices.java:98 :INFO ] SendMail Running, for communicationEventId : 10295 Oct 12, 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML input: context=body, errors=[The <b>html</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>head</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>meta</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>title</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>link</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>body</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>h1</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>h1</b> tag has been filtered for security reasons. The contents of the tag will remain in place.] ValidationException @ org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) 2009-10-12 18:42:17,586 (default-invoker-Thread-7) [ EmailServices.java:286:INFO ] Mail notifications disabled in general.properties; mail with subject [OFBiz Demo - Your Order Is Complete #BIGCO10240] not sent to addressee [[hidden email]] Oct 12, 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML input: context=content, errors=[The <b>html</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>head</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>meta</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>title</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>link</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>body</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>h1</b> tag has been filtered for security reasons. The contents of the tag will remain in place., The <b>h1</b> tag has been filtered for security reasons. The contents of the tag will remain in place.] ValidationException @ org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ ObjectType.java:995:WARN ] No special conversion available for org.ofbiz.service.mail.MimeMessageWrapper to String, returning object.toString(). 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: updateCommEventAfterEmail, triggered by rule on Service: sendMail 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for primary permission PARTYMGR_UPDATE 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for alternate permission PARTYMGR_CME_UPDATE 2009-10-12 18:42:17,648 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for primary permission PARTYMGR_UPDATE 2009-10-12 18:42:17,648 (default-invoker-Thread-7) [ Log.java:111:INFO ] [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for alternate permission PARTYMGR_CME_UPDATE 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ ServiceEcaRule.java:134:INFO ] For Service ECA [setCommunicationEventStatus] on [commit] got false for condition: [statusId][equals][COM_ENTERED][true][String] 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ServiceEcaCondition.java:176:INFO ] To Field (oldStatusId) is not found in context for updateCommunicationEvent, defaulting to null. 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: updateCommStatusFromCommEvent, triggered by rule on Service: updateCommunicationEvent 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/updateCommStatusFromCommEvent] finished in [78] milliseconds 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/updateCommunicationEvent] finished in [172] milliseconds 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/updateCommEventAfterEmail] finished in [172] milliseconds 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/sendMail] finished in [515] milliseconds 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/sendMailFromScreen] finished in [859] milliseconds 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ ServiceEcaRule.java:151:INFO ] Running Service ECA Service: createOrderNotificationLog, triggered by rule on Service: sendOrderCompleteNotification 2009-10-12 18:42:17,835 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/createOrderNotificationLog] finished in [62] milliseconds 2009-10-12 18:42:17,867 (default-invoker-Thread-7) [ ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/sendOrderCompleteNotification] finished in [1093] milliseconds On Mon, Oct 12, 2009 at 3:17 PM, Abhijeet Pandey <[hidden email]>wrote: > Hi, > > currently it is > > <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="localmssql"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localderbyolap"/> > </delegator> > > so this should be changed to > > > > <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="localmssql"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localmssql"/> > </delegator> > > Is this correct ? > > Thanks, > > > > On Mon, Oct 12, 2009 at 2:55 PM, Jacopo Cappellato < > [hidden email]> wrote: > >> Hi Abhijeet, >> >> please make sure that, in entityengine.xml, you have properly mapped to a >> valid data source the group-name="org.ofbiz.olap" >> >> Jacopo >> >> >> On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: >> >> Hi, >>> >>> i am running my application with MSSQL. i did ant clean all and then i am >>> facing issue when i am doing quick ship entire order from order manager >>> application. >>> the code is same , i just did ant clean all , what is the problem with >>> this. >>> Please help. >>> this is error which i am getting , pLz help. >>> >>> Error trying to begin transaction, could not process method: The current >>> transaction is marked for rollback, not beginning a new transaction and >>> aborting current operation; the rollbackOnly was caused by: Failure in >>> create operation for entity [SalesInvoiceItemFact]: >>> org.ofbiz.entity.GenericEntityException: Error while inserting: >>> >>> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >>> (SQL Exception while executing the following:INSERT INTO >>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>> CREATED_TX_STAMP) >>> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >>> key >>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >>> back.)). Rolling back >>> transaction.org.ofbiz.entity.GenericEntityException: >>> Error while inserting: >>> >>> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >>> (SQL Exception while executing the following:INSERT INTO >>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>> CREATED_TX_STAMP) >>> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >>> key >>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >>> back.)) (Error while inserting: >>> >>> [GenericEntity:SalesInvoiceItemFact][billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][invoiceDateDimId,_NF_(java.lang.String)][invoiceId,CI7(java.lang.String)][invoiceItemSeqId,00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>> >>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)][origCurrencyDimId,_NF_(java.lang.String)][productDimId,_NF_(java.lang.String)] >>> (SQL Exception while executing the following:INSERT INTO >>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, ORDER_ID, >>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, >>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, >>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>> CREATED_TX_STAMP) >>> VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of foreign >>> key >>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been rolled >>> back.))) >>> >>> >>> >>> Please help. >>> >>> >>> >>> -- >>> Abhijeet Pandey >>> >> >> > > > -- > Abhijeet Pandey > -- Abhijeet Pandey |
did you load the seed data defined in the "bi" component?
Jacopo On Oct 12, 2009, at 3:17 PM, Abhijeet Pandey wrote: > Hi, > > it was not of any help. getting same error. > Plz help .What is the possible problem and solution for the same. > here is what i got is server log ---> > > Message: The current transaction is marked for rollback, not > beginning a new > transaction and aborting current operation; the rollbackOnly was > caused by: > Failure in create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > ---- cause > --------------------------------------------------------------------- > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > ---- cause > --------------------------------------------------------------------- > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- cause > --------------------------------------------------------------------- > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > --------------------------------------------------------------- > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > 'DIMENSION_ID'. > com > .microsoft > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > .microsoft > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > Source) > com > .microsoft > .sqlserver > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > Source) > com > .microsoft > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > .executeUpdate(DelegatingPreparedStatement.java:102) > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > .ofbiz > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > E:/workspace/BHV/applications/accounting/servicedef/ > services_olap.xml#loadSalesInvoiceItemFact:26) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_olap.xml#loadSalesInvoiceFact:37) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > E:/workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoiceForOrder:147) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95 > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoicesFromShipments:222) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95 > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoicesFromShipment:195) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > .servicedef > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > E:/workspace/BHV/applications/product/servicedef/ > services_shipment.xml#quickShipEntireOrder:71) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 374) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 286) > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2009-10-12 18:42:00,502 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:530:ERROR] Error in Service > [setInvoicesToReadyFromShipment]: Trouble getting Shipment entity for > shipment [] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > transaction rollback only not set, rollback only is already set. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][PURCH_SHIP_SHIPPED][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SCHEDULED][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] From Field (originFacilityId) > is not > found in context for updateShipment, defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [originFacilityId][is-not-empty][true] > [String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] From Field > (destinationFacilityId) is > not found in context for updateShipment, defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [destinationFacilityId][is-not-empty][true] > [String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] From Field (primaryOrderId) is > not > found in context for updateShipment, defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [primaryOrderId][is-not-empty][true][String] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > [commit] > got false for condition: [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 18:42:00,564 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service [order/updateShipment] > finished in [3466] milliseconds > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:101:WARN ] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.begin] active transaction marked for rollback in > place, so > no transaction begun; this stack trace shows when the exception began: > Exception: java.lang.Exception > Message: Tx Stack Placeholder > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Tx Stack Placeholder > org > .ofbiz > .entity > .transaction > .TransactionUtil.setTransactionBeginStack(TransactionUtil.java:647) > org > .ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java: > 135) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 310) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 374) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 286) > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > SimpleMethod.java:684:WARN ] Error trying to begin transaction, > could not > process method: The current transaction is marked for rollback, not > beginning a new transaction and aborting current operation; the > rollbackOnly > was caused by: Failure in create operation for entity > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > SimpleMethod.java:685:WARN ] > ---- exception report > ---------------------------------------------------------- > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: The current transaction is marked for rollback, not > beginning a new > transaction and aborting current operation; the rollbackOnly was > caused by: > Failure in create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > ---- cause > --------------------------------------------------------------------- > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > ---- cause > --------------------------------------------------------------------- > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- cause > --------------------------------------------------------------------- > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > --------------------------------------------------------------- > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > 'DIMENSION_ID'. > com > .microsoft > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > .microsoft > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > Source) > com > .microsoft > .sqlserver > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > Source) > com > .microsoft > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > .executeUpdate(DelegatingPreparedStatement.java:102) > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > .ofbiz > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > E:/workspace/BHV/applications/accounting/servicedef/ > services_olap.xml#loadSalesInvoiceItemFact:26) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_olap.xml#loadSalesInvoiceFact:37) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > E:/workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoiceForOrder:147) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95 > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoicesFromShipments:222) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .accounting > .invoice > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > .ofbiz > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > .servicedef > .services_95 > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > workspace/BHV/applications/accounting/servicedef/ > services_invoice.xml#createInvoicesFromShipment:195) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > .servicedef > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > E:/workspace/BHV/applications/product/servicedef/ > services_shipment.xml#quickShipEntireOrder:71) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 374) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 286) > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:530:ERROR] Error in Service [updateShipment]: > Error > trying to begin transaction, could not process method: The current > transaction is marked for rollback, not beginning a new transaction > and > aborting current operation; the rollbackOnly was caused by: Failure in > create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > transaction rollback only not set, rollback only is already set. > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > CallService.java:327:ERROR] > ---- exception report > ---------------------------------------------------------- > Exception: java.lang.Exception > Message: Error: Error trying to begin transaction, could not process > method: > The current transaction is marked for rollback, not beginning a new > transaction and aborting current operation; the rollbackOnly was > caused by: > Failure in create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) calling service > updateShipment in createShipmentForFacilityAndShipGroup > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Error: Error trying to begin transaction, could > not > process method: The current transaction is marked for rollback, not > beginning a new transaction and aborting current operation; the > rollbackOnly > was caused by: Failure in create operation for entity > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) calling service > updateShipment in createShipmentForFacilityAndShipGroup > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 327) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > org > .ofbiz > .minilang > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > org.ofbiz.service.ModelServiceReader > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > .servicedef > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > E:/workspace/BHV/applications/product/servicedef/ > services_shipment.xml#quickShipEntireOrder:71) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 374) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 286) > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > transaction rollback only not set, rollback only is already set. > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > CallSimpleMethod.java:108:WARN ] Got error [error] calling inline > simple-method named [createShipmentForFacilityAndShipGroup] in > resource [], > message is null, and the error message list is: [Error trying to begin > transaction, could not process method: The current transaction is > marked for > rollback, not beginning a new transaction and aborting current > operation; > the rollbackOnly was caused by: Failure in create operation for entity > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > transaction rollback only not set, rollback only is already set. > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:530:ERROR] Error in Service > [quickShipEntireOrder]: > Error trying to begin transaction, could not process method: The > current > transaction is marked for rollback, not beginning a new transaction > and > aborting current operation; the rollbackOnly was caused by: Failure in > create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:286:ERROR] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org > .ofbiz > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:285) > org > .ofbiz > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:267) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 534) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > org > .ofbiz > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 374) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 286) > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > TransactionUtil.java:296:INFO ] [TransactionUtil.rollback] transaction > rolled back > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service [order/ > quickShipEntireOrder] > finished in [7399] milliseconds > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran Event > [service:#quickShipEntireOrder] > from [request], result is [error] > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > RequestHandler.java:415:ERROR] Request quickShipOrder caused an > error with > the following message: [Error trying to begin transaction, could not > process > method: The current transaction is marked for rollback, not > beginning a new > transaction and aborting current operation; the rollbackOnly was > caused by: > Failure in create operation for entity [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)] > [invoiceDateDimId,_NF_(java.lang.String)] > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > [origCurrencyDimId,_NF_(java.lang.String)] > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > RequestHandler.java:716:INFO ] Rendering View [orderview], > sessionId=70B32FA9A9EB4CDAE895E5863E297393.jvm1 > 2009-10-12 18:42:00,877 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 26 screens in 0.032s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > OrderViewScreens.xml > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service > [order/getInventoryAvailableByFacility] finished in [63] milliseconds > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service > [order/getProductInventorySummaryForItems] finished in [110] > milliseconds > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service > [order/getInventoryAvailableByFacility] finished in [62] milliseconds > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service > [order/getProductInventorySummaryForItems] finished in [78] > milliseconds > 2009-10-12 18:42:02,126 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service [order/ > getReturnableItems] > finished in [78] milliseconds > 2009-10-12 18:42:02,298 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 5 screens in 0.047s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > CommonScreens.xml > 2009-10-12 18:42:02,329 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 1 screens in 0.031s from: > file:/E:/workspace/BHV/applications/commonext/widget/CommonScreens.xml > 2009-10-12 18:42:02,516 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service [order/ > getLastSystemInfoNote] > finished in [78] milliseconds > 2009-10-12 18:42:02,563 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 22 screens in 0.031s from: > file:/E:/workspace/BHV/framework/common/widget/CommonScreens.xml > 2009-10-12 18:42:02,626 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] Sync service > [order/getVisualThemeResources] finished in [63] milliseconds > 2009-10-12 18:42:03,266 (http-0.0.0.0-8443-6) [ > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 18 > requests, 14 > views in > file:/E:/workspace/BHV/framework/common/webcommon/WEB-INF/common- > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 4 requests, > 2 views > in > file:/E:/workspace/BHV/applications/commonext/webapp/WEB-INF/ > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > ConfigXMLReader.java:118:INFO ] controller loaded: 0.016s, 348 > requests, 149 > views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > 2009-10-12 18:42:03,937 (http-0.0.0.0-8443-6) [ > ControlServlet.java:312:INFO ] [[[quickShipOrder] Request Done- > total:10.913,since last([quickShipOrder] ...):10.913]] > 2009-10-12 18:42:04,562 (http-0.0.0.0-8443-6) [ > ControlServlet.java:134:INFO ] [[[getAssociatedStateList] Request > Begun, > encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-10-12 18:42:04,609 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran Event > [jsonservice:#getAssociatedStateList] from [request], result is > [success] > 2009-10-12 18:42:04,656 (http-0.0.0.0-8443-6) [ > ControlServlet.java:312:INFO ] [[[getAssociatedStateList] Request > Done- > total:0.094,since last([getAssociatedSta...):0.094]] > 2009-10-12 18:42:16,602 (default-invoker-Thread-7) [ > JobInvoker.java:232:INFO ] Invoker [default-invoker-Thread-7] > received job > [1255353116646] from poller [org.ofbiz.service.job.JobPoller@d26755] > 2009-10-12 18:42:16,649 (default-invoker-Thread-7) > [PersistedServiceJob.java:178:INFO ] > org.ofbiz.service.job.PersistedServiceJob@1925734[31737] -- Next > runtime: > Thu Jan 01 05:29:59 IST 1970 > 2009-10-12 18:42:17,008 (default-invoker-Thread-7) [ > ScreenFactory.java:129:INFO ] Got 7 screens in 0.031s from: > file:/E:/workspace/BHV/specialpurpose/ecommerce/widget/ > EmailOrderScreens.xml > 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ > CallSiteArray.java:43 :WARN ] Warning: in OrderStatus.groovy before > getting > order detail info: role not found or user not logged in; > partyId=[10360], > userLoginId=[null] > 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ > EmailServices.java:523:INFO ] Expanded email subject to: OFBiz Demo > - Your > Order Is Complete #BIGCO10240 > 2009-10-12 18:42:17,258 (default-invoker-Thread-7) > [ServiceEcaCondition.java:155:WARN ] From Field > (communicationEventId) is > not found in context for sendMail, defaulting to null. > 2009-10-12 18:42:17,273 (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > createCommEventFromEmail, triggered by rule on Service: sendMail > 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > primary permission PARTYMGR_CREATE > 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > alternate permission PARTYMGR_CME_CREATE > 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/partyCommunicationEventPermissionCheck] finished in > [78] > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [createCommunicationEvent] on > [commit] got false for condition: > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/createCommunicationEvent] finished in [250] > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/createCommEventFromEmail] finished in [297] > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > EmailServices.java:98 :INFO ] SendMail Running, for > communicationEventId : > 10295 > Oct 12, 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > context=body, errors=[The <b>html</b> tag has been filtered for > security > reasons. The contents of the tag will remain in place., The <b>head</ > b> tag > has been filtered for security reasons. The contents of the tag will > remain > in place., The <b>meta</b> tag has been filtered for security > reasons. The > contents of the tag will remain in place., The <b>title</b> tag has > been > filtered for security reasons. The contents of the tag will remain in > place., The <b>link</b> tag has been filtered for security reasons. > The > contents of the tag will remain in place., The <b>body</b> tag has > been > filtered for security reasons. The contents of the tag will remain in > place., The <b>h1</b> tag has been filtered for security reasons. The > contents of the tag will remain in place., The <b>h1</b> tag has been > filtered for security reasons. The contents of the tag will remain in > place.] > ValidationException @ > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > 2009-10-12 18:42:17,586 (default-invoker-Thread-7) [ > EmailServices.java:286:INFO ] Mail notifications disabled in > general.properties; mail with subject [OFBiz Demo - Your Order Is > Complete > #BIGCO10240] not sent to addressee [[hidden email]] > Oct 12, 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > context=content, errors=[The <b>html</b> tag has been filtered for > security > reasons. The contents of the tag will remain in place., The <b>head</ > b> tag > has been filtered for security reasons. The contents of the tag will > remain > in place., The <b>meta</b> tag has been filtered for security > reasons. The > contents of the tag will remain in place., The <b>title</b> tag has > been > filtered for security reasons. The contents of the tag will remain in > place., The <b>link</b> tag has been filtered for security reasons. > The > contents of the tag will remain in place., The <b>body</b> tag has > been > filtered for security reasons. The contents of the tag will remain in > place., The <b>h1</b> tag has been filtered for security reasons. The > contents of the tag will remain in place., The <b>h1</b> tag has been > filtered for security reasons. The contents of the tag will remain in > place.] > ValidationException @ > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > ObjectType.java:995:WARN ] No special conversion available for > org.ofbiz.service.mail.MimeMessageWrapper to String, returning > object.toString(). > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > updateCommEventAfterEmail, triggered by rule on Service: sendMail > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,648 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,648 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [setCommunicationEventStatus] > on [commit] got false for condition: > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,695 (default-invoker-Thread-7) > [ServiceEcaCondition.java:176:INFO ] To Field (oldStatusId) is not > found in > context for updateCommunicationEvent, defaulting to null. > 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > updateCommStatusFromCommEvent, triggered by rule on Service: > updateCommunicationEvent > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/updateCommStatusFromCommEvent] finished in [78] > milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/updateCommunicationEvent] finished in [172] > milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/updateCommEventAfterEmail] finished in [172] > milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/ > sendMail] > finished in [515] milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/sendMailFromScreen] finished in [859] milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > createOrderNotificationLog, triggered by rule on Service: > sendOrderCompleteNotification > 2009-10-12 18:42:17,835 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/createOrderNotificationLog] finished in [62] > milliseconds > 2009-10-12 18:42:17,867 (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync service > [JobDispatcher/sendOrderCompleteNotification] finished in [1093] > milliseconds > > > > > > > > > > > On Mon, Oct 12, 2009 at 3:17 PM, Abhijeet Pandey > <[hidden email]>wrote: > >> Hi, >> >> currently it is >> >> <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="localmssql"/> >> <group-map group-name="org.ofbiz.olap" >> datasource-name="localderbyolap"/> >> </delegator> >> >> so this should be changed to >> >> >> >> <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="localmssql"/> >> <group-map group-name="org.ofbiz.olap" >> datasource-name="localmssql"/> >> </delegator> >> >> Is this correct ? >> >> Thanks, >> >> >> >> On Mon, Oct 12, 2009 at 2:55 PM, Jacopo Cappellato < >> [hidden email]> wrote: >> >>> Hi Abhijeet, >>> >>> please make sure that, in entityengine.xml, you have properly >>> mapped to a >>> valid data source the group-name="org.ofbiz.olap" >>> >>> Jacopo >>> >>> >>> On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: >>> >>> Hi, >>>> >>>> i am running my application with MSSQL. i did ant clean all and >>>> then i am >>>> facing issue when i am doing quick ship entire order from order >>>> manager >>>> application. >>>> the code is same , i just did ant clean all , what is the problem >>>> with >>>> this. >>>> Please help. >>>> this is error which i am getting , pLz help. >>>> >>>> Error trying to begin transaction, could not process method: The >>>> current >>>> transaction is marked for rollback, not beginning a new >>>> transaction and >>>> aborting current operation; the rollbackOnly was caused by: >>>> Failure in >>>> create operation for entity [SalesInvoiceItemFact]: >>>> org.ofbiz.entity.GenericEntityException: Error while inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)] >>>> [invoiceDateDimId,_NF_(java.lang.String)] >>>> [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> [origCurrencyDimId,_NF_(java.lang.String)] >>>> [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been >>>> rolled >>>> back.)). Rolling back >>>> transaction.org.ofbiz.entity.GenericEntityException: >>>> Error while inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)] >>>> [invoiceDateDimId,_NF_(java.lang.String)] >>>> [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> [origCurrencyDimId,_NF_(java.lang.String)] >>>> [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been >>>> rolled >>>> back.)) (Error while inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)] >>>> [invoiceDateDimId,_NF_(java.lang.String)] >>>> [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> [origCurrencyDimId,_NF_(java.lang.String)] >>>> [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' for key (_NF_). The statement has been >>>> rolled >>>> back.))) >>>> >>>> >>>> >>>> Please help. >>>> >>>> >>>> >>>> -- >>>> Abhijeet Pandey >>>> >>> >>> >> >> >> -- >> Abhijeet Pandey >> > > > > -- > Abhijeet Pandey |
How to confirm that ?
and how to do it? Thanks, Abhijeet On Mon, Oct 12, 2009 at 7:03 PM, Jacopo Cappellato < [hidden email]> wrote: > did you load the seed data defined in the "bi" component? Jacopo On Oct 12, > 2009, at 3:17 PM, Abhijeet Pandey wrote: > Hi, > > it was not of any help. > getting same error. > Plz help .What is the possible problem and solution > for the same. > here is what i got is server log ---> > > Message: The > current transaction is marked for rollback, not > beginning a new > > transaction and aborting current operation; the rollbackOnly was > caused > by: > Failure in create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL > Exception while executing the following:INSERT INTO > > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- > cause > > --------------------------------------------------------------------- > > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The > INSERT statement conflicted with the FOREIGN KEY > constraint > > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > > --------------------------------------------------------------- > > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > > 'DIMENSION_ID'. > com > .microsoft > > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > > Source) > com > .microsoft > .sqlserver > > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > > Source) > com > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > > .ofbiz > > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceItemFact:26) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceFact:37) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoiceForOrder:147) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipments:222) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipment:195) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,502 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service > > [setInvoicesToReadyFromShipment]: Trouble getting Shipment entity for > > shipment [] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_SHIPPED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][SHIPMENT_SCHEDULED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] > From Field (originFacilityId) > is not > found in context for > updateShipment, defaulting to null. > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [updateShipment] on > [commit] > got false for condition: > [originFacilityId][is-not-empty][true] > [String] > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] From Field > > (destinationFacilityId) is > not found in context for updateShipment, > defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [destinationFacilityId][is-not-empty][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] > From Field (primaryOrderId) is > not > found in context for updateShipment, > defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [primaryOrderId][is-not-empty][true][String] > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [updateShipment] on > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,564 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] > Sync service [order/updateShipment] > finished in [3466] milliseconds > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:101:WARN ] > ---- exception report > > ---------------------------------------------------------- > > [TransactionUtil.begin] active transaction marked for rollback in > place, > so > no transaction begun; this stack trace shows when the exception began: > > Exception: java.lang.Exception > Message: Tx Stack Placeholder > ---- > stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Tx Stack Placeholder > org > .ofbiz > .entity > > .transaction > > .TransactionUtil.setTransactionBeginStack(TransactionUtil.java:647) > org > > .ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java: > 135) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 310) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > SimpleMethod.java:684:WARN ] Error trying to begin transaction, > could not > > process method: The current transaction is marked for rollback, not > > beginning a new transaction and aborting current operation; the > > rollbackOnly > was caused by: Failure in create operation for entity > > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > SimpleMethod.java:685:WARN > ] > ---- exception report > > ---------------------------------------------------------- > Exception: > org.ofbiz.entity.transaction.GenericTransactionException > Message: The > current transaction is marked for rollback, not > beginning a new > > transaction and aborting current operation; the rollbackOnly was > caused > by: > Failure in create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL > Exception while executing the following:INSERT INTO > > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- > cause > > --------------------------------------------------------------------- > > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The > INSERT statement conflicted with the FOREIGN KEY > constraint > > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > > --------------------------------------------------------------- > > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > > 'DIMENSION_ID'. > com > .microsoft > > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > > Source) > com > .microsoft > .sqlserver > > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > > Source) > com > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > > .ofbiz > > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceItemFact:26) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceFact:37) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoiceForOrder:147) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipments:222) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipment:195) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service [updateShipment]: > Error > > trying to begin transaction, could not process method: The current > > transaction is marked for rollback, not beginning a new transaction > and > > aborting current operation; the rollbackOnly was caused by: Failure in > > create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > CallService.java:327:ERROR] > ---- exception report > > ---------------------------------------------------------- > Exception: > java.lang.Exception > Message: Error: Error trying to begin transaction, > could not process > method: > The current transaction is marked for > rollback, not beginning a new > transaction and aborting current operation; > the rollbackOnly was > caused by: > Failure in create operation for entity > [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error > while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > calling service > updateShipment in createShipmentForFacilityAndShipGroup > > ---- stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Error: Error trying to begin transaction, could > not > > process method: The current transaction is marked for rollback, not > > beginning a new transaction and aborting current operation; the > > rollbackOnly > was caused by: Failure in create operation for entity > > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > calling service > updateShipment in createShipmentForFacilityAndShipGroup > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 327) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > CallSimpleMethod.java:108:WARN ] Got error [error] calling inline > > simple-method named [createShipmentForFacilityAndShipGroup] in > resource > [], > message is null, and the error message list is: [Error trying to begin > > transaction, could not process method: The current transaction is > marked > for > rollback, not beginning a new transaction and aborting current > > operation; > the rollbackOnly was caused by: Failure in create operation for > entity > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > > Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service > [quickShipEntireOrder]: > > Error trying to begin transaction, could not process method: The > current > > transaction is marked for rollback, not beginning a new transaction > and > > aborting current operation; the rollbackOnly was caused by: Failure in > > create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:286:ERROR] > ---- exception report > > ---------------------------------------------------------- > > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack > Trace > ---- stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Stack Trace > org > .ofbiz > > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:285) > org > > .ofbiz > > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:267) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 534) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:296:INFO ] [TransactionUtil.rollback] transaction > > rolled back > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > > quickShipEntireOrder] > finished in [7399] milliseconds > 2009-10-12 > 18:42:00,611 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran > Event > [service:#quickShipEntireOrder] > from [request], result is [error] > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > RequestHandler.java:415:ERROR] Request quickShipOrder caused an > error with > > the following message: [Error trying to begin transaction, could not > > process > method: The current transaction is marked for rollback, not > > beginning a new > transaction and aborting current operation; the > rollbackOnly was > caused by: > Failure in create operation for entity > [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error > while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > RequestHandler.java:716:INFO ] Rendering View [orderview], > > sessionId=70B32FA9A9EB4CDAE895E5863E297393.jvm1 > 2009-10-12 18:42:00,877 > (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 26 screens in > 0.032s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > > OrderViewScreens.xml > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getInventoryAvailableByFacility] finished in [63] milliseconds > > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getProductInventorySummaryForItems] finished in [110] > milliseconds > > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getInventoryAvailableByFacility] finished in [62] milliseconds > > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getProductInventorySummaryForItems] finished in [78] > milliseconds > > 2009-10-12 18:42:02,126 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > getReturnableItems] > > finished in [78] milliseconds > 2009-10-12 18:42:02,298 > (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 5 screens in > 0.047s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > > CommonScreens.xml > 2009-10-12 18:42:02,329 (http-0.0.0.0-8443-6) [ > > ScreenFactory.java:129:INFO ] Got 1 screens in 0.031s from: > > file:/E:/workspace/BHV/applications/commonext/widget/CommonScreens.xml > > 2009-10-12 18:42:02,516 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > > getLastSystemInfoNote] > finished in [78] milliseconds > 2009-10-12 > 18:42:02,563 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 22 > screens in 0.031s from: > > file:/E:/workspace/BHV/framework/common/widget/CommonScreens.xml > > 2009-10-12 18:42:02,626 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getVisualThemeResources] finished in [63] milliseconds > 2009-10-12 > 18:42:03,266 (http-0.0.0.0-8443-6) [ > ConfigXMLReader.java:118:INFO ] > controller loaded: 0.0s, 18 > requests, 14 > views in > > file:/E:/workspace/BHV/framework/common/webcommon/WEB-INF/common- > > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 4 requests, > 2 > views > in > file:/E:/workspace/BHV/applications/commonext/webapp/WEB-INF/ > > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > > ConfigXMLReader.java:118:INFO ] controller loaded: 0.016s, 348 > requests, > 149 > views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > 2009-10-12 > 18:42:03,937 (http-0.0.0.0-8443-6) [ > ControlServlet.java:312:INFO ] > [[[quickShipOrder] Request Done- > total:10.913,since last([quickShipOrder] > ...):10.913]] > 2009-10-12 18:42:04,562 (http-0.0.0.0-8443-6) [ > > ControlServlet.java:134:INFO ] [[[getAssociatedStateList] Request > Begun, > > encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-10-12 > 18:42:04,609 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran > Event > [jsonservice:#getAssociatedStateList] from [request], result is > > [success] > 2009-10-12 18:42:04,656 (http-0.0.0.0-8443-6) [ > > ControlServlet.java:312:INFO ] [[[getAssociatedStateList] Request > Done- > > total:0.094,since last([getAssociatedSta...):0.094]] > 2009-10-12 > 18:42:16,602 (default-invoker-Thread-7) [ > JobInvoker.java:232:INFO ] > Invoker [default-invoker-Thread-7] > received job > [1255353116646] from > poller [org.ofbiz.service.job.JobPoller@d26755] > 2009-10-12 18:42:16,649 > (default-invoker-Thread-7) > [PersistedServiceJob.java:178:INFO ] > > org.ofbiz.service.job.PersistedServiceJob@1925734[31737] -- Next > > runtime: > Thu Jan 01 05:29:59 IST 1970 > 2009-10-12 18:42:17,008 > (default-invoker-Thread-7) [ > ScreenFactory.java:129:INFO ] Got 7 screens > in 0.031s from: > file:/E:/workspace/BHV/specialpurpose/ecommerce/widget/ > > EmailOrderScreens.xml > 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ > > CallSiteArray.java:43 :WARN ] Warning: in OrderStatus.groovy before > > getting > order detail info: role not found or user not logged in; > > partyId=[10360], > userLoginId=[null] > 2009-10-12 18:42:17,258 > (default-invoker-Thread-7) [ > EmailServices.java:523:INFO ] Expanded email > subject to: OFBiz Demo > - Your > Order Is Complete #BIGCO10240 > 2009-10-12 > 18:42:17,258 (default-invoker-Thread-7) > [ServiceEcaCondition.java:155:WARN > ] From Field > (communicationEventId) is > not found in context for > sendMail, defaulting to null. > 2009-10-12 18:42:17,273 > (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running > Service ECA Service: > createCommEventFromEmail, triggered by rule on > Service: sendMail > 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ > > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_CREATE > 2009-10-12 18:42:17,398 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_CREATE > 2009-10-12 18:42:17,398 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/partyCommunicationEventPermissionCheck] finished in > > [78] > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA > > [createCommunicationEvent] on > [commit] got false for condition: > > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,570 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/createCommunicationEvent] finished in [250] > > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/createCommEventFromEmail] finished in [297] > milliseconds > > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > EmailServices.java:98 > :INFO ] SendMail Running, for > communicationEventId : > 10295 > Oct 12, > 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: > SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > > context=body, errors=[The *html* tag has been filtered for > security > > reasons. The contents of the tag will remain in place., The *head b> tag > > has been filtered for security reasons. The contents of the tag will > > remain > in place., The meta tag has been filtered for security > reasons. > The > contents of the tag will remain in place., The title tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The link tag has been filtered for security reasons. > The > > contents of the tag will remain in place., The body tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The h1 tag has been filtered for security reasons. The > contents > of the tag will remain in place., The h1 tag has been > filtered for > security reasons. The contents of the tag will remain in > place.] > > ValidationException @ > > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > > 2009-10-12 18:42:17,586 (default-invoker-Thread-7) [ > > EmailServices.java:286:INFO ] Mail notifications disabled in > > general.properties; mail with subject [OFBiz Demo - Your Order Is > Complete > > #BIGCO10240] not sent to addressee [[hidden email]] > Oct 12, > 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: > SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > > context=content, errors=[The html tag has been filtered for > security > > reasons. The contents of the tag will remain in place., The head b> tag > > has been filtered for security reasons. The contents of the tag will > > remain > in place., The meta tag has been filtered for security > reasons. > The > contents of the tag will remain in place., The title tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The link tag has been filtered for security reasons. > The > > contents of the tag will remain in place., The body tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The h1 tag has been filtered for security reasons. The > contents > of the tag will remain in place., The h1 tag has been > filtered for > security reasons. The contents of the tag will remain in > place.] > > ValidationException @ > > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > > ObjectType.java:995:WARN ] No special conversion available for > > org.ofbiz.service.mail.MimeMessageWrapper to String, returning > > object.toString(). > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > updateCommEventAfterEmail, triggered by rule on Service: sendMail > > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,601 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,648 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,648 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,695 > (default-invoker-Thread-7) [ > ServiceEcaRule.java:134:INFO ] For Service > ECA > [setCommunicationEventStatus] > on [commit] got false for condition: > > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,695 > (default-invoker-Thread-7) > [ServiceEcaCondition.java:176:INFO ] To Field > (oldStatusId) is not > found in > context for updateCommunicationEvent, > defaulting to null. > 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > updateCommStatusFromCommEvent, triggered by rule on Service: > > updateCommunicationEvent > 2009-10-12 18:42:17,773 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/updateCommStatusFromCommEvent] finished in [78] > > milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/updateCommunicationEvent] finished in [172] > milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/updateCommEventAfterEmail] finished in [172] > milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/ > sendMail] > > finished in [515] milliseconds > 2009-10-12 18:42:17,773 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/sendMailFromScreen] finished in [859] milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > createOrderNotificationLog, triggered by rule on Service: > > sendOrderCompleteNotification > 2009-10-12 18:42:17,835 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/createOrderNotificationLog] finished in [62] > > milliseconds > 2009-10-12 18:42:17,867 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/sendOrderCompleteNotification] finished in [1093] > > milliseconds > > > > > > > > > > > On Mon, Oct 12, 2009 at 3:17 PM, Abhijeet > Pandey > wrote: > >> Hi, >> >> currently it is >> >> > > entity-group-reader="main" entity-eca-reader="main" >> > distributed-cache-clear-enabled="false"> >> > name="localmssql"/> >> > > datasource-name="localderbyolap"/> >> >> >> so this should be changed to >> > >> >> >> > entity-group-reader="main" entity-eca-reader="main" >> > distributed-cache-clear-enabled="false"> >> > name="localmssql"/> >> > > datasource-name="localmssql"/> >> >> >> Is this correct ? >> >> Thanks, >> > >> >> >> On Mon, Oct 12, 2009 at 2:55 PM, Jacopo Cappellato < >> > [hidden email]> wrote: >> >>> Hi Abhijeet, >>> >>> > please make sure that, in entityengine.xml, you have properly >>> mapped to > a >>> valid data source the group-name="org.ofbiz.olap" >>> >>> Jacopo >>> > >>> >>> On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: >>> >>> Hi, >>>> > >>>> i am running my application with MSSQL. i did ant clean all and >>>> > then i am >>>> facing issue when i am doing quick ship entire order from > order >>>> manager >>>> application. >>>> the code is same , i just did ant > clean all , what is the problem >>>> with >>>> this. >>>> Please help. >>>> > this is error which i am getting , pLz help. >>>> >>>> Error trying to begin > transaction, could not process method: The >>>> current >>>> transaction is > marked for rollback, not beginning a new >>>> transaction and >>>> aborting > current operation; the rollbackOnly was caused by: >>>> Failure in >>>> > create operation for entity [SalesInvoiceItemFact]: >>>> > org.ofbiz.entity.GenericEntityException: Error while inserting: >>>> >>>> > [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.)). Rolling > back >>>> transaction.org.ofbiz.entity.GenericEntityException: >>>> Error > while inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.)) (Error while > inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.))) >>>> >>>> > >>>> >>>> Please help. >>>> >>>> >>>> >>>> -- >>>> Abhijeet Pandey >>>> >>> > >>> >> >> >> -- >> Abhijeet Pandey >> > > > > -- > Abhijeet Pandey * -- Abhijeet Pandey |
Abhijeet,
  Reason of this problem is that your data is not loaded properly during ant-run-install.Please use the setting mentioned in attached patch whenever you use MSSQL database with OFBiz. And then run ant-run-install again. Hope it will work. On Tue, Oct 13, 2009 at 10:23 AM, Abhijeet Pandey <[hidden email]> wrote: How to confirm that ? and how to do it? Thanks, Abhijeet On Mon, Oct 12, 2009 at 7:03 PM, Jacopo Cappellato < [hidden email]> wrote: > did you load the seed data defined in the "bi" component? Jacopo On Oct 12, > 2009, at 3:17 PM, Abhijeet Pandey wrote: > Hi, > > it was not of any help. > getting same error. > Plz help .What is the possible problem and solution > for the same. > here is what i got is server log ---> > > Message: The > current transaction is marked for rollback, not > beginning a new > > transaction and aborting current operation; the rollbackOnly was > caused > by: > Failure in create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL > Exception while executing the following:INSERT INTO > > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- > cause > > --------------------------------------------------------------------- > > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The > INSERT statement conflicted with the FOREIGN KEY > constraint > > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > > --------------------------------------------------------------- > > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > > 'DIMENSION_ID'. > com > .microsoft > > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > > Source) > com > .microsoft > .sqlserver > > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > > Source) > com > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > > .ofbiz > > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceItemFact:26) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceFact:37) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoiceForOrder:147) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipments:222) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipment:195) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,502 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service > > [setInvoicesToReadyFromShipment]: Trouble getting Shipment entity for > > shipment [] > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_SHIPPED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][PURCH_SHIP_RECEIVED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For > Service ECA [updateShipment] on > [commit] > got false for condition: > > [statusId][equals][SHIPMENT_SCHEDULED][true][String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] > From Field (originFacilityId) > is not > found in context for > updateShipment, defaulting to null. > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [updateShipment] on > [commit] > got false for condition: > [originFacilityId][is-not-empty][true] > [String] > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] From Field > > (destinationFacilityId) is > not found in context for updateShipment, > defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [destinationFacilityId][is-not-empty][true] > [String] > 2009-10-12 > 18:42:00,518 (http-0.0.0.0-8443-6) > [ServiceEcaCondition.java:155:WARN ] > From Field (primaryOrderId) is > not > found in context for updateShipment, > defaulting to null. > 2009-10-12 18:42:00,518 (http-0.0.0.0-8443-6) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA [updateShipment] on > > [commit] > got false for condition: > [primaryOrderId][is-not-empty][true][String] > 2009-10-12 18:42:00,518 > (http-0.0.0.0-8443-6) [ > ServiceEcaRule.java:134:INFO ] For Service ECA > [updateShipment] on > [commit] > got false for condition: > [statusId][equals][SHIPMENT_SHIPPED][true] > [String] > 2009-10-12 > 18:42:00,564 (http-0.0.0.0-8443-6) [ > ServiceDispatcher.java:586:INFO ] > Sync service [order/updateShipment] > finished in [3466] milliseconds > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:101:WARN ] > ---- exception report > > ---------------------------------------------------------- > > [TransactionUtil.begin] active transaction marked for rollback in > place, > so > no transaction begun; this stack trace shows when the exception began: > > Exception: java.lang.Exception > Message: Tx Stack Placeholder > ---- > stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Tx Stack Placeholder > org > .ofbiz > .entity > > .transaction > > .TransactionUtil.setTransactionBeginStack(TransactionUtil.java:647) > org > > .ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java: > 135) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 310) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > SimpleMethod.java:684:WARN ] Error trying to begin transaction, > could not > > process method: The current transaction is marked for rollback, not > > beginning a new transaction and aborting current operation; the > > rollbackOnly > was caused by: Failure in create operation for entity > > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > SimpleMethod.java:685:WARN > ] > ---- exception report > > ---------------------------------------------------------- > Exception: > org.ofbiz.entity.transaction.GenericTransactionException > Message: The > current transaction is marked for rollback, not > beginning a new > > transaction and aborting current operation; the rollbackOnly was > caused > by: > Failure in create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericEntityException > Message: Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > > ---- cause > > --------------------------------------------------------------------- > > Exception: org.ofbiz.entity.GenericDataSourceException > Message: SQL > Exception while executing the following:INSERT INTO > > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, INVOICE_ITEM_SEQ_ID, > ORDER_ID, > > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, > > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, EXT_DISCOUNT_AMOUNT, > > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, EXT_MAN_VAR_COST, > > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, > > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the FOREIGN KEY > constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.) > ---- > cause > > --------------------------------------------------------------------- > > Exception: com.microsoft.sqlserver.jdbc.SQLServerException > Message: The > INSERT statement conflicted with the FOREIGN KEY > constraint > > "SIIF_INVDATE". The conflict occurred in database "bigvideo_bak", > table > > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'. > ---- stack trace > > --------------------------------------------------------------- > > com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement > > conflicted with the FOREIGN KEY constraint "SIIF_INVDATE". The > conflict > > occurred in database "bigvideo_bak", table "dbo.DATE_DIMENSION", > column > > 'DIMENSION_ID'. > com > .microsoft > > .sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown > Source) > > com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) > com > > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown > > Source) > com > .microsoft > .sqlserver > > .jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown > > Source) > com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement > > $PreparedStatementExecutionRequest.executeStatement(Unknown > Source) > > com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) > com > > .microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown > > Source) > com > .microsoft > > .sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown > Source) > > org > .apache > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > org > .apache > > .commons > .dbcp > .DelegatingPreparedStatement > > .executeUpdate(DelegatingPreparedStatement.java:102) > > org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java: > 410) > > org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java: > 165) > > org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) > org > > .ofbiz > > .entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) > > org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:821) > org > > .ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:79) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceItemFact.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceItemFact:26) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_olap.xml#loadSalesInvoiceFact:37) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > > .invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java: > 812) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > > .services_95$invoice_46$xml_35$createInvoiceForOrder.runSync(file:/ > > E:/workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoiceForOrder:147) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipments(InvoiceServices.java: > 1712) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipments.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipments:222) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > .accounting > .invoice > > .InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:1093) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun > .reflect > > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun > > .reflect > .DelegatingMethodAccessorImpl > > .invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > org > .ofbiz > .service > > .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:98) > org > > .ofbiz > > .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .accounting > > .servicedef > .services_95 > > $invoice_46$xml_35$createInvoicesFromShipment.runSync(file:/E:/ > > workspace/BHV/applications/accounting/servicedef/ > > services_invoice.xml#createInvoicesFromShipment:195) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java: > > 135) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:152) > > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java: > 157) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 490) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 173) > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 245) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service [updateShipment]: > Error > > trying to begin transaction, could not process method: The current > > transaction is marked for rollback, not beginning a new transaction > and > > aborting current operation; the rollbackOnly was caused by: Failure in > > create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,580 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > CallService.java:327:ERROR] > ---- exception report > > ---------------------------------------------------------- > Exception: > java.lang.Exception > Message: Error: Error trying to begin transaction, > could not process > method: > The current transaction is marked for > rollback, not beginning a new > transaction and aborting current operation; > the rollbackOnly was > caused by: > Failure in create operation for entity > [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error > while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > calling service > updateShipment in createShipmentForFacilityAndShipGroup > > ---- stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Error: Error trying to begin transaction, could > not > > process method: The current transaction is marked for rollback, not > > beginning a new transaction and aborting current operation; the > > rollbackOnly > was caused by: Failure in create operation for entity > > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > calling service > updateShipment in createShipmentForFacilityAndShipGroup > > org.ofbiz.minilang.method.callops.CallService.exec(CallService.java: > 327) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:99) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > org > .ofbiz > > .minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java: > 85) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:120) > > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:883) > > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702) > > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java: > 142) > > org > .ofbiz > .minilang > > .SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org > > .ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java: > 53) > > org.ofbiz.service.ModelServiceReader > > $GenericInvokerImpl.runSync(ModelServiceReader.java:785) > _ > $ > gen > > .file_58 > $ > .E_58 > $ > .workspace > .BHV > .applications > .product > > .servicedef > > .services_95$shipment_46$xml_35$quickShipEntireOrder.runSync(file:/ > > E:/workspace/BHV/applications/product/servicedef/ > > services_shipment.xml#quickShipEntireOrder:71) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 392) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > CallSimpleMethod.java:108:WARN ] Got error [error] calling inline > > simple-method named [createShipmentForFacilityAndShipGroup] in > resource > [], > message is null, and the error message list is: [Error trying to begin > > transaction, could not process method: The current transaction is > marked > for > rollback, not beginning a new transaction and aborting current > > operation; > the rollbackOnly was caused by: Failure in create operation for > entity > [SalesInvoiceItemFact]: org.ofbiz.entity.GenericEntityException: > > Error while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:326:INFO ] [TransactionUtil.setRollbackOnly] > > transaction rollback only not set, rollback only is already set. > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:530:ERROR] Error in Service > [quickShipEntireOrder]: > > Error trying to begin transaction, could not process method: The > current > > transaction is marked for rollback, not beginning a new transaction > and > > aborting current operation; the rollbackOnly was caused by: Failure in > > create operation for entity [SalesInvoiceItemFact]: > > org.ofbiz.entity.GenericEntityException: Error while inserting: > > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.))) > > 2009-10-12 18:42:00,596 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:286:ERROR] > ---- exception report > > ---------------------------------------------------------- > > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack > Trace > ---- stack trace > > --------------------------------------------------------------- > > java.lang.Exception: Stack Trace > org > .ofbiz > > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:285) > org > > .ofbiz > > .entity.transaction.TransactionUtil.rollback(TransactionUtil.java:267) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 534) > > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 221) > > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 159) > > org > .ofbiz > > .webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336) > > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: > 611) > > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > > 374) > > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) > > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org > .apache > > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 264) > > org > .apache > .catalina > .core > > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 235) > > org > .apache > .catalina > > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org > > .apache > > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 233) > > org > .apache > > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > > org > .apache > > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org > > .apache > > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org > > .apache > > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 568) > > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 286) > org > > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > > org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > 447) > > java.lang.Thread.run(Thread.java:619) > > -------------------------------------------------------------------------------- > > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > TransactionUtil.java:296:INFO ] [TransactionUtil.rollback] transaction > > rolled back > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > > quickShipEntireOrder] > finished in [7399] milliseconds > 2009-10-12 > 18:42:00,611 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran > Event > [service:#quickShipEntireOrder] > from [request], result is [error] > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > RequestHandler.java:415:ERROR] Request quickShipOrder caused an > error with > > the following message: [Error trying to begin transaction, could not > > process > method: The current transaction is marked for rollback, not > > beginning a new > transaction and aborting current operation; the > rollbackOnly was > caused by: > Failure in create operation for entity > [SalesInvoiceItemFact]: > org.ofbiz.entity.GenericEntityException: Error > while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)). > Rolling back > transaction.org.ofbiz.entity.GenericEntityException: Error > while > inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)) > (Error while inserting: > [GenericEntity:SalesInvoiceItemFact] > > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][createdTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)] > > [invoiceDateDimId,_NF_(java.lang.String)] > > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, > > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 > > 18:42:00.424(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 > > 18:41:53.212(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] > > [origCurrencyDimId,_NF_(java.lang.String)] > > [productDimId,_NF_(java.lang.String)] > (SQL Exception while executing the > following:INSERT INTO > dbo.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, > ORDER_ID, > INVOICE_DATE_DIM_ID, PRODUCT_DIM_ID, > BILL_TO_CUSTOMER_DIM_ID, > ORIG_CURRENCY_DIM_ID, QUANTITY, EXT_GROSS_AMOUNT, > EXT_DISCOUNT_AMOUNT, > EXT_NET_AMOUNT, EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, > EXT_MAN_VAR_COST, > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, > CONTRIBUTION_AMOUNT, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, > CREATED_STAMP, > CREATED_TX_STAMP) > VALUES > (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (The > INSERT statement conflicted with the > FOREIGN KEY constraint > "SIIF_INVDATE". > The conflict occurred in database > "bigvideo_bak", table > "dbo.DATE_DIMENSION", column 'DIMENSION_ID'.)))] > > 2009-10-12 18:42:00,611 (http-0.0.0.0-8443-6) [ > > RequestHandler.java:716:INFO ] Rendering View [orderview], > > sessionId=70B32FA9A9EB4CDAE895E5863E297393.jvm1 > 2009-10-12 18:42:00,877 > (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 26 screens in > 0.032s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > > OrderViewScreens.xml > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getInventoryAvailableByFacility] finished in [63] milliseconds > > 2009-10-12 18:42:01,767 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getProductInventorySummaryForItems] finished in [110] > milliseconds > > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getInventoryAvailableByFacility] finished in [62] milliseconds > > 2009-10-12 18:42:01,876 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getProductInventorySummaryForItems] finished in [78] > milliseconds > > 2009-10-12 18:42:02,126 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > getReturnableItems] > > finished in [78] milliseconds > 2009-10-12 18:42:02,298 > (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 5 screens in > 0.047s from: > file:/E:/workspace/BHV/applications/order/widget/ordermgr/ > > CommonScreens.xml > 2009-10-12 18:42:02,329 (http-0.0.0.0-8443-6) [ > > ScreenFactory.java:129:INFO ] Got 1 screens in 0.031s from: > > file:/E:/workspace/BHV/applications/commonext/widget/CommonScreens.xml > > 2009-10-12 18:42:02,516 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service [order/ > > getLastSystemInfoNote] > finished in [78] milliseconds > 2009-10-12 > 18:42:02,563 (http-0.0.0.0-8443-6) [ > ScreenFactory.java:129:INFO ] Got 22 > screens in 0.031s from: > > file:/E:/workspace/BHV/framework/common/widget/CommonScreens.xml > > 2009-10-12 18:42:02,626 (http-0.0.0.0-8443-6) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [order/getVisualThemeResources] finished in [63] milliseconds > 2009-10-12 > 18:42:03,266 (http-0.0.0.0-8443-6) [ > ConfigXMLReader.java:118:INFO ] > controller loaded: 0.0s, 18 > requests, 14 > views in > > file:/E:/workspace/BHV/framework/common/webcommon/WEB-INF/common- > > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 4 requests, > 2 > views > in > file:/E:/workspace/BHV/applications/commonext/webapp/WEB-INF/ > > controller.xml > 2009-10-12 18:42:03,282 (http-0.0.0.0-8443-6) [ > > ConfigXMLReader.java:118:INFO ] controller loaded: 0.016s, 348 > requests, > 149 > views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml > 2009-10-12 > 18:42:03,937 (http-0.0.0.0-8443-6) [ > ControlServlet.java:312:INFO ] > [[[quickShipOrder] Request Done- > total:10.913,since last([quickShipOrder] > ...):10.913]] > 2009-10-12 18:42:04,562 (http-0.0.0.0-8443-6) [ > > ControlServlet.java:134:INFO ] [[[getAssociatedStateList] Request > Begun, > > encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2009-10-12 > 18:42:04,609 (http-0.0.0.0-8443-6) [ > RequestHandler.java:612:INFO ] Ran > Event > [jsonservice:#getAssociatedStateList] from [request], result is > > [success] > 2009-10-12 18:42:04,656 (http-0.0.0.0-8443-6) [ > > ControlServlet.java:312:INFO ] [[[getAssociatedStateList] Request > Done- > > total:0.094,since last([getAssociatedSta...):0.094]] > 2009-10-12 > 18:42:16,602 (default-invoker-Thread-7) [ > JobInvoker.java:232:INFO ] > Invoker [default-invoker-Thread-7] > received job > [1255353116646] from > poller [org.ofbiz.service.job.JobPoller@d26755] > 2009-10-12 18:42:16,649 > (default-invoker-Thread-7) > [PersistedServiceJob.java:178:INFO ] > > org.ofbiz.service.job.PersistedServiceJob@1925734[31737] -- Next > > runtime: > Thu Jan 01 05:29:59 IST 1970 > 2009-10-12 18:42:17,008 > (default-invoker-Thread-7) [ > ScreenFactory.java:129:INFO ] Got 7 screens > in 0.031s from: > file:/E:/workspace/BHV/specialpurpose/ecommerce/widget/ > > EmailOrderScreens.xml > 2009-10-12 18:42:17,258 (default-invoker-Thread-7) [ > > CallSiteArray.java:43 :WARN ] Warning: in OrderStatus.groovy before > > getting > order detail info: role not found or user not logged in; > > partyId=[10360], > userLoginId=[null] > 2009-10-12 18:42:17,258 > (default-invoker-Thread-7) [ > EmailServices.java:523:INFO ] Expanded email > subject to: OFBiz Demo > - Your > Order Is Complete #BIGCO10240 > 2009-10-12 > 18:42:17,258 (default-invoker-Thread-7) > [ServiceEcaCondition.java:155:WARN > ] From Field > (communicationEventId) is > not found in context for > sendMail, defaulting to null. > 2009-10-12 18:42:17,273 > (default-invoker-Thread-7) [ > ServiceEcaRule.java:151:INFO ] Running > Service ECA Service: > createCommEventFromEmail, triggered by rule on > Service: sendMail > 2009-10-12 18:42:17,398 (default-invoker-Thread-7) [ > > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_CREATE > 2009-10-12 18:42:17,398 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_CREATE > 2009-10-12 18:42:17,398 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/partyCommunicationEventPermissionCheck] finished in > > [78] > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:134:INFO ] For Service ECA > > [createCommunicationEvent] on > [commit] got false for condition: > > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,570 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/createCommunicationEvent] finished in [250] > > milliseconds > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/createCommEventFromEmail] finished in [297] > milliseconds > > 2009-10-12 18:42:17,570 (default-invoker-Thread-7) [ > EmailServices.java:98 > :INFO ] SendMail Running, for > communicationEventId : > 10295 > Oct 12, > 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: > SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > > context=body, errors=[The *html* tag has been filtered for > security > > reasons. The contents of the tag will remain in place., The *head b> tag > > has been filtered for security reasons. The contents of the tag will > > remain > in place., The meta tag has been filtered for security > reasons. > The > contents of the tag will remain in place., The title tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The link tag has been filtered for security reasons. > The > > contents of the tag will remain in place., The body tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The h1 tag has been filtered for security reasons. The > contents > of the tag will remain in place., The h1 tag has been > filtered for > security reasons. The contents of the tag will remain in > place.] > > ValidationException @ > > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > > 2009-10-12 18:42:17,586 (default-invoker-Thread-7) [ > > EmailServices.java:286:INFO ] Mail notifications disabled in > > general.properties; mail with subject [OFBiz Demo - Your Order Is > Complete > > #BIGCO10240] not sent to addressee [[hidden email]] > Oct 12, > 2009 6:42:17 PM AppNameNotSpecified IntrusionDetector > WARNING: > SECURITY-FAILURE Anonymous@unknown:unknown -- Invalid HTML > input: > > context=content, errors=[The html tag has been filtered for > security > > reasons. The contents of the tag will remain in place., The head b> tag > > has been filtered for security reasons. The contents of the tag will > > remain > in place., The meta tag has been filtered for security > reasons. > The > contents of the tag will remain in place., The title tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The link tag has been filtered for security reasons. > The > > contents of the tag will remain in place., The body tag has > been > > filtered for security reasons. The contents of the tag will remain in > > place., The h1 tag has been filtered for security reasons. The > contents > of the tag will remain in place., The h1 tag has been > filtered for > security reasons. The contents of the tag will remain in > place.] > > ValidationException @ > > org.owasp.esapi.reference.DefaultValidator.getValidSafeHTML(null:-1) > > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > > ObjectType.java:995:WARN ] No special conversion available for > > org.ofbiz.service.mail.MimeMessageWrapper to String, returning > > object.toString(). > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > updateCommEventAfterEmail, triggered by rule on Service: sendMail > > 2009-10-12 18:42:17,601 (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,601 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,648 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > primary permission PARTYMGR_UPDATE > 2009-10-12 18:42:17,648 > (default-invoker-Thread-7) [ > Log.java:111:INFO ] > > [CommonPermissionServices.xml#genericBasePermissionCheck] Checking for > > alternate permission PARTYMGR_CME_UPDATE > 2009-10-12 18:42:17,695 > (default-invoker-Thread-7) [ > ServiceEcaRule.java:134:INFO ] For Service > ECA > [setCommunicationEventStatus] > on [commit] got false for condition: > > [statusId][equals][COM_ENTERED][true][String] > 2009-10-12 18:42:17,695 > (default-invoker-Thread-7) > [ServiceEcaCondition.java:176:INFO ] To Field > (oldStatusId) is not > found in > context for updateCommunicationEvent, > defaulting to null. > 2009-10-12 18:42:17,695 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > updateCommStatusFromCommEvent, triggered by rule on Service: > > updateCommunicationEvent > 2009-10-12 18:42:17,773 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/updateCommStatusFromCommEvent] finished in [78] > > milliseconds > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/updateCommunicationEvent] finished in [172] > milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/updateCommEventAfterEmail] finished in [172] > milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service [JobDispatcher/ > sendMail] > > finished in [515] milliseconds > 2009-10-12 18:42:17,773 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/sendMailFromScreen] finished in [859] milliseconds > > 2009-10-12 18:42:17,773 (default-invoker-Thread-7) [ > > ServiceEcaRule.java:151:INFO ] Running Service ECA Service: > > createOrderNotificationLog, triggered by rule on Service: > > sendOrderCompleteNotification > 2009-10-12 18:42:17,835 > (default-invoker-Thread-7) [ > ServiceDispatcher.java:586:INFO ] Sync > service > [JobDispatcher/createOrderNotificationLog] finished in [62] > > milliseconds > 2009-10-12 18:42:17,867 (default-invoker-Thread-7) [ > > ServiceDispatcher.java:586:INFO ] Sync service > > [JobDispatcher/sendOrderCompleteNotification] finished in [1093] > > milliseconds > > > > > > > > > > > On Mon, Oct 12, 2009 at 3:17 PM, Abhijeet > Pandey > wrote: > >> Hi, >> >> currently it is >> >> > > entity-group-reader="main" entity-eca-reader="main" >> > distributed-cache-clear-enabled="false"> >> > name="localmssql"/> >> > > datasource-name="localderbyolap"/> >> >> >> so this should be changed to >> > >> >> >> > entity-group-reader="main" entity-eca-reader="main" >> > distributed-cache-clear-enabled="false"> >> > name="localmssql"/> >> > > datasource-name="localmssql"/> >> >> >> Is this correct ? >> >> Thanks, >> > >> >> >> On Mon, Oct 12, 2009 at 2:55 PM, Jacopo Cappellato < >> > [hidden email]> wrote: >> >>> Hi Abhijeet, >>> >>> > please make sure that, in entityengine.xml, you have properly >>> mapped to > a >>> valid data source the group-name="org.ofbiz.olap" >>> >>> Jacopo >>> > >>> >>> On Oct 12, 2009, at 9:10 AM, Abhijeet Pandey wrote: >>> >>> Hi, >>>> > >>>> i am running my application with MSSQL. i did ant clean all and >>>> > then i am >>>> facing issue when i am doing quick ship entire order from > order >>>> manager >>>> application. >>>> the code is same , i just did ant > clean all , what is the problem >>>> with >>>> this. >>>> Please help. >>>> > this is error which i am getting , pLz help. >>>> >>>> Error trying to begin > transaction, could not process method: The >>>> current >>>> transaction is > marked for rollback, not beginning a new >>>> transaction and >>>> aborting > current operation; the rollbackOnly was caused by: >>>> Failure in >>>> > create operation for entity [SalesInvoiceItemFact]: >>>> > org.ofbiz.entity.GenericEntityException: Error while inserting: >>>> >>>> > [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.)). Rolling > back >>>> transaction.org.ofbiz.entity.GenericEntityException: >>>> Error > while inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.)) (Error while > inserting: >>>> >>>> [GenericEntity:SalesInvoiceItemFact] >>>> > [billToCustomerDimId,_NA_(java.lang.String)][createdStamp, >>>> 2009-10-12 > >>>> 12:29:18.17(java.sql.Timestamp)][createdTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)] >>>> > [invoiceDateDimId,_NF_(java.lang.String)] >>>> > [invoiceId,CI7(java.lang.String)][invoiceItemSeqId, >>>> > 00001(java.lang.String)][lastUpdatedStamp,2009-10-12 >>>> > 12:29:18.17(java.sql.Timestamp)][lastUpdatedTxStamp,2009-10-12 >>>> >>>> > 12:29:10.003(java.sql.Timestamp)][orderId,_NA_(java.lang.String)] >>>> > [origCurrencyDimId,_NF_(java.lang.String)] >>>> > [productDimId,_NF_(java.lang.String)] >>>> (SQL Exception while executing > the following:INSERT INTO >>>> OFBIZ.SALES_INVOICE_ITEM_FACT (INVOICE_ID, > INVOICE_ITEM_SEQ_ID, >>>> ORDER_ID, >>>> INVOICE_DATE_DIM_ID, > PRODUCT_DIM_ID, BILL_TO_CUSTOMER_DIM_ID, >>>> ORIG_CURRENCY_DIM_ID, > QUANTITY, EXT_GROSS_AMOUNT, >>>> EXT_DISCOUNT_AMOUNT, >>>> EXT_NET_AMOUNT, > EXT_TAX_AMOUNT, EXT_MAN_FIXED_COST, >>>> EXT_MAN_VAR_COST, >>>> > EXT_STORAGE_COST, EXT_DISTRIBUTION_COST, CONTRIBUTION_AMOUNT, >>>> > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >>>> > CREATED_TX_STAMP) >>>> VALUES >>>> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?, ?, ?, ?, ?, ?, ?, ?) >>>> (INSERT on table 'SALES_INVOICE_ITEM_FACT' > caused a violation of >>>> foreign >>>> key >>>> constraint 'SIIF_INVDATE' > for key (_NF_). The statement has been >>>> rolled >>>> back.))) >>>> >>>> > >>>> >>>> Please help. >>>> >>>> >>>> >>>> -- >>>> Abhijeet Pandey >>>> >>> > >>> >> >> >> -- >> Abhijeet Pandey >> > > > > -- > Abhijeet Pandey * -- Abhijeet Pandey -- Anil Soni +91-9930302283cell |
Free forum by Nabble | Edit this page |