I am trying the following:
A scheduled job is supposed to call a Stateless Session Bean. Sounds easy ! And in fact I had no problem getting it to work.
But now strange things happen: I haven't change the code of the schedulable class. Now, when I call
InitialContext initialContext = new InitialContext( jndiSettings );
I was able to solve the problem by rebooting the machine....
Still don't get it though.