IBM Support

IT33886: RMI ERROR WHEN TRYING TO GET LIST OF PERIMETER SERVERS USING "APPSERVEROPS.LISTPERIMETERCLIENTS()"

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • [2020-02-10 22:29:42.688] ERROR
    AppServerOps.listPerimeterClients():
    [2020-02-10 22:29:42.689]
    ERROR [1581370182688] null
    [2020-02-10 22:29:42.689] ERRORDTL
    [1581370182688]javax.naming.ServiceUnavailableException [Root
    exception is java.rmi.ConnectException: Connection refused to
    host: <hostname>; nested exception is:
    
    java.net.ConnectException: Connection refused (Connection
    refused)]
     at com.sun.jndi.rmi.registry.RegistryContext.lookup(R
    egistryContext.java:148)
     at com.sun.jndi.rmi.registry.RegistryC
    ontext.lookup(RegistryContext.java:154)
     at
    javax.naming.InitialContext.lookup(InitialContext.java:428)
     at
    com.sterlingcommerce.woodstock.util.frame.jndi.JNDIService.looku
    pRetry(JNDIService.java:671)
     at com.sterlingcommerce.woodstock.
    util.frame.jndi.JNDIService.lookupRMI(JNDIService.java:895)
     at
    com.sterlingcommerce.woodstock.ops.AppServerOps.listPerimeterCli
    ents(AppServerOps.java:653)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
     at sun.reflect.DelegatingMethodAccessorImpl.invok
    e(DelegatingMethodAccessorImpl.java:55)
     at
    java.lang.reflect.Method.invoke(Method.java:508)
     at com.sterlin
    gcommerce.woodstock.ops.server.CommandThread.run(CommandThread.j
    ava:58)
    Caused by: java.rmi.ConnectException: Connection
    refused to host: <hostname>; nested
    exception is:
     java.net.ConnectException: Connection refused (Connection
    refused)
     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndp
    oint.java:631)
     at sun.rmi.transport.tcp.TCPChannel.createConnec
    tion(TCPChannel.java:228)
     at sun.rmi.transport.tcp.TCPChannel.n
    ewConnection(TCPChannel.java:214)
     at
    sun.rmi.server.UnicastRef.newCall(UnicastRef.java:351)
     at sun.r
    mi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112)
    
     at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryCo
    ntext.java:144)
     ... 10 more
    Caused by:
    java.net.ConnectException: Connection refused (Connection
    refused)
     at java.net.AbstractPlainSocketImpl.doConnect(Abstract
    PlainSocketImpl.java:380)
     at java.net.AbstractPlainSocketImpl.c
    onnectToAddress(AbstractPlainSocketImpl.java:236)
     at java.net.A
    bstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:218)
    
     at
    java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
     at
    java.net.Socket.connect(Socket.java:666)
    

Local fix

  • STRRTC - L3REQ-712
    JN / JN
    Circumvention: None / workaround
    

Problem summary

  • Users Affected:
    
    All
    
    
     Problem Description:
    
    RMI error when trying to get list of perimeter servers using
    "AppServerOps.listPerimeterClients()".
    
    
    
    Platforms affected
    
    All
    

Problem conclusion

  •  Resolution Summary:
    
    A code fix is provided.
    Fix has been made to fix the ServiceUnavailableException or
    NullPointerException whenever Liberty is up and running. With
    the fix, we should not see ServiceUnavailableException or
    NullPointerException exceptions as part of ops.logs even when
    liberty/B2BAPIs are running.
    
    
    
    Delivered in:
    
    6000303
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT33886

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    603

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-13

  • Closed date

    2020-11-11

  • Last modified date

    2020-11-27

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Line of Business":{"code":"LOB02","label":"AI Applications"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"603"}]

Document Information

Modified date:
28 November 2020