I'm working on an application that has the following code.
The initialContext.lookup is working fine.
It does return the content it is supposed to.
Now I need to add a new Entity class to the application model.
When I do that, for some reason that I cant't understand, the above code (which is in another class) is affected and the initialContext.lookup line starts to return null to lup.
Any idea on why that could be happening?
Plus, where is "abc/xyz/loc" content located?
I searched everywhere and couldn't find it.