JBoss Community

EJB bean is notworking in Multi threading of JBoss 7.1.1 Final

created by Bijoys J in JBoss AS 7 Development - View the full discussion

am getting "java.lang.IllegalStateException: No EJB receiver available for handling"  exception in my JBoss 7.1. am using multithreading, in single thread the ejb bean is working. in thread call if am using run() the ejb  is working nad if am using start() means am getting the above exception. The remote object am getting but while calling the methods inside been am getting above exception,

am pasting the exception code

 

java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:JMSRa,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@1f12373

    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 $Proxy15.ReadTxnFromInputQueueString(Unknown Source)

    at queueInterface.TransactionQueueListener.QueueListener(TransactionQueueListener.java:111)

    at queueInterface.TransactionQueueListener.run(TransactionQueueListener.java:353)

    at GUI.TransactionQueueInterface.<init>(TransactionQueueInterface.java:78)

    at FMSMain.callCreateComponents(FMSMain.java:55)

    at FMSMain.main(FMSMain.java:145)

 

The remote object i printed and it is : Proxy for remote EJB StatelessEJBLocator{appName='', moduleName='JMSRa', distinctName='', beanName='JMSRA', view='interface Remote.JMSRARemote'}

 

but remote object.getmethod() is not working

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community