myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Youngstrom (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-663) ExtensionFilter does not work with websphere 6.1
Date Tue, 21 Nov 2006 21:48:03 GMT
    [ 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:

	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/*</url-pattern>
	</servlet-mapping>

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

        

Mime
View raw message