SOAP OVER TCP using Metro+Glashfish server

  • From: "Behura, Kumar" <Kumar.Behura@...>
  • To: "users@..." <users@...>, "dev@..." <dev@...>
  • Subject: SOAP OVER TCP using Metro+Glashfish server
  • Date: Mon, 14 Jul 2014 21:40:14 +0000
  • Accept-language: en-US

Hi,
I am trying to execute CalculatorApp present as an example in Netbeans ide. 
As per metro SOAP over TCP documentation I have modified both these app to 
use SOAP over  TCP instead of normal jax-ws based Soap over HTTP.


While trying to execute this test I am getting below error. Please let me 
know if this required any special configuration or not and why I am getting 
this error. I am testing this on my local box .




Severe:   WSTCP0001:Processing message failed!
com.sun.xml.ws.client.ClientTransportException: WSTCP0015:Error when 
exchanging protocol version
            at 
com.sun.xml.ws.transport.tcp.client.WSConnectionManager.createConnectionSession(WSConnectionManager.java:217)
            at 
com.sun.xml.ws.transport.tcp.util.WSTCPURI.createConnection(WSTCPURI.java:169)
            at 
com.sun.xml.ws.transport.tcp.util.WSTCPURI.createConnection(WSTCPURI.java:56)
            at 
com.sun.xml.ws.transport.tcp.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.tryNewConnection(OutboundConnectionCacheBlockingImpl.java:239)
            at 
com.sun.xml.ws.transport.tcp.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.get(OutboundConnectionCacheBlockingImpl.java:462)
            at 
com.sun.xml.ws.transport.tcp.client.WSConnectionManager.openChannel(WSConnectionManager.java:128)
            at 
com.sun.xml.ws.transport.tcp.client.TCPTransportPipe.setupClientTransport(TCPTransportPipe.java:248)
            at 
com.sun.xml.ws.transport.tcp.client.TCPTransportPipe.process(TCPTransportPipe.java:140)
            at 
com.sun.enterprise.security.webservices.ClientSecurityPipe.processSecureRequest(ClientSecurityPipe.java:199)
            at 
com.sun.enterprise.security.webservices.ClientSecurityPipe.process(ClientSecurityPipe.java:187)
            at 
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
            at com.sun.xml.ws.client.Stub.process(Stub.java:464)
            at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
            at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
            at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91)
            at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
            at com.sun.proxy.$Proxy379.add(Unknown Source)
            at 
org.me.calculator.client.ClientServlet.processRequest(ClientServlet.java:71)
            at 
org.me.calculator.client.ClientServlet.doGet(ClientServlet.java:92)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
            at 
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
            at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
            at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
            at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
            at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
            at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
            at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
            at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
            at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
            at 
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
            at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
            at 
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
            at 
org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
            at 
org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
            at 
org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
            at 
org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
            at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
            at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
            at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
            at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
            at 
org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
            at 
org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
            at 
org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
            at 
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
            at 
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
            at 
org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
            at 
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
            at 
org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
            at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException
            at 
com.sun.xml.ws.transport.tcp.io.DataInOutUtils.readInts4(DataInOutUtils.java:96)
            at 
com.sun.xml.ws.transport.tcp.io.DataInOutUtils.readInts4(DataInOutUtils.java:75)
            at 
com.sun.xml.ws.transport.tcp.client.WSConnectionManager.doSendMagicAndCheckVersions(WSConnectionManager.java:329)
            at 
com.sun.xml.ws.transport.tcp.client.WSConnectionManager.createConnectionSession(WSConnectionManager.java:197)
            ... 56 more


Any help on this issue is highly appreciated.

Thanks and Regards,

Kumar

Kumar Behura
Contractor|Enterprise Services and Infrastructure
T  01 303 397 5287 (ext - 185287)
M 01 720 280 0102

kumar.behura@...
http://travelport.com

[redefining_email_signature]<http://www.travelport.com/vision>




This message has been scanned for malware by Websense. www.websense.com

GIF image



SOAP OVER TCP using Metro+Glashfish server

Behura, Kumar 07/14/2014
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20151030.c1dd42a)
 
 
Close
loading
Please Confirm
Close