The concrete SAXParserFactory implementation to use is determined as
follows:

1. Use the javax.xml.parsers.SAXParserFactory system property if it is
set. (with -Djavax.xml.parsers.SAXParserFactory=my.factory.impl for
example)
2. If JRE/lib/jaxp.properties exists and has a
javax.xml.parsers.SAXParserFactory use that
3. Use a JAR file service provider to look for a file called
META-INF/services/javax.xml.parsers.SAXParserFactory in any jar file on
the CLASSPATH

I'm thinking whatever jar file has com.bluecast.xml.JAXPSAXParserFactory
also has a javax.xml.parsers.SAXParserFactory in the META-INF.

Try removing this jar file if you can, or override it by setting the
javax.xml.parsers.SAXParserFactory as a system property or in
JRE/lib/jaxp.properties

-----Original Message-----
From: RickD [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 08, 2006 1:33 PM
To: user@struts.apache.org
Subject: RE: Digester Error while reading struts config file


I didn't remove any xerces related jars from tomcat cat.  I looked in
common/lib and server/lib but didn't see xerces.

in the web.xml  I only specify a single module config file.
 
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>

There error returned after adding the resolver.jar, xercesImpl.jar, and
xml-api.jar is as follows...
I must have doesn something wrong because it still contains the bluecast
call.



SEVERE: Digester.getParser:
javax.xml.parsers.ParserConfigurationException: XML document validation
is not supported
        at
com.bluecast.xml.JAXPSAXParserFactory.newSAXParser(JAXPSAXParserFactory.
java:105)
        at
org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParse
r.java:139)
        at
org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(Pars
erFeatureSetterFactory.java:73)
        at
org.apache.commons.digester.Digester.getParser(Digester.java:682)
        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1572)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:738)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:687)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3915)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176
)
        at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:10
85)
        at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1178)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:29
2)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.j
ava:1304)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc
essChildren(ContainerBase.java:1568)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proc
essChildren(ContainerBase.java:1577)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1557)
        at java.lang.Thread.run(Thread.java:595)
Jun 8, 2006 11:25:45 AM org.apache.struts.action.ActionServlet init
SEVERE: Unable to initialize Struts ActionServlet due to an unexpected
exception or error thrown, so marking the servlet as unavailable.  Most
likely, this is due to an incorrect or missing library dependency.
java.lang.NullPointerException
        at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1572)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:738)
        at org.apache.struts.



--
View this message in context:
http://www.nabble.com/Digester-Error-while-reading-struts-config-file-t1
755486.html#a4777120
Sent from the Struts - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to