[
https://issues.jboss.org/browse/AS7-5513?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-5513:
-----------------------------------
Sandip, let's please use the forums for discussions like these. Please create a thread
here
https://community.jboss.org/community/jbossas7?view=discussions. If it turns out to
be an issue then we can create or reopen this JIRA. I'm closing this now.
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