"java.lang.IllegalStateException: EMF Has Not Been Initialized Yet” Exception After Using Split Directory Deployment (Doc ID 1521010.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.5 to 10.3.6
Oracle TopLink - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

An application is deployed into 10.3.6 Weblogic Server.

This application consists of a Web module  (Servlet)  which invokes an EJB, a  Stateless Session Bean.
This  EJB Bean is using JPA  (EclipseLink Provider) to access to Oracle Database  Server  via an  EntityManager object  :


Note that the problem does not occur  when deploying the application via the WLS console.

 

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