My Oracle Support Banner

EM 12c, 13c: JVMD Agent Deployment fails at Step: Recreate the EAR file (Doc ID 2504230.1)

Last updated on JANUARY 19, 2023

Applies to:

APM - Application Performance Management - Version and later
Information in this document applies to any platform.


JVMD agent deployment to WebLogic Server using Enterprise Manager 12c or 13c fails at the Recreate the EAR file step:


Continued output from above:

Command used for deployment: D:\app\oracle\Middleware\agent12c\core\\jdk\bin\java  -Dsun.lang.ClassLoader.allowArraySyntax=true -cp D:\temp\2\ad4j_1548275607518\6878029267620457175\WEB-INF\classes; oracle/sysman/e2e/model/ad4j/util.RebuildWar dummy D:\temp\2\ad4j_1548275607518\6878029267620457175 D:\temp\2\ad4j_1548275607518\6878029267620457175\jamagent_orig.war D:\temp\2\ad4j_1548275607518\6878029267620457175\jamagent.war dummy dummy dummy true 7702 /Weblogic_AdminServer_Prod_prod_domain/prod_domain weblogic_j2eeserver 0 D:\temp\2\ad4j_1548275607518\6878029267620457175\javadiagnosticagent.ear D:\temp\2\ad4j_1548275607518\6878029267620457175\ad4j\javadiagnosticagent.ear

See the following error:

The application will now be deployed on the targeted server
java.lang.NoClassDefFoundError: oracle/sysman/e2e/model/ad4j/util/RebuildWar

Caused by: java.lang.ClassNotFoundException: oracle.sysman.e2e.model.ad4j.util.RebuildWar
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

Could not find the main class: oracle/sysman/e2e/model/ad4j/util.RebuildWar.  Program will exit.


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.