Hello,
is there any way to get replace (actually, quite old version of) saxon
with xalan ? or just maybe use what's provided by default within java
runtime ?
I'm getting some sort of conflict between saxon and spring or struts 2:
>....
>Caused by: Unable to load
jar:file:/opt-local/apache-tomcat-7.0.37/webapps/psicquic-solr-server/WEB-INF/lib/struts2->core-2.3.12.jar!/struts-default.xml -
Class: net.sf.saxon.event.SerializerFactory
>File: SerializerFactory.java
>Method: getReceiver
>Line: 154 - net/sf/saxon/event/SerializerFactory.java:154:-1
> at
>com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1014)
> at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:165)
> at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)
> at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:225)
> at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> ... 21 more
>Caused by: Unknown type of result: class javax.xml.transform.dom.DOMResult - Class: net.sf.saxon.event.SerializerFactory
>File: SerializerFactory.java
>Method: getReceiver
>Line: 154 - net/sf/saxon/event/SerializerFactory.java:154:-1
> at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:119)
> at
> ....
Strangly enough the problem pops up only on tomcat 6 (or 7). Running
under jetty seems fine; yanking out saxon-related jars from the
WEB-INF/lib directory seems to fix the problem on tomcat...
lukasz
--
-------------------------------------------------------------------------
Lukasz Salwinski PHONE:
310-825-1402
UCLA-DOE Institute for Genomics & Proteomics FAX:
310-206-3914
UCLA, Los Angeles EMAIL:
luk...@mbi.ucla.edu
-------------------------------------------------------------------------