Hi,

I need to replace the com.caucho.xml.stream.XMLOutputFactoryImpl with woodstox 
stax implementation version, since it seems that the 
com.caucho.xml.stream.XMLStreamWriterImpl class created from 
com.caucho.xml.stream.XMLOutputFactoryImpl has bugs in it and cannot build good 
xml (I notice that one namespace in the expected xml is not defined). 

Is there a way to do such replacement in resin 3.1.8? 

I tried to put 

 <system-property 
javax.xml.stream.XMLEventFactory="com.ctc.wstx.stax.WstxEventFactory"/>
   <system-property 
javax.xml.stream.XMLInputFactory="com.ctc.wstx.stax.WstxInputFactory"/>
   <system-property 
javax.xml.stream.XMLOutputFactory="com.ctc.wstx.stax.WstxOutputFactory"/>

in resin.conf.

It did not work. Somehow the EnvironmentClassLoader for the web app still grabs 
the resin implementation of stax.

Please help.


Thanks.


NOTICE: This e-mail message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any unauthorized 
review, use, disclosure or distribution is prohibited. Nothing contained in 
this message or in any attachment shall constitute a contract or electronic 
signature under the Electronic Signatures in Global and National Commerce Act, 
any version of the Uniform Electronic Transactions Act or any other statute 
governing electronic transactions.


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to