ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Badenhorst <stefan.badenho...@mi-c3.com>
Subject Re: Multi Tenant
Date Tue, 29 Sep 2015 14:10:59 GMT
I have created The issue as you requested OFBIZ-6658 with the log files
attached.
https://issues.apache.org/jira/browse/OFBIZ-6658

I have noticed in the log file that there are 2 errors that come up:
|OFBiz-config-3 |DatabaseUtil |E| Error adding foreign key: ModelEntity was
null for related entity name Tenant

 and 

 |main |GenericDelegator |E| Failure in create operation for entity
[JobSandbox]: org.ofbiz.entity.GenericEntityException: Error while
inserting: [GenericEntity:JobSandbox][createdStamp,2015-09-29
13:47:16.145(java.sql.Timestamp)][createdTxStamp,2015-09-29
13:47:16.145(java.sql.Timestamp)][jobId,8200(java.lang.String)][jobName,Clear
EntitySyncRemove Info(java.lang.String)][lastUpdatedStamp,2015-09-29
13:47:16.145(java.sql.Timestamp)][lastUpdatedTxStamp,2015-09-29
13:47:16.145(java.sql.Timestamp)][maxRecurrenceCount,-1(java.lang.Long)][poolId,pool(java.lang.String)][runAsUser,system(java.lang.String)][runTime,2000-01-01
00:00:00.0(java.sql.Timestamp)][serviceName,cleanSyncRemoveInfo(java.lang.String)][tempExprId,MIDNIGHT_DAILY(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO public.JOB_SANDBOX
(JOB_ID, JOB_NAME, RUN_TIME, POOL_ID, STATUS_ID, PARENT_JOB_ID,
PREVIOUS_JOB_ID, SERVICE_NAME, LOADER_NAME, MAX_RETRY, CURRENT_RETRY_COUNT,
AUTH_USER_LOGIN_ID, RUN_AS_USER, RUNTIME_DATA_ID, RECURRENCE_INFO_ID,
TEMP_EXPR_ID, CURRENT_RECURRENCE_COUNT, MAX_RECURRENCE_COUNT,
RUN_BY_INSTANCE_ID, START_DATE_TIME, FINISH_DATE_TIME, CANCEL_DATE_TIME,
JOB_RESULT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table
"job_sandbox" violates foreign key constraint "job_sndbx_usrlgn"
Detail: Key (run_as_user)=(system) is not present in table "user_login".)).
Rolling back transaction.



--
View this message in context: http://ofbiz.135035.n4.nabble.com/Multi-Tenant-tp4672725p4672851.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message