My Oracle Support Banner

On WebLogic 12.2.1 .Appmergegen Tmp Directories Remain Every Time After Deploying EAR (Doc ID 2272987.1)

Last updated on DECEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

On WebLogic Server 12.2.1.0-12.2.1.3, every time you deploy a EAR , the ".appmergegen_$DIGIT" directories remain the server tmp location causing the disk space to be occupied. 

$ cd ${DOMAIN_HOME}/servers/<SERVER NAME>/tmp
$ ls -al
total 48
drwxr-x--- 11 <USER> <GROUP> 4096 May 16 13:08 .
drwxr-x--- 7 <USER> <GROUP> 4096 May 15 13:13 ..
drwxr-x--- 3 <USER> <GROUP> 4096 May 15 13:16 .appmergegen_1494825374519
drwxr-x--- 3 <USER> <GROUP> 4096 May 15 13:16 .appmergegen_1494825374519_<APPLICATION NAME>.ear
drwxr-x--- 3 <USER> <GROUP> 4096 May 15 13:16 .appmergegen_1494825413822
drwxr-x--- 3 <USER> <GROUP> 4096 May 15 13:16 .appmergegen_1494825413822_<APPLICATION NAME>.ear

And when you execute weblogic.PlanGenerator ,etc (for example : java weblogic.PlanGenerator /home/app/<APPLICATION NAME>.ear) , except ${DOMAIN_HOME}/servers/<SERVER NAME>/tmp , also create files in temp folder of OS.

$ cd /tmp
$ ls -al
drwxrwxr-x 3 <USER> <GROUP> 4096 Sep 19 15:35 .appmergegen_1505806551739
drwxrwxr-x 3 <USER> <GROUP> 4096 Sep 19 15:35 .appmergegen_1505806551739_<APPLICATION NAME>.ear

These directories occupy many disk spaces.

Changes

 

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
References


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