I tried by copying the myfaces-api.jar, myfaces-impl.jar and the tomahawk.jar files in lib directory. Now I get this error

Did not realize  init() exception thrown by servlet CalendarSample: javax.servlet.UnavailableException: Exception during portlet initialization: java.lang.ClassCastException: org.apache.myfaces.context.FacesContextFactoryImpl

Am I missing something....

Thanks
Latha




Bruno Aranda <[EMAIL PROTECTED]>

09/07/2005 09:51 AM

Please respond to
"MyFaces Discussion" <[email protected]>

To
MyFaces Discussion <[email protected]>
cc
Subject
Re: Calendar component





Could you try with a recent nightly? The 20050904
(http://cvs.apache.org/builds/myfaces/nightly/), for instance (the
last nightly has some issues). Don't forget to add the
myfaces-api.jar, myfaces-impl.jar and the tomahawk.jar (extensions).
If you have configuration issues, try an example to see if it works,

Regards,

Bruno


2005/9/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>  
> Hi,
>    I have created a faces web application in IBM Rational with the server is
> Websphere Portal 5.0.  I have followed the instructions to remove the
> jsf-impl.jar and jsf-api.jar and put the myfaces.jar and
> myfaces-extensions.jar in WEB-INF/lib. I have to use the calendar tag in my
> page. So I also imported the taglib into my web page
>  
>  <[EMAIL PROTECTED] uri="http://myfaces.apache.org/extensions"
> prefix="x"%>
>  
> The work flow works till I have jsf-impl.jar and jsf-api.jar. But as soon as
> I replace them with myfaces.jar and myfaces-extensions.jar, I don't get my
> front page. I still didn't use the calendar tag in my web page yet, I get
> this error . Can somebody please help me with the right jar files I need to
> use to get to my front page  atleast. What is this myfaces-jsf-api.jar and
> do I need this in my lib directory.
>  
> And I get this exception when I start the server
>  
>  
>  
>  
>  Did not realize init() exception thrown by servlet Faces Servlet:
>  javax.servlet.ServletException: 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</listener-
>  class>
>  </listener>
>  
>  
>  
>   I am really struggling on this issue for the past two weeks. I am not able
> to figure out the problem I get.  I badly need help on this. Any help is
> aprreciated.
>  
> FYI, my faces application is auto generated my IBM Rational with pagecode
> package and its own managed-beans .
>  
> Thanks a lot
>  
>  
>  Latha
>  DST Systems
>  
>
> ________________________________
>
>
>  
>
>  This e-mail and any attachments are intended only for the individual or
> company to which it is addressed and may contain information which is
> privileged, confidential and prohibited from disclosure or unauthorized use
> under applicable law. If you are not the intended recipient of this e-mail,
> you are hereby notified that any use, dissemination, or copying of this
> e-mail or the information contained in this e-mail is strictly prohibited by
> the sender. If you have received this transmission in error, please return
> the material received to the sender and delete all copies from your system.

Reply via email to