Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 35995 invoked from network); 21 Nov 2006 21:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2006 21:48:27 -0000 Received: (qmail 43741 invoked by uid 500); 21 Nov 2006 21:48:35 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 43696 invoked by uid 500); 21 Nov 2006 21:48:35 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 43685 invoked by uid 99); 21 Nov 2006 21:48:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 13:48:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 13:48:24 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F04867142F7 for ; Tue, 21 Nov 2006 13:48:03 -0800 (PST) Message-ID: <14530433.1164145683981.JavaMail.jira@brutus> Date: Tue, 21 Nov 2006 13:48:03 -0800 (PST) From: "Mike Youngstrom (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TOMAHAWK-663) ExtensionFilter does not work with websphere 6.1 In-Reply-To: <4220229.1157737167239.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/TOMAHAWK-663?page=comments#action_12451787 ] Mike Youngstrom commented on TOMAHAWK-663: ------------------------------------------ I believe I have a workaround. If you have a servlet backing the filter then websphere doesn't throw the error. So if you add a servlet mapping like: Faces Servlet /faces/* Then websphere will work fine. Mike > ExtensionFilter does not work with websphere 6.1 > ------------------------------------------------ > > Key: TOMAHAWK-663 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-663 > Project: MyFaces Tomahawk > Issue Type: Bug > Affects Versions: 1.1.3 > Reporter: Mike Youngstrom > Assigned To: Martin Marinschek > Fix For: 1.1.4-SNAPSHOT > > > When attempting to use the calendar component with Websphere 6.1 I get the following exception when attempting to download one of the .js files put into place by the extension filter: > Original Exception: > Error Message: SRVE0190E: File not found: /faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11577343/calendar.HtmlCalendarRenderer/date.js > Error Code: 404 > Target Servlet: null > Error Stack: > java.io.FileNotFoundException: /faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11577343/calendar.HtmlCalendarRenderer/date.js > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:355) > at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811) > at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) > at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) > > Error Page Exception: > Error Message: SRVE0199E: OutputStream already obtained > Error Code: 0 > Target Servlet: null > Error Stack: > java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained > at com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:528) > at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:187) > at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:175) > at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:225) > at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:170) > at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:138) > at com.ibm._jsp._404._jspService(_404.java:80) > at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475) > at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463) > at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115) > at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168) > at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:606) > at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2676) > at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:586) > at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811) > at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) > at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira