voyent
Messages posted by: ronakn  XML
Profile for ronakn -> Messages posted by ronakn [6]
Author Message
Thanks for your reply.

I tried using the exact jars that you mentioned but the problem still persists. Is there something else that I can try out?
Hi, Thanks for the reply.
I have checked web.xml examples and that how i have biult my web.xml file.
Here it is

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>JSFIceFaces</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>

<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jsp</param-value>
</context-param>

<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.standardRequestScope</param-name>
<param-value>true</param-value>
</context-param>


<servlet>
<servlet-name>Persistent Faces Servlet</servlet-name>
<servlet-class>
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>

<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.iface</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>

<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

</web-app>



Also here is the list of jar files which I have includede in my WEB-INF/lib folder:
acegi-security-1.0.1
backport-util-concurrent
commons-beanutils-1.7.0
commons-collections-3.2
commons-digester-1.8
commons-el
commons-lang
commons-logging
el-api
el-impl-1.0
el-ri
icefaces
icefaces-comps
icefaces-facelets
jhighlight-1.0
jsf-facelets-1.1.10
just-ice
krysalis-jCharts-1.0.0-alpha-1
xercesImpl
xml-apis

Is something wrong in the jars?
Hi, I am using jboss-4.2.1.GA

And here is list of jars I am using:
acegi-security-1.0.1
backport-util-concurrent
commons-beanutils-1.7.0
commons-collections-3.2
commons-digester-1.8
commons-el
commons-lang
commons-logging
el-api
el-impl-1.0
el-ri
icefaces
icefaces-comps
icefaces-facelets
jhighlight-1.0
jsf-facelets-1.1.10
just-ice
krysalis-jCharts-1.0.0-alpha-1
xercesImpl
xml-apis

Is something wrong in the jars.
Can you please elaborate. I am new to this. Your help will be really appreciated. Is there some jar through which i am facing this problem?

I am asking this because My error asks me to include Persistent Faces Servlet in my web.xml whereas i have already added it.

Thanks.
Hi all,
I am a beginner. I am trying to use IceFaces and I have included Persistent Faces Servlet in my web.xml, but getting some erors.
This is what the error looks like.


javax.servlet.ServletException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
com.icesoft.faces.context.DOMResponseWriter.<init>(DOMResponseWriter.java:154)
com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:182)
com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:107)
com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:68)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
javax.faces.component.UIData.encodeBegin(UIData.java:879)
com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:298)
com.icesoft.faces.component.ext.HtmlDataTable.encodeBegin(HtmlDataTable.java:110)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



I am really stuck.
Please help me out. Thanks.
Hi all,
I am a beginner. I am trying to use IceFaces and I have included Persistent Faces Servlet in my web.xml, but getting some erors.
This is what the error looks like.


javax.servlet.ServletException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings
com.icesoft.faces.context.DOMResponseWriter.<init>(DOMResponseWriter.java:154)
com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:182)
com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:107)
com.icesoft.faces.renderkit.dom_html_basic.TableRenderer.encodeBegin(TableRenderer.java:68)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
javax.faces.component.UIData.encodeBegin(UIData.java:879)
com.icesoft.faces.component.panelseries.UISeries.encodeBegin(UISeries.java:298)
com.icesoft.faces.component.ext.HtmlDataTable.encodeBegin(HtmlDataTable.java:110)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)




Please help me out. Thanks.
 
Profile for ronakn -> Messages posted by ronakn [6]
Go to:   
Powered by JForum 2.1.7ice © JForum Team