April 24 2017

The Problem

Sometimes, when deploying a BPM composite, the deployment times out. When a BPM composite deployment fails in this way, it does not clean up after itself. It leaves several records in the database. If one attempts to deploy the same revision, it will also fail. A common workaround is to restart the managed servers, increment the version number, and attempt the deploy again.

While the workaround does work, the remnants of the bad deploy will result in the flex field headers not displaying correctly in the workspace.

Bad Headers
Headers Displaying Incorrectly

 

When the headers display incorrectly, one can find an error similar to the following in the log files:

exception.code:30084
exception.type: ERROR
exception.severity: 2
exception.name: Could not locate composite.

exception.description: Could not locate composite for workflow component
default/SampleProcess!4.0/SampleTask.

exception.fix: Ensure composite has been successfully deployed, and that the 
SOA server has completed loading composites.

The log message indicates the partition, composite, revision, and task is causing the issue.

 

Correcting the Problem

To correct the issue, execute the following SQL statements in the SOAINFRA schema for the affected domain. Be sure you enter the correct partition, composite name, and revision number:

delete from wftaskmetadata where id like '%compositeName!revisionNumber/%';
delete from wfattributelabelusage where workflowid like 'partition/compositeName!revisionNumber/%';
update bpm_cube_process set status = -1, undeploydate=sysdate where compositedn like 'partition/compositeName!revisionNumber*%';

An example usage [partition: default, compositeName: SampleProcess, revisionNumber: 4]:

delete from wftaskmetadata where id like '%SampleProcess!4/%';
delete from wfattributelabelusage where workflowid like 'default/SampleProcess!4/%';
update bpm_cube_process set status = -1, undeploydate=sysdate where compositedn like 'default/SampleProcess!4*%';

After executing the SQL statements, restart the servers, and the issue will be corrected.

Good Headers
Headers Displaying Correctly

 

About the Author

Bio
Adam has over 10 years of software engineering experience. He has designed and developed with SOA/BPM technologies for more than 7 years.
 
Partner Network Certified Specialist SOA
 

 

Join the Conversation

pakka
May 4, 2017

Nba 2k17 codes  free locker codes from the website free nba 2k17 badges from the and enjoy the nba 2k17 vc games that we really have to miss the game nba 2k17 locker codes and the locker codes of  nba 2k17 vc codes and have lots of free nba 2k17 locker codes to play and enjoy the free nba 2k17 locker codes that we share the free nba 2k17 codes. 

Brody
June 21, 2017

The information you submit is very good especially in accordance with the theme taken, hope you are always victorious and prosperous In the future, here are some tips may be helpful. Hosting for one month

Enter your first name. It will only be used to display with your comment.
Enter your email. This will be used to validate you as a real user but will NOT be displayed with the comment.
By submitting this form, you accept the Mollom privacy policy.