make shure InitialContext is referenced, as long as your call is not finished :-)
else you will see No EJB receiver available
Radek Rodak wrote:
make shure InitialContext is referenced, as long as your call is not finished :-)
else you will see No EJB receiver available
That shouldn't be the case. Are you seeing that behaviour?
Hi jaikiran
This behaviour is only with remote-naming with AS 7.1.2. Using ejb-client with jboss-ejb-client.properties doesn't have this problem, as Selector is static.
But with remote-naming if InitialContext is not referenced and JVM GC runs cleanup on heap bevor call is finished, you will get this exception.