IBM Support

PM93744: APP START DELAY WHEN BEAN VALIDATION ATTEMPTS TO VALIDATE ANY VALIDATION.XML EVEN IF IT'S NOT INTENDED FOR BEAN VALIDATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A 3 minute delay in application startup was seen followed by
    the message:
    
    BBOO0221W: CWNBV0005W: A validation.xml file was found for the
    /xxxx/xxx.ear/xxx.war module. However, that validation.xml file
    is not configured for validation; therefore this XML file is
    ignored.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile whose application    *
    *                  contains a validation.xml file not          *
    *                  intended for Bean Validation.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Delay in application start when Bean    *
    *                      Validation attempts to validate a       *
    *                      validation.xml not intended for Bean    *
    *                      Validation.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A 3 minute delay in application startup was seen followed by
    the message:
    BBOO0221W: CWNBV0005W: A validation.xml file was found for the
    /xxxx/xxx.ear/xxx.war module. However, that validation.xml file
    is not configured for validation; therefore this XML file is
    ignored.
    The new Bean Validation APIs in WebSphere v8 attempt to process
    any file named validation.xml, even if it's not intended to be
    used for Bean Validation.  The validation.xml in this case was
    intended for the struts framework of the customer's
    application.
    The following Connection timeout was seen in traces:
    Trace: 2013/01/31 15:02:09.294 02 t=7BE470 c=UNK key=P8 tag=
    (13007004)
    SourceId: com.ibm.ws.beanvalidation.JaxbBvalUnmarshaller
    ExtendedMessage: Error occured for the validation.xml file in
    /xxxx/xxx.ear/xxx.war; java.net.ConnectException:
    EDC8127I Connection timed out. (errno2=0x76630291)
    .at
    java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:381)
    .at
    java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:2
    43)
    .at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:230)
    .at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
    .at java.net.Socket.connect(Socket.java:539)
    .at java.net.Socket.connect(Socket.java:488)
    .at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    .at sun.net.www.http.HttpClient.openServer(HttpClient.java:408)
    .at sun.net.www.http.HttpClient.openServer(HttpClient.java:543)
    .at sun.net.www.http.HttpClient.<init>(HttpClient.java:247)
    .at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    .at sun.net.www.http.HttpClient.New(HttpClient.java:337)
    .at
    sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
    (HttpURLConnection.java:982)
    .at sun.net.www.protocol.http.HttpURLConnection.plainConnect
    (HttpURLConnection.java:923)
    .at sun.net.www.protocol.http.HttpURLConnection.connect
    (HttpURLConnection.java:848)
    .at sun.net.www.protocol.http.HttpURLConnection.getInputStream
    (HttpURLConnection.java:1184)
    .at
    org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unkno
    wn
    Source)
    .at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
    Source)
    .at
    org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
    Source)
    .at
    org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
    Source)
    .at
    org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.disp
    atch
    (Unknown Source)
    .at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt
    (Unknown Source)
    .at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    .at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    .at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    .at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    .at
    org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
    Source)
    .at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    .at javax.xml.parsers.SAXParser.parse(Unknown Source)
    .at com.ibm.ws.beanvalidation.JaxbBvalUnmarshaller.doUnmarshal
    (JaxbBvalUnmarshaller.java:232)
    .at com.ibm.ws.beanvalidation.JaxbBvalUnmarshaller.unmarshal
    (JaxbBvalUnmarshaller.java:190)
    .at com.ibm.ws.beanvalidation.BeanValidationServiceImpl.
    getValidatorFactory(BeanValidationServiceImpl.java:211)
    .at com.ibm.ws.beanvalidation.BeanValidationMetaDataListener.
    metaDataCreated(BeanValidationMetaDataListener.java:222)
    .at com.ibm.ws.beanvalidation.BeanValidationMetaDataListener.
    metaDataCreated(BeanValidationMetaDataListener.java:136)
    ...
    

Problem conclusion

  • With this fix, code has been added to Bean Validation to allow
    for only the processing of a validation.xml file which is
    defined by the Bean Validation specification, all other
    validation.xml files will be ignored.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.1. Please refer to the Recommended Updates page
    for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93744

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-24

  • Closed date

    2013-10-08

  • Last modified date

    2013-10-08

  • APAR is sysrouted FROM one or more of the following:

    PM85921

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 January 2022