DISQUS

Valentin Podlovchenko <vpodlovchenko@gmail.com> wrote:

Hello! I have a problem connecting to EJB from remote client and tried this quickstart to check if I do something wrong... But I got the same error with this quickstart too, see exec output:

11.03.2013 23:52:27 org.jboss.ejb.client.EJBClient

INFO: JBoss EJB Client version 1.0.5.Final

Obtained a remote stateless calculator for invocation

Adding 204 and 340 via the remote stateless calculator deployed on the server

11.03.2013 23:52:27 org.xnio.Xnio

INFO: XNIO Version 3.0.3.GA

11.03.2013 23:52:27 org.xnio.nio.NioXnio

INFO: XNIO NIO Implementation Version 3.0.3.GA

11.03.2013 23:52:27 org.jboss.remoting3.EndpointImpl

INFO: JBoss Remoting version 3.2.3.GA

11.03.2013 23:52:27 org.jboss.ejb.client.remoting.VersionReceiver handleMessage

INFO: Received server version 1 and marshalling strategies [river]

11.03.2013 23:52:27 org.jboss. ejb.clie nt.remoting.RemotingConnectionEJBReceiver associate

INFO: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@31b446d1, receiver=Remoting connection EJB receiver [connection=Remoting connection ,channel=jboss.ejb,nodename=macbook-pro-valentin]} on channel Channel ID ab3f4ac8 (outbound) of Remoting connection 7c5b0668 to localhost/127.0.0.1:4447

11.03.2013 23:52:27 org.jboss.ejb.client.remoting.ChannelAssociation$ResponseReceiver handleMessage

WARN: Unsupported message received with header 0xffffffff

Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:jboss-as-ejb-remote-server-side,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@12b754b2

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 com.sun.proxy.$Proxy0.add(Unknown Source)

at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:56)

at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:37)



I have JBoss AS 7.1.1.Final.


How can I fix it?


Thank You in advance)))

Link to comment

IP address: 188.32.99.125

-----
Options: You can moderate through email. Respond in the body with "Delete", "Approve", or "Spam". Reply with "Like" to like this comment, or respond in the body to post a reply comment. Or use the moderate panel: http://jdf.disqus.com/admin/moderate/#/pending

Stop receiving notifications