Looks like I need to be using hivemind.lib.NameLookup with a custom
service instead. I'll do that, if someone knows a better way then let me
know. thanks.
Stanczak Group wrote:
> How do I access JNDI from Hivemind? I've looked and tried what the
> docs say, but no luck. I'm accessing a Jackrabbit repository using
> this for normal code outside Hivemind.
>
> InitialContext context = new InitialContext();
> Context environment = (Context) context.lookup("java:comp/env");
> Repository jrRepository = (Repository)
> environment.lookup("jcr/repository");
>
> I've tried several thinks with no luck, anyone know or have example to
> do this?
>
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
|