Showing posts with label JDeveloper. Show all posts
Showing posts with label JDeveloper. 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"/>

Monday, 20 October 2014

Disabling auto build on save in Jdeveloper 12c

In Jdeveloper 12c (installed through SOA quick start or BPM quick start), whenever you save a file in your project it initiates the auto build and jdev gets a bit slower and shows some erros (obviously, because you any may not actually want to build).

So here is the setting where you can disable auto build on save in jdveloper,

  • Go to Tools --> Preferences

  • Go to Code Editor --> Save Actions, And remove Build Projects After Save and click OK.