You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Howard W. Smith, Jr. (JIRA)" <ji...@apache.org> on 2012/11/27 08:03:58 UTC

[jira] [Commented] (OPENEJB-1955) TomEE 1.5.1 SNAPSHOT (and CDI beans) running slow on my production server

    [ https://issues.apache.org/jira/browse/OPENEJB-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504409#comment-13504409 ] 

Howard W. Smith, Jr. commented on OPENEJB-1955:
-----------------------------------------------

jvisualvm is not showing me how much time it takes to <init> pf_OrdersController; from what I see, pf_OrdersController is at the bottom of the stack, almost the last thing on that particular stack, and it appears as though the entire stack is taking 48,407 ms (approximately 48 seconds).

I am glad to see/learn that all of the other members (other CDI @SessionScoped and @RequestScoped beans) are not initialized during pf_OrdersController <init>. I have confirmed that the other CDI beans are initialized when they are referenced by xhtml or another bean. That is a nice-to-know (or lesson-learned) for me. :)
                
> TomEE 1.5.1 SNAPSHOT (and CDI beans) running slow on my production server
> -------------------------------------------------------------------------
>
>                 Key: OPENEJB-1955
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1955
>             Project: OpenEJB
>          Issue Type: Question
>          Components: container system
>    Affects Versions: 1.6.0
>         Environment: Windows Server 2003, 32-bit, PrimeFaces 3.5 SNAPSHOT, PrimeFaces Push (Atmosphere/websockets) configured;
> Internet connection is powered by Verizon Wireless 4G
>            Reporter: Howard W. Smith, Jr.
>            Priority: Minor
>              Labels: 2003, atmosphere, server, tomee, windows
>             Fix For: 1.6.0
>
>         Attachments: jvisualvm.csv, jvisualvm.html, jvisualvm.nps, jvisualvm_tomee_excel_smaller.csv, jvisualvm_tomee.html, jvisualvm_tomee.nps, jvisualvm_tomee_smaller.csv, jvisualvm_tomee_smaller.html, web.xml
>
>   Original Estimate: 612h
>  Remaining Estimate: 612h
>
> I was working with Romain and Mark Struberg on this one, and decided to open an issue, so I could attach files and continue discussion here.
> My JSF web application is running really slow on production server (Windows Server 2003 32-bit Verizon Wireless 4G internet connection); runs faster on Windows Server 2008 64bit (cablemodem internet connection).
> Per Romain and Mark, I ran jvisualvm, and it appears as though Atmosphere 'may' be slowing down the web app, or the root cause.
> Please review attached files and confirm and advise.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira