wood burning stoves 2.0*
The moose likes Websphere and the fly likes EntityManager injection fails in websphere 7.0.0.17 but same works in 7.0.0.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "EntityManager injection fails in websphere 7.0.0.17 but same works in 7.0.0.0" Watch "EntityManager injection fails in websphere 7.0.0.17 but same works in 7.0.0.0" New topic
Author

EntityManager injection fails in websphere 7.0.0.17 but same works in 7.0.0.0

kumaran naidu
Greenhorn

Joined: Apr 09, 2007
Posts: 1
I am successfully running an application in websphere 7.0.0.0 but it is failing in websphere 7.0.0.17. I am injecting the entitymanager using @PersistenceContext.


When I try to use entitymanager it is throwing NullPointerException. But the same code runs successfully in Websphere 7.0.0.0.

Please help.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EntityManager injection fails in websphere 7.0.0.17 but same works in 7.0.0.0