Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-415

Improve logging when client trying to connect with wrong protocol

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.44.Final
    • None
    • None

      It would be good if we could add to the error (perhaps catching and re-throwing adding to the message to say the client is trying to connect with ... protocol, check and make sure you are connecting to server/port running the same protocol)

      client remote -> server remote+http
      This one looks like it times out after some time and then logs this error where it suggests the connection was closed.

           [java] INFO  [org.jboss.remoting] JBoss Remoting version 5.0.20.Final-redhat-00001
           [java] INFO  [org.jboss.ejb.client] JBoss EJB Client version 4.0.37.Final-redhat-00001
           [java] org.jboss.ejb.client.RequestSendFailedException: EJBCLIENT000409: No more destinations are available
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:622)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:57)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:148)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:139)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:87)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:212)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:995)
           [java] 	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:191)
           [java] 	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
           [java] 	at com.sun.proxy.$Proxy2.sayHello(Unknown Source)
           [java] 	at com.jboss.examples.ejb.HelloClient.main(HelloClient.java:39)
           [java] 	Suppressed: org.jboss.ejb.client.RequestSendFailedException: Destination @ remote://localhost:8080
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:114)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:80)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.EndpointImpl$3.handleFailed(EndpointImpl.java:512)
           [java] 		at org.jboss.remoting3.EndpointImpl$3.handleFailed(EndpointImpl.java:506)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.ConnectionInfo$1.handleFailed(ConnectionInfo.java:322)
           [java] 		at org.jboss.remoting3.ConnectionInfo$1.handleFailed(ConnectionInfo.java:316)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:254)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.EndpointImpl$4.setException(EndpointImpl.java:620)
           [java] 		at org.xnio.IoUtils$ResultNotifier.handleFailed(IoUtils.java:721)
           [java] 		at org.xnio.IoUtils$ResultNotifier.handleFailed(IoUtils.java:714)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:254)
           [java] 		at org.xnio.AbstractIoFuture$CancellableState.notifyFailed(AbstractIoFuture.java:330)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.remote.RemoteConnection.handleException(RemoteConnection.java:121)
           [java] 		at org.jboss.remoting3.remote.RemoteConnection.handleException(RemoteConnection.java:104)
           [java] 		at org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting.handleEvent(ClientConnectionOpenListener.java:176)
           [java] 		at org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting.handleEvent(ClientConnectionOpenListener.java:165)
           [java] 		at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
           [java] 		at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
           [java] 		at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
           [java] 		at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
           [java] 	Caused by: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 2bd74af6 to localhost/127.0.0.1:8080 of endpoint (anonymous) <510f3d34>
           [java] 		at org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting.handleEvent(ClientConnectionOpenListener.java:176)
           [java] 		at org.jboss.remoting3.remote.ClientConnectionOpenListener$Greeting.handleEvent(ClientConnectionOpenListener.java:165)
           [java] 		at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
           [java] 		at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
           [java] 		at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
           [java] 		at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
           [java] 		at ...asynchronous invocation...(Unknown Source)
           [java] 		at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:599)
           [java] 		at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:565)
           [java] 		at org.jboss.remoting3.ConnectionInfo$None.getConnection(ConnectionInfo.java:82)
           [java] 		at org.jboss.remoting3.ConnectionInfo.getConnection(ConnectionInfo.java:55)
           [java] 		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:499)
           [java] 		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:445)
           [java] 		at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:52)
           [java] 		at org.jboss.remoting3.Endpoint.getConnectedIdentity(Endpoint.java:123)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:204)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:142)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:501)
           [java] 		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:52)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocation(TransactionPostDiscoveryInterceptor.java:82)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:113)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocation(NamingEJBClientInterceptor.java:75)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:205)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:343)
           [java] 		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:187)
           [java] 		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
           [java] 		at com.sun.proxy.$Proxy2.sayHello(Unknown Source)
           [java] 		at com.jboss.examples.ejb.HelloClient.main(HelloClient.java:39)
      

      client remote+http trying to connect to port 4447 which is remote protocol:
      This one fails quicker, it basically fails with http upgrade

           [java] INFO  [org.jboss.ejb.client] JBoss EJB Client version 4.0.37.Final-redhat-00001
           [java] org.jboss.ejb.client.RequestSendFailedException: EJBCLIENT000409: No more destinations are available
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:622)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:57)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:148)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:139)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:87)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:212)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
           [java] 	at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:995)
           [java] 	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:191)
           [java] 	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
           [java] 	at com.sun.proxy.$Proxy2.sayHello(Unknown Source)
           [java] 	at com.jboss.examples.ejb.HelloClient.main(HelloClient.java:39)
           [java] 	Suppressed: org.jboss.ejb.client.RequestSendFailedException: Destination @ remote+http://localhost:4447
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:114)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:80)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.EndpointImpl$3.handleFailed(EndpointImpl.java:512)
           [java] 		at org.jboss.remoting3.EndpointImpl$3.handleFailed(EndpointImpl.java:506)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.ConnectionInfo$1.handleFailed(ConnectionInfo.java:322)
           [java] 		at org.jboss.remoting3.ConnectionInfo$1.handleFailed(ConnectionInfo.java:316)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:254)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.EndpointImpl$4.setException(EndpointImpl.java:620)
           [java] 		at org.xnio.IoUtils$ResultNotifier.handleFailed(IoUtils.java:721)
           [java] 		at org.xnio.IoUtils$ResultNotifier.handleFailed(IoUtils.java:714)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:254)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.remote.RemoteConnectionProvider$4.handleFailed(RemoteConnectionProvider.java:214)
           [java] 		at org.jboss.remoting3.remote.RemoteConnectionProvider$4.handleFailed(RemoteConnectionProvider.java:212)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture$CancellableState.notifyFailed(AbstractIoFuture.java:330)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.jboss.remoting3.remote.HttpUpgradeConnectionProvider$UpgradeListener$2.handleFailed(HttpUpgradeConnectionProvider.java:197)
           [java] 		at org.jboss.remoting3.remote.HttpUpgradeConnectionProvider$UpgradeListener$2.handleFailed(HttpUpgradeConnectionProvider.java:188)
           [java] 		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
           [java] 		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
           [java] 		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
           [java] 		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.doNotify(AbstractIoFuture.java:267)
           [java] 		at org.xnio.AbstractIoFuture$NotifierState.notifyFailed(AbstractIoFuture.java:253)
           [java] 		at org.xnio.AbstractIoFuture.setException(AbstractIoFuture.java:595)
           [java] 		at org.xnio.FutureResult.setException(FutureResult.java:85)
           [java] 		at org.xnio.http.HttpUpgrade$HttpUpgradeState$UpgradeResultListener.handleEvent(HttpUpgrade.java:425)
           [java] 		at org.xnio.http.HttpUpgrade$HttpUpgradeState$UpgradeResultListener.handleEvent(HttpUpgrade.java:400)
           [java] 		at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
           [java] 		at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
           [java] 		at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
           [java] 		at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
           [java] 	Caused by: java.io.IOException: Invalid response
           [java] 		at org.xnio.http.HttpUpgradeParser.parseVersion(HttpUpgradeParser.java:164)
           [java] 		at org.xnio.http.HttpUpgradeParser.parse(HttpUpgradeParser.java:55)
           [java] 		at org.xnio.http.HttpUpgrade$HttpUpgradeState$UpgradeResultListener.handleEvent(HttpUpgrade.java:419)
           [java] 		at org.xnio.http.HttpUpgrade$HttpUpgradeState$UpgradeResultListener.handleEvent(HttpUpgrade.java:400)
           [java] 		at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
           [java] 		at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
           [java] 		at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
           [java] 		at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
           [java] 		at ...asynchronous invocation...(Unknown Source)
           [java] 		at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:599)
           [java] 		at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:565)
           [java] 		at org.jboss.remoting3.ConnectionInfo$None.getConnection(ConnectionInfo.java:82)
           [java] 		at org.jboss.remoting3.ConnectionInfo.getConnection(ConnectionInfo.java:55)
           [java] 		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:499)
           [java] 		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:445)
           [java] 		at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:52)
           [java] 		at org.jboss.remoting3.Endpoint.getConnectedIdentity(Endpoint.java:123)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:204)
           [java] 		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:142)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:501)
           [java] 		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:52)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocation(TransactionPostDiscoveryInterceptor.java:82)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:113)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocation(NamingEJBClientInterceptor.java:75)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:205)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:516)
           [java] 		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
           [java] 		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:343)
           [java] 		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:187)
           [java] 		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
           [java] 		at com.sun.proxy.$Proxy2.sayHello(Unknown Source)
           [java] 		at com.jboss.examples.ejb.HelloClient.main(HelloClient.java:39)
      

              rchakrab Ranabir Chakraborty
              rchakrab Ranabir Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: