aspose file tools*
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
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: 19762
    
  20

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
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: Deployment taking too long