Thanks for the quick response. I do have the woodstox jar in the classpath but still get this message. Do I force Camel to use the woodstox parser by setting the system property javax.xml.stream.XMLInputFactory to the Woodstox parser?
-----Original Message----- From: Claus Ibsen [mailto:[email protected]] Sent: Tuesday, March 18, 2014 11:38 AM To: [email protected] Subject: Re: Seeing Info message all over log file related to Woodstox Hi Yeah we should tone this down, so the INFO logging only happen once https://issues.apache.org/jira/browse/CAMEL-7309 To use woodstock you just add it to the classpath i think http://woodstox.codehaus.org/ On Tue, Mar 18, 2014 at 3:21 PM, Nair, Madhu <[email protected]> wrote: > Hi, > I see the following info message all over the log file and it occurs only in > one environment and not in the other. I am assuming it occurs in one > environment because of the randomness with which the server loads the jar > files. > > The message is:- > 2014-03-06 22:23:47,401 | INFO | APPW111A:mmZreRm_-q | > XmlErrorListener | Msg: DOMSource is known to have issues with {0}. We > suggest using Woodstox > > > The concern is with this part of the message "DOMSource is known to > have issues with {0}. We suggest using Woodstox". > > How do I get rid of this message? Looking at the source code for Camel it > seems like this message occurs since we are not using the Woodstox parser. > > Do I specify to Camel the Stax parser to use by using the system property > javax.xml.stream.XMLInputFactory? Is there any other way? > > > Camel version is 2.9.2 and application server is WAS 7. JDK is 1.6. > > > > > Thanks, > Madhu > > > > -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
