My Oracle Support Banner

The Pasteconfig.sh Command Fails with 'java.lang.OutOfMemory' Error (Doc ID 2523091.1)

Last updated on JUNE 24, 2024

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

While running the T2P pasteConfig.sh command against an Oracle SOA 11.1.1.7/Weblogic Server 10.3.6, the command reports an OutOfMemoryError error in the log file

Pasteconfig.sh are invoked using below command line -

example :-   

<ORACLE_HOME>/oracle_common/bin/pasteConfig.sh -javaHome java -archiveLoc /<PATH>/packed_template.jar -targetDomainLoc /<PATH>/domains/ -targetMWHomeLoc /<PATH> -movePlanLoc /moveplan.xml -domainAdminPasswordFile /password.txt -logDirLoc /<PATH>/pasteconfig.log -appDir /<PATH>/applications

The clone log shows below error:

Changes

The issue occurred while moving Oracle Fusion Middleware WebLogic Domain from a source environment to a target environment. 

Below scripts are working fine as expected. The issue occurred only for Pasteconfig scripts

1. copyBinary ,pasteBinary , copyConfig & extractMovePlan are successful
2. Issue only while executing pasteConfig scripts.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.