[
https://issues.jboss.org/browse/AS7-5513?page=com.atlassian.jira.plugin.s...
]
David Lloyd closed AS7-5513.
----------------------------
Labels: (was: new_and_noteworthy)
Fix Version/s: (was: Open To Community)
Resolution: Rejected
This isn't a bug at all. You get this exception when the EJB you're attempting to
invoke isn't accessible from your client.
Please use the forums to ask questions.
JNDI Lookup is not working in thread run method
-----------------------------------------------
Key: AS7-5513
URL:
https://issues.jboss.org/browse/AS7-5513
Project: Application Server 7
Issue Type: Bug
Components: Application Client
Affects Versions: 7.1.1.Final
Environment: Windows XP and JDK1.6
Reporter: sandip jorwekar
Assignee: Stuart Douglas
Priority: Critical
When i do the JNDI lookup in thread's run method then i am getting below error
java.lang.IllegalStateException: No EJB receiver available for handling
[appName:,modulename:auroraclientcommon,distinctname:] combination for invocation context
org.jboss.ejb.client.EJBClientInvocationContext@64883c
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
at
org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
at
org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
at $Proxy0.create(Unknown Source)
at BookClient1.test(BookClient1.java:117)
at BookClient1.run(BookClient1.java:104)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira