This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 19697
    
  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
 
GeeCON Prague 2014
 
subject: Deployment taking too long