This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Deployment taking too long Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deployment taking too long" Watch "Deployment taking too long" New topic
Author

Deployment taking too long

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
I've made an application using JSP+Servlets but it takes too long (about 110 seconds) when I try to deploy in Glassfish 2. How could I check where to fix it?


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Andreas Taber
Greenhorn

Joined: May 14, 2012
Posts: 5

There are too many variables to consider. Does your app do a database lookup? Are you creating/caching a number of objects as the server starts up? Does your system have enough RAM as per the Glassfish specs?


IT Training Manager with the Hartmann Software Group
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20049
    
  30

I've seen web apps that take over 10 minutes to start. They used the database and file system a lot during startup. If your web app is slow to start you really need to tell us what it's doing.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Deployment taking too long
 
It's not a secret anymore!