Hi,
When I tried to acquire the EJB Home interface through the SBB’s component environment
I got the NameNotFoundException: ejb not bound.
How does Mobicents/over JBoss search for EJB Home interface?
I have my EJB home deployed:
15:03:49,359 INFO [JBossASKernel] with dependencies:
15:03:49,375 INFO [JBossASKernel] and demands:
15:03:49,390 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
15:03:49,406 INFO [JBossASKernel] and supplies:
15:03:49,406 INFO [JBossASKernel] jndi:test-ear-1.0.0/Bean/home
15:03:49,421 INFO [JBossASKernel] jndi:test-ear-1.0.0/Bean/remote
15:03:49,437 INFO [JBossASKernel] Class:com.ictbackyard.bean.JSLEEHome
Do I have to make some additional EJB reference with jboss.xml?
javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: ejb not bound]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1352)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:817)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at com.ictbackyard.sbb.TestSbb.invokeEJB(TestSbb.java:140)
at com.ictbackyard.sbb.TestSbb.onServiceStartedEvent(TestSbb.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:645)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:353)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:103)
at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.naming.NameNotFoundException: ejb not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1346)
... 15 more
Kind regards,
- Tomasz Zieleniewski
------------------------------
ICT Backyard -
http://ictbackyard.com