voyent
Icefaces on Resin  XML
Forum Index -> Tools
Author Message
loginlog

Joined: 17/Nov/2006 00:00:00
Messages: 7
Offline


I unzipped Icefaces-1.5.1-bin/icefaces/samples/address.war to resin-3.0.22/webapps/address, and modify the web.xml as follow(see http://wiki.caucho.com/JavaServer_Faces):

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

When I started the resin server, It seemed everything is well. But when I attemped to launch the applicatin (http://127.0.0.1:8080/address), I got the following errors. I tried with resin-3.0.19 and got the same result.

Counld anybody give some suggestion? Thanks!

Zheng Weiguo

[16:52:47.046] Parse Fatal Error at line 4 column 0: bad character fffd
[16:52:47.046] org.xml.sax.SAXParseException: bad character fffd
[16:52:47.046] at com.caucho.xml.XmlParser.error(XmlParser.java:2950)
[16:52:47.046] at com.caucho.xml.XmlParser.parseComment(XmlParser.java:1721)
[16:52:47.046] at com.caucho.xml.XmlParser.parseNode(XmlParser.java:379)
[16:52:47.046] at com.caucho.xml.XmlParser.parseInt(XmlParser.java:242)
[16:52:47.046] at com.caucho.xml.AbstractParser.parse(AbstractParser.java:633)
[16:52:47.046] at org.apache.commons.digester.Digester.parse(Digester.java:1586)
[16:52:47.046] at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:122)
[16:52:47.046] at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:502)
[16:52:47.046] at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
[16:52:47.046] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
[16:52:47.046] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
[16:52:47.046] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
[16:52:47.046] at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:390)
[16:52:47.046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[16:52:47.046] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
[16:52:47.046] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
[16:52:47.046] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[16:52:47.046] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
[16:52:47.046] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
[16:52:47.046] at com.caucho.jsp.PageContextImpl.forward(PageContextImpl.java:981)
[16:52:47.046] at _jsp._index__jsp._jspService(_index__jsp.java:28)
[16:52:47.046] at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
[16:52:47.046] at com.caucho.jsp.Page.pageservice(Page.java:570)
[16:52:47.046] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
[16:52:47.046] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[16:52:47.046] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[16:52:47.046] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
[16:52:47.046] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[16:52:47.046] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[16:52:47.046] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[16:52:47.046] at java.lang.Thread.run(Thread.java:595)
[16:52:47.046] Exception executing lifecycle or setting up persistent context. Can't parse stream for /address.jspx stream:4: bad character fffd
[16:52:47.046] javax.faces.FacesException: Can't parse stream for /address.jspx stream:4: bad character fffd
[16:52:47.046] at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:517)
[16:52:47.046] at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
[16:52:47.046] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
[16:52:47.046] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
[16:52:47.046] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
[16:52:47.046] at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:390)
[16:52:47.046] at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
[16:52:47.046] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
[16:52:47.046] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
[16:52:47.046] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[16:52:47.046] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
[16:52:47.046] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
[16:52:47.046] at com.caucho.jsp.PageContextImpl.forward(PageContextImpl.java:981)
[16:52:47.046] at _jsp._index__jsp._jspService(_index__jsp.java:28)
[16:52:47.046] at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
[16:52:47.046] at com.caucho.jsp.Page.pageservice(Page.java:570)
[16:52:47.046] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
[16:52:47.046] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[16:52:47.046] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[16:52:47.046] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
[16:52:47.046] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[16:52:47.046] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
[16:52:47.046] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[16:52:47.046] at java.lang.Thread.run(Thread.java:595)
[16:52:47.046] Caused by: com.caucho.xml.XmlParseException: stream:4: bad character fffd
[16:52:47.046] at com.caucho.xml.XmlParser.error(XmlParser.java:2958)
[16:52:47.046] at com.caucho.xml.XmlParser.parseComment(XmlParser.java:1721)
[16:52:47.046] at com.caucho.xml.XmlParser.parseNode(XmlParser.java:379)
[16:52:47.046] at com.caucho.xml.XmlParser.parseInt(XmlParser.java:242)
[16:52:47.046] at com.caucho.xml.AbstractParser.parse(AbstractParser.java:633)
[16:52:47.046] at org.apache.commons.digester.Digester.parse(Digester.java:1586)
[16:52:47.046] at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:122)
[16:52:47.046] at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:502)
[16:52:47.046] ... 23 more
[16:52:47.046] stream:4: bad character fffd
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Zheng,

Sorry, Resin isn't one of our supported servers. I believe that there's some incompatibilities with the custom XML parser in Resin. I've run into the same issue.

Thanks,
Philip

.
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team