myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: [tobago] an unexpected block is executed with RI 1.2 (in JBoss 4.2.1 GA) // TODO: remove this if block if prooven this never happens anymore
Date Fri, 20 Jul 2007 13:28:54 GMT
Hello Zied,

can you send the jsf pages, please.

Regards

Bernd

Zied Hamdi wrote:
> Hi again,
> 
> I'm sorry for announcing these problems, it's not a pleasure at all, I will
> help as I can to resolve them.
> 
> I have some other side effects on using sun RI (bundled with JBoss 
> 4.2.1.GA),
> I don't know if it's a consequense of the exception described in the first
> mail, there are both visual and programmatic bugs:
> 
> 1. visually (see picture):
>  .It seems there's a first iteration on sheets with no arguments: before
> some sheets header we see a complete line with no values in
> 
> 2 programmatically I have this exception : If you want me to activate the
> Trace mode on Phasis or component tree just let me know
> 
> 
> 14:44:18,011 INFO  [STDOUT] 2007-07-20 14:44:18,011 [http-127.0.0.1-8080-1]
> INFO  org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) -
> Total response time : 5875 milliseconds
> 
> 14:44:18,136 INFO  [STDOUT] 2007-07-20 14:44:18,120 [http-127.0.0.1-8080-2]
> WARN
> org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader.getLastModified(81) 
> 
> - Unparsable lastModified : @lastModified@
> 
> 14:44:18,136 INFO  [STDOUT] 2007-07-20 14:44:18,120 [http-127.0.0.1-8080-1]
> WARN
> org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader.getLastModified(81) 
> 
> - Unparsable lastModified : @lastModified@
> 
> 14:46:00,931 INFO  [STDOUT] 2007-07-20 14:46:00,931 [http-127.0.0.1-8080-1]
> ERROR 
> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IntoServicesTobagoWeb].[FacesServlet].invoke(278)

> 
> - "Servlet.service()" pour la servlet FacesServlet a généré une exception
> 
> *java.lang.IllegalStateException*:
> org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
> 
>         at javax.faces.component.StateHolderSaver.restore(*
> StateHolderSaver.java:98*)
> 
>         at javax.faces.component.UIComponentBase.restoreAttachedState(*
> UIComponentBase.java:1406*)
> 
>         at javax.faces.component.UIComponentBase.restoreState(*
> UIComponentBase.java:1272*)
> 
>         at org.apache.myfaces.custom.schedule.UISchedule.restoreState(*
> UISchedule.java:378*)
> 
>         at org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(*
> HtmlSchedule.java:189*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1141*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at com.sun.faces.application.StateManagerImpl.restoreView(*
> StateManagerImpl.java:171*)
> 
>         at com.sun.faces.application.ViewHandlerImpl.restoreView(*
> ViewHandlerImpl.java:290*)
> 
>         at
> org.apache.myfaces.tobago.application.ViewHandlerImpl.restoreView(*
> ViewHandlerImpl.java:113*)
> 
>         at org.apache.myfaces.tobago.lifecycle.RestoreViewExecutor.execute(
> *RestoreViewExecutor.java:108*)
> 
>         at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.executePhase
> (*TobagoLifecycle.java:102*)
> 
>         at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.execute(*
> TobagoLifecycle.java:72*)
> 
>         at javax.faces.webapp.FacesServlet.service(*FacesServlet.java:244*)
> 
>         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*)
> 
> 14:46:00,962 INFO  [STDOUT] 2007-07-20 14:46:00,962 [http-127.0.0.1-8080-1]
> ERROR 
> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IntoServicesTobagoWeb].[FacesServlet].invoke(278)

