actually I had a problem with missing config file from the servlet.
The problem was resolved when I used getSerlvetContext().getResourceAsStream instead of getClass().getResourceAsStream()
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
actually I had a problem with missing config file from the servlet.
The problem was resolved when I used getSerlvetContext().getResourceAsStream instead of getClass().getResourceAsStream()