Did you modify your jndi.properties to connect to your other server (rather than localhost) ?
I am thinking that it is either a JNDI problem or to do with proxy.
I have not edited jndi.properties as I have been unable to find the required info.
The are only 2 lines in the file:
Try adding a
Adding that one little line and everythings works.