[ https://issues.apache.org/jira/browse/TRINIDAD-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019631#comment-13019631 ]
Scott O'Bryan commented on TRINIDAD-2083: ----------------------------------------- Okay. Well I ran the TCK with the 2.0.0-beta-3 jars in there and although there were some errors (the 37 you mentioned above) I didn't see the 170+. In my catalina logs, the failures seem to be associated with: java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpResourceResponse cannot be cast to javax.servlet.http.HttpServletResponse at com.sun.faces.util.OnOffResponseWrapper.<init>(OnOffResponseWrapper.java:58) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:94) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) I'm taking a look at this now, but it doesn't make sense to me why, what should be a portlet resource response, is trying to cast to an HttpServletResponse. > Trinidad doesn't work with the 3.0.0 Portlet Bridge > --------------------------------------------------- > > Key: TRINIDAD-2083 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2083 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Portlet > Affects Versions: 2.0.0-beta-2 > Reporter: Michael Freedman > Assignee: Scott O'Bryan > > I got 2.0.0-alpha2 working with a patch but once I upgraded to 2.0.0-beta-2 > (which fixed the problem I needed to patch) the bridge completely breaks as > long as the app includes the trinidad libs. There seems to be some > incompatibilities between the Trinidad extensions and the bridge's. Did get > a chance to track down the specific details but wanted to get the issue > logged as its likely to be identified much faster by someone in the Trinidad > team. > To reproduce -- get the bridge-3.0.0-alpha and set up a project pointing to > the 3.0.0 TCK. Follow the instructions in the TCK User Manual for building > it, configuring it on Apache, and then running it. With the Trinidad jars in > the deployment you will find that almost all the test fail (>170) -- the few > that pass don't actually execute Faces. If you remove the jars (and I think > drop the other Trinidad refs in the web.xml) things run fine except for those > few tests that depend on Trindiad (failed tests shoudl be something like 37). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira