IV20338: WINDOWS SOCKETEXCEPTION THROWN INTERMITTENTLY FROM MULTITHREADED APPLICATION AFTER APPLYING APAR IV19088

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: FFDC Exception:java.net.SocketException
    SourceId:com.ibm.ws.websvcs.transport.http.HTTPConnection.connec
    t ProbeId:229
    Reporter:com.ibm.ws.websvcs.transport.http.HTTPConnection@737773
    77
    .
    Stack Trace: java.net.SocketException: Unrecognized Windows
    Sockets error: 0: connect
     at sun.nio.ch.Net.connect(Native Method)
     at
    sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
     at
    com.ibm.ws.tcp.channel.impl.SocketIOChannel$StartPrivilegedThrea
    d.run(SocketIOChannel.java:123)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:202)
     at
    com.ibm.ws.tcp.channel.impl.SocketIOChannel.connect(SocketIOChan
    nel.java:143)
     at
    com.ibm.ws.tcp.channel.impl.ConnectionManager.getConnection(Conn
    ectionManager.java:148)
     at
    com.ibm.ws.tcp.channel.impl.TCPConnLink.connectCommon(TCPConnLin
    k.java:252)
     at
    com.ibm.ws.tcp.channel.impl.TCPConnLink.connect(TCPConnLink.java
    :201)
     at
    com.ibm.wsspi.channel.base.OutboundProtocolLink.connect(Outbound
    ProtocolLink.java)
     at
    com.ibm.ws.http.channel.outbound.impl.HttpOutboundLink.connect(H
    ttpOutboundLink.java:278)
     at
    com.ibm.ws.channel.framework.impl.OutboundVirtualConnectionImpl.
    connect(OutboundVirtualConnectionImpl.java:79)
     at
    com.ibm.ws.websvcs.transport.http.HTTPConnection.doConnect(HTTPC
    onnection.java:484)
     at
    com.ibm.ws.websvcs.transport.http.HTTPConnection.connect(HTTPCon
    nection.java:199)
     at
    com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.setupHTTPCo
    nnection(SOAPOverHTTPSender.java:2097)
     at
    com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.<init>(SOAP
    OverHTTPSender.java:421)
     at
    com.ibm.ws.websvcs.transport.http.HTTPTransportSender.invoke(HTT
    PTransportSender.java:350)
     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:531)
     at
    org.apache.axis2.description.OutInAxisOperationClient.send(OutIn
    AxisOperation.java:401)
     at
    org.apache.axis2.description.OutInAxisOperationClient.executeImp
    l(OutInAxisOperation.java:228)
     at
    org.apache.axis2.client.OperationClient.execute(OperationClient.
    java:163)
     at
    org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.ru
    n(Axis2BindingInvoker.java:283)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:251)
     at
    org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invo
    keTarget(Axis2BindingInvoker.java:281)
     at
    org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invo
    ke(Axis2BindingInvoker.java:186)
     at
    org.apache.tuscany.sca.core.databinding.wire.DataTransformationI
    nterceptor.invoke(DataTransformationInterceptor.java:67)
     at
    com.ibm.ws.soa.sca.observer.integration.ObserverInterceptor.invo
    ke(ObserverInterceptor.java:190)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.invokeNe
    xtInterceptor(RuntimeExtensionManager.java:237)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.processM
    essage(RuntimeExtensionManager.java:98)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeTuscanyInterceptor.invoke
    (RuntimeTuscanyInterceptor.java:209)
     at
    org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invo
    ke(JDKInvocationHandler.java:344)
     at
    org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invo
    ke(JDKInvocationHandler.java:193)
     at $Proxy75.echo(Unknown Source)
     at
    com.ibm.soabench.soaprim.SOAPrimServiceSCAImpl.runTest(SOAPrimSe
    rviceSCAImpl.java:395)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:48)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:600)
     at
    org.apache.tuscany.sca.implementation.java.invocation.JavaImplem
    entationInvoker.invoke(JavaImplementationInvoker.java:158)
     at
    com.ibm.ws.soa.sca.observer.integration.ObserverInterceptor.invo
    ke(ObserverInterceptor.java:190)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.invokeNe
    xtInterceptor(RuntimeExtensionManager.java:237)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeExtensionManager.processM
    essage(RuntimeExtensionManager.java:98)
     at
    com.ibm.ws.soa.sca.runtime.impl.RuntimeTuscanyInterceptor.invoke
    (RuntimeTuscanyInterceptor.java:209)
     at
    org.apache.tuscany.sca.core.databinding.wire.DataTransformationI
    nterceptor.invoke(DataTransformationInterceptor.java:67)
     at
    org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.inv
    okeTarget(Axis2ServiceProvider.java:1196)
     at
    org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMes
    sageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageRec
    eiver.java:170)
     at
    org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invo
    keBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
     at
    org.apache.axis2.receivers.AbstractMessageReceiver.receive(Abstr
    actMessageReceiver.java:112)
     at
    org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:189)
     at
    org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPo
    stRequest(HTTPTransportUtils.java:275)
     at
    com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis
    2Servlet.java:1380)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1657)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:939)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:502)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:181)
     at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
    3935)
     at
    com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.j
    ava:276)
     at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:931)
     at
    com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai
    ner.java:1592)
     at
    com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin
    k.java:186)
     at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
     at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
     at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
     at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
     at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sen
    dToDiscriminators(NewConnectionInitialReadCallback.java:214)
     at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.com
    plete(NewConnectionInitialReadCallback.java:113)
     at
    com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp
    leted(AioReadCompletionListener.java:165)
     at
    com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn
    cFuture.java:217)
     at
    com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncC
    hannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
     at
    com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
     at
    com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHand
    ler.java:775)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
    .
    Mutithreaded application trying to connect a particular socket
    several times in a parallel manner, java throws
    "SocketException:Unrecognized Windows Sockets error:0:connect"
    intermittently.
    

Local fix

Problem summary

  • Misplaced system call connect() which was trying to access the
    wrong socket descriptor causes the socket connect to fail
    intermittently.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR2 FP1
    .
    JVM is updated to correct the the ambiguous use of socket
    descriptor while connecting the socket.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20338

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-29

  • Closed date

    2012-05-18

  • Last modified date

    2012-09-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV20338

Modified date:

2012-09-07

Translate my page

Machine Translation

Content navigation