myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Problem with CODI/OWB and PrimeFaces 3.2
Date Tue, 17 Apr 2012 12:44:30 GMT
whoops, tomcat7-maven-plugin of course^^

LieGrue,
strub





----- Original Message -----
> From: Mark Struberg <struberg@yahoo.de>
> To: MyFaces Discussion <users@myfaces.apache.org>
> Cc: 
> Sent: Tuesday, April 17, 2012 2:40 PM
> Subject: Re: Problem with CODI/OWB and PrimeFaces 3.2
> 
> If you like to use EL-2.2 then you should switch to tomcat7-maven-plugin instead 
> of using jetty. 
> 
> 
> With jetty6 you need to exclude quite a few jetty dependencies from your plugin 
> to prevent clashes. Jetty7 and 8 have been behaved completely broken at all. We 
> now completely switched away to maven7-maven-plugin instead.
> 
> 
> jetty6 was great, but 7 and 8 are poor so far
> 
> Hope the jetty community gets back to their original quality again in the 
> future!
> 
> LieGrue,
> strub
> 
> 
> 
> ----- Original Message -----
>>  From: Cédric Durmont <cdurmont@gmail.com>
>>  To: MyFaces Discussion <users@myfaces.apache.org>
>>  Cc: 
>>  Sent: Tuesday, April 17, 2012 11:17 AM
>>  Subject: Re: Problem with CODI/OWB and PrimeFaces 3.2
>> 
>>  Hi guys,
>> 
>>  I'm having the same error here, but I'm not using OWB nor CODI :
>>  -MyFaces 2.0.13 (tried several versions : 2.0.5, 2.0.7, 2.0.9, 2.1.3,
>>  2.1.7. Issue differs slightly with 2.0.5/2.0.7 , but I still get the
>>  exception)
>>  -Trinidad 2.0.1
>>  - jetty 6.1.6 (embedded/standalone), 7.6.2
>>  - I have el-impl 2.2 in my classpath (groupId org.glassfish.web in my 
> pom.xml)
>> 
>> 
>> 
>>  (see stack trace below)
>> 
>> 
>>  This is the part of my xhtml page that causes the error (when
>>  #{beanProduits.contenuArchives } changes from null to not-null, which
>>  happens in an actionListener during a full jsf cycle) :
>>  <tr:panelTabbed position="both">
>>          <c:forEach items="#{beanProduits.contenuArchives }" 
>>  var="contenu">
>>              <tr:showDetailItem text="#{contenu.gauche }">
>>                  <tr:panelGroupLayout layout="vertical">
>>                      <c:forEach items="#{contenu.droite }" 
>>  var="ligne">
>>                          <tr:outputText value="#{ligne }"/>
>>                      </c:forEach>
>>                  </tr:panelGroupLayout>
>>              </tr:showDetailItem>
>>          </c:forEach>
>>      </tr:panelTabbed>
>> 
>>  Note that if I reload the page, the error does not show up again
>>  (well, until the list is set to null then not-null again)
>> 
>>  Do you have any idea, or any workaround like the one in OWB ?
>> 
>>  Regards,
>>  Cedric Durmont
>> 
>>  ==================================================
>>  Stack trace :
>> 
>>  java.lang.NoClassDefFoundError: javax/el/ValueReference
>>      at java.lang.Class.getDeclaredMethods0(Native Method)
>>      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>      at java.lang.Class.getDeclaredMethod(Class.java:1935)
>>      at 
>>  java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:1349)
>>      at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52)
>>      at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448)
>>      at java.security.AccessController.doPrivileged(Native Method)
>>      at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
>>      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
>>      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
>>      at 
>> 
> org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.writeExternal(ContextAwareTagValueExpression.java:201)
>>      at 
>>  java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
>>      at 
>> 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
>>      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
>>      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
>>      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
>>      at 
>> 
> org.apache.myfaces.shared.util.StateUtils.getAsByteArray(StateUtils.java:273)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:851)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter.debugHtml(ErrorPageWriter.java:414)
>>      at 
>> 
> org.apache.myfaces.view.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:142)
>>      at 
>> 
> org.apache.myfaces.view.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:126)
>>      at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:519)
>>      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:710)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:159)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:82)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:656)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:110)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
>>      at 
>> 
> org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
>>      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:714)
>>      at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:533)
>>      at 
>> 
> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1581)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:354)
>>      at 
>> 
> org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:264)
>>      at 
>> 
> com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:157)
>>      at 
>> 
> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
>>      at 
>> 
> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
>>      at 
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239)
>>      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
>>      at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
>>      at 
>> 
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:118)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>      at 
>>  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>      at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>      at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>      at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>>      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:110)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>      at 
>>  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>      at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>      at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>      at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>      at 
>> 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>>      at 
>> 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>      at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>      at org.mortbay.jetty.Server.handle(Server.java:326)
>>      at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>>      at 
>> 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
>>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>>      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>      at 
>> 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>>      at 
>> 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>>  2012-04-17 11:03:47.881:WARN::Error for /fuss-server/version/
>>  java.lang.NoClassDefFoundError: javax/el/ValueReference
>>      at java.lang.Class.getDeclaredMethods0(Native Method)
>>      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>      at java.lang.Class.getDeclaredMethod(Class.java:1935)
>>      at 
>>  java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:1349)
>>      at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52)
>>      at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448)
>>      at java.security.AccessController.doPrivileged(Native Method)
>>      at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
>>      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
>>      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
>>      at 
>> 
> org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.writeExternal(ContextAwareTagValueExpression.java:201)
>>      at 
>>  java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)
>>      at 
>> 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
>>      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
>>      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
>>      at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
>>      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
>>      at 
>> 
> org.apache.myfaces.shared.util.StateUtils.getAsByteArray(StateUtils.java:273)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:851)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter._writeComponent(ErrorPageWriter.java:886)
>>      at 
>> 
> org.apache.myfaces.renderkit.ErrorPageWriter.debugHtml(ErrorPageWriter.java:414)
>>      at 
>> 
> org.apache.myfaces.view.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:142)
>>      at 
>> 
> org.apache.myfaces.view.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:126)
>>      at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:519)
>>      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:710)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:159)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:82)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:656)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:110)
>>      at 
>> 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
>>      at 
>> 
> org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
>>      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:714)
>>      at 
> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:533)
>>      at 
>> 
> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1581)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:354)
>>      at 
>> 
> org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:264)
>>      at 
>> 
> com.ocpsoft.pretty.faces.application.PrettyViewHandler.renderView(PrettyViewHandler.java:157)
>>      at 
>> 
> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
>>      at 
>> 
> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
>>      at 
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239)
>>      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
>>      at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
>>      at 
>> 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
>>      at 
>> 
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:118)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>      at 
>>  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>      at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>      at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>      at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
>>      at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:110)
>>      at 
>> 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>>      at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>>      at 
>>  org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>      at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>>      at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>      at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>>      at 
>> 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>>      at 
>> 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>      at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>      at org.mortbay.jetty.Server.handle(Server.java:326)
>>      at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>>      at 
>> 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
>>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>>      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>>      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>      at 
>> 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>>      at 
>> 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>> 
> 

Mime
View raw message