You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zied Hamdi <ja...@gmail.com> on 2007/07/20 11:53:54 UTC

[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

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_SE
LECTS' 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

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

Posted by Zied Hamdi <ja...@gmail.com>.
Hello Bernd Again,

It's ok for me, it's a quality procedure and it must be done that way.

Thanks again,
Zied


2007/7/23, Bernd Bohmann <be...@atanion.com>:
>
> Hello Zied,
>
> the nightly build should posted every night when no compile or test
> failures occurs. Unfortunately the continuum version (1.1-alpha-1) has
> some memory issues :-(
>
> The nightly build from 22-Jul-2007 on
> http://people.apache.org/builds/myfaces/nightly/ should contain the
> sheet fix.
>
> Regards
>
> Bernd
>
> Zied Hamdi wrote:
> > Thxs Bernd,
> >
> > I think I'll try to install MF 1.2. I didn't compile code from maven
> until
> > now, but as I go through, I realize it's more and more necessairy. Why
> > aren't the nightly builds posted every night?, does it depend on test
> > results?
> >
> > Regards,
> > Zied
> >
> >
> > 2007/7/22, Bernd Bohmann <be...@atanion.com>:
> >>
> >> Hello Zied,
> >>
> >> the sheet issue should be fixed on trunk.
> >>
> >> Please try the next nightly build.
> >>
> >> Regards
> >>
> >> Bernd
> >>
> >> Zied Hamdi wrote:
> >> > 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_SE
> >> > LECTS' 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
> >> >
> >>
> >
> >
> >
>



-- 
Zied Hamdi
zatreex.sourceforge.net

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

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Zied,

the nightly build should posted every night when no compile or test 
failures occurs. Unfortunately the continuum version (1.1-alpha-1) has 
some memory issues :-(

The nightly build from 22-Jul-2007 on 
http://people.apache.org/builds/myfaces/nightly/ should contain the 
sheet fix.

Regards

Bernd

Zied Hamdi wrote:
> Thxs Bernd,
> 
> I think I'll try to install MF 1.2. I didn't compile code from maven until
> now, but as I go through, I realize it's more and more necessairy. Why
> aren't the nightly builds posted every night?, does it depend on test
> results?
> 
> Regards,
> Zied
> 
> 
> 2007/7/22, Bernd Bohmann <be...@atanion.com>:
>>
>> Hello Zied,
>>
>> the sheet issue should be fixed on trunk.
>>
>> Please try the next nightly build.
>>
>> Regards
>>
>> Bernd
>>
>> Zied Hamdi wrote:
>> > 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_SE
>> > LECTS' 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
>> >
>>
> 
> 
> 

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

Posted by Zied Hamdi <ja...@gmail.com>.
Thxs Bernd,

I think I'll try to install MF 1.2. I didn't compile code from maven until
now, but as I go through, I realize it's more and more necessairy. Why
aren't the nightly builds posted every night?, does it depend on test
results?

Regards,
Zied


2007/7/22, Bernd Bohmann <be...@atanion.com>:
>
> Hello Zied,
>
> the sheet issue should be fixed on trunk.
>
> Please try the next nightly build.
>
> Regards
>
> Bernd
>
> Zied Hamdi wrote:
> > 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_SE
> > LECTS' 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
> >
>



-- 
Zied Hamdi
zatreex.sourceforge.net

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

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Zied,

the sheet issue should be fixed on trunk.

Please try the next nightly build.

Regards

Bernd

Zied Hamdi wrote:
> 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_SE
> LECTS' 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
> 

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

Posted by Zied Hamdi <ja...@gmail.com>.
Hi Bernd,

Here are the JSF pages, there's a lot of includes because I'm attemping to
have a sort of reusable components. So sorry for the bad "readability". I've
added a comment (search Bernd in the file
personDetailTabs.jsp#line:50<personDetailTabs.jsp@line:50>),
for the commented include, the RI isn't able to resolve the #{contract}
variable: (it finds null). I don't know why it's for that sheet only, I'll
look further. (a strange thig is that it doesn't throw "Base is null")...

By the way, I've just seen that myfaces has delivered an implementation of
the 1.2 spec, I know, I'm very late!. Anyway these are very good news.
I'll happily jump back to MyFaces :-).

Regards,
Zied

2007/7/20, Bernd Bohmann <be...@atanion.com>:
>
> 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 <ja...@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
> >>
> >>
> >>
> >
> >
>



-- 
Zied Hamdi
zatreex.sourceforge.net

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

Posted by Bernd Bohmann <be...@atanion.com>.
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 <ja...@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
>>
>>
>>
> 
> 

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

Posted by Zied Hamdi <ja...@gmail.com>.
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 <ja...@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
>
>
>


-- 
Zied Hamdi
zatreex.sourceforge.net