IBM Support

The deployment of a process application for IBM Business Process Manager (BPM) fails after the initial deployment

Troubleshooting


Problem

Attempts to deploy additional snapshots after initially deploying a process application fail with an error.

Symptom

The following error occurs when you attempt to deploy additional snapshots after initially deploying a process application:

[11/5/12 18:24:25:374 EST] 00000054 wle  E CWLLG0395E: An exception
occurred in addTimeSchedule com.lombardisoftware.client.delegate.
BusinessDelegateException: PreparedStatementCallback; SQL [insert into
LSW_TIME_SCHEDULE (SCHEDULE_ID,NAME,EXCLUDE_HOLIDAY) values (?,?,?)];  
Error for batch element #1: DB2 SQL Error: SQLCODE=-803,
SQLSTATE=23505, SQLERRMC=2;BPMINST.LSW_TIME_SCHEDULE, DRIVER=3.61.65;

This issue occurs when you use the following code:


  var tsName = "8AM-8PM M-F";
  var ts = new tw.object.TWTimeSchedule();
  ts.name = tsName;
  ts.excludeHolidays = false;
  .........
  var added = tw.system.addTimeSchedule(ts);
  if (!added) {
      var tmpTs = tw.system.findTimeScheduleByName(tsName);
      tw.system.removeTimeSchedule(tmpTs.id);
      tw.system.addTimeSchedule(ts);
   }

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Application Deployment","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5.1.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

swg21625891