Another exception with correlation sets. This exception comes if initiation property of correlation set is set to No. The exception stacktrace is

com.ibm.bpe.api.CreateRejectedException: CWWBA0140E: No process instance found for the process template 'XXXX' and createInstance is false for port type '{http://XXXX/XXX}XXX' and operation 'XXXX'
at com.ibm.bpe.engine.BpelEngineCore.createAndStartProcessInstance(BpelEngineCore.java:513)
at com.ibm.bpe.engine.BpelEngine.createAndStartProcessInstance(BpelEngine.java:188)
at com.ibm.bpe.framework.sca.ProcessSessionBean.createOrFindInstance(ProcessSessionBean.java:1429)
at com.ibm.bpe.framework.sca.ProcessSessionBean.invokeEngineSync(ProcessSessionBean.java:911)

The solution for this problem is to change the initiation property of correlation set to Join. We would see this exception when we send an event to the correlation set. This exception is because the correlation set is not able to find an existing process for sending the event.

The same exception can occur even if the correlation set initiation property is set to Join also. This is because the value that we are sending to the correlation set does not exist for the correlation set property. So make sure that you are sending a valid value for any of an existing process.

Thanks Dan for helping me out in finding a solution to this problem.

Did you like this? If so, please
tell a friend
about it, and subscribe to the blog RSS feed.

Share/Save/Bookmark

If you enjoyed this post, make sure you subscribe to my RSS feed!



Related Posts:
  • UNAUTHENTICATED is not granted any of the required roles: eventAdministrator eventCreator catalogAdministrator
  • org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element
  • Invoking an external web service from WebSphere Process Server.
  • Creating a Business Calendar in WebSphere Integration Developer 6.1.2
  • Querying human task based on custom property using EJB API


  • 2 Responses to “CWWBA0140E: No process instance found for the process template”  

    1. 1 Dan Zrobok

      No problemo.

      The only way we’ll all ever get though ‘business integration’ is by sharing information.

      -dan

    2. 2 Albin Joseph

      You are right Dan. Without helping each other it’s very difficult to work on a business integration product like WPS and WID where everyone gets different and different exceptions for different runs.

    Leave a Reply