Thank for your reply and sorry for my late one.
I would like to use this context access only for
testing purposes.
I have in web.xml
And if I use your code from main method:
then I get this exceptions:
Do you have any idea why it is not working for me?