Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cu-dev] JNDI search in ContextServiceDefinitionBean

Hello,

I would like to ask you for help -- ContextServiceDefinitionBean class defines ContextB with this name:

@ContextServiceDefinition(name = "java:module/concurrent/ContextB",...

But it looks up in this way:

InitialContext.doLookup("java:comp/concurrent/ContextB");

Shouldn't the names match? Or is the module/comp mismatch intentional?


We tried to fix it (using java:module for both) and this tests works:

https://github.com/aubi/concurrency-api/pull/1/commits/fd0c15a35c29d14683e1d6369f27a6b470cc193f

Thank you

Petr


Back to the top