[
https://jira.jboss.org/jira/browse/RF-7927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12488572#action_12488572
]
Thomas Fr?ssman commented on RF-7927:
-------------------------------------
I don't know if this is related to your problem but here it goes:
The current Ubuntu 2.6.28-15-server kernel seems to cause problems with
fileupload for me, reverting to 2.6.28-14-server seems to have resolved this.
So this is probably a jvm bug or maybe a kernel bug.
Excerpt from our issue tracker:
jboss 4.3.2
richfaces almost 3.3.2-ga
Stacktrace from jboss log:
2009-10-05 13:35:30,149 WARN
[javax.enterprise.resource.webcontainer.jsf.lifecycle] JSF1053: (Listener:
org.richfaces.component.FileUploadPhaselistener.beforePhase(), Phase ID:
RESTORE_VIEW 1, View ID: ) Exception thrown during phase-listener execution:
java.lang.ArrayIndex
OutOfBoundsException
2009-10-05 13:35:30,150 WARN
[javax.enterprise.resource.webcontainer.jsf.lifecycle]
java.lang.System.arraycopy(Native Method)
org.ajax4jsf.request.MultipartRequest.fillBuffer(MultipartRequest.java:396)
org.ajax4jsf.request.MultipartRequest.initialize(MultipartRequest.java:600)
org.ajax4jsf.request.MultipartRequest.parseRequest(MultipartRequest.java:616)
org.richfaces.component.FileUploadPhaselistener.beforePhase(FileUploadPhaselistener.java:63)
com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
Troublesome kernel version:
Package: linux-image-2.6.28-15-server
Priority: optional
Section: base
Installed-Size: 109940
Maintainer: Ubuntu Kernel Team <[email protected]>
Architecture: amd64
Source: linux
Version: 2.6.28-15.52
Provides: fuse-module, ivtv-modules, kvm-api-4, linux-image, linux-image-2.6,
ndiswrapper-modules-1.9, redhat-cluster-modules
Depends: initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0),
module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
Pre-Depends: dpkg (>= 1.10.24)
Recommends: grub | lilo (>= 19.1)
Suggests: fdutils, linux-doc-2.6.28 | linux-source-2.6.28
Conflicts: hotplug (<< 0.0.20040105-1)
Filename: pool/main/l/linux/linux-image-2.6.28-15-server_2.6.28-15.52_amd64.deb
Size: 24331502
> rich:filupload some request blocked ad viternam set the cpu to 99.9%
> --------------------------------------------------------------------
>
> Key: RF-7927
> URL: https://jira.jboss.org/jira/browse/RF-7927
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.3.1, 3.3.2.CR1
> Environment: JBOSS 4.2.2 / richfaces 3.3.1 or 3.3.2 CR1
> Reporter: Adrien
> Priority: Blocker
> Attachments: ano_richfaces_upload.png, CreateCVPhoto.java,
> CtrlAlbumPhotosUploadBean.java, faces-config.xml, uploadPhotos.xhtml,
> WEB-console-jbossweb.jpeg, WEB-console-webstatus.jpeg, web_production.xml
>
>
> Hi,
> Since some month, i have some time something with set the cpu at 99.9% and
> the cpu stay at 99.9% ad viternam.
> The problem is 'rare' only 8 or 6 times(but when it occurs the cpu stay at
> 99.9%), and actually I've not reproduce the problem, but I'm search and
> trying .
> I suspect fileupload, with the web-console/websatus/FullStatus I've detected
> the problem come from some request wich stay blocqued ad viternam and all
> these request use fileupload.
> Here a copy a the 2 requests (see also the jpeg ) :
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> S 2297197684 ms 0 KB 0 KB 90.41.114.64 www.lorizon.com POST
> /pages/m/managephoto.jsf?_richfaces_upload_uid=0.33606938123632846&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot
> HTTP/1.1
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> S 2297003329 ms 0 KB 0 KB 90.41.114.64 www.lorizon.com POST
> /pages/m/managephoto.jsf?_richfaces_upload_uid=0.6245843087409002&svupphotos:falbumphotos:upload=svupphotos:falbumphotos:upload&_richfaces_upload_file_indicator=true&AJAXREQUEST=_viewRoot
> HTTP/1.1
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> I've put some source attachement of my project and screenshot of the
> web-console.
> -If the image downloaded, erase an old image on the disk wich is read why
> another request at the same time => Ok, this is not a problem an exception is
> thrown by java
> -------------------------------------------------------------------------------------------------------------------------
> --->There is a way with the web-console to stop manually thes request?
> Instead of restart all.
> -------------------------------------------------------------------------------------------------------------------------
> For richefaces Album Demo : they never had a problem like that?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues