- This topic has 8 replies, 3 voices, and was last updated 14 years, 4 months ago by Heflin Hogan.
-
AuthorPosts
-
Jamie DanielMemberThis is a followup from a previous question unanswered.
I deploy a scaffolded application and it takes 15 minutes or more, to start the application etc.
Anyone have any ideas ?
Thanks,
Jamie
Jamie DanielMemberI should have stated that this is Tomcat 6.0.20 with nothing else running on the server.
Heflin HoganMemberWhat kind of start-up options does the Tomcat instance have?
Jamie DanielMemberStandard out of the box. Nothing special, nothing changed.
Heflin HoganMemberI think looking at the memory settings for the tomcat instance would be a good place to start. You may want to increase max heap and max perm space to start with. A 15 minute start-up time is excessive, and we haven’t seen anything like that in testing. Even on our older, more constrained test platforms it’s rare to see start-up take more than a minute or two. It would be helpful if we had a more complete picture of your environment and how you are deploying. For instance, I can’t tell if the tomcat instance is on a separate physical or virtual machine, or whether you just meant that there were no other apps running on it. The more thorough your description, the easier time we have of making a diagnosis.
Regards,
Heflin
Jamie DanielMemberTomcat 6.0.20 is running on my local machine controlled by MyEclipse.
There are no other applications running on the Tomcat server.
I will make the changes to the max heap and max perm space to see if it makes a difference with the application.
More to follow…
J
Jamie DanielMemberStill have this issue with 8.6M1 build.
Any ideas why the application takes so long to deploy?
Thanks,
J
neydeMember@jamiedaniel wrote:
Any ideas why the application takes so long to deploy?
The log file or console should provide a good hint. Are you saying it take’s 15 minutes from Tomcat startup to application(s) deployed and Tomcat initialized? How many applications are being deployed? From the timestamps in the log file, where is the greatest time being spent?
Heflin HoganMemberYou can also use the VisualVM profiler during launch. On the Profile As-> Profile Configurations, select the Performance tab under Profile and check the “Profile underlying framework startup” box.
In addition to Niel’s questions, I’d be interested to know what the underlying hardware specs for the machine are, and whether you’ve tried deploying elsewhere with the same results.
-
AuthorPosts