Service Virtualization

Expand all | Collapse all

PortServer Error

  • 1.  PortServer Error

    Posted 08-07-2018 03:45 PM

    We are often getting PortServer(pasted below) related error in VSE.log file for the ports where virtual services are running. After few minutes the services are back and starts working fine again. Not sure what could be the root cause for this issue. Any suggestion will be appreciated.

     

    ERROR com.itko.lisa.vse.sio.PortServer - An error occurred reading from the client.
    java.io.IOException: An existing connection was forcibly closed by the remote host
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:197)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at com.itko.lisa.vse.sio.NIOSession.readFromSocketChannel(NIOSession.java:189)
    at com.itko.lisa.vse.sio.PlainSession.readApplicationData(PlainSession.java:64)
    at com.itko.lisa.vse.sio.NIOSession.handleRead(NIOSession.java:138)
    at com.itko.lisa.vse.sio.SelectorThread.handleOperations(SelectorThread.java:316)
    at com.itko.lisa.vse.sio.SelectorThread.run(SelectorThread.java:265)
    at java.lang.Thread.run(Thread.java:745)



  • 2.  Re: PortServer Error

    Posted 08-07-2018 03:58 PM

    What version of DevTest are you running?

     

    Does any of your VSM have any Javascript steps?



  • 3.  Re: PortServer Error

    Posted 08-08-2018 08:52 AM

    We are using DevTest v10.2 in Windows server 2012 R2 server.

     

    No, the VSM doesn't have any scripts. The virtual service is data driven using excel sheet.



  • 4.  Re: PortServer Error

    Posted 08-08-2018 08:56 AM

    How large are your Excel spreadsheets?



  • 5.  Re: PortServer Error

    Posted 08-08-2018 12:50 PM

    Its very small.

    File size is 35 KB

    507 Rows - 4 Columns.



  • 6.  Re: PortServer Error

    Posted 08-08-2018 01:54 PM

    If you are seeing this message in the VSE log file, it makes me think that the client side is forcibly closing the connection with the VSE:

    java.io.IOException: An existing connection was forcibly closed by the remote host

     

    Do you see this behavior during a load test?

    Is there something between the client application and the VSE Server? a gateway, load balancer, firewall...

     

    I am wondering if Wireshark would help you in this case. You could start Wireshark in the VSE Server and capture the incoming traffic. Note when you face the issue and take a look at the traffic during that same time.

     

    Hope it helps.

    Heloisa



  • 7.  Re: PortServer Error

    Posted 08-08-2018 02:57 PM

    Yes, we typically only see this during a perf/load test. But it is occasional, not always.

     

     Also our client interface is talking to virtual services through IBM Integration Bus.