RE: Digester Error while reading struts config file

2006-06-09 Thread RickD

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


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



RE: Digester Error while reading struts config file

2006-06-08 Thread RickD

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.
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml

2

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Digester Error while reading struts config file

2006-06-08 Thread RickD

Sorry, I'm kinda new to this type of forum.  Thanks for your help.  I'm using
Tomcat 5.5.15, struts 1.2.9, and java 1.5.0_06.

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


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



RE: Digester Error while reading struts config file

2006-06-08 Thread RickD

Here is some of the config file...


http://struts.apache.org/dtds/struts-config_1_2.dtd";>


  







  







  
  

  More Mappings




  
  
  






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


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



Digester Error while reading struts config file

2006-06-08 Thread RickD

Has anyone seen this.  I'm migrating to struts 1.2.9 from 1.1.  I've tried
using the 1.2 version of the DTD, and I've tried it without a DOCTYPE
declaration to stop validation.  

I also read that there may be a problem with the xerces parser.  I read that
the Digester has problems if the xerces is in the parent class path.  I'm
moved xerces 2.8 inside my war; this had no effect.

thx


Jun 8, 2006 8:33:53 AM org.apache.commons.digester.Digester getParser
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:3
--
View this message in context: 
http://www.nabble.com/Digester-Error-while-reading-struts-config-file-t1755486.html#a4773732
Sent from the Struts - User forum at Nabble.com.


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