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]



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]



RE: Digester Error while reading struts config file

2006-06-08 Thread Samere, Adam J
What container are you using? By moving xerces 2.8 inside my war do
you mean the xercesImpl.jar? Which JVM you are using may also be of
interest.

What is bluecast? I bet your Sax Parser factory is picking the wrong
one...

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


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(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:3
--
View this message in context:
http://www.nabble.com/Digester-Error-while-reading-struts-config-file-t1
755486.html#a4773732
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]



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

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-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
load-on-startup2/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Digester Error while reading struts config file

2006-06-08 Thread Samere, Adam J
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-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
load-on-startup2/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