Reputation: 309
I have a webapp. It runs very well in all the environs I have tested so far. That is except for the Production environ in the Rackspace cloud.
I am using Tomcat 6
with struts 2.1.8
and mysql
as the database On a Ubuntu 11.10 server
. Normally a request might take 1 second to complete in a healthy environ. From my logs I have determined that the Action is taking 1 second to complete. I am testing this with an Action Timer interceptor. After the action method executes it takes about 15 seconds for the page to display. So I don't think the problem is DB related or Action class related.
What could be causing this delay ?
java -version :
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Upvotes: 0
Views: 380
Reputation: 11055
It doesn't seem likely that its related to the OpenJDK JVM.
A PreResultListener might help you time how long it takes from when the action finishes processing until the browser receives the response.
You might also look at PageSpeed to see if there are problems with the client-side rendering speed.
Upvotes: 1