directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Zoerner <ste...@labeo.de>
Subject Re: Connecting the embedded way via JNDI: Cannot find directory service in environment
Date Sat, 04 Oct 2008 22:31:54 GMT
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


Mime
View raw message