> 
> - "Servlet.service()" pour la servlet FacesServlet a généré une exception
> 
> *java.lang.IllegalStateException*:
> org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
> 
>         at javax.faces.component.StateHolderSaver.restore(*
> StateHolderSaver.java:98*)
> 
>         at javax.faces.component.UIComponentBase.restoreAttachedState(*
> UIComponentBase.java:1406*)
> 
>         at javax.faces.component.UIComponentBase.restoreState(*
> UIComponentBase.java:1272*)
> 
>         at org.apache.myfaces.custom.schedule.UISchedule.restoreState(*
> UISchedule.java:378*)
> 
>         at org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(*
> HtmlSchedule.java:189*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1141*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at javax.faces.component.UIComponentBase.processRestoreState(*
> UIComponentBase.java:1157*)
> 
>         at com.sun.faces.application.StateManagerImpl.restoreView(*
> StateManagerImpl.java:171*)
> 
>         at com.sun.faces.application.ViewHandlerImpl.restoreView(*
> ViewHandlerImpl.java:290*)
> 
>         at
> org.apache.myfaces.tobago.application.ViewHandlerImpl.restoreView(*
> ViewHandlerImpl.java:113*)
> 
>         at org.apache.myfaces.tobago.lifecycle.RestoreViewExecutor.execute(
> *RestoreViewExecutor.java:108*)
> 
>         at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.executePhase
> (*TobagoLifecycle.java:102*)
> 
>         at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.execute(*
> TobagoLifecycle.java:72*)
> 
>         at javax.faces.webapp.FacesServlet.service(*FacesServlet.java:244*)
> 
>         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*)
> 
> 
> (and another with a sheet: the inner scoped variable specified in <tc:sheet
> *var=*> is not found ) :
> 
> 
> 14:22:42,043 INFO  [STDOUT] 2007-07-20 14:22:42,043 [http-127.0.0.1-8080-1]
> INFO  org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) -
> Total response time : 188010 milliseconds
> 
> 14:22:42,043 INFO  [STDOUT] 2007-07-20 14:22:42,043 [http-127.0.0.1-8080-1]
> ERROR 
> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IntoServicesTobagoWeb].[FacesServlet].invoke(271)

> 
> - "Servlet.service()" pour la servlet FacesServlet a généré une exception
> 
> *javax.el.PropertyNotFoundException*: Target Unreachable, identifier
> 'contract' resolved to null
> 
>         at org.apache.el.parser.AstValue.getTarget(*AstValue.java:46*)
> 
>         at org.apache.el.parser.AstValue.getType(*AstValue.java:35*)
> 
>         at org.apache.el.ValueExpressionImpl.getType(*
> ValueExpressionImpl.java:174*)
> 
>         at
> com.sun.faces.application.ValueBindingValueExpressionAdapter.getType(*
> ValueBindingValueExpressionAdapter.java:83*)
> 
>         at org.apache.myfaces.tobago.renderkit.RendererBase.getConverter(*
> RendererBase.java:121*)
> 
>         at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DateRenderer.encodeEnd

> 
> (*DateRenderer.java:64*)
> 
>         at javax.faces.component.UIComponentBase.encodeEnd(*
> UIComponentBase.java:836*)
> 
>         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:277*)
> 
>         at org.apache.myfaces.tobago.component.UIPanelBase.encodeChildren(*
> UIPanelBase.java:43*)
> 
>         at javax.faces.component.UIComponent.encodeAll(*UIComponent.java
> :886*)
> 
>         at javax.faces.component.UIComponent.encodeAll(*UIComponent.java
> :892*)
> 
>         at javax.faces.render.Renderer.encodeChildren(*Renderer.java:137*)
> 
>         at javax.faces.component.UIComponentBase.encodeChildren(*
> UIComponentBase.java:812*)
> 
>         at org.apache.myfaces.tobago.renderkit.RenderUtil.encode(*
> RenderUtil.java:77*)
> 
>         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.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.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:337*)
> 
>         at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.encodeEnd

> 
> (*TabGroupRenderer.java:156*)
> 
>         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:277*)
> 
>         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:277*)
> 
>         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.faces.application.ViewHandlerImpl.doRenderView(*
> ViewHandlerImpl.java:245*)
> 
>         at com.sun.faces.application.ViewHandlerImpl.renderView(*
> ViewHandlerImpl.java:176*)
> 
>         at org.apache.myfaces.tobago.application.ViewHandlerImpl.renderView
> (*ViewHandlerImpl.java:98*)
> 
>         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*)
> 
> 
> 
> 2007/7/20, Zied Hamdi <javahamdi@gmail.com>:
>>
>> Hi friends,
>> I have experienced a problem that seems to come back from rip :-). Seen
>> that JBoss 4.2 is now based on tomcat 6 and supports EJB3, I've 
>> decided to
>> jump my app into it. The problem is that it doesn't rely on myfaces core
>> anymore, today to support the JSF 1.2 spec, it uses the sun 
>> implementation
>> and says it shouldn't expose any problem to use myFaces components 
>> with it: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces
>>
>>
>> When I start my app, I have on the first page a visual bug with icons 
>> that
>> appear before the sheet (see picture) : this doesn't happen when I use
>> myFaces core. Then on my first click I have the following exception stack
>> trace. Looking at the source I found that the code shouldn't enter this
>> section:
>>
>>     // *TODO*: remove this if block if prooven this never happens anymore
>>
>>     *if* (command == *null*
>>
>>         && currentActionId != *null* && currentActionId .matches(
>> ".*:\\d+:.*" )) {
>>
>>       // If currentActionId component was inside a sheet the id contains
>> the
>>
>>       // rowindex and is therefore not found here.
>>
>>       // We do not need the row here because we want just to find the
>>
>>       // related form, so removing the rowindex will help here.
>>
>>       currentActionId = currentActionId .replaceAll(":\\d+:" , ":" );
>>
>>       *try* {
>>
>>         command = findComponent (currentActionId );
>>
>>         *LOG*.*info*("command = \"" + command + "\"" , *new* 
>> Exception());
>>
>>       } *catch* (Exception e) {
>>
>>         // ignore
>>
>>       }
>>
>>
>>
>> 11:14:24,229 INFO   [STDOUT] 2007-07-20 11:14:24,229 [
>> http-127.0.0.1-8080-2] ERROR
>> org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348) -
>> Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer .
>> Please check you configuration.
>>
>> 11:14:24,244 INFO   [STDOUT] 2007-07-20 11:14:24,244 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase (65) - Total
>> response time : 5936 milliseconds
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.PRETTY_HTML' found, using default value true
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECT S' found, using 
>> default
>> value true
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.AUTO _SCROLL' found, using default value false
>>
>> 11:14:24,260 INFO   [STDOUT] 2007-07-20 11:14:24,260 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getStringInitParameter(229)

