IBM Support

PK46605: JAVA.IO.EOFEXCEPTION IS LOGGED IN FFDC WHEN MULTIPLE APPLICATION CLIENTS WITH WS-SECURITY ENABLED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception is logged in ffdc data when running
    multiple applications clients with WS-Security and
    SecureConversation QOS enabled:
    
    Stack Dump = java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:204)
    at java.io.DataInputStream.readInt(DataInputStream.java:380)
    at com.ibm.wsspi.security.token.WSOpaqueTokenHelper.readTokens
    (WSOpaqueTokenHelper.java:819)
    at com.ibm.wsspi.security.token.WSOpaqueTokenHelper.createToke
    nHolderListFromOpaqueToken(WSOpaqueTokenHelper.java:750)
    at com.ibm.ws.security.context.ContextImpl.createAndCacheToken
    HolderList(ContextImpl.java:559)
    at com.ibm.ws.security.context.ContextImpl.doLogin(ContextImpl
    .java:508)
    at com.ibm.ws.security.context.ContextImpl.deserializeSubjects
    (ContextImpl.java:745)
    
    at com.ibm.ws.security.context.ContextImpl.readObject(ContextI
    mpl.java:713)
    at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source
    )
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
    ethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClas
    s.java:1001)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.
    java:1828)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStr
    eam.java:1738)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.jav
    a:1324)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java
    :362)
    at com.ibm.ws.websvcs.utils.SecurityContextMigrator$1.run(Secu
    rityContextMigrator.java:179)
    at java.security.AccessController.doPrivileged(AccessControlle
    r.java:242)
    at com.ibm.ws.websvcs.utils.SecurityContextMigrator.migrateThr
    eadToContext(SecurityContextMigrator.java:176)
    at org.apache.axis2.util.ThreadContextMigratorUtil.performMigr
    ationToContext(ThreadContextMigratorUtil.java:133)
    at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(
    JAXWSMessageReceiver.java:132)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:
    184)
    at org.apache.axis2.transport.http.HTTPTransportUtils.processH
    TTPPostRequest(HTTPTransportUtils.java:271)
    at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WA
    SAxis2Servlet.java:898)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763
    )
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856
    )
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Serv
    letWrapper.java:989)
    
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleReques
    t(ServletWrapper.java:501)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequ
    est(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleR
    equest(CacheServletWrapper.java:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebConta
    iner.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebCon
    tainer.java:1439)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChann
    elLink.java:112)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handle
    Discrimination(HttpInboundLink.java:454)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handle
    NewInformation(HttpInboundLink.java:383)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.co
    mplete(HttpICLReadCallback.java:102)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futur
    eCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(Abstrac
    tAsyncFuture.java:217)
    
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(A
    syncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136
    )
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:
    195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(Resul
    tHandler.java:763)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:893
    )
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    
    This exception doesn't fail the clients but user shouldn't see
    this exception.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users running  *
    *                  multiple application clients with           *
    *                  WS-Security and SecureConversation QOS      *
    *                  enabled.                                    *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: EOFException is observed in FFDC when   *
    *                      mutliple application clients are running*
    *                      with WS-Security and SecureConversation *
    *                      QOS enabled Stack trace looks like this:*
    *                                                              *
    *                      Stack Dump = java.io.EOFException       *
    *                     at java.io.DataInputStream.readFully     *
    *                      (DataInputStream.java:204)              *
    *                      at java.io.DataInputStream.readInt      *
    *                      (DataInputStream.java:380)              *
    *                      at com.ibm.wsspi.security.token.WSOpaque*
    *                      TokenHelper.readTokens(WSOpaqueTokenHelp*
    *                      er.java:819)                            *
    *                      at com.ibm.wsspi.security.token.WSOpaque*
    *                      TokenHelper.createTokenHolderListFromOpa*
    *                      queToken(WSOpaqueTokenHelper.java:750)  *
    *                      at com.ibm.ws.security.context.ContextIm*
    *                      pl.createAndCacheTokenHolderList(Context*
    *                      Impl.java:559)                          *
    *                      at com.ibm.ws.security.context.ContextIm*
    *                      pl.doLogin(ContextImpl.java:508)        *
    *                      at com.ibm.ws.security.context.ContextIm*
    *                      pl.deserializeSubjects(ContextImpl.java:*
    *                      745)                                    *
    *                      at com.ibm.ws.security.context.ContextIm*
    *                      pl.readObject(ContextImpl.java:713)     *
    *                      at sun.reflect.GeneratedMethodAccessor78*
    *                      .invoke(Unknown Source)                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The exception is found harmless to the application clients.  The
    exception should be handled in the code and should not be logged
    in FFDC.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK46605

  • Reported component name

    WEBSPH APP SERV

  • Reported component ID

    5724J0800

  • Reported release

    61S

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-06-06

  • Closed date

    2007-09-06

  • Last modified date

    2007-09-06

  • 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

    WEBSPH APP SERV

  • Fixed component ID

    5724J0800

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 December 2021