Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
4.7.0
-
None
Description
The online documentation for "Local Server" (http://openejb.apache.org/embedding.html) gives the following code sample under the section "A Basic Client":
properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.openejb.client.LocalInitialContextFactory");
The package seems to be incorrect. For me, the example worked with "org.apache...":
properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");