My Oracle Support Banner

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

Last updated on JUNE 22, 2023

Applies to:

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


While running the T2P command against an Oracle SOA Server 10.3.6, the command reports an OutOfMemoryError error in the log file are invoked using below command line -

example :-   

<ORACLE_HOME>/oracle_common/bin/ -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:


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.


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

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