It works when you start the server in "debug mode" (RAD or WSAD) and same version of the code does not work without any recompile when I start the server in "run mode". It gives "null". The
servlet does not even go there. During the debug mode I do not stop in any methods. The difference is only in the way how the server started. I cannot debug it, because it works in debug, so going thru debugger does not help.