Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15281

Quickfix uses unrecognized xerces property which impacts WildFly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • None
    • 3.x
    • camel-quickfix
    • None
    • Unknown

    Description

      The recent update to quickfix-2.2.0 may lead to ...

      Caused by: quickfix.ConfigError: FIX42.xml: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
      	at quickfix.DataDictionary.read(DataDictionary.java:871)
      	at quickfix.DataDictionary.<init>(DataDictionary.java:104)
      	at quickfix.DefaultSessionFactory.lambda$static$0(DefaultSessionFactory.java:42)
      	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
      	at org.quickfixj.SimpleCache.computeIfAbsent(SimpleCache.java:41)
      	at quickfix.DefaultSessionFactory.getDataDictionary(DefaultSessionFactory.java:366)
      	at quickfix.DefaultSessionFactory.createDataDictionary(DefaultSessionFactory.java:269)
      	at quickfix.DefaultSessionFactory.processPreFixtDataDictionary(DefaultSessionFactory.java:259)
      	at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:154)
      	at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:235)
      	at quickfix.mina.acceptor.AbstractSocketAcceptor.startAcceptingConnections(AbstractSocketAcceptor.java:96)
      	... 163 more
      Caused by: java.lang.IllegalArgumentException: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
      	at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:144)
      	at __redirected.__DocumentBuilderFactory.setAttribute(__DocumentBuilderFactory.java:125)
      	at quickfix.DataDictionary.load(DataDictionary.java:883)
      	at quickfix.DataDictionary.read(DataDictionary.java:869)
      	... 173 more
      

      This happens when we run on WildFly-20.0.0 with xerces-2.12.0.SP02

      Attachments

        Activity

          People

            Unassigned Unassigned
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: