Wednesday, April 30, 2014

Error creating instance for target process in Oracle BPMN

I created a simple BPMN process and deployed it to BPMN server.

After deployment i went to bpm workspace page and i clicked on the instance but i got below error message.



Again i checked in server logs and got lot of error messages

]]
[2014-04-30T15:43:24.850+05:30] [soa_server1] [WARNING] [] [oracle.bpm.common] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: jcooper] [ecid: 895f3834fb0d8c6d:-67de5b31:145b1d66aa1:-8000-0000000000002c5d,0] [APP: OracleBPMWorkspace] Error creating instance for target process default/BRTest!1.0*/BRProcess.[[
oracle.bpm.web.exception.WapiOperationException: Error creating instance for target process default/BRTest!1.0*/BRProcess.
at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:188)
at oracle.bpm.workspace.model.application.ApplicationBean.execute(ApplicationBean.java:169)

... 101 more
Caused by: BPM-70204

Exception
exception.70204.type: error
exception.70204.severity: 2
exception.70204.name: Error creating process instance.
exception.70204.description: Error creating instance for target process default/BRTest!1.0*/BRProcess.
exception.70204.fix: Verify server log to find the problem cause.





Cause - This is a known issue in the product and a patch is provided by oracle to resolve this issue.

Reason- The reason for this issue is that when a business object is create in BPMN it does't get copied to the xsd folder in your composite.

Resolution-

In order to resolve this issue do the following

Copy the schema file created in your business catalog to the xsd folder manually.




No comments: