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 <[EMAIL PROTECTED]>:

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 = "[EMAIL PROTECTED]"
>
> *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

Reply via email to