Ant Task to Export / Import Instances Executes very Slowly (Doc ID 1357798.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version 6.0.0 to 10.3
Information in this document applies to any platform.
***Checked for relevance on 21-Feb-2013***

Symptoms


Using ANT tasks to export or import instances from one BPM environment to another e.g. BPM 6.0.5 to 10.3.2, takes hours to complete a few hundred instances. None of the engine tables has a large number of records.

Example ANT task environment files.

Build.xml:

<project name="BuildProcessAdminSample" default="createProcessAdmin" basedir="." xmlns:fuego="antlib:fuego.tools.ant.enterprise" xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee">
<property name="fuego.basedir" value="C:\OraBPMwlHome1032"/>

<!-- Define an Oracle BPM Directory passport -->
<fuego:passport id="fuego.passport"
directoryid="migration605_1032"
preset="engine" />

<target name="import" description="Import">
<!-- Open a session to the BPM Directory -->
<fuego:session passportref="fuego.passport">
<fuego:instancesmanager directoryPath=".\import_data6"
action="import"
serverid="bpmengine"/>
</fuego:session>
</target>
</project>


Import.bat

set JAVA_HOME=C:\bea\jdk160_05
set ANT_HOME=C:\apache-ant-1.7.1
ant -lib C:\OraBPMwlHome1032\ext -lib C:\OraBPMwlHome1032\lib -lib C:\apache-ant-1.7.1\lib -verbose -d import > output_ant1.7.1.txt



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