Gemini Naming and URL Context Factory [message #1229827] |
Fri, 10 January 2014 10:03 |
Sebastian Lorenz Messages: 42 Registered: November 2010 |
Member |
|
|
I started to try Gemini Naming. My lookup has the following syntax:
ejb:testmodel/test-service/TestModel.UserSession!com.test.UserSession?stateful
The Gemini ContextWrapperImpl class handles this as a URL Request and tries to load the URL Context Factory. Since this is not configured it ends up with "A URL Context Factory was not registered to handle this URL scheme". But shouldn't it fallback to the backing context as described at the end of section 126.2.3 OSGi Enterprise spec?
Btw: In debug mode I can see that a backing context is available but not used.
EDIT: I'm not sure if I'm using it correctly. Is there any example besides the Gemini Naming Wiki (preferably using Gemini Naming to connect to remote EJBs)?
[Updated on: Fri, 10 January 2014 10:28] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02669 seconds