| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/03/2007 13:21:26
|
dkotvan
Joined: 24/03/2007 00:00:00
Messages: 1
Offline
|
Hello all,
I'm starting my first project with icefaces and I'm having some problems.
Every time I reload my page i have the following error:
Code:
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source)
at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
at com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:195)
at com.icesoft.faces.renderkit.dom_html_basic.XMLRenderer.encodeBegin(XMLRenderer.java:51)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:579)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:586)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:569)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:406)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
I'm using Tomcat 5.5.20, MyFaces 1.1.5 and IceFaces 1.5.3.
Any ideas about how I solve this issue? Thanks for any help....
| Filename |
faces-config.xml |
Download
|
| Description |
|
| Filesize |
1 Kbytes
|
| Downloaded: |
208 time(s) |
| Filename |
web.xml |
Download
|
| Description |
|
| Filesize |
3 Kbytes
|
| Downloaded: |
229 time(s) |
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/03/2007 13:57:58
|
adnan.durrani

Joined: 19/01/2006 00:00:00
Messages: 437
Offline
|
Hi dkotvan,
I used web.xml provided by you, and never be able to reproduced this problem. The myfaces 1.1.5 and Icefaces 1.5.3 works fine together. However I got this exception if I use icefaces 1.6 dr2.
Thanks,
-- Adnan Durrani --
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 31/03/2007 03:30:23
|
lbellatti
Joined: 28/03/2007 00:00:00
Messages: 9
Offline
|
Hi,
Even I faced the same problem. When converting entire project from JSF MyFaces 1.1 to ICEFaces 1.5.3 I come faced this problem.
just add the <html> tag before body inside <f:view>, close all the tags properly, it will work.
otherwise just post ur code
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 08/08/2007 01:42:29
|
deivit78
Joined: 20/07/2007 00:00:00
Messages: 2
Offline
|
hi, i have the same problem, but and i'm using sun server 9, netbeans 5.5 , my code are:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{login.page1}" id="page1">
<ui:html binding="#{login.html1}" id="html1">
<ui:head binding="#{login.head1}" id="head1">
<ui:link binding="#{login.link1}" id="link1" url="/resources/stylesheet.css"/>
<ui:link binding="#{login.link2}" id="link2" url="./xmlhttp/css/xp/xp.css"/>
</ui:head>
<ui:body binding="#{login.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{login.form1}" id="form1">
<h:commandButton action="#{GestionAcceso.registrar}" binding="#{login.button1}" id="button1"
style="height: 24px; left: 526px; top: 360px; position: absolute; width: 96px" value="Aceptar"/>
<h:commandButton action="#{GestionAcceso.borrar}" binding="#{login.button2}" id="button2"
style="height: 24px; left: 718px; top: 360px; position: absolute; width: 96px" value="Borrar"/>
<h:inputSecret binding="#{login.inputSecret1}" id="inputSecret1" redisplay="true" style="left: 696px; top: 265px; position: absolute" value="#{GestionAcceso.PASSWORD}"/>
<h:inputText binding="#{login.inputText1}" id="inputText1" style="left: 696px; top: 217px; position: absolute" value="#{GestionAcceso.LOGIN}"/>
<h:outputLabel binding="#{login.outputLabel1}" id="outputLabel1" style="left: 456px; top: 217px; position: absolute" value="Introduzca Su Login"/>
<h:outputLabel binding="#{login.outputLabel2}" id="outputLabel2" style="left: 454px; top: 265px; position: absolute" value="Introduzca Su Contraseña"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
and i'm not using tag-ice ¿?
thanks 4 all
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 06/08/2009 06:10:27
|
jsfgeeks
Joined: 03/04/2009 00:00:00
Messages: 24
Offline
|
hello,
did you find solution of that problem, i have same problem.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/08/2009 10:26:57
|
amit_shah25
Joined: 27/04/2009 00:00:00
Messages: 4
Offline
|
lbellatti wrote:
Hi,
Even I faced the same problem. When converting entire project from JSF MyFaces 1.1 to ICEFaces 1.5.3 I come faced this problem.
just add the <html> tag before body inside <f:view>, close all the tags properly, it will work.
otherwise just post ur code
This worked for me. Myfaces 1.1 to IceFaces 1.8, had the same problem. Just needed to add <html> tags inside <f:view> ! Thanks a lot. Was fighting this for hours !
|
|
|
 |
|
|