IBM Support

PI28404: UNABLE TO GENERATE A PLUGIN-CFG.XML FILE WHEN THERE IS NO HTTP PORT DECLARED IN SERVER.XML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the server.xml does not contain an httpPort declaration,
    plugin-cfg.xml generation can not be completed and a
    java.lang.NullPointerException is seen.
    .
    On the same system, this stanza works:
       <httpEndpoint id="defaultHttpEndpoint" host="*"
    httpPort="${gs.http.port}" httpsPort="${gs.https.port}">
           <tcpOptions soReuseAddr="true" />
        </httpEndpoint>
    .
    This stanza does not work:
    <httpEndpoint id="defaultHttpEndpoint"
    httpsPort="${gs.https.port}">
           <tcpOptions soReuseAddr="true" />
    </httpEndpoint>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile Version 8.5.5        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unable to generate a plugin-cfg.xml     *
    *                      file when there is no http port         *
    *                      declared in server.xml                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the server.xml does not contain an httpPort declaration,
    plugin-cfg.xml generation can not be completed and a
    java.lang.NullPointerException is seen.
    
    On the same system,
    this stanza works:
       <httpEndpoint id="defaultHttpEndpoint"
    host="*" httpPort="${gs.http.port}"
    httpsPort="${gs.https.port}">
           <tcpOptions
    soReuseAddr="true" />
        </httpEndpoint>
    
    This stanza does
    not work:
    <httpEndpoint id="defaultHttpEndpoint"
    httpsPort="${gs.https.port}">
           <tcpOptions
    soReuseAddr="true" />
    </httpEndpoint>
    
    This is an example of the
    stack trace that might be seen:
    
    
    java.lang.NullPointerException
        at
    com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator.buildServerT
    ransportData(PluginGenerator.java:945)
        at
    com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator.generateXML(
    PluginGenerator.java:356)
        at
    com.ibm.ws.webcontainer.osgi.mbeans.GeneratePluginConfigMBean.ge
    neratePluginConfig(GeneratePluginConfigMBean.java:114)
        at
    com.ibm.ws.webcontainer.osgi.mbeans.GeneratePluginConfigMBean.ge
    nerateDefaultPluginConfig(GeneratePluginConfigMBean.java:95)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI28404

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-24

  • Closed date

    2014-11-06

  • Last modified date

    2014-11-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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022