Hi Bernd, I'm sorry, I changed all the pages containing <!DOCTYPE html PUBLIC "-//... and removed it, now it works. So I don't know which was the page, this mail was just a parentheses to recall we can enhance the error messages (probably somewhere in prepareRender() to catch and rethrow with a more verbose text about wich page or include failed).
Regards and thanks for answering so fast, Zied 2007/9/4, Bernd Bohmann <[EMAIL PROTECTED]>: > > Hello, > > can send the page, please. > > Regards > > Bernd > > Zied Hamdi wrote: > > Hi the good team, > > > > I'm experiencing a problem while I'm moving to facelets. This is > absolutely > > normal until the point where I don't know where the problem occurs ;-p. > > > > In fact, I have an existing set of jsp that I attempted to transform to > > facelets templates. I had a lot of jsp includes until a deepness of 4. > The > > probem is that when an exception occurs, there's no info on which page > is > > beeing processed. > > > > Is there a way to activate a logger that writes which page is beeing > > included? (all I have is Invalid tag found: unexpected input while > looking > > for attr name or '/>' at line 3. Surroundings: '<!DOCTYPE html PUBLIC > > "-//W3C/') > > > > Thanks in advance if you have any idea... > > > > This is my exception to give you an idea :-) > > > > > > 16:31:57,593 ERROR [STDERR] 4 sept. 2007 16:31:57 > > com.sun.facelets.FaceletViewHandler *handleRenderException* > > > > GRAVE: Error Rendering View[/person/person.xhtml] > > > > *java.lang.IllegalArgumentException*: argument type mismatch > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(* > > NativeMethodAccessorImpl.java:39*) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(* > > DelegatingMethodAccessorImpl.java:25*) > > > > at java.lang.reflect.Method.invoke(*Method.java:597*) > > > > at javax.faces.component.UIComponentBase$AttributesMap.put(* > > UIComponentBase.java:1590*) > > > > at javax.faces.component.UIComponentBase$AttributesMap.put(* > > UIComponentBase.java:1499*) > > > > at > > org.apache.myfaces.tobago.renderkit.html.StyleClasses.ensureStyleClasses > (* > > StyleClasses.java:70*) > > > > at > > org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.createCssClass > (* > > HtmlRendererUtil.java:119*) > > > > at > > org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.prepareRender > (* > > HtmlRendererUtil.java:94*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.prepareRender > > (*DefaultLayoutRenderer.java:40*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(* > > RenderUtil.java:73*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent > > (*DefaultLayoutRenderer.java:47*) > > > > at > > org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(* > > UILayout.java:71*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encodeChildren(* > > RenderUtil.java:56*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.speyside.standard.tag.TabGroupRenderer.encodeContent > > (*TabGroupRenderer.java:74*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.renderTabGroupView > > (*TabGroupRenderer.java:342*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.encodeEnd > > (*TabGroupRenderer.java:155*) > > > > at javax.faces.component.UIComponentBase.encodeEnd(* > > UIComponentBase.java:836*) > > > > at org.apache.myfaces.tobago.component.UITabGroup.encodeEnd(* > > UITabGroup.java:106*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(* > > RenderUtil.java:84*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent > > (*GridLayoutRenderer.java:366*) > > > > at > > org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(* > > UILayout.java:71*) > > > > at > > > org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent > (* > > UIGridLayout.java:276*) > > > > at org.apache.myfaces.tobago.component.UIPanelBase.encodeChildren > (* > > UIPanelBase.java:43*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(* > > RenderUtil.java:77*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent > > (*GridLayoutRenderer.java:366*) > > > > at > > org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(* > > UILayout.java:71*) > > > > at > > > org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent > (* > > UIGridLayout.java:276*) > > > > at org.apache.myfaces.tobago.component.UIPanelBase.encodeChildren > (* > > UIPanelBase.java:43*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(* > > RenderUtil.java:77*) > > > > at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(* > > RenderUtil.java:81*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent > > (*DefaultLayoutRenderer.java:47*) > > > > at > > org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(* > > UILayout.java:71*) > > > > at > > > org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEnd > > (*PageRenderer.java:128*) > > > > at javax.faces.component.UIComponentBase.encodeEnd(* > > UIComponentBase.java:836*) > > > > at javax.faces.component.UIComponent.encodeAll(*UIComponent.java > :896*) > > > > at javax.faces.component.UIComponent.encodeAll(*UIComponent.java > :892*) > > > > at com.sun.facelets.FaceletViewHandler.renderView(* > > FaceletViewHandler.java:578*) > > > > at > org.apache.myfaces.tobago.lifecycle.RenderResponseExecutor.execute( > > *RenderResponseExecutor.java:56*) > > > > at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.render(* > > TobagoLifecycle.java:141*) > > > > at javax.faces.webapp.FacesServlet.service(*FacesServlet.java > :245*) > > > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(* > > ApplicationFilterChain.java:290*) > > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter(* > > ApplicationFilterChain.java:206*) > > > > at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(* > > ExtensionsFilter.java:147*) > > > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(* > > ApplicationFilterChain.java:235*) > > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter(* > > ApplicationFilterChain.java:206*) > > > > at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(* > > ReplyHeaderFilter.java:96*) > > > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(* > > ApplicationFilterChain.java:235*) > > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter(* > > ApplicationFilterChain.java:206*) > > > > at org.apache.catalina.core.StandardWrapperValve.invoke(* > > StandardWrapperValve.java:230*) > > > > at org.apache.catalina.core.StandardContextValve.invoke(* > > StandardContextValve.java:175*) > > > > at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(* > > SecurityAssociationValve.java:179*) > > > > at org.jboss.web.tomcat.security.JaccContextValve.invoke(* > > JaccContextValve.java:84*) > > > > at org.apache.catalina.core.StandardHostValve.invoke(* > > StandardHostValve.java:128*) > > > > at org.apache.catalina.valves.ErrorReportValve.invoke(* > > ErrorReportValve.java:104*) > > > > at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(* > > CachedConnectionValve.java:157*) > > > > at org.apache.catalina.core.StandardEngineValve.invoke(* > > StandardEngineValve.java:109*) > > > > at org.apache.catalina.connector.CoyoteAdapter.service(* > > CoyoteAdapter.java:241*) > > > > at org.apache.coyote.http11.Http11Processor.process(* > > Http11Processor.java:844*) > > > > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process > (* > > Http11Protocol.java:580*) > > > > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(* > JIoEndpoint.java > > :447*) > > > > at java.lang.Thread.run(*Thread.java:619*) > > > > 16:31:57,687 INFO [STDOUT] 2007-09-04 16:31:57,687 [ > http-127.0.0.1-8080-1] > > INFO org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) - > > Total response time : 109406 milliseconds > > > > 16:31:57,687 INFO [STDOUT] 2007-09-04 16:31:57,687 [ > http-127.0.0.1-8080-1] > > WARN org.apache.myfaces.renderkit.html.util.ReducedHTMLParser.parse(569) > - > > Invalid tag found: unexpected input while looking for attr name or '/>' > at > > line 3. Surroundings: '<!DOCTYPE html PUBLIC "-//W3C/'. > > > > > > > > > > > -- Zied Hamdi zatreex.sourceforge.net