[jboss-dev-forums] [JBoss AS 7 Development] - Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final
Bijoy James
do-not-reply at jboss.com
Thu Aug 23 06:49:38 EDT 2012
Bijoy James [https://community.jboss.org/people/bijoyjp] created the discussion
"Re: EJB bean is not working in Multi threading of JBoss 7.1.1 Final"
To view the discussion, visit: https://community.jboss.org/message/755357#755357
--------------------------------------------------------------
I created a sample class file (LookUp_Bean.java) and having the code for getting the remote object and I run this class files and here it’s working fine am getting the remote object and am able to call the methods inside the ejb bean.
But from my client application if I run means it’s not working. In this case the main class is different class and from the main class am calling the (LookUp_Bean.java) class for getting the remote object. Both times am using same method. Am getting below exception.
I placed the properties file in the class path of the client application
java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:JMSRa,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext at 2b2c81
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 $Proxy14.create(Unknown Source)
at CacheStructures.LookUp_Bean.getJMSRARemote(LookUp_Bean.java:199)
at FMSMain.main(FMSMain.java:103)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/755357#755357]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120823/c81b279c/attachment.html
More information about the jboss-dev-forums
mailing list