I also had a similar problem, but got a little further. I can get my initial context, however I fail on the lookup:
In my test case, I must set the context factory in order to get the initial context
The problem I run into now is I get the exception:
[junit] javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
Anyone have any thoughts on this?