You can avoid the classcast Exception by adding the following variables to your System
Properties:
-Djavax.xml.stream.XMLInputFactory=com.bea.xml.stream.MXParserFactory
-Djavax.xml.stream.XMLEventFactory=com.bea.xml.stream.EventFactory
-Djavax.xml.stream.XMLOutputFactory=com.bea.xml.stream.XMLOutputFactoryBase
FactoryFinder.find() in stax-api.jar looks for the above System properties.
(In the above case, I was using stax.jar )
Thanks
Ezhil
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221166#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...