struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RickD <RDegr...@co.jefferson.co.us>
Subject RE: Digester Error while reading struts config file
Date Thu, 08 Jun 2006 17:33:13 GMT

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(XercesParser.java:139)
        at
org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.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(ActionServlet.java:738)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java: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.java:1105)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
        at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1085)
        at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1178)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(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(ActionServlet.java:738)
        at org.apache.struts.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message