Hi,

I am trying to upgrade to myfaces 1.2.8 from myfaces 1.1.5 on weblogic 
server 10.3. I am trying to display a simple jsf page . 

<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>

<html>
<f:view>
<f:verbatim> 
        <body>

        <h:form id="form">
                <h:panelGrid id="grid" columns="1">
                        <h:outputLink value="helloWorld.jsf">
                                <h:outputText value="HelloWorld" />
                        </h:outputLink>
                </h:panelGrid>
        </h:form>
        </body>
        </f:verbatim>
</f:view>
</html>

I am getting the following stack trace:

java.lang.ClassCastException: java.lang.String cannot be cast to 
javax.el.ValueExpression
                 at 
jsp_servlet._pages.__login._jsp__tag3(__login.java:280)
                 at 
jsp_servlet._pages.__login._jsp__tag2(__login.java:242)
                 at 
jsp_servlet._pages.__login._jsp__tag1(__login.java:190)
                 at 
jsp_servlet._pages.__login._jsp__tag0(__login.java:139)
                 at 
jsp_servlet._pages.__login._jspService(__login.java:98)
                 at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
                 at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                 at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
                 at 
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
                 at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
                 at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
                 at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:341)
                 at 
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236)
                 at 
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222)
                 at 
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                 at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
                 at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:182)
                 at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                 at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
                 at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
                 at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
                 at 
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
                 at jsp_servlet.__index._jspService(__index.java:202)
                 at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
                 at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
                 at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
                 at 
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
                 at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
                 at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
                 at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                 at 
weblogic.security.service.SecurityManager.runAs(Unknown Source)
                 at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
                 at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
                 at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
                 at 
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
                 at 
weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

I have included all jars mentioned in the apache site including tomahawk12 
1.1.9 jar and have also updated the version in faces -config and web.xml

Please help.

Regards,
Geetika Srivastava
Tata Consultancy Services
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to