Start of changeIBM FileNet P8, Version 5.2.1            

Disabling asynchronous input/output native transport with the WebContainer property

You can disable asynchronous input/output native transport code in WebSphere® Application Server by setting the commClass WebContainer property.

When you set the commClass WebContainer property, WebSphere Application Server uses the Java™ (JVM) New I/O code instead of the asynchronous input/output library to return response data to users. WebSphere searches for asynchronous input/output libraries and uses the JVM New I/O code if the libraries are not found.

To disable the asynchronous input/output native transport with the WebContainer property:

  1. Set the commClass property by using a wsadmin script.
  2. Change a group of servers by running the following jacl script.
    global AdminConfig
    set srvlist [$AdminConfig list Server]
    foreach srv $srvlist {
        set name [$AdminConfig showAttribute $srv name]
        if {$name == "server1" ||
            $name == "server2"} {
            set svc [$AdminConfig list TransportChannelService $srv]
            set fact [$AdminConfig create TCPFactory $svc {}]
            $AdminConfig create Property $fact {{name commClass} {value com.ibm.ws.tcp.channel.impl.NioTCPChannel}}
            puts [$AdminConfig showAttribute $svc factories]
        }
    }
    $AdminConfig save
  3. Change a stand-alone server by running the following jacl script:
    global AdminConfig
    set svc [$AdminConfig list TransportChannelService]
    set fact [$AdminConfig create TCPFactory $svc {}]
    $AdminConfig create Property $fact {{name commClass} {value com.ibm.ws.tcp.channel.impl.NioTCPChannel}}
    $AdminConfig save
  4. Edit the script for the WebSphere Application Server.
  5. Optional: Reenable the asynchronous input/output library by setting the value of the comClass property:

    From: {{name commClass} {value com.ibm.ws.tcp.channel.impl.NioTCPChannel}}

    To: {{name commClass} {value com.ibm.ws.tcp.channel.impl.AioTCPChannel}}



Last updated: October 2015
p8ppt327.htm

© Copyright IBM Corporation 2015.
End of change