IBM Support

PI35402: JAVA.LANG.NUMBERFORMATEXCEPTION IS THROWN WHEN EXPIRY IS SET TO "SPECIFIED" FOR A V5 DEFAULT MESSAGING TOPIC OR QUEUE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When the expiry value is set to "SPECIFIED" for a V5 Default
    Messaging Topic or Queue, a java.lang.NumberFormatException
    occurs when the binders process the configuration.
    
    A WSVR0017E message is output to the logs similar to the
    example below:
    
    [2/13/15 18:37:15:049 CET] 00000000 ResourceMgrIm E
    WSVR0017E: Error
    encountered binding the J2EE resource, MyTopic, as
    jms/a/b/MyTopic from
    C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells/CellNa
    me/nodes/NodeName/servers/ServerName/resources.xml
    java.lang.NumberFormatException: For input string:
    "APPLICATION_DEFINED"   at
    java.lang.NumberFormatException.forInputString(NumberFormatExcep
    tion.java:48)
    at java.lang.Long.parseLong(Long.java:410)
    at java.lang.Long.<init>(Long.java:678)
    at
    com.ibm.ws.runtime.component.binder.WASTopicBinder.getBindingObj
    ect(WASTopicBinder.java:196)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImp
    l.java:506)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProv
    ider(ResourceMgrImpl.java:1528)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(Res
    ourceMgrImpl.java:1375)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(Re
    sourceMgrImpl.java:1316)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(Resou
    rceMgrImpl.java:1060)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrIm
    pl.java:740)
    at
    com.ibm.ws.runtime.component.ContainerHelper.startComponents(Con
    tainerHelper.java:538)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl.java:627)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:618)
    at
    com.ibm.ws.runtime.component.ApplicationServerImpl.start(Applica
    tionServerImpl.java:227)
    at
    com.ibm.ws.runtime.component.ContainerHelper.startComponents(Con
    tainerHelper.java:538)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl.java:627)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:618)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of V5    *
    *                  Default Messaging                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.NumberFormatException       *
    *                      occurs when processing the              *
    *                      configuration of a V5 Default           *
    *                      Messaging Topic or Queue.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When processing the configuration for a V5 Default Messaging
    Provider Topic or Queue with an "expiry" value set to
    "SPECIFIED" the binders incorrectly set the runtime value of
    the specified expiry time to "APPLICATION_DEFINED" instead of
    the java.lang.Long value of the configured "specified expiry"
    value.
    This results in a java.lang.NumberFormatException and the error
    message WSVR0017E is output to the application server's logs.
    

Problem conclusion

  • The binders for the V5 Default Messaging Provider Topics and
    Queues were modified to correctly set the specified expiry
    time from the configuration.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.39, 8.0.0.11 and 8.5.5.7.  Please refer to the
    Recommended Updatespage for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI35402

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-02-19

  • Closed date

    2015-05-26

  • Last modified date

    2015-05-26

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PI35402

Modified date: 26 May 2015