A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EntityManager injection fails in websphere 18.104.22.168 but same works in 22.214.171.124
Joined: Apr 09, 2007
Sep 17, 2012 19:24:45
I am successfully running an application in websphere 126.96.36.199 but it is failing in websphere 188.8.131.52. I am injecting the entitymanager using @PersistenceContext.
@PersistenceContext private EntityManager entityManager;
When I try to use entitymanager it is throwing NullPointerException. But the same code runs successfully in Websphere 184.108.40.206.
It is sorta covered in the
JavaRanch Style Guide
subject: EntityManager injection fails in websphere 220.127.116.11 but same works in 18.104.22.168
Problem setting up JAX-WS & SSL
context root problem for ear
Got NullPointer exception when injecting EntityManger
JPA Newbie Question
Installing Fixpack 17 for WAS 7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014