[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862186#action_12862186
 ] 

Ognjen Blagojevic commented on TOMAHAWK-1464:
---------------------------------------------

I beleive this is not Tomahawk bug. There in not one reference on 
PropertyEditorManager inside Tomahawk code, and the class name 

  
com.sun.faces.application.ConverterPropertyEditorFor_org_apache_myfaces_custom_fileupload_UploadedFile

points that mojarra JSF implementation classes loaded that PropertyEditor, so 
they are responsible for unloading it. More to it, after having the same 
problem with Mojarra 1.2_08 and Tomahawk12 1.1.9, I tested with other versions 
of Mojarra, and both 1.2_09, and 1.2_14 solves the bug.

I recommend changing the status to closed, not a bug, or something similar.



> PermGen OutOfMemoryError caused by UploadedFile
> -----------------------------------------------
>
>                 Key: TOMAHAWK-1464
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1464
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: File Upload
>         Environment: myfaces-extensions-1.0.9.jar
> Sun Java System Application Server 9.1_02 (build b04-fcs) 
> JDK 1.6.0_11
>            Reporter: Hans Cappelle
>
> After redeploying a simple myfaces project with tomahawk extension the 
> application server crashes with OutOfMemoryError: PermGen space. Using jmap 
> and jhat I discovered serveral classloaders with a reference to an instances 
> of org.apache.myfaces.custom.fileupload.UploadedFile were left in memory. 
> Because of this classloaders can't shut down properly so after several 
> redeployments we get an OutOfMemory.
> classloader hierarchy example (it states 2 classes are left because cleaning 
> my test project also fails on a richfaces class):
>                                         ^---- 
> org.apache.catalina.loader.webappclassloa...@0x1e26b260 [ 853 classes ]
>                                                 ^---- 
> com.sun.faces.application.converterpropertyeditorfactory$disposableclassloa...@0x1e27c788
>  [ 2 classes ]
> One of the classes left is: 
> class 
> com.sun.faces.application.ConverterPropertyEditorFor_org_apache_myfaces_custom_fileupload_UploadedFile
>  (84 bytes) : ??
> with a reference to: 
> class org.apache.myfaces.custom.fileupload.UploadedFile (84 bytes) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to