Emmanuel Lecharny wrote:
It seems that I have to do something like this:

env.put( DirectoryService.JNDI_KEY, directoryService );

yes, this is it.

as in AbstractServerTest. Is this right? In this case, I have to remember the DirectoryService instance somewhere. Solvable, but the old way was easier ...
The problem is that the DirectoryService is not known by the JNDI layer at this point. I don't exactly remember how it was before, maybe Alex can give you some good reason why it's not any more the case.

I have thought about it -- giving the DirectoryService in the nev makes sens, because there might be more than one of it. Thanks for the feedback. I will ler you you know whether it works for my example.

Greetings, Stefan

Reply via email to