[jboss-jira] [JBoss JIRA] (AS7-5513) JNDI Lookup is not working in thread run method
sandip jorwekar (JIRA)
jira-events at lists.jboss.org
Sun Sep 9 00:03:33 EDT 2012
[ https://issues.jboss.org/browse/AS7-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sandip jorwekar reopened AS7-5513:
----------------------------------
Reopening this with more description.
> 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 at 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
More information about the jboss-jira
mailing list