Oliver Katzer [
https://community.jboss.org/people/olli24] 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/755388#755388
--------------------------------------------------------------
Hi Wolf-Dieter
During testing I faced something really strange.
If my multithreading remote client runs under JRE 1.6.0_27 everything is fine, as I
confirmed.
But if I let run the same remote client under other JRE versions like 1.6.0_21 or
1.6.0_34, after some remote method invocations I get again the IllegalStateException: No
EJBReceiver available for node name oliver2
This is the StackTrace:
java.lang.IllegalStateException: No EJBReceiver available for node name oliver2
at
org.jboss.ejb.client.EJBClientContext.requireNodeEJBReceiver(EJBClientContext.java:613)
at
org.jboss.ejb.client.EJBClientContext.requireNodeEJBReceiverContext(EJBClientContext.java:648)
at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:71)
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)
That means I still have a problem.
What does it really mean that “No EJBReceiver” is available?
What can I do to make an “EJBReceiver” available?
Can I increase something in the JBoss EBJClient?
And really strange is the different between the JRE versions on client side.
My JBoss runs under JDK 1.6.0_27 or JDK 1.6.0_34, but this make no different.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/755388#755388]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]