After applying 10.3 MP2 , deploying a project gives CannotUpdateEngineExternalVariablesException (Doc ID 1268151.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 10.3.2 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.

Symptoms

After upgrading to BPM 10.3 MP2 from a lower version(e.g. 10.3 MP1) and trying to deploy a project in processamdin, following error is seen on processadmin page. Assuming your project contains a project variable testDate1 of datatype 'Time', error will look like this:


Error(s) found while creating external variables for the following engines: bpmengine: The project variable (testDate1) needs to be created as a column in the Execution Engine Database. The associated variable (testDate1) is already created and exists in the Execution Engine DB with the name (V_testDate1) but with a different type (DATE), required (Time). It looks like the variable type was changed in this latest version of the project. For this reason, the variable cannot be created. You can either drop the column (V_testDate1) in the Execution Engine and run the publish action again or change the variable name in your project.

Corresponding error log captured in webconsole.log:


[ (cont) ] Main: fuego.mami.exception.CannotUpdateEngineExternalVariablesException: Error(s) found while creating external variables for the following engines:
[ (cont) ] Main: bpmengine: The project variable (testDate1) needs to be created as a column in the Execution Engine Database. The associated variable (testDate1) is already created and exists in the Execution Engine DB with the name (V_testDate1) but with a different type (DATE), required (Time). It looks like the variable type was changed in this latest version of the project. For this reason, the variable cannot be created. You can either drop the column (V_testDate1) in the Execution Engine and run the publish action again or change the variable name in your project.
[ (cont) ] Main:
[ (cont) ] Main: at fuego.mami.DeploymentTopology.deploy(DeploymentTopology.java:824)
[ (cont) ] Main: at fuego.webconsole.model.JSFDeploymentTopology.deployAction(JSFDeploymentTopology.java:744)
[ (cont) ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ (cont) ] Main: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Unknown Source)
[ (cont) ] Main: at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
[ (cont) ] Main: at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
[ (cont) ] Main: at javax.faces.component.UICommand.broadcast(UICommand.java:312)
[ (cont) ] Main: at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
[ (cont) ] Main: at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
[ (cont) ] Main: at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
[ (cont) ] Main: at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
[ (cont) ] Main: at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
[ (cont) ] Main: at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
[ (cont) ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
[ (cont) ] Main: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
[ (cont) ] Main: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
[ (cont) ] Main: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
[ (cont) ] Main: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
[ (cont) ] Main: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
[ (cont) ] Main: at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
[ (cont) ] Main: at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
[ (cont) ] Main: at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
[ (cont) ] Main: at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
[ (cont) ] Main: at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
[ (cont) ] Main: at java.lang.Thread.run(Unknown Source)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms