Project: talendesb
Issue TESB-6049: Print "Error executing: CREATE TABLE EVENTS ..." when restart TESB container which sam-server installed
When restart TESB container with sam-server installed (eg. using tesb:start-sam), those error log will be printed in the console: karaf@trun> Error executing: CREATE TABLE EVENTS ( ID BIGINT NOT NULL, EI_TIMESTAMP TIMESTAMP, EI_EVENT_TYPE VARCHAR(255), ORIG_CUSTOM_ID VARCHAR(255), ORIG_PROCESS_ID VARCHAR(255), ORIG_HOSTNAME VARCHAR(128), ORIG_ IP VARCHAR(64), ORIG_PRINCIPAL VARCHAR(255), MI_PORT_TYPE VARCHAR(255), MI_OPERATION_NAME VARCHAR(255), MI_ MESSAGE_ID VARCHAR(255), MI_FLOW_ID VARCHAR(64), MI_TRANSPORT_TYPE VARCHAR(255), CONTENT_CUT BOOLEAN, MESSAG E_CONTENT CLOB(2147483647), PRIMARY KEY (ID)) java.sql.SQLException: Table/View 'EVENTS' already exists in Schema 'TEST'. Error executing: CREATE TABLE EVENTS_CUSTOMINFO ( ID BIGINT NOT NULL, EVENT_ID BIGINT NOT NULL, CUST_KEY VAR CHAR(255), CUST_VALUE VARCHAR(255), PRIMARY KEY (ID)) java.sql.SQLException: Table/View 'EVENTS_CUSTOMINFO' already exists in Schema 'TEST'. Error executing: CREATE TABLE TAB_SEQUENCE (ID_VALUE int generated always as identity, DUMMY char(1)) java.sql.SQLException: Table/View 'TAB_SEQUENCE' already exists in Schema 'TEST'. but didn't effect the sam-server functionality.
Story points: 1