Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1, 2.0.2
    • Fix Version/s: None
    • Component/s: None
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      2.5Ghz Pentium 4. + 1.5Gb RAM. + Eclipse 3.3 + Geronimo 2.0.2 + Struts 2.0.11+ + Windows 2000 + JRE 1.5.0_09 + Apache Tomcat 6

      Description

      Hello All,

      Scenario
      I have a problem when trying to develop a new "Dynamic Web Project" in Geronimo that uses struts2.

      Problem
      I'm experiencing major performance problems using struts2. Other servers (Jonas 4.8.6, JBoss 4.2.2.GA), do not demonstrate this error at all.

      After days (3 weeks) of trying to get a simple project to work, I've reduced the problem description to the bare minimum.

      Create the example struts2 project from the struts2.org website as described here:

      http://www.struts2.org/free-struts2-book/developing-your-first-struts2-application/

      And, deploy from eclipse. You should have no problems. Now, call it up.

      http://localhost:8080/struts2demo/

      And look how terribly SLOW this works. I wait for 30 seconds for the server to respond then 30-60 seconds for it to paint the web page.

      Now, add a few testfields. See how each "line" (label/field pair) takes 10 seconds to render.

      This must be a bug or config problem

      Any ideas?
      I've even tried running on a linux installation. Same problem.
      I've tried IE and Firefox, so it's not a browser issue.
      I've also tried Geronimo 2.0.1 and Geronimo 2.0.2. Same problem.
      This problem does not occur running under jBoss-4.2.2.GA.

      Thanks in Advance!
      Pete Robinson

      Environment
      2.5Ghz Pentium 4. 1.5Gb RAM. Eclipse 3.3 + Geronimo 2.0.2 + Struts 2.0.11+ + Windows 2000 + JRE 1.5.0_09 Tomcat 6.X

        Activity

        Hide
        Jacek Laskowski added a comment -

        Could you verify if it's not XML resolver-like issue? I mean it could be that some dtd or xsd files are being read from the network and due to it being very slow Geronimo suffers? Just a shot.

        Show
        Jacek Laskowski added a comment - Could you verify if it's not XML resolver-like issue? I mean it could be that some dtd or xsd files are being read from the network and due to it being very slow Geronimo suffers? Just a shot.
        Hide
        Kevan Miller added a comment -

        Do you see similar problems with the Struts sample applications? e.g. http://apache.mirrors.tds.net/struts/examples/struts-2.0.11-apps.zip

        After fixing the <short-name> elements in the sitemesh-*.tld files, I installed struts2-showcase-2.0.11.war on Geronimo 2.1. Performance seems ok – nothing like the long delays that you describe...

        Are you burning a lot of CPU during these long delays?

        Show
        Kevan Miller added a comment - Do you see similar problems with the Struts sample applications? e.g. http://apache.mirrors.tds.net/struts/examples/struts-2.0.11-apps.zip After fixing the <short-name> elements in the sitemesh-*.tld files, I installed struts2-showcase-2.0.11.war on Geronimo 2.1. Performance seems ok – nothing like the long delays that you describe... Are you burning a lot of CPU during these long delays?
        Hide
        Adam Ruggles added a comment -

        Our app is based on struts2 and we saw a sizable performance hit from going to Geronimo 2.x from Tomcat 6. Pre-compiling the JSP pages takes some of sting away.

        Show
        Adam Ruggles added a comment - Our app is based on struts2 and we saw a sizable performance hit from going to Geronimo 2.x from Tomcat 6. Pre-compiling the JSP pages takes some of sting away.

          People

          • Assignee:
            Unassigned
            Reporter:
            Pete Robinson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development