My Oracle Support Banner

Running While Calling A writeTemplate Gives ClassNotFoundError (Doc ID 2210907.1)

Last updated on SEPTEMBER 11, 2020

Applies to:

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


On : version:

1) There are two issues with the writeTemplate: ClassNotFoundError

When running writeTemplate(),  it fails with the error:

Nov 08, 2016 4:22:27 PM handleException
SEVERE: Error: writeTemplate() failed. ConfigHelper: Unable to writeTemplate.

<Patch:22541322> resolves this issue. See also <Note:2360005.1> WriteTemplate Failed On Remote Host

2)  After applying Patch 22541322, the writeTemplate is working but is causing the memory in Weblogic to run out. This is then shutting down Weblogic:

2016-11-15 15:32:46,725 WARNING [1] - Exception in writeTemplate:
weblogic.rjvm.PeerGoneException: ; nested exception is:


JVM memory leak found during online writeTemplate.  The issue manifests itself as a JVM native memory leak when running writeTemplate() against a domain whose packed template size would be greater than 10M.

Because JDK8 removed perm gen, classloader/class leak means native memory leak.

This is documented in the Unpublished Bug 23472886 - JVM NATIVE MEMORY LEAK IN ADMIN SERVER ON LOOP RUN TO CREATE AND REMOVE MS.



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.