Showing posts with label ACM. Show all posts
Showing posts with label ACM. Show all posts

Monday, 20 March 2017

Error while deploying oracle BPM case management project

Version : Oracle BPM 12.2.1
You might face any of the following errors while deploying a BPM case management project.

- The process domain is encountering the following errors while loading the process "ProcessName" (composite "CompositeName"): Could not initialize variable.

- ":" is not allowed in the schema file (pointing to your base schema)

- Can't load case data for the process activity <Activity Name>


Resolution:

All the above errors are because of an error in auto generated schema file for case management rules (jdeveloper generates this file when you create a case). Go to Schemas folder and open the <CaseName>Rules_<CaseName>RulesMessageTypes.xsd and verify the import schema of you base payload schema.

It will have the complete path of your payload schema which is the root cause for the above errors (engine is not able to locate the complete path, it should always be relative path)

<import namespace="http://www.example.org" schemaLocation="../C:/XXXX/XXX/YYY/Payload.xsd"/>

Change the schema location to the relative path and the deployment will be successful.
<import namespace="http://www.example.org" schemaLocation="../Payload.xsd"/>

Tuesday, 14 April 2015

Issue while deploying case data form in oracle ACM

I am working on a case management POC in BPM version 11.1.1.7.

I had generated the case data form UI project and trying to deploy the project. But the data form in case is not coming up. The case data UI project is not part of the ear/war that is getting generated.

So I had included the case data UI project manually into the ear deployment profile. But while deploying the ear I am getting the below error,

ClassNotFoundError :oracle.bpm.casemgmt.client.forms.servlet.CaseFormServlet

To resolve this issue, I have to manually add the below jars case UI project 

oracle.bpm.casemgmt.implementation.jar
oracle.bpm.casemgmt.interface.jar

You can find these jars under jdevhome\jdeveloper\soa\modules\oracle.bpm.runtime_11.1.1


Deploy the generated ear project and it works.