Hi,

I have had the same error :
Digester.getParser:
javax.xml.parsers.ParserConfigurationException:
Namespace not supported
by SAXParser
(...)

The digester (org.apache.commons.digester) namespace setup seems not 
supported by all versions of xml parsers.
I had the same problem with both digester package version 1.0 and 1.1.1

A "solution" :

Since tomcat 3.3a (Final ) and above this problem do not arise, due to 
the included xml parser version I guess.

I tried to upgrade the tomcat 3.2.2 parser, the digester errors seemed 
resolved but it broke tomcat somewhere else ... I stoped spending time 
there and choose the easy way: upgrading the servlet - JSP container.

I think it must be possible to work with Tomcat 4 in the JBuilder 
environement since JBuilder 5.0 but I haven't tested it yet.

Regards, Patrick



Robert D. Morse wrote:

>Thanks Ted, but I get a different error under JBuilder 6.0:
>
>Digester.getParser:
>javax.xml.parsers.ParserConfigurationException: Namespace not supported by
>SAXParser
>       at com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.java:60)
>       at
>com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
>va:57)
>       at org.apache.commons.digester.Digester.getParser(Digester.java:523)
>       at org.apache.commons.digester.Digester.getReader(Digester.java:542)
>       at org.apache.commons.digester.Digester.parse(Digester.java:1234)
>       at
>org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1762)
>       at org.apache.struts.action.ActionServlet.init(ActionServlet.java:496)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>       at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>       at org.apache.tomcat.core.Handler.init(Handler.java:215)
>       at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
>       at
>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
>Interceptor.java:130)
>       at
>org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
>       at
>org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)java.lang
>.NoSuchMethodError
>       at org.apache.commons.digester.Digester.getReader(Digester.java:542)
>       at org.apache.commons.digester.Digester.parse(Digester.java:1234)
>       at
>org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1762)
>       at org.apache.struts.action.ActionServlet.init(ActionServlet.java:496)
>       at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
>       at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
>       at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>       at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>       at org.apache.tomcat.core.Handler.init(Handler.java:215)
>       at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
>       at
>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
>Interceptor.java:130)
>       at
>org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
>       at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
>       at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
>       at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>Exception in thread "main"
>
>-----Original Message-----
>From: Ted Husted [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, February 02, 2002 11:03 AM
>To: Struts Users Mailing List
>Subject: Re: Struts Validator Load Failure
>
>
>Try it with this one instead (binaries only),
>
>http://husted.com/struts/resources/struts_1_1a.zip
>
>and let us know if it works as well as it did Struts 1.0.x
>
>Hey, and any notes on using Torque with Struts would be welcome =:o)
>
>-Ted.
>
>
>"Robert D. Morse" wrote:
>
>>Hello Ted.
>>I just tried the nightly 31-Jan-2002 version of struts.  Torque is from
>>01-06-2002.
>>
>>-----Original Message-----
>>From: Ted Husted [mailto:[EMAIL PROTECTED]]
>>Sent: Saturday, February 02, 2002 6:07 AM
>>To: Struts Users Mailing List
>>Subject: Re: Struts Validator Load Failure
>>
>>By any version of Struts, do include version 1.0.1 or a nightly build
>>prior to 15-Jan ?
>>
>>-- Ted Husted, Husted dot Com, Fairport NY USA.
>>-- Java Web Development with Struts.
>>-- Tel +1 585 737-3463.
>>-- Web http://www.husted.com/struts/
>>
>>"Robert D. Morse" wrote:
>>
>>>Has anyone discovered a fix for this?  I see this with the 01-06-2002
>>>nightly of Torque and any version of Struts other than 1.0.  Struts 1.0
>>>works perfectly.  I haven't had the time to track this down personally,
>>>
>so
>
>>>I'm wondering if anyone discovered a solution.  Thanks.
>>>
>>>-----Original Message-----
>>>From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
>>>Sent: Sunday, January 06, 2002 12:10 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: Struts Validator Load Failure
>>>
>>>Subject: Struts Validator Load Failure
>>>From: "Paul Heath" <[EMAIL PROTECTED]>
>>> ===
>>>The following is a partial stack trace of when the app server tries to
>>>
>>load
>>
>>>Struts Validator.
>>>
>>>I have the latest version of Digester (v1.1.1) and Struts Validator in
>>>
>my
>
>>>classpath.
>>>
>>>Anyone know how to fix this:
>>>
>>>java.lang.NoSuchMethodError
>>>
>>> at org.apache.commons.digester.Digester.getReader(Digester.java:527)
>>> at org.apache.commons.digester.Digester.parse(Digester.java:1206)
>>> at
>>>
>com.wintecinc.struts.validation.ValidatorResourcesInitializer.initialize(Val
>
>>>idatorResourcesInitializer.java:237)
>>> at
>>>
>com.wintecinc.struts.validation.ValidatorResourcesInitializer.initialize(Val
>
>>>idatorResourcesInitializer.java:123)
>>> at
>>>
>com.wintecinc.struts.action.ValidatorServlet.initMapping(ValidatorServlet.ja
>
>>>va:223)
>>> at
>>>
>com.wintecinc.struts.action.ValidatorServlet.init(ValidatorServlet.java:123)
>
>>> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail:
>>><mailto:[EMAIL PROTECTED]>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>>For additional commands, e-mail:
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>
>>--
>>To unsubscribe, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>>For additional commands, e-mail:
>>
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>



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

Reply via email to