WebLogic EJBContainer Not Starting Up Correctly When Running In Maven - java.lang.AssertionError: The ManagementService has not been initialized & runtimeAccess is null (Doc ID 1600361.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

On WLS 12.1.2 when running a Junit test in Maven which uses the Weblogic EJBContainer, the weblogic EJBContainer will fail to initialize. The same Junit to test execute fine if run individually,following is the stack trace when the weblogic EJBContainer fail

 

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms