Is your production environment based on OC4J?
It's look like there is something wrong in your classpath.
It's just a guess, but I'd look at JXTransformerHandler class
(starting from here the
http://www.findjar.com/class/oracle/xml/jaxp/JXTransformerHandler.html)
--
Maurizio Cucchiara
It looks like:
1, Oracle's XML parser is chosen to parse your xml configuration file.
2, And it failed. (Don't know why and don't interest to know)
You can try to delete Oracle's XML parser
and use another one.
See this page:
https://issues.apache.org/activemq/browse/SM-169
for more information.
maybe your xml does not match the struts2 DTD (defined at top of struts.xml) -
try checking xml in something like XMLSpy for invalid xml as error says.
> Date: Wed, 20 Oct 2010 10:34:01 +0900
> Subject: Re: Can't deploy on server
> From: liying.cn.2...@gmail.
XML parsers are accessed via factories from Java code. Which concrete
parser will be used is something that will be decided at runtime by the
factory code, which is implemented by the app server. Your app server is
using a concrete implementation by Oracle that is causing the exception.
Usuall
Thanks for your answers, i try put next code into web.xml file:
but doesn't work, and put a jaxp.properties file into WEB-INF/classes
with this code:
javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
javax.xml.parsers.DocumentBuilderFactory=org.apache.
Are you using OC4J?
These pages may help:
http://forums.oracle.com/forums/thread.jspa?threadID=363566
http://forums.oracle.com/forums/thread.jspa?forumID=46&messageID=726074&threadID=248962
http://forums.oracle.com/forums/thread.jspa?threadID=367999&tstart=0
--
> Thanks for your answers, i try put next code into web.xml file:
>
> javax.xml.parsers.DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
> javax.xml.parsers.SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
>
> javax.xml.transform.TransformerFactory="
Thanks to all, i solved this problem creating an ServletContextListener
and executing this before all other listeners of my application and put
my settings in contextInitialized method like this:
public void contextInitialized(ServletContextEvent event) {
try {
System.setProperty("javax.xml.
8 matches
Mail list logo