You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alexander Jesse (JIRA)" <de...@myfaces.apache.org> on 2007/11/29 14:29:46 UTC
[jira] Commented: (TOMAHAWK-1072) MyFacesExtensionsFilter overfills
memory
[ https://issues.apache.org/jira/browse/TOMAHAWK-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546723 ]
Alexander Jesse commented on TOMAHAWK-1072:
-------------------------------------------
My test using
- Tomcat 6
- SUN-RI 1.2_06
- Facelets 1.1.11
- Tomahawk 1.1.17-snapshot
- commons-fileupload 1.2
- common-io 1.3.2
- uploadMaxFileSize=100m
- uploadThresholdSize=50m
- Xms16m
- Xmx32m
did not crash the VM.
> MyFacesExtensionsFilter overfills memory
> ----------------------------------------
>
> Key: TOMAHAWK-1072
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1072
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: File Upload
> Affects Versions: 1.1.6
> Environment: ajax4jsf-1.1.2-20070802.000138-143
> richfaces-3.0.1-SNAPSHOT
> tomahawk-1.1.6
> tomcat 5.5.20
> Reporter: Areshchenko Alexandr
>
> when i include MyFacesExtensionsFilter into web.xml like this
> <filter>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>
> <init-param>
> <param-name>uploadMaxFileSize</param-name>
> <param-value>10m</param-value>
> </init-param>
> <init-param>
> <param-name>uploadThresholdSize</param-name>
> <param-value>2m</param-value>
> </init-param>
> </filter>
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <servlet-name>Faces Servlet</servlet-name>
> </filter-mapping>
> <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
> <filter-mapping>
> <filter-name>MyFacesExtensionsFilter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> then after clicking any button or link cases exceptions
> javax.servlet.ServletException: Servlet execution threw an exception
> org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:139)
> org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:276)
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
> java.lang.OutOfMemoryError: Java heap space
> 19:06:03,546 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
> java.lang.OutOfMemoryError: Java heap space
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.