my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 19649
    
  18

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment taking too long
 
Similar Threads
wrapper ==
can we have a short break while taking the beta exam?
Rules of cricket
Mapping in Web.xml
Godaddy - Struts Tiles Problems