-
1. richfaces 3.3.3 with Websphere 7.0 issue
nbelaevski Jan 13, 2011 11:44 AM (in response to ramram888)Hi Ram,
Are you using JSP or Facelets?
-
2. richfaces 3.3.3 with Websphere 7.0 issue
ramram888 Jan 13, 2011 1:19 PM (in response to nbelaevski)Hi Nick,
I am working with Facelets JSF. This is an example on the header page that I have.
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>in addition to this I use the Richfaces 3.3.3 and I checked that the Websphere server is refencing the JSF 1.2 with it.
Would using a JSP cause such problem? or would using a Facelet cause this problem?
And what do you recommend as a solution for this?
Thanks for your help,
Ram
-
3. richfaces 3.3.3 with Websphere 7.0 issue
ilya40umov Jan 14, 2011 4:02 AM (in response to ramram888)1) It looks like you are using JSP. Facelets pages have the following header:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
So may be you can try Facelets(But in this case use should modify all your pages accordingly to Facelets style)
You can take a look at this for some details about facelets:
http://www.ibm.com/developerworks/java/library/j-facelets/
2) I can't find enough information about Sun JSF impl + WebSpehere. But it seems that it's not possible to change JSF impl in this app server.
P.S. Can you post this question on some WebSphere forums?(I guess that guys who are using WebSphere a lot could tell you much more)
-
4. Re: richfaces 3.3.3 with Websphere 7.0 issue
ramram888 Jan 16, 2011 4:00 PM (in response to ramram888)Hi All,
Yes you are right I am using JSP not Facelets.
However, I did the update that you have recommended Nick and I did the update to WebSphere Platform 7.0.0.13 [BASE 7.0.0.13 cf131039.07] and I have the below exception please check below the full stack trace:
[1/14/11 12:24:59:631 EET] 00000019 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /jsp/common/MainMenu.jsp in application ipmSuite_war. Exception created : javax.el.ELException: Function 'rich:element' not found
at org.apache.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:175)
at org.apache.el.parser.SimpleNode.accept(SimpleNode.java:129)
at org.apache.el.parser.SimpleNode.accept(SimpleNode.java:132)
at org.apache.el.parser.SimpleNode.accept(SimpleNode.java:132)
at org.apache.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:137)
at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:151)
at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:194)
at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:67)
at com.ibm._jsp._MainMenu._jspx_meth_h_graphicImage_0(_MainMenu.java:478)
at com.ibm._jsp._MainMenu._jspx_meth_h_panelGroup_0(_MainMenu.java:514)
at com.ibm._jsp._MainMenu._jspx_meth_f_facet_1(_MainMenu.java:549)
at com.ibm._jsp._MainMenu._jspx_meth_rich_modalPanel_0(_MainMenu.java:7306)
at com.ibm._jsp._MainMenu._jspx_meth_f_view_0(_MainMenu.java:7717)
at com.ibm._jsp._MainMenu._jspService(_MainMenu.java:200)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:99)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:60)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
Regards,
Ram
-
5. Re: richfaces 3.3.3 with Websphere 7.0 issue
ramram888 Jan 16, 2011 4:01 PM (in response to ramram888)any ideas how to fix this issue?
-
6. Re: richfaces 3.3.3 with Websphere 7.0 issue
nbelaevski Jan 16, 2011 4:57 PM (in response to ramram888)Have you tried contacting WebSphere support via forum/another channel? Also try checking application startup log - maybe there is some additional information there?
-
7. Re: richfaces 3.3.3 with Websphere 7.0 issue
ramram888 Jan 17, 2011 9:21 AM (in response to ramram888)Hi Nick,
As i was checking the following URL: https://issues.jboss.org/browse/RF-8259 I realized that there was a similar bug on the JBOSS server and it was corrected.
Is this a similar issue? and what was done to fix it?
Regards,
Ram