0 Replies Latest reply on May 7, 2014 3:04 AM by bibhunayak

    i am testing remote ejb invocation from one AS7 to another AS7 instance running on different machine.we are getting below exception even after successful handshake between both servers

    bibhunayak

      [Server:server-two] 10:45:17,602 INFO  [org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver] (MSC service thread 1-4) Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@8b8bda4, receiver=Remoting connection EJB receiver [connection=Remoting connection <cf9b31d>,channel=jboss.ejb,nodename=master:server-one]} on channel Channel ID cf387f2b (outbound) of Remoting connection 4577357d to A2ML10533/172.23.28.14

      [Server:server-two] 10:45:17,604 WARN  [org.jboss.ejb.client.remoting.ChannelAssociation] (Remoting "master:server-two" task-2) Unsupported message received with header 0xffffffff

      [Server:server-two] 10:45:17,685 INFO  [org.jboss.web] (MSC service thread 1-8) JBAS018210: Registering web context: /EjbTestWebClientNew

      [Server:server-one] 10:45:17,941 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5445 for CORE protocol

      [Server:server-one] 10:45:17,954 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5455 for CORE protocol

      [Server:server-one] 10:45:17,955 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Server is now live

      [Server:server-one] 10:45:17,956 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [da24b027-cc64-11e3-b57d-c89cdc2bd8b8]) started

      [Server:server-one] 10:45:17,958 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) trying to deploy queue jms.queue.testQueue

      [Server:server-one] 10:45:17,965 INFO  [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound messaging object to jndi name java:/queue/test

      [Server:server-one] 10:45:17,966 INFO  [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      [Server:server-one] 10:45:17,976 INFO  [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      [Server:server-one] 10:45:17,978 INFO  [org.jboss.as.messaging] (MSC service thread 1-5) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      [Server:server-one] 10:45:17,979 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      [Server:server-one] 10:45:17,979 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-6) trying to deploy queue jms.topic.testTopic

      [Server:server-one] 10:45:17,997 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010406: Registered connection factory java:/JmsXA

      [Server:server-one] 10:45:18,004 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-2) HornetQ resource adaptor started

      [Server:server-one] 10:45:18,005 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-2) IJ020002: Deployed: file://RaActivatorhornetq-ra

      [Server:server-one] 10:45:18,007 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-7) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      [Server:server-one] 10:45:18,363 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/topic/test

      [Server:server-one] 10:45:18,364 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      [Server:server-one] 10:45:18,376 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "DemoEJB.jar"

      [Server:server-one] 10:45:18,376 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "EjbTestWebClientNew.war"

      [Server:server-one] 10:45:18,379 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4288ms - Started 258 of 341 services (82 services are passive or on-demand)

      [Server:server-two] 10:45:18,617 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-5) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5595 for CORE protocol

      [Server:server-two] 10:45:18,618 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-5) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5605 for CORE protocol

      [Server:server-two] 10:45:18,620 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) Server is now live

      [Server:server-two] 10:45:18,621 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [da57a640-cc64-11e3-97f6-c89cdc2bd8b8]) started

      [Server:server-two] 10:45:18,623 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.topic.testTopic

      [Server:server-two] 10:45:18,665 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010406: Registered connection factory java:/JmsXA

      [Server:server-two] 10:45:18,673 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-1) HornetQ resource adaptor started

      [Server:server-two] 10:45:18,674 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-1) IJ020002: Deployed: file://RaActivatorhornetq-ra

      [Server:server-two] 10:45:18,676 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-8) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      [Server:server-two] 10:45:18,958 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/topic/test

      [Server:server-two] 10:45:18,959 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      [Server:server-two] 10:45:18,962 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      [Server:server-two] 10:45:18,963 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      [Server:server-two] 10:45:18,964 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      [Server:server-two] 10:45:18,966 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.queue.testQueue

      [Server:server-two] 10:45:18,971 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/queue/test

      [Server:server-two] 10:45:18,972 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      [Server:server-two] 10:45:18,983 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "DemoEJB.jar"

      [Server:server-two] 10:45:18,983 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "EjbTestWebClientNew.war"

      [Server:server-two] 10:45:18,986 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 4454ms - Started 258 of 341 services (82 services are passive or on-demand)

      [Server:server-one] 10:45:30,662 INFO  [org.jboss.ejb.client] (http--127.0.0.1-8080-1) JBoss EJB Client version 1.0.5.Final

      [Server:server-one] 10:45:30,665 INFO  [stdout] (http--127.0.0.1-8080-1) beannnnnn  Proxy for remote EJB StatelessEJBLocator{appName='', moduleName='EjbTestProjectNew', distinctName='', beanName='AdditionServiceBean', view='interface com.test.iface.AdditionService'}

      [Server:server-one]

      [Server:server-one] 10:45:30,669 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EjbTestWebClientNew].[com.test.ejbservlet.EjbAcceseServlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet com.test.ejbservlet.EjbAcceseServlet threw exception: java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:EjbTestProjectNew,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@6810a098

      [Server:server-one]     at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at $Proxy15.add(Unknown Source) at com.test.ejbservlet.EjbAcceseServlet.doGet(EjbAcceseServlet.java:59) [classes:]

      [Server:server-one]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

      [Server:server-one]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

      [Server:server-one]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

      [Server:server-one]

      [Server:server-one] 10:48:20,286 INFO  [stdout] (http--127.0.0.1-8080-1) beannnnnn   Proxy for remote EJB StatelessEJBLocator{appName='', moduleName='EjbTestProjectNew', distinctName='', beanName='AdditionServiceBean', view='interface com.test.iface.AdditionService'}

      [Server:server-one]

      [Server:server-one] 10:48:20,289 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/EjbTestWebClientNew].[com.test.ejbservlet.EjbAcceseServlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet com.test.ejbservlet.EjbAcceseServlet threw exception: java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:EjbTestProjectNew,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@77026e40

      [Server:server-one]     at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) [jboss-ejb-client-1.0.5.Final.jar:1.0.5.Final]

      [Server:server-one]     at $Proxy15.add(Unknown Source) at com.test.ejbservlet.EjbAcceseServlet.doGet(EjbAcceseServlet.java:59) [classes:]

      [Server:server-one]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

      [Server:server-one]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

      [Server:server-one]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

      [Server:server-one]     at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

      [Server:server-one]

       

       

      Please help to resolve the issue.