As I mentioned on the facelets mailing list (where this issue was
previously posted), the problem isn't commons-digester, it's with
whatever parser that commons-digester is trying to use.   If there
were no digester in the path, you wouldn't be getting exceptions from
Digester classes

==========================================
Well, assuming this is commons-digester 1.3,

          reader = getParser().getXMLReader();

So the problem is that the digester hasn't been initialized with a
parser.   Not really sure what would cause that, but it's probably
outside of the scope of facelets or JSF.
==========================================

However, maybe the issue is a missing parser jar file.

On 1/31/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
It sounds like Tomcat has commons-digester, but Oracle does not...

org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)

Try including it in your war/ear






On 1/30/07, bansi <[EMAIL PROTECTED]> wrote:
>
> I have a web application developed using Facelets 1.1.12, Ajax4Jsf 1.0.4
> which
> works absolutely fine on Tomcat 5.5.17 but when i deploy the same web
> application onto Oracle 10g Application Server version 10.1.3 it throws
Null
> Pointer Exception
>
> Here is the stack trace
>
> 07/01/30 14:52:31 log4j:WARN No appenders could be found for logger
>
> (org.springframework.web.context.ContextLoader).
> 07/01/30 14:52:31 log4j:WARN Please initialize the log4j system properly.
> 07/01/30 14:52:34 java.lang.NullPointerException
> 07/01/30 14:52:34 at
>
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
> 07/01/30 14:52:34 at
>
> org.apache.commons.digester.Digester.parse
(Digester.java:1572)
> 07/01/30 14:52:34 at
>
>
org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getF
> acesConfig(DigesterFacesConfigUnm
> arshallerImpl.java:183)
> 07/01/30 14:52:34 at
>
>
> 2007-01-30 16:43:40,680 ERROR
> [org.apache.myfaces.webapp.StartupServletContextListener]
- <Error
> initializing
> ServletContext>
> 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.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getF
> acesConfig(DigesterFacesConfigUnmarshallerImpl.java :183)
> at
>
org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator
> .java:152)
> at
>
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126
> )
> at
>
org.apache.myfaces.webapp.StartupServletContextListener.initFaces
(StartupServlet
> ContextListener.java:69)
> --
> View this message in context:
http://www.nabble.com/Doesn%27t-Oracle-10g-application-Server-Support-MyFaces-1.1.3-----tf3146181.html#a8721743
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



--
---
Thanks,
Mick Knutson

 http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com
---

Reply via email to