Hey guys,

        Thanks for your help!

        Yesterday I worked hard until discover what was happening in my 
environment.

        The problem was related to Oracle XML Parser (My OC4J JVM instance is 
initialized with this parser)... It was trying to validate my web.xml dtd at 
java.sun.com... Although everything was appearing ok, my server doesn't have 
access to internet external hosts. Therefore, the parser crashed all myfaces 
life cycle... web.xml was not available!
        I just commented dtd reference inside web.xml file and bingo! 

        Once more, thanks for all responses.


João Bortoletto
 

-----Mensagem original-----
De: Matthias Wessendorf [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 20 de outubro de 2005 12:02
Para: MyFaces Discussion
Assunto: Re: Myfaces under OC4J

it inits the "infrastructure" of the jsf app
(parsing faces-config ... )

http://svn.apache.org/viewcvs.cgi/myfaces/impl/trunk/src/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=193014&view=markup

take a look ;-)

On 10/20/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> OK.  BTW, can you briefly describe what this listener does?  I've just
> been blindly including it, but I don't really understand what it's
> doing.
>
> - Brendan
>
> -----Original Message-----
> From: Martin Marinschek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 20, 2005 9:37 AM
> To: MyFaces Discussion
> Subject: Re: Myfaces under OC4J
>
>
> No.
>
> if you don't use Jetty (some version) you are usually good to go, and
> the listener will be included by the TLD files themselves.
>
> regards,
>
> Martin
>
> On 10/20/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> > So are you saying that we no longer have to define the listener in our
> > web.xml file when using MyFaces?
> >
> > - Brendan
> >
> > -----Original Message-----
> > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 20, 2005 2:13 AM
> > To: MyFaces Discussion
> > Subject: Re: Myfaces under OC4J
> >
> >
> > sounds like your web.xml has no Context Listener defined
> > <listener>
> >
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener<
> > /listener-class>
> > </listener>
> >
> > the newer versions of myfaces contains this listener inside of the
> > core.tld (like the RI does).
> >
> > I was able to deploy MyFaces demo app in OC4J 9.0.4.0 and OC4J 9.0.4.1
> >
> > More informations on deployment you'll find here:
> > (Plattform Information)
> >
> http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/ex
> > change/jsf/doc/installation.html#Platform%20Information
> >
> > HTH,
> > Matthias
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to