That's strange.  I tried that very same WAR file on the same version
of Tomcat with no problem.  Are you using a "clean" install of Tomcat?
 No extra jars added?  No RI jars in your server/lib, etc.?

sean


On Fri, 11 Mar 2005 10:12:29 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
> Actually I have not build these examples from CVS. From this mailing list I
> got the link of the ready built war file.
> (http://www.apache.org/~matzew/myfaces-examples.war)
> 
> YES in my web.xml the listener-class tag exist. What should I do for it?
> 
> Mihir
> 
> -----Original Message-----
> From: Sean Schofield [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 11, 2005 10:04 AM
> To: [EMAIL PROTECTED]; MyFaces Discussion
> Subject: Re: from where can i get tree2 component
> 
> Did you use a *clean* Tomcat install without changing any libs?  What
> is the source of the WAR file?  Also note the line in your stack trace
> that suggest you have the following in the web.xml:
> 
> <listener>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</lis
> tener-class>
> </listener>
> 
> Is that in the web.xml?
> 
> sean
> 
> On Fri, 11 Mar 2005 09:50:36 +0530, Mihir Solanki
> <[EMAIL PROTECTED]> wrote:
> > Sean,
> >
> > I have downloaded Tomcat 5.0.28 and deployed the new my faces war file
> (one
> > having tree2 component). Still, Its giving me following error
> >
> > java.lang.IllegalStateException: No Factories configured for this
> > Application - typically this is because a context listener is not setup in
> > your web.xml.
> > A typical config looks like this;
> > <listener>
> >
> >
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</lis
> > tener-class>
> > </listener>
> >
> >         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)
> >         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
> >         at
> > org.apache.myfaces.webapp.MyFacesServlet.init(MyFacesServlet.java:61)
> >         at
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> > 29)
> >         at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >         at
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> > 4013)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> >         at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
> > 23)
> >         at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >         at
> >
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
> > ava:277)
> >         at
> > org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> >         at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
> >         at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
> >         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
> >         at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
> >         at
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:119)
> >         at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
> >         at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >         at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >         at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >         at
> > org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >         at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> > )
> >         at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> > .java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:324)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> >
> > Mihir
> >
> > -----Original Message-----
> > From: Sean Schofield [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 10, 2005 9:11 PM
> > To: MyFaces Discussion; [EMAIL PROTECTED]
> > Subject: Re: from where can i get tree2 component
> >
> > I just tested that WAR and it works fine on Tomcat 5.0.  I remember
> > having some issues with Tomcat 4.1 before I switched (I can't remember
> > if this was the issue.)  Try 5.0 and see if it works better (4.1 is
> > getting old at this point anyways.)
> >
> > sean
> >
> > On Thu, 10 Mar 2005 17:15:19 +0530, Mihir Solanki
> > <[EMAIL PROTECTED]> wrote:
> > > When I run this war file in tomcat 4.1.30 it is giving me following
> error,
> > > could you please guide me about this where I am doing wrong?
> > >
> > > javax.faces.FacesException: This absolute uri
> > (http://java.sun.com/jsf/html)
> > > cannot be resolved in either web.xml or the jar files deployed with this
> > > application
> > >         at
> > >
> >
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl
> > > etExternalContextImpl.java:411)
> > >         at
> > >
> >
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHand
> > > lerImpl.java:277)
> > >         at
> > >
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
> > >         at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
> > >         at
> > > org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:70)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:247)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:193)
> > >         at
> > >
> >
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
> > > ilter.java:119)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:213)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:193)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > > va:256)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:643)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > > va:191)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:643)
> > >         at
> > >
> >
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> > > 46)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:641)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > >
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> > > )
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:643)
> > >         at
> > >
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> > > java:171)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:641)
> > >         at
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163
> > > )
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:641)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > > :174)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> > > eNext(StandardPipeline.java:643)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> > >         at
> > >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> > >         at
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> > > ction(Http11Protocol.java:700)
> > >         at
> > >
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> > >         at
> > >
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> > > a:683)
> > >         at java.lang.Thread.run(Thread.java:534)
> > > Caused by: org.apache.jasper.JasperException: This absolute uri
> > > (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or
> the
> > > jar files deployed with this application
> > >         at
> > >
> >
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
> > > java:105)
> > >         at
> > >
> >
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430
> > > )
> > >         at
> > >
> >
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154
> > > )
> > >         at
> > >
> >
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java
> > > :159)
> > >         at
> > > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
> > >         at
> > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
> > >         at
> > org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
> > >         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
> > >         at
> > >
> >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
> > >         at
> > >
> >
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
> > >         at
> > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
> > >         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
> > >         at
> > >
> >
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
> > > 73)
> > >         at
> > >
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
> > > 90)
> > >         at
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> > >         at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> > > java:684)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> > > er.java:432)
> > >         at
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> > > .java:356)
> > >         at
> > >
> >
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl
> > > etExternalContextImpl.java:405)
> > >         ... 38 more
> > >
> > > Regards
> > > Mihir
> > >
> > > -----Original Message-----
> > > From: Hendrik Neumann [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, March 10, 2005 4:38 PM
> > > To: MyFaces Discussion
> > > Subject: Re: from where can i get tree2 component
> > >
> > > is it save to fetch MyFaces from CVS and compile my own version? And is
> > > there already a date or a roadmap for the next offical
> MyFaces-release(s)?
> > >
> > > Greetings,
> > > Hendrik
> > >
> > > Matthias Wessendorf <[EMAIL PROTECTED]> schrieb am
> > 10.03.2005
> > > 11:59:07:
> > > > Mihir,
> > > >
> > > > you can build MyFaces on your own and pull the
> > > > sources from CVS or use an *not up-to-date*
> > > > WAR of your examples (that include myfaces.jar with tree2 stuff)
> > > >
> > > > http://www.apache.org/~matzew/myfaces-examples.war
> > > >
> > > > (Update comes soon)
> > > >
> > > > -Matthia
> > > >
> > > >
> > > > Mihir Solanki wrote:
> > > > > Hi all,
> > > > >
> > > > >
> > > > >
> > > > > I am using myfaces 1.0.8 binary version downloaded from apache
> > website.
> > > > >
> > > > >
> > > > >
> > > > > I am looking to the mailing archive and found that there is a tree2
> > > > > component available
> > > > >
> > > > > Which has more features than original tree component.
> > > > >
> > > > >
> > > > >
> > > > > Can anybody tell me from where I can get this one?
> > > > >
> > > > >
> > > > >
> > > > > Thank you,
> > > > >
> > > > > Mihir Solanki
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >   _____
> > > > >
> > > > > Patni Computer Systems Ltd.
> > > > >
> > > > > Tel : 91 79 23240905 Ext : 413
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > http://www.patni.com
> > > > > World-Wide Partnerships. World-Class Solutions.
> > > > >
> _____________________________________________________________________
> > > > >
> > > > > This e-mail message may contain proprietary, confidential or legally
> > > > > privileged information for the sole use of the person or entity to
> > > > > whom this message was originally addressed. Any review,
> e-transmission
> > > > > dissemination or other use of or taking of any action in reliance
> upon
> > > > > this information by persons or entities other than the intended
> > > > > recipient is prohibited. If you have received this e-mail in error
> > > > > kindly delete  this e-mail from your records. If it appears that
> this
> > > > > mail has been forwarded to you without proper authority, please
> notify
> > > > > us immediately at [EMAIL PROTECTED] and delete this mail.
> > > > >
> _____________________________________________________________________
> > > > >
> > > ______________________________________________________________
> > > Verschicken Sie romantische, coole und witzige Bilder per SMS!
> > > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> > >
> > > http://www.patni.com
> > > World-Wide Partnerships. World-Class Solutions.
> > > _____________________________________________________________________
> > >
> > > This e-mail message may contain proprietary, confidential or legally
> > > privileged information for the sole use of the person or entity to
> > > whom this message was originally addressed. Any review, e-transmission
> > > dissemination or other use of or taking of any action in reliance upon
> > > this information by persons or entities other than the intended
> > > recipient is prohibited. If you have received this e-mail in error
> > > kindly delete  this e-mail from your records. If it appears that this
> > > mail has been forwarded to you without proper authority, please notify
> > > us immediately at [EMAIL PROTECTED] and delete this mail.
> > > _____________________________________________________________________
> > >
> > >
> >
> > http://www.patni.com
> > World-Wide Partnerships. World-Class Solutions.
> > _____________________________________________________________________
> >
> > This e-mail message may contain proprietary, confidential or legally
> > privileged information for the sole use of the person or entity to
> > whom this message was originally addressed. Any review, e-transmission
> > dissemination or other use of or taking of any action in reliance upon
> > this information by persons or entities other than the intended
> > recipient is prohibited. If you have received this e-mail in error
> > kindly delete  this e-mail from your records. If it appears that this
> > mail has been forwarded to you without proper authority, please notify
> > us immediately at [EMAIL PROTECTED] and delete this mail.
> > _____________________________________________________________________
> >
> >
> 
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
> 
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at [EMAIL PROTECTED] and delete this mail.
> _____________________________________________________________________
> 
>

Reply via email to