Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment taking too long

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Andreas Taber
Greenhorn
Posts: 5
C++ Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Rob Spoor
Sheriff
Pie
Posts: 20510
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic