I am a little bit disappointed here since no one responded. I was hoping that one of the famed authors of the aforementioned book which I bought will be kind enough to shed some light on it, apparently not.
Anyway, I have discovered the solution to this problem researching on my own. I did a google search on "local variables unavailable" and it linked me into the following site:
www.myeclipseide.com I searched their knowledgebase and found very useful information pertaining to the problem discussed above.
The gist of it is that our "Ant" build was not compiling with the debug symbolic information and therefore, the local variables were not being displayed. Eclipse, on the other hand, compiles with debug symbols by default. As soon as I copied over the Eclipse compiled class files on to the
Ant compiled class files and restarted the Websphere server, it started showing the full debug information.
Moral of the story, make sure that you check the Ant build file. In version 1.5.x, Ant will or will not insert debug information in the compiled class file depending on whether you use the debug="true" or debug="on" flag in the "javac" task. In our build, we need to use debug="on" instead of debug="true". When in doubt, copy Eclipse compiled class files over the ant compiled files, things should work.
Bharat