>> - No context init parameter '
>> org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value
>> org.apache.myfaces.renderkit.html.util.DefaultAddResource
>>
>> 11:14:24,276 INFO   [STDOUT] 2007-07-20 11:14:24,276 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getStringInitParameter(229)

>> - No context init parameter '
>> org.apache.myfaces.RESOURCE_VIRTUAL_PATH ' found, using default value
>> /faces/myFacesExtensionResource
>>
>> 11:14:24,276 INFO   [STDOUT] 2007-07-20 11:14:24,276 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getBooleanInitParameter(204)

>> - No context init parameter '
>> org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value
>> true
>>
>> 11:14:24,276 INFO   [STDOUT] 2007-07-20 11:14:24,276 [
>> http-127.0.0.1-8080-2] INFO
>> org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.getCurrentInstance(177) 
>> - Starting up Tomahawk on the RI-JSF-Implementation.
>>
>> 11:14 :36,897 INFO  [STDOUT] 2007-07-20 11:14:36,866 [
>> http-127.0.0.1-8080-3] INFO
>> org.apache.myfaces.tobago.component.UIPage.markSubmittedForm (176) -
>> command = "org.apache.myfaces.tobago.component.UILinkCommand@4983d8"
>>
>> *java.lang.Exception *
>>
>>          at 
>> org.apache.myfaces.tobago.component.UIPage.markSubmittedForm(*
>> UIPage.java:176 *)
>>
>>          at org.apache.myfaces.tobago.component.UIPage.processDecodes(*
>> UIPage.java:138 *)
>>
>>          at javax.faces.component.UIComponentBase.processDecodes(*
>> UIComponentBase.java:1001 *)
>>
>>          at javax.faces.component.UIViewRoot.processDecodes(*
>> UIViewRoot.java:493* )
>>
>>          at 
>> org.apache.myfaces.tobago.component.UIViewRoot.processDecodes(
>> *UIViewRoot.java :164*)
>>
>>          at
>> org.apache.myfaces.tobago.lifecycle.ApplyRequestValuesExecutor.execute(*
>> ApplyRequestValuesExecutor.java :78*)
>>
>>          at
>> org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.executePhase(*
>> TobagoLifecycle.java :102*)
>>
>>          at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.execute(*
>> TobagoLifecycle.java :72*)
>>
>>          at 
>> javax.faces.webapp.FacesServlet.service(*FacesServlet.java:244
>> * )
>>
>>          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* )
>>
>> NOTE:
>>
>> And now a section for people using WTP/Lomboz or other: it is possible to
>> launch JBoss 4.2 in WTP under the 4.0 settings, all I did is :
>>
>> copy into the same directory (jboss-4.2.1.GA\server\default\lib\) the
>> files 'servlet-api.jar ' and 'jsp-api.jar' with the different names: '
>> javax.servlet.jar' and 'javax.servlet.jsp.jar' so the eclipse wizard lets
>> you press the ok button. The same jars are two times in the classpath but
>> who cares ;-), this shouldn't make conflicts because the classes are the
>> same.
>>
>>
>>
>> Regards,
>>
>> Zied Hamdi
>>
>>
>>
> 
> 

Mime
View raw message