My Oracle Support Banner

Weblogic 12.2.1.2,: NullPointerException Using @Inject EntityManager JPA Access With Squartz Job (Doc ID 2520747.1)

Last updated on SEPTEMBER 08, 2023

Applies to:

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

Symptoms

The following problem arises when trying to use a DB with Quartz Job (CDI JobFactory) with Weblogic 12.2.1.2 .

(It works using Weblogic 12.1.3).

The Java code having the problem is:


A war application shows a problem to access a DB from a EntityManager injected by Quartz Job.


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
Cause
Solution


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